/* ===========================
   NAVBAR
=========================== */
nav{
    width:92%;
    max-width: 1400px;
    height:65px;
    position:fixed;
    top:20px;
    left:50%;
    transform: translateX(-50%);
    background:rgba(229, 229, 229, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 50px;
    z-index:1000;
    border:2px solid rgba(26, 26, 26, 0.3);
    border-radius: 100px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}
.logo{
    display: flex;
    align-items: center;
    text-decoration: none;
}
.logo img {
    height: 52px;
    width: auto;
    object-fit: contain;
    transform: scale(1.8);
    transform-origin: left center;
}
nav ul{
    display:flex;
    gap:55px;
    list-style:none;
}
nav ul li{
    font-size:18px;
    color:#7A7A7A;
    cursor:pointer;
    transition:.3s;
}
nav ul li a{
    color: inherit;
    text-decoration: none;
    position: relative;
    display: inline-block;
}
nav ul li a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #000000;
    transform-origin: bottom left;
    transition: transform 0.3s ease-out;
}
nav ul li:hover{
    color:#000000;
}
nav ul li:hover a::after{
    transform: scaleX(1);
}
nav ul .active{
    color:#1A1A1A;
    position:relative;
}
nav ul .active::before{
    content:'';
    width:8px;
    height:8px;
    border-radius:50%;
    background:#1A1A1A;
    position:absolute;
    left:-18px;
    top:8px;
}
.contact-btn{
    text-decoration:none;
    background:#1A1A1A;
    color:#FFFFFF;
    display:flex;
    align-items:center;
    gap:10px;
    padding:8px 8px 8px 20px;
    border-radius:100px;
    font-size:15px;
    transition:.35s;
}
.contact-btn span{
    width:36px;
    height:36px;
    border-radius:50%;
    background:#E5E5E5;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#1A1A1A;
}
.contact-btn:hover{
    transform:translateY(-3px);
}
/* ===========================
 HERO
=========================== */
.hero{
    position:relative;
    width:100%;
    min-height:70vh;
    display:flex;
    justify-content:center;
    align-items:center;
    overflow:hidden;
    padding-top:170px;
    padding-bottom:60px;
    background: transparent;
}

/* ===========================
 GRID
=========================== */
.grid{
    display:none; /* Hide hero grid to use the main website grid background */
    background-size:60px 60px;
    background-position:-1px -1px;
}
/* ===========================
 HERO CONTENT
=========================== */
.hero-content{
    width:900px;
    text-align:center;
    position:relative;
    z-index:10;
}
.socials{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:18px;
    margin-bottom:30px;
}
.socials span{
    font-size:23px;
    font-weight:500;
}
.socials svg {
    height:35px;
}
.hero-content h1{
    font-size:64px;
    line-height:1.1;
    font-weight:800;
    letter-spacing:-2px;
    margin-bottom:20px;
    position:relative;
    color: #1A1A1A;
}
.hero-content h1 .italic{
    font-family:'Cormorant Garamond',serif;
    font-style:italic;
    font-weight:500;
}
.hero-content p{
    width:660px;
    margin:auto;
    font-size:18px;
    color: #7A7A7A;
    line-height:1.6;
    margin-bottom:30px;
}
/* ===========================
 LOGOS
=========================== */
.logos{
    display:inline-flex;
    gap:-10px;
    margin:0 20px;
    transform:translateY(18px);
}
.logos img{
    width:50px;
    height:50px;
    border-radius:50%;
    border:3px solid #E5E5E5;
    margin-left:-12px;
    object-fit:cover;
    background:#FFFFFF;
}
/* ===========================
 BUTTON
=========================== */
.hero-btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
    background:#1A1A1A;
    color:#FFFFFF;
    padding:8px 8px 8px 24px;
    border-radius:100px;
    font-size:16px;
    transition:.35s;
}
.hero-btn span{
    width:40px;
    height:40px;
    border-radius:50%;
    background:#E5E5E5;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#1A1A1A;
    font-size:16px;
}
.hero-btn:hover{
    transform:translateY(-4px);
}
/* ===========================
 FLOATING CARDS
=========================== */
@keyframes floatAnim {
    0% { transform: translateY(0px) rotate(var(--rot, 0deg)); }
    50% { transform: translateY(-15px) rotate(var(--rot, 0deg)); }
    100% { transform: translateY(0px) rotate(var(--rot, 0deg)); }
}

.floating{
    position:absolute;
    width:110px;
    border-radius:16px;
    overflow:hidden;
    background:#FFFFFF;
    border:2px solid #1A1A1A;
    box-shadow: 0 14px 35px rgba(26,26,26,0.12);
    animation: floatAnim 5s ease-in-out infinite;
}
.floating img{
    width:100%;
    display:block;
}
.floating iframe {
    width: 100%;
    height: 100%;
    aspect-ratio: 9/16;
    border: none;
    pointer-events: none;
    display: block;
}
.floating.video {
    width: 150px;
}
.left.video{ left:120px; top:150px; --rot: -6deg; animation-delay: 0s; }
.left.two{ left:90px; bottom:70px; --rot: -10deg; animation-delay: 1s; }
.left.three{ left:240px; bottom:60px; --rot: -4deg; animation-delay: 2s; }
.right.video{ right:120px; top:150px; --rot: 6deg; animation-delay: 0.5s; }
.right.two{ right:240px; bottom:60px; --rot: -6deg; animation-delay: 1.5s; }
.right.three{ right:90px; bottom:70px; --rot: 6deg; animation-delay: 2.5s; }
/* ===========================
 HOVER
=========================== */
.floating:hover{
    transform:scale(1.05);
    transition:.4s;
}
.hero-btn:hover span{
    transform:rotate(45deg);
    transition:.4s;
}
.contact-btn:hover span{
    transform:rotate(45deg);
    transition:.4s;
}



/* ===========================
   MOBILE HERO VIDEOS
=========================== */
.mobile-hero-videos {
    display: none;
}
.floating-mob {
    border-radius:16px;
    overflow:hidden;
    background:#FFFFFF;
    border:3px solid #FFFFFF;
    box-shadow: 0 14px 35px rgba(26,26,26,0.12);
    animation: floatAnim 5s ease-in-out infinite;
}
.floating-mob iframe {
    width: 100%;
    height: 100%;
    aspect-ratio: 9/16;
    border: none;
    pointer-events: none;
    display: block;
}

/* ===========================
   HERO RESPONSIVENESS
=========================== */
@media (max-width: 1024px) {
    .hero-content { width: 90%; }
    .floating.video { width: 100px; }
    .floating { width: 80px; }
    .left.video { left: 20px; }
    .right.video { right: 20px; }
    .hero h1 { font-size: 60px; }
}

@media (max-width: 768px) {
    .hero { 
        padding: 85px 5% 60px; 
        min-height: auto;
    }
    .hero-content {
        width: 100%;
        padding: 0 10px;
    }
    .hero h1 { 
        font-size: 46px; 
        margin-bottom: 25px;
    }
    .hero-content p { 
        width: 100%; 
        font-size: 15px; 
        line-height: 1.6;
        margin-bottom: 30px;
    }
    
    /* Small UI tweaks matching screenshot */
    .socials {
        margin-bottom: 25px;
    }
    .socials span {
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 2px;
        font-weight: 700;
    }
    .socials svg {
        width: 18px;
        height: 18px;
    }
    
    /* Hide all desktop floating elements completely */
    .floating {
        display: none !important;
    }
    
    /* Layout for the Mobile Videos Block */
    .mobile-hero-videos {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        margin-bottom: 30px;
    }
    .floating-mob.video {
        width: 42%;
        max-width: 180px;
    }
    .left-mob { 
        --rot: -8deg;
        animation-delay: 0s;
    }
    .right-mob { 
        --rot: 8deg;
        animation-delay: 1s;
    }
}


/* ===========================
   NAVBAR MOBILE RESPONSIVENESS
=========================== */
@media (max-width: 900px) {
    nav {
        width: 95%;
        padding: 0 20px;
        height: 60px;
    }
    nav ul {
        display: none;
    }
    .contact-btn {
        display: none;
    }
    .logo img {
        height: 44px;
        transform: scale(2.1);
        transform-origin: left center;
    }
}
