/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-white: #ffffff;
    --light-white: #f8fafc;
    --primary-blue: #1e3a8a;
    --dark-blue: #1e40af;
    --light-blue: #3b82f6;
    --primary-orange: #ea580c;
    --dark-orange: #c2410c;
    --light-orange: #fb923c;
    --gray: #64748b;
    --dark-gray: #334155;
    --black: #0f172a;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--primary-white);
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: var(--primary-white);
    padding: 2rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid var(--primary-orange);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-graphic {
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-primary {
    color: #1e3a8a;
    font-weight: 700;
    font-size: 1.8rem;
    margin: 0;
    letter-spacing: 0.5px;
}

.logo-secondary {
    color: #3b82f6;
    font-weight: 400;
    font-size: 0.9rem;
    margin: 0;
    letter-spacing: 1px;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-orange);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-orange);
}

.hamburger {
    display: none !important;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background-color: rgba(59, 130, 246, 0.1);
}

.bar {
    width: 28px;
    height: 3px;
    background-color: var(--primary-white);
    margin: 4px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background-color: var(--primary-white);
    color: var(--dark-gray);
    padding: 120px 0 80px;
    margin-top: 0;
    padding-top: 240px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange) 0%, var(--primary-blue) 50%, var(--primary-orange) 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-orange);
    color: var(--primary-white);
}

.btn-primary:hover {
    background-color: var(--dark-orange);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: var(--primary-white);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Services Overview */
.services-overview {
    padding: 80px 0;
    background-color: var(--primary-blue);
    color: var(--primary-white);
    position: relative;
}

.services-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange) 0%, var(--primary-blue) 50%, var(--primary-orange) 100%);
}

.services-overview h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--primary-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.service-card {
    background-color: var(--primary-white);
    padding: 1.5rem 1rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--primary-orange);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--primary-white);
}

.service-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    font-size: 0.9rem;
}

/* Services Detailed Layout */
.services-detailed {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
}

.services-detailed .service-detailed {
    background-color: var(--primary-white);
    color: var(--primary-blue);
    padding: 3rem;
    border: 1px solid #e5e7eb;
}

/* Services Overview on Index Page */
.services-overview {
    background-color: var(--primary-blue);
    color: var(--primary-white);
}

.services-overview h2 {
    color: var(--primary-white);
}

.service-card {
    background-color: transparent;
    color: var(--primary-white);
    border: 2px solid var(--primary-white);
}

.service-detailed {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    background-color: var(--primary-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-detailed:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-detailed:nth-child(even) {
    grid-template-columns: 2fr 1fr;
}

.service-detailed:nth-child(even) .service-image {
    order: 2;
}

.service-detailed:nth-child(even) .service-info {
    order: 1;
}

.service-detailed .service-image {
    border-radius: 8px;
    overflow: hidden;
    height: 300px;
}

.service-detailed .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-detailed:hover .service-image img {
    transform: scale(1.05);
}

.service-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.service-info p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.service-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-info li {
    padding: 0.75rem 0;
    color: var(--gray);
    position: relative;
    padding-left: 2.5rem;
    font-size: 1rem;
    line-height: 1.5;
}

.service-info li::before {
    content: "✓";
    position: absolute;
    left: 0.5rem;
    top: 0.75rem;
    color: var(--primary-orange);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Why Choose Us */
.why-choose-us {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.why-choose-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-orange) 0%, var(--primary-blue) 50%, var(--primary-orange) 100%);
}

.why-choose-us::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 40%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    transform: rotate(15deg);
}

.why-choose-us h2 {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 4rem;
    color: var(--primary-blue);
    position: relative;
    z-index: 2;
}

/* Features grid for index page - 3 across */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Services grid for services page - 2 across */
.services-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-orange) 0%, var(--primary-blue) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.feature:hover::before {
    transform: scaleX(1);
}

.feature:hover::after {
    opacity: 1;
}

.feature h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--primary-blue);
    line-height: 1.2;
    white-space: normal;
    min-height: 2.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature p {
    color: var(--gray);
    line-height: 1.5;
    font-size: 0.9rem;
    margin: 0;
}

/* About Us */
.about-us {
    padding: 100px 0;
    background-color: var(--light-white);
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--primary-blue);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.about-highlights {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.highlight {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: transform 0.3s ease;
}

.highlight:hover {
    transform: translateY(-5px);
}

.highlight strong {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 0.5rem;
}

.highlight span {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 500;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Call to Action */
.cta {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1e40af 100%);
    color: var(--primary-white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-orange) 0%, var(--primary-blue) 50%, var(--primary-orange) 100%);
}

.cta::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 40%;
    height: 200%;
    background: radial-gradient(circle, rgba(251, 146, 60, 0.1) 0%, transparent 70%);
    transform: rotate(-15deg);
}

.cta .container {
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta .btn-primary {
    background: linear-gradient(45deg, var(--primary-orange) 0%, #ea580c 100%);
    color: var(--primary-white);
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(251, 146, 60, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta .btn-primary:hover {
    background: linear-gradient(45deg, #ea580c 0%, #c2410c 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(251, 146, 60, 0.4);
}

/* Footer */
.footer {
    background-color: var(--primary-blue);
    color: var(--primary-white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-orange);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    color: var(--light-white);
}

.footer-bottom {
    border-top: 1px solid var(--dark-gray);
    padding-top: 2rem;
    text-align: center;
    color: var(--gray);
}

/* Contact Form Styles */
.contact-form {
    background-color: var(--primary-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 600px;
    margin: 0 auto;
    border: none;
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--primary-blue);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-gray);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-orange);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

/* Page Headers */
.page-header {
    background-color: var(--primary-white);
    color: var(--dark-gray);
    padding: 240px 0 80px;
    margin-top: 0;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange) 0%, var(--primary-blue) 50%, var(--primary-orange) 100%);
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Content Sections */
.content-section {
    padding: 80px 0;
}

.content-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--primary-blue);
    text-align: center;
}

.content-section h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.content-section p {
    margin-bottom: 1.5rem;
    color: var(--gray);
    line-height: 1.6;
}

/* Service Details */
.service-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-detail {
    background-color: var(--primary-white);
    padding: 2rem;
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.service-detail::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--primary-orange);
}

.service-detail h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

/* Contact Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Contact Info */
.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.contact-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background-color: var(--primary-white);
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--primary-blue);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-item:hover::before {
    transform: scaleX(1);
}

.contact-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
    line-height: 1.3;
}

.contact-item p {
    color: var(--gray);
    margin-bottom: 0.8rem;
    line-height: 1.5;
    font-size: 0.95rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Hide mobile menu toggle by default */
.mobile-menu-toggle {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .hamburger {
        display: flex !important;
        z-index: 1005;
        cursor: pointer;
        padding: 12px;
        background-color: rgba(0, 0, 0, 0.8);
        border-radius: 8px;
        position: fixed;
        top: 20px;
        right: 20px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .hamburger:hover {
        background-color: rgba(0, 0, 0, 0.9);
        transform: scale(1.05);
    }
    
    .navbar {
        z-index: 1003;
        position: relative;
    }
    
    .nav-container {
        position: relative;
        z-index: 1004;
    }
    
    .hamburger {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1005;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: linear-gradient(135deg, var(--primary-blue) 0%, #1e40af 100%);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        padding: 80px 2rem 3rem 2rem;
        z-index: 1000;
        overflow-y: auto;
        display: flex;
    }

    .mobile-menu-toggle:checked ~ .nav-menu {
        left: 0;
    }
    
    .mobile-menu-toggle:checked + .hamburger .bar:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .mobile-menu-toggle:checked + .hamburger .bar:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
        background-color: var(--primary-orange);
        box-shadow: 0 0 10px rgba(251, 146, 60, 0.5);
    }

    .mobile-menu-toggle:checked + .hamburger .bar:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
        background-color: var(--primary-orange);
        box-shadow: 0 0 10px rgba(251, 146, 60, 0.5);
    }
    
    .mobile-menu-toggle:checked + .hamburger {
        background-color: rgba(255, 255, 255, 0.2);
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    }
    
    /* Mobile menu nav links */
    .nav-menu .nav-link {
        color: var(--primary-white) !important;
        font-size: 1.2rem;
        font-weight: 500;
        padding: 1rem 2rem;
        border-radius: 8px;
        transition: all 0.3s ease;
        display: block;
        margin: 0.5rem 0;
    }
    
    .nav-menu .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
        transform: translateX(5px);
    }
    
    .nav-menu .nav-link.active {
        background-color: var(--primary-orange);
        color: var(--primary-white) !important;
    }
    
    .nav-menu .nav-item {
        margin: 0.5rem 0;
    }

    /* Mobile menu backdrop */
    .nav-menu::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: -1;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .nav-menu.active::before {
        opacity: 1;
    }

    .nav-menu li {
        margin: 1.5rem 0;
        opacity: 0;
        transform: translateY(20px);
        animation: slideInUp 0.3s ease forwards;
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-menu li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu li:nth-child(2) { animation-delay: 0.2s; }
    .nav-menu li:nth-child(3) { animation-delay: 0.3s; }
    .nav-menu li:nth-child(4) { animation-delay: 0.4s; }

    @keyframes slideInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-link {
        font-size: 1.2rem;
        font-weight: 500;
        padding: 1rem 2rem;
        border-radius: 8px;
        transition: all 0.3s ease;
        display: block;
        color: var(--primary-white);
    }

    .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
        transform: translateX(5px);
    }

    .nav-link.active {
        background-color: var(--primary-orange);
        color: var(--primary-white);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
        background-color: var(--primary-orange);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
        background-color: var(--primary-orange);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .service-card {
        padding: 1rem 0.75rem;
    }
    
    .service-icon {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .service-card h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .service-card p {
        font-size: 0.8rem;
    }

    .features-grid,
    .services-features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%;
    }
    
    .feature h3 {
        font-size: 1rem;
        white-space: normal;
        min-height: auto;
    }
    
    .feature {
        padding: 2rem 1rem;
    }
    
    .feature p {
        font-size: 0.85rem;
    }
    
    .why-choose-us h2 {
        font-size: 2.2rem;
    }
    
    .cta h2 {
        font-size: 2.2rem;
    }
    
    .cta p {
        font-size: 1.1rem;
    }
    
    .cta .btn-primary {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .about-highlights {
        flex-direction: column;
        gap: 1rem;
    }
    
    .highlight {
        padding: 1rem;
    }
    
    .about-image img {
        height: 300px;
    }
    
    .service-detailed {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .service-detailed:nth-child(even) {
        grid-template-columns: 1fr;
    }
    
    .service-detailed:nth-child(even) .service-image {
        order: 1;
    }
    
    .service-detailed:nth-child(even) .service-info {
        order: 2;
    }
    
    .service-detailed .service-image {
        height: 250px;
    }
    
    .service-info h3 {
        font-size: 1.5rem;
    }
    
    .service-info p {
        font-size: 1rem;
    }
    
    .service-info li {
        font-size: 0.9rem;
        padding: 0.5rem 0;
        padding-left: 2rem;
    }
    
    .service-info li::before {
        left: 0.3rem;
        top: 0.5rem;
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .content-section h2 {
        font-size: 2rem; 

    .service-details {
        grid-template-columns: 1fr;
    }

    /* Contact page mobile fixes */
    .contact-layout {
        display: block !important;
        grid-template-columns: none !important;
        gap: 0 !important;
    }
    
    .contact-form {
        margin-bottom: 3rem;
        padding: 1.5rem;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .contact-info {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }
    
    .contact-item {
        padding: 2rem 1.5rem !important;
        min-height: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .contact-item h4 {
        font-size: 1.1rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        margin-bottom: 1rem !important;
    }
    
    .contact-item p {
        font-size: 0.9rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        line-height: 1.4 !important;
    }
    
    /* Contact form mobile improvements */
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 1rem;
        padding: 0.8rem;
    }
    
    .btn {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }
    
    /* Additional contact page mobile fixes */
    .content-section .container {
        padding: 0 1rem !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .content-section {
        padding: 2rem 0 !important;
    }
    
    .contact-layout > div {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 2rem;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
    
    .contact-layout > div:last-child {
        margin-bottom: 0;
    }
    
    /* FAQ section mobile fixes */
    .service-details {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .service-detail {
        padding: 1.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    /* Page header mobile fixes */
    .page-header {
        padding: 3rem 0 !important;
    }
    
    .page-header h1 {
        font-size: 2.2rem !important;
        margin-bottom: 1rem !important;
    }
    
    .page-header p {
        font-size: 1.1rem !important;
    }
    
    /* Global mobile layout fixes */
    * {
        box-sizing: border-box !important;
    }
    
    .container {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    /* Ensure all text is visible and properly wrapped */
    h1, h2, h3, h4, h5, h6, p, span, div {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
    }
    
    /* Force mobile width constraints */
    .contact-info,
    .contact-layout,
    .contact-layout > div,
    .contact-item {
        min-width: 0 !important;
        flex-shrink: 1 !important;
    }
    
    /* Override any desktop max-width constraints on mobile */
    .contact-info {
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Hide "Get in Touch" section on mobile */
    .contact-info-section {
        display: none !important;
    }
    
    /* Comprehensive mobile overflow fixes */
    body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    
    .content-section {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    
    .contact-layout {
        overflow-x: hidden !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .contact-layout > div:first-child {
        overflow-x: hidden !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .contact-form {
        overflow-x: hidden !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* FAQ section mobile overflow fixes */
    .service-details {
        overflow-x: hidden !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .service-detail {
        overflow-x: hidden !important;
        max-width: 100% !important;
        width: 100% !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    /* CTA section mobile fixes */
    .cta {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    
    .cta .container {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .logo-container {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .logo-graphic svg {
        width: 70px;
        height: 25px;
    }

    .logo-primary {
        font-size: 1.4rem;
    }

    .logo-secondary {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .services-overview h2,
    .why-choose-us h2,
    .cta h2 {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .content-section h2 {
        font-size: 1.8rem;
    }
}
