/* Modern Navigation */
.navbar {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(30, 64, 175, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    transition: all 0.3s ease;
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.dropdown {
    position: fixed;
    top: 80px;
    background: white;
    min-width: 220px;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 10000;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    color: #1e293b;
    padding: 0.75rem 1rem;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.dropdown a:hover {
    background: #f1f5f9;
    color: #1e40af;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    z-index: 10001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Large tablet/small desktop - reduce spacing */
@media (max-width: 1170px) and (min-width: 1025px) {
    .navbar-container {
        max-width: 1200px;
        padding: 0 1.5rem;
    }

    .nav-menu {
        gap: 1.5rem;
    }

    .nav-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.95rem;
    }
}

/* Medium tablet - more compact */
@media (max-width: 1024px) and (min-width: 900px) {
    .navbar-container {
        padding: 0 1rem;
    }

    .nav-menu {
        gap: 1rem;
    }

    .nav-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.9rem;
    }

    .dropdown {
        min-width: 180px;
    }
}

/* Small tablet - switch to mobile menu */
@media (max-width: 899px) {
    .navbar-container {
        padding: 0 1rem;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(30, 64, 175, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 0;
        transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 10000;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-link {
        width: 100%;
        justify-content: flex-start;
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
        font-weight: 600;
        border-radius: 0;
        transition: all 0.3s ease;
    }

    .nav-link i.fa-chevron-down {
        margin-left: auto;
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: none;
        padding-left: 2.5rem;
    }

    .dropdown {
        position: static;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border-radius: 0;
        margin: 0;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transition: all 0.4s ease;
        transform: none;
        z-index: 10000;
    }

    .nav-item.dropdown-active .dropdown {
        opacity: 1;
        visibility: visible;
        max-height: 400px;
    }

    .dropdown a {
        color: rgba(255, 255, 255, 0.9);
        padding: 1rem 3rem;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        transition: all 0.3s ease;
    }

    .dropdown a:last-child {
        border-bottom: none;
    }

    .dropdown a:hover {
        background: rgba(255, 255, 255, 0.2);
        color: white;
        padding-left: 3.5rem;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 10001;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}




/* Footer */

.footer {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.footer-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #60a5fa;
}

.footer-link {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.footer-link:hover {
    color: #60a5fa;
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(96, 165, 250, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #60a5fa;
    color: white;
    transform: translateY(-3px);
}

/* Logo styling - no borders */
.footer-section img {
    border-radius: 0;
    box-shadow: none;
}

.footer-section img:hover {
    transform: scale(1.05);
}



/* WhatsApp Button */


    .whatsapp-float {
        position: fixed;
        width: 60px;
        height: 60px;
        bottom: 30px;
        right: 30px;
        background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
        color: white;
        border-radius: 50%;
        text-align: center;
        font-size: 28px;
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
        z-index: 9998;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        animation: pulse 2s infinite;
    }

    .whatsapp-float:hover {
        transform: scale(1.1);
        box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
        color: white;
        text-decoration: none;
    }

    @keyframes pulse {
        0% {
            box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
        }
        50% {
            box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
        }
        100% {
            box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
        }
    }

    /* Responsive WhatsApp */
    @media (max-width: 768px) {
        .whatsapp-float {
            width: 55px;
            height: 55px;
            bottom: 20px;
            right: 20px;
            font-size: 24px;
        }
    }



    .red-footer {
      color: #f76f6f;
    }
