/* --- Global & Body --- */
@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');

body {
    font-family: 'Poppins', 'Urbanist', sans-serif;
    background-color: #f2f2f2;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 30px;
}

/* =================================== */
/* == MOBILE STYLES (DEFAULT) ======== */
/* =================================== */

/* Show mobile, hide desktop by default */
.mobile-only {
    display: block;
}
.desktop-only {
    display: none;
}

/* --- Mobile Top Tier --- */
.top-tier {
    background-color: #f8f8f8;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}
.top-tier-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}
.promo-text {
    text-align: center;
}
.promo-text p {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
}
.actionList {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}
.actionList a {
    font-size: 18px;
    color: #333;
}

/* --- Mobile Menu --- */
.main-header {
    width: 100%;
    padding: 10px 20px;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.mobile-menu .logo img {
    height: 40px;
    width: auto;
}

.hamburger-icon {
    font-size: 24px;
    color: #1d1f20;
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    padding: 20px;
    z-index: 1000;
    box-sizing: border-box;
}

.dropdown-menu.show {
    display: block;
}

.close-icon {
    text-align: right;
    font-size: 24px;
    cursor: pointer;
    padding: 0 10px 10px;
}

.dropdown-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-menu ul li a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    color: #1d1f20;
    font-size: 18px;
}

.dropdown-menu ul li a:hover {
    background: #f2f2f2;
}

.dropdown-menu ul li a i {
    margin-right: 15px;
}

/* =================================== */
/* == DESKTOP STYLES (≥1025px) ======= */
/* =================================== */

@media (min-width: 1025px) {
    /* Show desktop, hide mobile */
    .mobile-only {
        display: none;
    }
    .desktop-only {
        display: block;
    }

    /* --- TIER 1: Promo & Icons --- */
    .top-tier .promo-text p {
        font-size: 14px;
    }
    .top-tier .actionList {
        gap: 20px;
    }
    .top-tier .actionList a {
        font-size: 20px;
    }

    /* --- TIER 2: Logo, Nav, Button --- */
    .bottom-tier .site-header-inner {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        height: 80px;
        gap: 20px;
    }
    .bottom-tier .header-logo img {
        height: 50px;
    }
    .bottom-tier .main-navigation-bar {
        display: flex;
    }
    .bottom-tier .header-contact {
        display: flex;
        justify-content: flex-end;
    }
    .bottom-tier .contact-button {
        background-color: #333;
        color: #fff;
        padding: 10px 20px;
        text-decoration: none;
        border-radius: 50px;
        font-weight: 500;
        white-space: nowrap;
    }

    /* --- STYLES FOR THE ANIMATED NAV BAR --- */
    .desktop-menu, .wrapper {
        width: 100%;
    }
    
    nav {
        position: relative;
        display: flex;
        align-items: center;
        height: 60px;
        width: 100%;
        background: #fff;
        border-radius: 50px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 0;
    }

    .main-nav {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0 5px;
        width: 100%;
    }

    .main-nav li {
        width: 20%;
    }

    .main-nav a {
        position: relative;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 15px;
        color: #000000;
        text-decoration: none;
        font-weight: 500;
        line-height: 60px;
        transition: all 0.3s ease;
        font-size: 18px;
    }
    
    .main-nav a i {
        margin-right: 8px;
        font-size: 1.1em;
        width: 20px;
        text-align: center;
    }

    /* Text turns white on hover */
    .main-nav a:hover {
        color: #FFFFFF;
        font-size: 20px;
    }

    /* The moving tab/underline */
    .tab {
        position: absolute;
        top: 0;
        bottom: 0;
        background-color: #D4B7A5;
        border-radius: 50px;
        box-shadow: 0 2px 10px rgba(0, 83, 255, 0.1);
        z-index: 0;
        /* Hide tab by default */
        opacity: 0; 
        pointer-events: none;
        /* Add opacity to the transition for smooth fade in/out */
        transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.2s ease-in-out;
    }
    
    /* Show tab when hovering anywhere over the nav bar */
    nav:hover .tab {
        opacity: 1;
    }
  
      
    /* Show tab when hovering anywhere over the nav bar */
    nav:hover .tab {
        opacity: 1;
    }
}
.has-dropdown {
  position: relative;
}

.has-dropdown .dropdown-nav {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 170px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  border-radius: 0 0 8px 8px;
  z-index: 10;
  padding: 0;
  margin: 0;
}

.has-dropdown:hover .dropdown-nav,
.has-dropdown:focus-within .dropdown-nav {
  display: block;
}

.dropdown-nav li {
  list-style: none;
}

.dropdown-nav a {
  display: block;
  padding: 12px 18px;
  color: #222;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
}

.dropdown-nav a:hover {
  background: #f4f4f4;
}
.dropdown-nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dropdown-nav a {
  display: block;
  padding: 10px 20px;
  font-size: 1rem;
  white-space: nowrap; /* Prevents line breaks within link text */
}

}