/* ===== HEADER ===== */
.header-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 80px 25px 20px;
    gap: 40px;
}

/* ===== LOGO ===== */
.logo {
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: -0.3px;
    background: linear-gradient(90deg, #a13b00, #c98c03);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* ===== HAMBURGER ===== */
.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    color: #111827;
    transition: transform 0.2s ease, color 0.2s ease;
}

.hamburger:hover {
    color: #b91c1c;
    transform: scale(1.05);
}

/* ===== NAV ===== */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    list-style: none;
    position: relative;
    display: flex;
    align-items: center;
}

.nav-menu li a {
    text-decoration: none;
    color: #111827;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
    padding: 8px 0;
    position: relative;
    line-height: 1.2;
}

/* ===== MENU HOVER EFFECT ===== */
.nav-menu > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #d32f2f, #f59e0b);
    border-radius: 10px;
    transition: width 0.3s ease;
}

.nav-menu > li:hover > a {
    color: #b91c1c;
}

.nav-menu > li:hover > a::after {
    width: 100%;
}

/* ===== DROPDOWN TOGGLE ===== */
.projects-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.projects-toggle .arrow {
    font-size: 10px;
    line-height: 1;
    transition: transform 0.25s ease;
}

.projects-dropdown.active > .projects-toggle .arrow {
    transform: rotate(180deg);
}

/* ===== DROPDOWN BOX ===== */
.projects-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    background: #fff;
    padding: 14px 18px;
    min-width: 250px;
    max-width: min(92vw, 340px);
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(17, 24, 39, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 999;
    overflow: visible;
    animation: fadeInUp 0.22s ease;
}

/* ===== TOP BUILDERS 2 COLUMN ===== */
.builders-menu {
    min-width: 500px;
    max-width: min(92vw, 580px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px;
}

/* ===== ACTIVE ===== */
.projects-dropdown.active .projects-menu {
    display: grid;
}

/* ===== DROPDOWN LINKS ===== */
.projects-menu a,
.sub-dropdown > a {
    font-size: 14px;
    color: #374151;
    text-decoration: none;
    padding: 12px 2px;
    border-bottom: 1px solid #efefef;
    transition: all 0.25s ease;
    width: 100%;
    font-weight: 500;
    line-height: 1.4;
}

.projects-menu a:hover,
.sub-dropdown > a:hover {
    color: #b91c1c;
    padding-left: 8px;
}

.projects-menu a:last-child {
    border-bottom: none;
}

/* ===== SIDE DROPDOWN ===== */
.sub-dropdown {
    position: relative;
    width: 100%;
}

.sub-dropdown > a {
    justify-content: space-between;
    display: flex;
    align-items: center;
}

.sub-menu {
    position: absolute;
    top: -14px;
    left: calc(100% + 12px);
    background: #fff;
    padding: 14px 18px;
    min-width: 220px;
    max-width: min(88vw, 260px);
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(17, 24, 39, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 999;
    animation: fadeInUp 0.22s ease;
}

.sub-dropdown.active .sub-menu {
    display: grid;
}

.sub-menu a {
    font-size: 14px;
    color: #374151;
    text-decoration: none;
    padding: 12px 2px;
    border-bottom: 1px solid #efefef;
    transition: all 0.25s ease;
    font-weight: 500;
}

.sub-menu a:last-child {
    border-bottom: none;
}

.sub-menu a:hover {
    color: #b91c1c;
    padding-left: 8px;
}

/* ===== ANIMATION ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== LARGE TABLET ===== */
@media (max-width: 1199px) {
    .header-inner {
        padding: 16px 22px;
    }

    .nav-menu {
        gap: 22px;
    }

    .builders-menu {
        min-width: 440px;
    }
}

/* ===== TABLET ===== */
@media (max-width: 992px) {
    .header-inner {
        padding: 14px 16px;
    }

    .logo {
        font-size: 18px;
    }

    .hamburger {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 12px 18px 16px;
        display: none;
        box-shadow: 0 14px 34px rgba(0,0,0,0.12);
        border-top: 1px solid #eee;
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        display: block;
    }

    .nav-menu li a {
        width: 100%;
        padding: 12px 0;
        font-size: 14px;
        justify-content: space-between;
    }

    .nav-menu > li > a::after {
        display: none;
    }

    .projects-menu,
    .builders-menu {
        position: static !important;
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        margin-top: 8px;
        box-shadow: none;
        border-radius: 12px;
        border: 1px solid #eee;
        padding: 8px 14px;
        grid-template-columns: 1fr;
        background: #fafafa;
        transform: none !important;
        animation: none;
    }

    .projects-menu a,
    .builders-menu a,
    .sub-dropdown > a {
        padding: 11px 0;
        font-size: 13px;
    }

    .sub-menu {
        position: static !important;
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        margin-top: 8px;
        box-shadow: none;
        border-radius: 12px;
        border: 1px solid #eee;
        padding: 8px 14px 8px 16px;
        background: #fff;
        transform: none !important;
        animation: none;
    }
}

/* ===== MOBILE ===== */
@media (max-width: 576px) {
    .header-inner {
        padding: 13px 14px;
    }

    .logo {
        font-size: 18px;
        max-width: 78%;
        line-height: 1.3;
        white-space: normal;
    }

    .hamburger {
        font-size: 25px;
    }

    .nav-menu {
        padding: 12px 14px 16px;
    }

    .projects-menu,
    .builders-menu,
    .sub-menu {
        padding-left: 12px;
        padding-right: 12px;
    }
}
/* Footer */
 .custom-line {
     height: 2px;
     background-color: black;
     margin: 20px 0;
   }
 
 .copy_right {
     background: #eee;
     padding: 17px;
     font-size: 14px;
     font-weight: 600;
     text-align: center;
     color: #000;
 }
 a.whatsapp {
     background-color: #2fb842;
     display: flex;
     align-items: center;
     justify-content: center;
     color: #fff;
     font-size: 25px;
     text-decoration: none;
     border-radius: 100%;
     text-align: center;
     width: 50px;
     height: 50px;
     position: fixed;
     left: 10px;
     bottom: 20px;
     margin: 0;
     z-index: 2;
 }
 .footer-links a{
    color: #000;
 }