

/* ============================================
   NAVIGATION BAR
   ============================================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    background: var(--white);
}

/* prevent content hiding behind navbar */
body {
    padding-top: 80px;
}

.main-nav {
    background: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    flex-direction: column;
}
.nav-logo2 {
    display: flex;
    flex-direction: column;
}
.nav-logo2 img {
    width: 50%;
}

.nav-logo img {
    height: 35px;
    margin-bottom: 2px;
}

.nav-logo span {
    font-size: 0.65rem;
    color: var(--primary-blue);
    font-weight: 600;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-blue);
}

.nav-btn {
    background: var(--primary-yellow);
    color: var(--text-dark);
    padding: 10px 24px;
    font-size: 0.85rem;
}

.nav-btn:hover {
    box-shadow: 0 5px 20px rgba(245, 211, 0, 0.3);
}

.btn-primary {
    display: inline-block;
    background: var(--primary-blue);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(26, 58, 138, 0.3);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-brand p {
    font-size: 0.9rem;
    opacity: 0.7;
    line-height: 1.7;
}

.footer-links h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-yellow);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.6;
}


/* ============================================
   RESPONSIVE STYLES - HAMBURGER MENU & FOOTER
   ============================================ */

/* Variables for consistency */
:root {
    --primary-blue: #1a3a8a;
    --primary-yellow: #f5d300;
    --dark-blue: #0a1a3a;
    --white: #ffffff;
    --text-dark: #2d2d2d;
    --text-light: #6c757d;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   HAMBURGER MENU BUTTON
   ============================================ */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100001;
    position: relative;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 10px;
    transition: var(--transition);
    transform-origin: center;
}

/* Active state animation */
.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ============================================
   MOBILE NAVIGATION OVERLAY
   ============================================ */
@media (max-width: 768px) {
    /* Show hamburger button */
    .hamburger {
        display: flex;
    }

    /* Hide desktop nav links initially on mobile */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 100px 40px 40px;
        gap: 20px;
        margin: 0;
        list-style: none;
        transition: right 0.3s ease-in-out;
        box-shadow: var(--shadow-md);
        z-index: 100000;
        overflow-y: auto;
    }

    /* Active state - slide in */
    .nav-links.active {
        right: 0;
    }

    /* Mobile nav links styling */
    .nav-links li {
        width: 100%;
        opacity: 0;
        transform: translateX(20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }

    /* Staggered animation for menu items */
    .nav-links.active li:nth-child(1) { transition-delay: 0.05s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.1s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.15s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(5) { transition-delay: 0.25s; }
    .nav-links.active li:nth-child(6) { transition-delay: 0.3s; }

    .nav-links a {
        display: block;
        font-size: 1.2rem;
        padding: 12px 0;
        border-bottom: 2px solid transparent;
        width: 100%;
    }

    .nav-links a:hover,
    .nav-links a.active {
        border-bottom-color: var(--primary-yellow);
        padding-left: 8px;
    }

    /* Hide desktop Get Quote button, show in mobile menu */
    .nav-btn {
        display: none;
    }

    /* Add mobile quote button in menu */
    .nav-links .mobile-quote-btn {
        display: block;
        background: var(--primary-yellow);
        color: var(--text-dark);
        text-align: center;
        padding: 14px;
        border-radius: 8px;
        font-weight: 600;
        margin-top: 20px;
        border-bottom: none !important;
    }

    .nav-links .mobile-quote-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 20px rgba(245, 211, 0, 0.3);
        padding-left: 0 !important;
    }

    /* Adjust header positioning */
    header {
        background: var(--white);
    }

    .nav-container {
        position: relative;
        justify-content: space-between;
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}

/* ============================================
   IMPROVED FOOTER - MODERN & PROFESSIONAL
   ============================================ */

/* Base Footer Styles */
footer {
    background: linear-gradient(135deg, var(--dark-blue) 0%, #0c1f3e 100%);
    color: var(--white);
    padding: 60px 0 20px;
    position: relative;
    margin-top: 60px;
}

/* Decorative top border */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-yellow), var(--primary-blue), var(--primary-yellow));
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* Brand Section */
.footer-brand h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Inter', sans-serif;
}

.footer-brand .tagline {
    color: var(--primary-yellow);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    opacity: 0.8;
    margin-bottom: 25px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
    text-decoration: none;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--primary-yellow);
    transform: translateY(-3px);
}

/* Footer Links Sections */
.footer-links h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-yellow);
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-5px);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-yellow);
    transform: translateX(5px);
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Contact Info with Icons */
.contact-info li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.contact-info li span:first-child {
    font-size: 1.2rem;
    min-width: 25px;
}

.contact-info a,
.contact-info span:last-child {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.contact-info a:hover {
    color: var(--primary-yellow);
}

/* Newsletter Section */
.newsletter h4 {
    margin-bottom: 20px;
}

.newsletter p {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 15px;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    outline: none;
    transition: var(--transition);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-form button {
    padding: 12px 20px;
    background: var(--primary-yellow);
    border: none;
    border-radius: 8px;
    color: var(--text-dark);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 211, 0, 0.3);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.85rem;
    opacity: 0.6;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--primary-yellow);
}

/* ============================================
   FOOTER - RESPONSIVE STYLES
   ============================================ */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 50px 0 20px;
        margin-top: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-links h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a {
        justify-content: center;
    }

    .footer-links a::before {
        display: none;
    }

    .footer-links a:hover {
        transform: translateX(0);
    }

    .contact-info li {
        justify-content: center;
    }

    .newsletter-form {
        max-width: 350px;
        margin: 0 auto;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 40px 0 15px;
    }

    .footer-grid {
        gap: 30px;
    }

    .footer-brand h3 {
        font-size: 1.5rem;
    }

    .newsletter-form {
        flex-direction: column;
        max-width: 100%;
    }

    .newsletter-form button {
        width: 100%;
    }

    .footer-bottom {
        font-size: 0.75rem;
    }
}

/* Small phones (up to 480px) */
@media (max-width: 480px) {
    .hamburger {
        width: 26px;
        height: 18px;
    }

    .hamburger span {
        height: 2.5px;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(7.75px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-7.75px) rotate(-45deg);
    }

    .nav-links {
        width: 85%;
        padding: 90px 25px 30px;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 10px 0;
    }
}

/* Tablet landscape (769px to 1024px) - optional adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 30px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 0.85rem;
    }
}

/* ============================================
   ADDITIONAL TOUCH IMPROVEMENTS
   ============================================ */
@media (hover: none) and (pointer: coarse) {
    /* Better touch targets for mobile */
    .nav-links a,
    .footer-links a,
    .btn-primary,
    .social-links a,
    .newsletter-form button {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .nav-links li {
        margin: 5px 0;
    }
}