 /* Navbar Styles */
 .header {
    background-color: #00165E;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    top: 0;
    z-index: 50;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1% 10% 1% 10%;
}

.header .container {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    margin: 0;
    gap: clamp(.1rem, 7vw, 100rem);
}


.navbar-logo-wrapper {
    display: none;
}

.logo img {
    display: block;
    max-width: 100%;
    height: auto;
    width: clamp(8rem, 14vw, 100rem);
}

.logo img:hover {
    cursor: pointer;
}

.logomobile img {
    display: none;
    max-width: 100%;
    height: auto;
    width: clamp(.1rem, 22vw, 100rem);
    transition: transform 0.3s ease;
}

.logomobile img:hover {
    cursor: pointer;
}
.dropdown-arrow {
    stroke: currentColor;
    transition: transform 0.3s ease-in-out;
    
}
/* Desktop Navigation Links */
.nav-links {
    list-style: none;
    width: 100%;
    display: flex;
    gap: clamp(1rem, 2.4vw, 100rem);
}

/* Top-level nav links only */
.nav-links > li > a {
    display: flex;
    position: relative;
    color: #E5E7EB;
    text-decoration: none;
    font-weight: 400;
    font-size: clamp(0.1rem, .85vw, 100rem);
    white-space: nowrap;
}

.nav-links > li > a > span {
    position: relative;
}

.nav-links > li > a > span::after {
    content: '';
    position: absolute;
    width: 0;
    height: clamp(.01rem, .15vw, 100rem);
    bottom: -5px; 
    left: 0;
    background-color: white;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}


.nav-links > li > a:hover > span::after {
    width: 100%;
    visibility: visible;
}



/* Dropdown menu styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    position: absolute;
    top: 170%;
    left: 0;
    background-color: white;
    min-width: clamp(.1rem, 9vw, 100rem);
    max-width: 90vw;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 100;
    list-style: none;
    padding: 10px;
    margin: 0;
    border-radius: 10px;
    transition: opacity .5s ease, max-height 0.4s ease;
    opacity: 0;
    max-height: 0;              /* collapse */
    overflow: hidden;           /* prevent hidden items being clickable */
    pointer-events: none;       /* disable click */
}

/* When active */
.dropdown.active .dropdown-menu {
    opacity: 1;
    max-height: 600px;          /* enough to fit all items */
    margin-top: 5%;
    padding: 5% 10% 5% 10%;
    pointer-events: auto;       /* clickable only when visible */
}

.dropdown:before {
    content: '';
    position: absolute;
    top: 160%; /* slightly below the parent link */
    left: 20%; /* adjust depending on alignment */
    transform: translateX(-50%);
    border-left: 0.6em solid transparent;
    border-right: 0.6em solid transparent;
    border-bottom: 0.6em solid white; /* arrow pointing up */
    opacity: 0;                     /* start hidden */
    transition: opacity 0.0s ease-in;/* fade in with delay */
    z-index: 101;
    pointer-events: none;           /* not clickable */
}

/* Show arrow only when menu is active */
.dropdown.active:before {
    opacity: 1;     
    transition: opacity 0.3s ease 0.2s;                /* fade in */
}


   /* **NEW CSS:** Style for the dropdown arrow icon */
   .dropdown-arrow {
    display: inline-block;
    width: clamp(.1rem, 1vw, 100rem);
    height: clamp(.1rem, 1vw, 100rem);
    transition: transform 0.3s ease-in-out;
    margin-left: 0.25rem;
}
   /* Rotates the arrow when the dropdown is active */
   .dropdown.active .dropdown-arrow {
    transform: rotate(-180deg);
}



.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    color: #00165E;
    text-decoration: none;
    display: inline-block;
    font-size: clamp(0.1rem, .85vw, 100rem);
    font-weight: 400;
    margin: 5% 0 5% 5%;
    white-space: nowrap;
    transition: all 0.3s ease;
    border-bottom: clamp(0.01rem, .15vw, 100rem) solid transparent; 
}

.dropdown-menu a:hover {
    color: #E6007E;
    border-bottom-color: #E6007E; /* underline appears on hover */
}

.action-items {
    align-content: flex-end;
    display: flex;
    align-items: center;
    gap: clamp(0.5rem, .9vw, 100rem);
}


.button-container {
    display: flex;
    position: relative; /* for z-index stacking */
}

/* Common styles for buttons */
.circle-button {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: clamp(.1rem, 2.5vw, 100rem);
    border-radius: 9999px;
    color: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    z-index: 1;
}

/* Email button */
.started-button {
    background-color: transparent;
    color: white;
    border: clamp(.01rem, 0.11vw, 100rem) solid white;
    padding: clamp(0.1rem, .6vw, 100rem) clamp(0.1rem, 1vw, 100rem);
    font-size: clamp(.01rem, .8vw, 100rem);
    border-radius: 9999px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-left: clamp(.1rem, 3vw, 100rem); 
}

.started-button:hover {
    background-color: white;
    color: #00165E;
}

/* Phone button */
.phone-button {
    width: clamp(.1rem, 2.5vw, 100rem);
    background-color: #E6007E;
    overflow: hidden;
    position: absolute;   /* overlay on top */
    right: -30%;              /* align with its initial position */
    transition: width 0.3s ease-in-out;
    z-index: 2;           /* above email */
}

/* Expand the phone button on hover */
.phone-button:hover {
    width: clamp(.1rem, 11vw, 100rem);          /* expands to cover email */
}

/* Phone content */
.phone-content {
    display: flex;
    align-items: center;
    justify-content: center; /* aligns text and icon to start */
}

/* Phone text */
.phone-text {
    font-size: clamp(0.1rem, .85vw, 100rem);
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    transition: width 0.3s ease-in-out;
}

/* Show text on hover */
.phone-button:hover .phone-text {
    width: clamp(.1rem, 1vw, 100rem);
}
.button-container .phone-button .phone-text {
    color: #E6007E; /* your desired color */
}
.button-container .phone-button:hover .phone-text {
    width: clamp(.1rem, 5vw, 100rem);
    font-weight: 500;
    color: white; /* your desired color */
}
.phone-icon img{
    width: clamp(.1rem, 1.5vw, 100rem);
    height: auto; /* keep aspect ratio */

}
.phone-icon {
    position: absolute;          /* fix icon */
    right: clamp(.1rem , .5vw, 100rem);                /* small padding from left */
    top: 50%;
    transform: translateY(-40%);
    flex-shrink: 0;
}



/* Mobile Hamburger Menu Styles */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: clamp(.1rem, 9vw, 100rem);
    height: clamp(.1rem, 9vw, 100rem);
    background-color:#E6007E;
    border-radius: 8px;
    padding: clamp(.1rem, 2.6vw, 100rem) clamp(.1rem, 2.5vw, 100rem);
    box-sizing: border-box;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.hamburger-menu span {
    display: block;
    height: clamp(.1rem, .6vw, 100rem);
    width: 100%;
    background-color: white;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

/* Styles for the hamburger to transform into an X */
.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(1) {
    transform: translateY(clamp(.1rem, 1.5vw, 100rem)) rotate(45deg);
    padding:1%;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(clamp(-100rem, -1.8vw, 10rem)) rotate(-45deg);
    padding: 1%;
}


/* Styles for the off-canvas mobile menu */
.mobile-menu-container {
    position: fixed;
    top: clamp(.1rem, 18.5vw, 100rem);
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    transform: translateX(-100%); /* start hidden off the left */
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1); /* smooth ease */
    z-index: 55;
    flex-direction: column;
    padding-left: clamp(.1rem, 5vw, 100rem);
    box-sizing: border-box;
    overflow-y: auto;     /* allow vertical scroll */
    -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
    
}

/* show only when active */
.mobile-menu-container.active {
    display: flex;
    transform: translateX(0);
}


.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: clamp(.1rem, 7vw, 100rem);
    margin-top: 2rem;
}

.mobile-nav-links a {
    display: flex;
    color: #00165E;
    text-decoration: none;
    font-size: clamp(0.1rem, 6vw, 100rem);
    font-weight: 600;
    transition: color 0.3s ease;
    
}

.mobile-nav-links a:hover {
    color: #E6007E;
}



/* Show menu container */
.dropdown.active .dropdown-menu {
    max-height: 600px; /* enough to fit items */
    opacity: 1;
    margin-top: 5%;
    padding: 5% 10% 5% 10%;
}

/* Staggered child effect */
.dropdown-menu li {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Animate each child one after another */
.dropdown.active .dropdown-menu li {
    opacity: 1;
    transform: translateY(0);
}

.dropdown.active .dropdown-menu li:nth-child(1) { transition-delay: 0.1s; }
.dropdown.active .dropdown-menu li:nth-child(2) { transition-delay: 0.2s; }
.dropdown.active .dropdown-menu li:nth-child(3) { transition-delay: 0.3s; }
.dropdown.active .dropdown-menu li:nth-child(4) { transition-delay: 0.4s; }
.dropdown.active .dropdown-menu li:nth-child(5) { transition-delay: 0.5s; }



  

/* Responsive Styles */
@media (max-width: 768px) {
    .header .container {
        justify-content: space-between; /* Adjusted for mobile layout */
        padding: 2% 5% 2% 5%;
        position: relative;
        height: auto;
        
    }
    .header {
        padding-left: 0;
    }
    
    body.no-scroll {
        overflow: hidden;
        
      }
    .header{
        height: clamp(.1rem, 19vw, 100rem);
        position: relative;
    }
    .nav-links-desktop {
        display: none;
    }
    
 
    .hamburger-menu {
        display: flex;
        
    }
    .logomobile img{
        display: block;
    }
    .logo {
        display: none;
    }
    .navbar-logo-wrapper {
        display: flex;
        align-items: center;
        gap: clamp(.1rem, 2.5vw, 100rem);
    }
   
     
    .arrow {
        display: inline-block;
        width: clamp(0.8rem, 3vw, 100rem);
        height: clamp(0.8rem, 3vw, 100rem);
        border-right: clamp(0.01rem, .5vw, 100rem) solid #00165E;
        border-bottom: clamp(0.01rem, .5vw, 100rem) solid #00165E;
        transform: rotate(45deg);
        transition: transform 0.3s, border-color 0.3s;
        transform-origin: center center; /* rotate around center */
        margin-left: clamp(0.8rem, 1vw, 100rem); /* spacing from text */
        margin-top: clamp(0.01rem, 1vw, 100rem);
      }
      
      /* Rotate when dropdown is active */
      .dropdown.active > a .arrow {
        transform: rotate(-135deg) translateX(-8px) translateY(-7px);
        border-color: #E6007E;
      }
      
      /* Optional hover color change */
      .dropdown > a:hover .arrow {
        border-color: #E6007E;
      }
      .dropdown-menu a:hover {
        color: #E6007E;
        border-bottom-color: none; /* underline appears on hover */
        border-bottom: 0px;
    }

/* Mobile dropdown styles */
.mobile-nav-links .dropdown-menu {
    display: flex;
    position: static;
    flex-direction: column;
    background-color: transparent;
    box-shadow: none;
    padding: 0;
    border-top: clamp(0.1rem, .5vw, 100rem) solid #5B5B5B;
    border-radius: 0;
    width: 90%;
    margin-top: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    
}

/* Show menu container */
.dropdown.active .dropdown-menu {
    max-height: 600px; /* enough to fit items */
    opacity: 1;
    margin: 5% 0 0 0;
    padding: 5% 0 0 0;
}

/* Staggered child effect */
.dropdown-menu li {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Animate each child one after another */
.dropdown.active .dropdown-menu li {
    opacity: 1;
    transform: translateY(0);
}

.dropdown.active .dropdown-menu li:nth-child(1) { transition-delay: 0.1s; }
.dropdown.active .dropdown-menu li:nth-child(2) { transition-delay: 0.2s; }
.dropdown.active .dropdown-menu li:nth-child(3) { transition-delay: 0.3s; }
.dropdown.active .dropdown-menu li:nth-child(4) { transition-delay: 0.4s; }
.dropdown.active .dropdown-menu li:nth-child(5) { transition-delay: 0.5s; }


.mobile-nav-links .dropdown-menu a {
    font-size: clamp(0.1rem, 5vw, 100rem);
    font-weight: 400;
    color:#323031;
    margin: 5% 0 5% 0%;
    

}


  

}



/* Get Started Logo */
.logo-get-started{
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    
}
.logo-get-started img{
    display: block;
    width: clamp(8rem, 14vw, 100rem);
    height: auto;
}

@media (max-width: 768px) {
    .logo-get-started{
        display: flex;
        width: 100%;
        height: 100%;
        justify-content: center;
        
    }
    .logo-get-started img{
        display: block;
        width: clamp(8rem, 40vw, 100rem);
        height: auto;
        margin: 0 auto; /* centers image if parent isn’t flex */
    }


    .button-container {
        display: flex;
        gap: 1rem;
        position: relative; /* for z-index stacking */
    }
    
    /* Common styles for buttons */
    .circle-button {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        height: clamp(.1rem, 9vw, 100rem);
        border-radius: 9999px;
        color: #fff;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        cursor: pointer;
        text-decoration: none;
        transition: all 0.3s ease-in-out;
        z-index: 1;
    }
    
    /* Email button */
    .started-button {
        border: clamp(.01rem, .4vw, 100rem) solid white;
        padding: clamp(0.1rem, .6vw, 100rem) clamp(0.8rem, 4vw, 100rem);
        font-size: clamp(.01rem, 3vw, 100rem);
        margin-left: clamp(.1rem, 3vw, 100rem); 
    }
    
    .started-button:hover {
        background-color: white;
        color: #00165E;
    }
    
    /* Phone button */
    .phone-button {
        width: clamp(.1rem, 9vw, 100rem);
        background-color: #E6007E;
        overflow: hidden;
        position: absolute;   /* overlay on top */
        right: -40%;              /* align with its initial position */
        transition: width 0.3s ease-in-out;
        z-index: 2;           /* above email */
    }
   
    /* Phone content */
    .phone-content {
        display: flex;
        align-items: center;
        justify-content: center; /* aligns text and icon to start */
    }
    
    
    /* Disable hover expansion */
    .phone-button:hover {
        width: clamp(.1rem, 9vw, 100rem);
    }

    /* Keep text hidden */
    .phone-button .phone-text {
        width: 0 !important; /* force text to stay hidden */
        overflow: hidden;
    }
   
    .phone-icon img{
        width: clamp(.1rem, 6vw, 100rem);
        height: auto; /* keep aspect ratio */
    
    }
    .phone-icon {
        position: absolute;          /* fix icon */
        right: clamp(.1rem , .5vw, 100rem);                /* small padding from left */
        top: 45%;
        right: 15%;
        transform: translateY(-40%);
        flex-shrink: 0;
    }
    


}
