@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .hero {
        min-height: 600px;
        padding: 4rem 1rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .hero-buttons button {
        width: 100%;
    }

    .service-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .about {
        padding: 3rem 1rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-content {
        text-align: left;
        padding: 0;
    }

    .about-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .about-content p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .about-features {
        margin-top: 1.5rem;
    }

    .about-features li {
        margin-bottom: 0.8rem;
        font-size: 0.95rem;
    }

    .about-image {
        margin: 0 -1rem;
    }

    .about-team-svg {
        width: 100%;
        height: auto;
        max-height: 300px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nav-container {
        padding: 0.5rem 1rem;
    }
    
    .mobile-menu {
        padding: 2rem;
    }
    
    .mobile-nav {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        margin-top: 3rem;
    }
    
    .mobile-nav a {
        font-size: 1.2rem;
        color: var(--secondary-color);
        text-decoration: none;
        padding: 0.5rem 0;
        border-bottom: 1px solid #eee;
    }

    .service-card {
        margin-bottom: 1rem;
    }
    
    .service-card-content {
        padding: 1.5rem;
    }

    .contact-form-container {
        padding: 1.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents iOS zoom on focus */
    }

    .team-grid,
    .team-grid.second-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .team-card {
        max-width: 100%;
    }
    
    .team-avatar {
        width: 100px;
        height: 100px;
        margin: 1.5rem auto;
    }
    
    .team-info {
        padding: 0 1.5rem 1.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    .mobile-menu {
        background: var(--black);
    }

    .mobile-menu a {
        color: white;
        font-family: 'Archivo Narrow', sans-serif;
        text-transform: uppercase;
    }

    .mobile-menu-header {
        border-bottom: 1px solid var(--gold);
    }

    .close-menu {
        color: var(--gold);
    }
}

/* Mobile Menu Styles */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--secondary) !important;
    z-index: 1001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-nav {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.mobile-nav a {
    display: block;
    padding: 1rem;
    color: var(--primary) !important;
    text-decoration: none;
    font-family: 'Archivo Narrow', sans-serif;
    text-transform: uppercase;
    font-size: 1.2rem;
}

/* Phone number styling */
.mobile-nav .mobile-phone {
    margin-top: auto;
    background: var(--primary);
    color: var(--white) !important;
    text-align: center;
    padding: 1rem;
    border-radius: 4px;
    margin: auto 2rem 2rem 2rem;
}

.mobile-nav .mobile-phone:hover {
    background: var(--accent-dark);
}

/* Active state */
.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    border-bottom: 1px solid var(--primary);
}

.close-menu {
    color: var(--primary) !important;
}

.close-menu:hover {
    color: var(--white) !important;
}

/* Mobile phone number at bottom */
.mobile-phone {
    display: block;
    background: var(--primary);
    color: var(--white) !important; /* Force white text */
    text-align: center;
    padding: 1rem;
    margin-top: auto;
    text-decoration: none;
    font-family: 'Archivo Narrow', sans-serif;
    font-size: 1.2rem;
}

.mobile-phone:hover {
    background: var(--secondary);
}

/* Ensure the mobile nav takes full height */
.mobile-nav {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 80px); /* Adjust based on header height */
    padding: 2rem;
}

/* Keep other mobile menu styles */
.mobile-menu {
    background: var(--secondary) !important;
}

.mobile-nav a:not(.mobile-phone) {
    color: var(--primary) !important;
}

.mobile-nav a:not(.mobile-phone):hover {
    color: var(--white) !important;
}

/* Contact Section - Mobile Styles */
@media screen and (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info {
        max-width: 100%;
        margin: 0 auto;
    }

    .info-card {
        padding: 2rem;
    }

    .map-container {
        min-height: 400px;
    }

    .map-container iframe {
        min-height: 400px;
    }
}

@media screen and (max-width: 768px) {
    .contact-section {
        padding: 3rem 1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .info-card {
        padding: 1.5rem;
    }

    .info-group {
        margin-bottom: 1rem;
    }

    .info-card h3 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .map-container {
        min-height: 350px;
    }

    .map-container iframe {
        min-height: 350px;
    }

    .submit-button, 
    button[type="submit"] {
        width: 100%;
        background: var(--primary); /* Gold brand color */
    }
    
    .submit-button:hover,
    button[type="submit"]:hover {
        background: var(--secondary); /* Secondary brand color on hover */
    }
}

