/* ===== HEADER & FOOTER COMBINED STYLES ===== */
/* Merged on: February 14, 2026 */

/* ===== HEADER STYLES ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 24px;
}


.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.main-header {
    width: 100%;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid #eef2f8;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.nav-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-img {
    height: 40px;
    display: block;
}

/* Desktop Navigation */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-menu a {
    text-decoration: none;
    color: #24344d;
    font-weight: 500;
    font-size: 15px;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    padding: 10px 0;
    display: none;
    z-index: 1000;
}

.dropdown-content a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
}

.sub-dropdown {
    position: relative;
}

.sub-dropdown-content {
    position: absolute;
    top: 0;
    left: 100%;
    background: #fff;
    min-width: 200px;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    padding: 10px 0;
    display: none;
}

/* Sign In Buttons */
.desktop-signin {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #1a4cff;
    color: white !important;
    padding: 8px 22px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    line-height: 1.3;
}

.desktop-signin small {
    font-size: 11px;
    opacity: 0.9;
    font-weight: 400;
}

.mobile-signin {
    display: none;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    font-size: 32px;
    background: none;
    border: none;
    cursor: pointer;
    color: #24344d;
}

/* DESKTOP ONLY HOVER */
@media (min-width: 1001px) {
    .dropdown:hover .dropdown-content {
        display: block;
    }

    .sub-dropdown:hover .sub-dropdown-content {
        display: block;
    }
}

/* Hide mobile header on desktop */
.nav-header {
    display: none;
}

/* ===== FOOTER STYLES ===== */
.main-footer {
    background: linear-gradient(145deg, #0a1e3c 0%, #0c2344 100%);
    color: #ffffff;
    padding: 60px 15px 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    position: relative;
    overflow: hidden;
}

/* Decorative Elements - MERGED: Footer ke decorative elements ko header ke saath koi conflict nahi */
.main-footer::before {
    content: '';
    position: absolute;
    top: 0;

    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
}


.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* Company Info Column - Left Aligned */
.company-info {
    text-align: left;
}

.company-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

/* MERGED: ::after pseudo-element properties */
.company-info h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #4ecdc4;
    border-radius: 2px;
}

.company-info p {
    font-size: 0.95rem;
    line-height: 1.8;
    opacity: 0.85;
    margin-bottom: 25px;
    color: #e0e7ff;
    max-width: 400px;
}

/* All Other Columns - Centered */
.footer-col:not(.company-info) {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #ffffff;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
}

/* MERGED: Footer column heading underline */
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: #4ecdc4;
    border-radius: 2px;
}

/* Footer Links */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.footer-links a {
    color: #c7d2ff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding: 2px 0;
}

/* MERGED: Footer link arrow animation */
.footer-links a::before {
    content: '›';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: 0.3s;
    color: #4ecdc4;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    opacity: 1;
    left: -10px;
}

/* Contact Info */
.contact-col {
    text-align: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.contact-info p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #c7d2ff;
    font-size: 0.95rem;
    transition: 0.3s;
}

.contact-info p i {
    color: #4ecdc4;
    width: 20px;
    font-size: 1rem;
}

.contact-info p:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.social-links a:hover {
    background: #4ecdc4;
    transform: translateY(-5px);
    color: #0a1e3c;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1px 0;
    margin-top: 10px;
}

.footer-bottom-content {
    display: flex;
justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-content p {
    font-size: 0.85rem;
    opacity: 0.7;
    color: #e0e7ff;
}

.footer-bottom-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-bottom-links a {
    color: #c7d2ff;
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.3s;
}

.footer-bottom-links a:hover {
    color: #4ecdc4;
}

.footer-bottom-links span {
    color: rgba(255, 255, 255, 0.3);
}

/* Smooth Transitions - MERGED: Footer transition properties */
.footer-col,
.footer-links a,
.contact-info p,
.social-links a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESPONSIVE STYLES - MERGED ===== */
/* MERGED: Mobile styles for header (1000px breakpoint) */
@media (max-width: 1000px) {
    /* Header Mobile Styles */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 380px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 0;
        transition: right 0.3s;
        overflow-y: auto;
        box-shadow: -5px 0 20px rgba(0,0,0,0.05);
        display: block;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-header {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding-bottom: 20px;
        margin-bottom: 10px;
        border-bottom: 1px solid #eef2f8;
    }

    .nav-logo {
        display: block;
    }

    .close-toggle {
        font-size: 24px;
        background: #ff0000;
        border: none;
        width: 44px;
        height: 44px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: white;
        border-radius: 50%;
        font-weight: bold;
        line-height: 1;
    }

    .mobile-toggle {
        display: block;
    }

    .desktop-signin {
        display: none;
    }

    .mobile-signin {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        background: #1a4cff;
        color: white !important;
        padding: 14px 20px;
        border-radius: 40px;
        font-weight: 600;
        font-size: 16px;
        text-decoration: none;
        margin-top: 25px;
        width: 100%;
    }

    .mobile-signin small {
        font-size: 12px;
        opacity: 0.9;
    }

    .nav-menu > a:not(.mobile-signin):not(.nav-logo) {
        display: block;
        width: 100%;
        padding: 16px 0;
        font-size: 16px;
        border-bottom: 1px solid #f0f0f0;
    }

    .dropdown {
        width: 100%;
    }

    .dropbtn {
        width: 100%;
        padding: 16px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #f0f0f0;
        cursor: pointer;
    }

    .dropdown-content {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
        padding: 10px 0 10px 15px;
        background: #f9faff;
        margin-top: 0;
        border-radius: 0;
    }

    .dropdown.active .dropdown-content {
        display: block !important;
    }

    .sub-dropdown {
        width: 100%;
    }

    .sub-dropbtn {
        width: 100%;
        padding: 12px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
    }

    .sub-dropdown-content {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
        padding: 10px 0 10px 15px;
        background: #fff;
        border-radius: 0;
    }

    .sub-dropdown.active .sub-dropdown-content {
        display: block !important;
    }
}

/* MERGED: Tablet responsive for footer (1024px breakpoint) */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }
    
    .company-info {
        grid-column: 1 / -1;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    /* MERGED: Company info heading underline for tablet */
    .company-info h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .company-info p {
        max-width: 600px;
    }
    
    .footer-col:not(.company-info) {
        text-align: center;
    }
}

/* MERGED: Mobile responsive for footer (768px breakpoint) */
@media (max-width: 768px) {
    .main-footer {
        padding: 50px 0 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-col {
        text-align: center !important;
        align-items: center !important;
    }
    
    /* MERGED: All headings centered on mobile */
    .company-info h3::after,
    .footer-col h4::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    
    .footer-links a {
        text-align: center;
    }
    
    /* MERGED: Hide arrow on mobile for cleaner look */
    .footer-links a::before {
        display: none;
    }
    
    .footer-links a:hover {
        transform: translateX(0);
        color: #4ecdc4;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
    
    .contact-info p {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* MERGED: Small phones responsive (480px breakpoint) */
@media (max-width: 480px) {
    /* Header small phones */
    .nav-flex {
        padding: 10px 16px;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .nav-menu {
        width: 90%;
    }
    
    .close-toggle {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }
    
    /* Footer small phones */
    .container {
        padding: 0 20px;
    }
    
    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .contact-info p {
        font-size: 0.9rem;
    }
}