/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #000;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header Styles */
.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    padding: 1.5rem 2rem;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Desktop/Mobile Visibility Classes */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

.logo-container {
    position: relative;
}

.logo-link {
    display: block;
    text-decoration: none;
}

.logo {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.desktop-logo {
    display: block;
}

.mobile-logo {
    display: none;
}

/* Mobile Logo Container */
.mobile-logo-container {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.mobile-nav-logo {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Mobile horizontal navigation */
.mobile-nav {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

.nav-button {
    background: none;
    border: none;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.nav-button:hover {
    color: white; /* Keep white on hover */
}

/* UPDATED: Only show red underline for active pages, keep text white */
.nav-button.active {
    color: white; /* Keep text white */
}

.nav-button.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: #ef4444; /* Red underline only */
}

.phone-container {
    display: flex;
    align-items: center;
    background: rgba(220, 38, 38, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: bold;
    cursor: pointer;
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

.phone-badge {
    background: white;
    color: #dc2626;
    border-radius: 50%;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 900;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.phone-number {
    white-space: nowrap;
}

/* Mobile Phone Icon - CRITICAL: Hidden on desktop, only shown on mobile */
.mobile-phone-icon {
    display: none !important; /* CRITICAL: Force hidden on desktop */
    background: white;
    color: #dc2626;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

.mobile-phone-icon svg {
    width: 20px;
    height: 20px;
    stroke: #dc2626;
}

.mobile-phone-icon:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.05);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
    z-index: 999999;
    position: relative;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: #000000 !important;
    z-index: 999998 !important;
    display: none !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    overflow: hidden !important;
}

.mobile-menu-overlay.active {
    display: flex !important;
    opacity: 1 !important;
}

.mobile-menu-content {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    position: relative !important;
    padding: 2rem !important;
    background: #000000 !important;
    z-index: 999999 !important;
}

.mobile-menu-close {
    position: absolute !important;
    top: 2rem !important;
    right: 2rem !important;
    background: none !important;
    border: none !important;
    color: white !important;
    font-size: 2.5rem !important;
    cursor: pointer !important;
    line-height: 1 !important;
    padding: 0.5rem !important;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 999999 !important;
}

.mobile-menu-close svg {
    width: 24px;
    height: 24px;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    width: 100%;
    max-width: 400px;
}

.mobile-menu-link {
    color: white !important;
    text-decoration: none !important;
    font-size: 1.8rem !important;
    font-weight: 600 !important;
    transition: color 0.3s ease !important;
    text-align: center !important;
    padding: 0.5rem 1rem !important;
    width: 100% !important;
    display: block !important;
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
    color: #ef4444 !important;
}

/* Hero Section - UPDATED: Increased height to match services page (525px) */
.hero-section {
    position: relative;
    height: 525px; /* Increased from 100vh to match services page height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom, 
        rgba(0, 0, 0, 0.3) 0%, 
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.8) 80%,
        rgba(0, 0, 0, 1) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: 0 2rem;
    max-width: 800px;
}

/* Mobile Hero Logo (Hidden by default, shown on mobile) */
.mobile-hero-logo {
    display: none;
    margin-bottom: 30px; /* 30px distance from H1 */
}

.mobile-hero-logo .mobile-logo {
    height: 120px; /* INCREASED: 50% bigger than 80px */
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.hero-title {
    font-size: 3.5rem; /* Increased from 4rem to match services page */
    font-weight: 700;
    margin-bottom: 1.25rem; /* Increased margin to match services page */
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.375rem; /* Increased from 1.5rem to match services page */
    opacity: 0.9;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 300;
    line-height: 1.4;
}

/* Contact Section */
.contact-section {
    background: #000;
    position: relative;
    z-index: 10;
    padding: 6rem 0;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 6rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 3rem;
    text-align: center;
    letter-spacing: -0.02em;
}

/* Contact Info Section */
.contact-info-grid {
    display: flex;
    justify-content: center;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 600px;
    width: 100%;
}

.contact-icon-container {
    flex-shrink: 0;
}

.contact-icon-badge {
    width: 80px;
    height: 80px;
    background: transparent;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    border: 3px solid white;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-label {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    min-width: 100px;
}

.contact-value {
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-value:hover {
    color: #ef4444;
}

/* Why Section */
.why-content {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.why-icon-container {
    flex-shrink: 0;
}

.why-icon {
    width: 80px;
    height: 80px;
    background: transparent;
    border: 3px solid white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.why-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.why-item {
    position: relative;
    padding-left: 1.5rem;
}

.why-item::before {
    content: '–';
    position: absolute;
    left: 0;
    color: #dc2626;
    font-weight: bold;
    font-size: 1.2rem;
}

.why-text {
    color: white;
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.6;
}

/* Footer Styles */
.footer {
    background: black;
    padding: 0;
}

.footer-separator {
    width: 100%;
    height: 2px;
    background: #dc2626;
    margin: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 2rem 0;
}

.footer-copyright {
    display: flex;
    align-items: center;
    justify-self: start;
    color: #9ca3af;
    font-size: 0.875rem;
}

.copyright-symbol {
    font-size: 1.125rem;
    font-weight: bold;
    margin-right: 0.5rem;
}

.copyright-text {
    font-weight: 400;
}

.footer-logo {
    justify-self: center;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.footer-social {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    color: #dc2626;
    transform: translateY(-2px);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Hide/Show Elements for Mobile */
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: block !important;
    }
    
    /* Show mobile navigation and hide desktop navigation */
    .desktop-nav {
        display: none !important; /* Hide desktop navigation on mobile */
    }
    
    .mobile-nav {
        display: flex !important; /* Show mobile navigation */
        align-items: center;
        justify-content: center; /* FIXED: Center the navigation items */
        gap: 1.5rem;
        font-size: 0.9rem;
        width: 100%; /* FIXED: Take full width */
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    /* Show mobile phone icon - ONLY ON MOBILE */
    .mobile-phone-icon {
        display: flex !important; /* CHANGED: Use flex instead of block */
    }
    
    /* FIXED: Mobile header layout - proper centering */
    .header {
        padding: 1.5rem 1rem; /* FIXED: Reduced side padding for better mobile spacing */
    }
    
    .nav-container {
        display: flex;
        justify-content: center; /* FIXED: Center everything on mobile */
        align-items: center;
        width: 100%;
        position: relative; /* FIXED: For absolute positioning of phone icon */
    }
    
    .nav-right {
        display: flex;
        align-items: center;
        justify-content: center; /* FIXED: Center the navigation */
        width: 100%; /* FIXED: Take full width */
        gap: 1rem;
    }
    
    /* FIXED: Position phone icon absolutely on the right */
    .mobile-phone-icon {
        position: absolute !important;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }
    
    /* Show Mobile Hero Logo */
    .mobile-hero-logo {
        display: block !important;
    }
    
    .hero-section {
        height: 450px; /* Increased from 80vh to match services page mobile height */
    }
    
    .hero-title {
        font-size: 2.75rem; /* Increased from 3rem to match services page */
    }
    
    .hero-subtitle {
        font-size: 1.25rem; /* Increased from 1.25rem to match services page */
    }
    
    .contact-section {
        padding: 4rem 0;
    }
    
    .contact-container {
        gap: 4rem;
        padding: 0 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .contact-info-item {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .contact-icon-badge {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
    
    .contact-detail {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .why-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .why-icon {
        width: 70px;
        height: 70px;
        margin: 0 auto;
    }
    
    .why-icon svg {
        width: 35px;
        height: 35px;
    }
    
    .why-details {
        gap: 1rem;
    }
    
    .why-item {
        text-align: left;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-copyright {
        justify-self: center;
        order: 3;
    }

    .footer-logo {
        justify-self: center;
        order: 1;
    }

    .footer-social {
        justify-self: center;
        order: 2;
    }
}

@media (max-width: 480px) {
    .mobile-hero-logo .mobile-logo {
        height: 105px; /* INCREASED: 50% bigger than 70px */
    }

    .hero-section {
        height: 375px; /* Increased from 70vh to match services page small mobile height */
    }

    .hero-title {
        font-size: 2.25rem; /* Increased from 2.5rem to match services page */
    }
    
    .hero-subtitle {
        font-size: 1.125rem; /* Increased from 1.125rem to match services page */
    }
    
    .contact-section {
        padding: 3rem 0;
    }
    
    .contact-container {
        padding: 0 1rem;
        gap: 3rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .contact-info-item {
        padding: 0;
    }
    
    .contact-icon-badge {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .contact-detail {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .contact-label {
        min-width: auto;
    }
    
    .why-content {
        padding: 0;
    }
    
    .why-icon {
        width: 60px;
        height: 60px;
    }
    
    .why-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .why-text {
        font-size: 1rem;
    }

    .footer-content {
        padding: 1.5rem 0;
        gap: 1.5rem;
    }

    .footer-logo-img {
        height: 50px;
    }

    .social-link {
        width: 36px;
        height: 36px;
    }

    .social-link svg {
        width: 20px;
        height: 20px;
    }

    /* FIXED: Better mobile navigation spacing for small screens */
    .header {
        padding: 1.5rem 0.75rem; /* FIXED: Even less side padding for small screens */
    }
    
    .mobile-nav {
        gap: 1rem; /* FIXED: Reduced gap for small screens */
        font-size: 0.8rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation for content */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-info-item,
.why-content {
    animation: fadeInUp 0.8s ease;
}