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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    transition: all 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Mobile-specific improvements */
@media (max-width: 768px) {
    body {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    
    /* Optimize background performance on mobile */
    .hero,
    .about {
        background-attachment: scroll;
        will-change: auto;
    }
    
    /* Reduce animation complexity on mobile for better performance */
    .hero::before,
    .about::before {
        animation-duration: 30s;
    }
    
    .about-graphic::after {
        animation-duration: 8s;
    }
    
    /* Allow text selection for important content */
    p, h1, h2, h3, h4, h5, h6, li, span, a {
        -webkit-user-select: text;
        -khtml-user-select: text;
        -moz-user-select: text;
        -ms-user-select: text;
        user-select: text;
    }
    
    /* Prevent horizontal scrolling */
    html, body {
        overflow-x: hidden;
        width: 100%;
    }
    
    /* Ensure all content fits within viewport */
    .container {
        max-width: 100%;
        width: 100%;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Color Variables - Matching the Logo */
:root {
    --primary-blue: #66CCFF; /* Light blue from logo graphic */
    --secondary-blue: #336699; /* Darker blue from logo text */
    --accent-blue: #4A90E2;
    --light-gray: #F8F9FA;
    --dark-gray: #2C3E50;
    --white: #FFFFFF;
    --shadow: rgba(0, 0, 0, 0.1);
    
    /* Light theme colors */
    --bg-primary: var(--white);
    --bg-secondary: var(--light-gray);
    --text-primary: var(--dark-gray);
    --text-secondary: var(--secondary-blue);
    --nav-bg: rgba(255, 255, 255, 0.95);
    --card-bg: var(--white);
    --border-color: rgba(102, 204, 255, 0.1);
}


/* Breadcrumb Navigation */
.breadcrumb-nav {
    background: var(--bg-secondary);
    padding: 1rem 0;
    margin-top: 80px;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.breadcrumb-item a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--primary-blue);
}

.breadcrumb-item a[aria-current="page"] {
    color: var(--text-primary);
    font-weight: 500;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px var(--shadow);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-logo-img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: contain;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    min-height: 44px;
    min-width: 44px;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.hamburger:hover {
    background-color: rgba(102, 204, 255, 0.1);
}

.hamburger:active {
    background-color: rgba(102, 204, 255, 0.2);
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-secondary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}


/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: url('serviceimgs/about_us.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Parallax effect for desktop */
@media (min-width: 769px) {
    .hero {
        background-attachment: fixed;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 249, 250, 0.9) 30%, 
        rgba(102, 204, 255, 0.3) 70%, 
        rgba(51, 102, 153, 0.4) 100%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(102, 204, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(51, 102, 153, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.05) 50%, transparent 60%);
    animation: backgroundShift 25s ease-in-out infinite;
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
}

.hero-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(255, 255, 255, 0.8);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 1px 1px rgba(255, 255, 255, 0.6);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    min-height: 44px; /* Minimum touch target size */
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(102, 204, 255, 0.5), 0 2px 4px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    background: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 204, 255, 0.6), 0 3px 6px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--secondary-blue);
    border: 2px solid var(--secondary-blue);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--secondary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(51, 102, 153, 0.4), 0 3px 6px rgba(0, 0, 0, 0.2);
}

.hero-logo {
    width: 100%;
    height: auto;
    max-width: 600px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 4px 8px rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.1);
}

/* Mission Section */
.mission {
    padding: 80px 0;
    background: var(--bg-primary);
}

.mission-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.mission-content h2 {
    font-size: 2.5rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.mission-content p {
    font-size: 1.25rem;
    color: var(--text-primary);
    line-height: 1.8;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(255, 255, 255, 0.8);
}

.services-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: 'Click for details';
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 204, 255, 0.2);
    border-color: var(--primary-blue);
    cursor: pointer;
}

.service-card:active {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 204, 255, 0.3);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-primary);
    line-height: 1.6;
}

/* Service Modal */
.service-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--card-bg);
    margin: 2% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: var(--text-primary);
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-secondary);
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: rotate(90deg);
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: var(--white);
    padding: 2rem;
    border-radius: 20px 20px 0 0;
    text-align: center;
    position: relative;
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    backdrop-filter: blur(10px);
}

.modal-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.modal-header h2 {
    font-size: 2rem;
    margin: 0;
    font-weight: 600;
}

.modal-body {
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

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

.detail-section h3 {
    color: var(--text-secondary);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 0.5rem;
}

.detail-section p {
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.detail-section ul {
    list-style: none;
    padding: 0;
}

.detail-section li {
    color: var(--text-primary);
    padding: 0.5rem 0;
    border-left: 3px solid var(--primary-blue);
    padding-left: 1rem;
    margin-bottom: 0.5rem;
    position: relative;
}

.detail-section li::before {
    content: '\2713';
    color: var(--primary-blue);
    font-weight: bold;
    margin-right: 0.5rem;
}

.service-graphic {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 15px;
    padding: 1rem;
    min-height: 300px;
}

.modal-graphic-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary-blue);
}

.animated-graphic {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
    border-radius: 15px;
    border: 2px solid var(--primary-blue);
    position: relative;
    overflow: hidden;
}

.animated-graphic::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(102, 204, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

.animated-graphic i {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 10px rgba(102, 204, 255, 0.5));
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.modal-footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
    border-radius: 0 0 20px 20px;
}

/* Modal Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 95vh;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .modal-header {
        padding: 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-footer {
        padding: 1.5rem;
    }
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.8) 100%),
        url('serviceimgs/about_us.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 249, 250, 0.9) 50%, 
        rgba(102, 204, 255, 0.2) 100%);
    z-index: 1;
}

.faq::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(102, 204, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(51, 102, 153, 0.08) 0%, transparent 50%);
    animation: backgroundShift 35s ease-in-out infinite;
    z-index: 2;
}

.faq .container {
    position: relative;
    z-index: 3;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(102, 204, 255, 0.3), 0 4px 8px rgba(255, 255, 255, 0.3);
    border-color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.95);
}

.faq-question {
    color: var(--text-secondary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 0.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.faq-answer {
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

/* About Section */
.about {
    padding: 80px 0;
    background: url('serviceimgs/about_us.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

/* Parallax effect for desktop */
@media (min-width: 769px) {
    .about {
        background-attachment: fixed;
    }
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 249, 250, 0.9) 30%, 
        rgba(102, 204, 255, 0.3) 70%, 
        rgba(51, 102, 153, 0.4) 100%);
    z-index: 1;
}

.about::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(102, 204, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(51, 102, 153, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.05) 50%, transparent 60%);
    animation: backgroundShift 30s ease-in-out infinite reverse;
    z-index: 2;
}

.about-content {
    position: relative;
    z-index: 3;
}

/* Enhanced content panels for about page */
.about-text {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.about-intro {
    font-size: 1.25rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.about-text p {
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.7;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.about-graphic {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: linear-gradient(135deg, 
        rgba(102, 204, 255, 0.3) 0%, 
        rgba(51, 102, 153, 0.4) 50%, 
        rgba(255, 255, 255, 0.2) 100%);
    border: 2px solid rgba(102, 204, 255, 0.3);
}

.about-graphic:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 25px 50px rgba(102, 204, 255, 0.3);
    border-color: rgba(102, 204, 255, 0.5);
}

.about-graphic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(102, 204, 255, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(51, 102, 153, 0.3) 0%, transparent 50%);
    border-radius: 20px;
    z-index: 1;
}

.about-graphic::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 10%;
    width: 80%;
    height: 80%;
    background: 
        linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle, rgba(102, 204, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
    animation: float 8s ease-in-out infinite;
    z-index: 2;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 1.25rem;
    color: var(--white);
}

.contact-item h3 {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-primary);
}

.contact-form {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E1E5E9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Form Alert Messages */
.alert {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
.footer {
    background: var(--secondary-blue);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo-img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: contain;
}

.footer-logo .logo-text {
    color: var(--white);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

/* Mobile-First Responsive Design */

/* Large Mobile and Small Tablets */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    /* Navigation Mobile Improvements */
    .navbar {
        padding: 0.75rem 0;
    }

    .nav-container {
        padding: 0 15px;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        padding: 5px;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .bar {
        width: 25px;
        height: 3px;
        background: var(--text-secondary);
        margin: 3px 0;
        transition: 0.3s;
        border-radius: 2px;
    }
    

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--card-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px var(--shadow);
        padding: 2rem 0;
        z-index: 999;
        border-top: 1px solid var(--border-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 0.5rem 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 0.75rem 1rem;
        display: block;
        width: 100%;
    }

    /* Hero Section Mobile */
    .hero {
        padding: 100px 0 60px;
        min-height: 90vh;
        background-attachment: scroll; /* Better performance on mobile */
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 24px;
        font-size: 1rem;
    }

    .hero-logo {
        max-width: 300px;
        margin: 0 auto;
    }

    /* Mission Section Mobile */
    .mission {
        padding: 60px 0;
    }

    .mission-content h2 {
        font-size: 2rem;
    }

    .mission-content p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    /* Services Section Mobile */
    .services {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .services-intro {
        font-size: 1rem;
        padding: 0 1rem;
        margin-bottom: 2rem;
    }

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

    .service-card {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }

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

    .service-card p {
        font-size: 0.95rem;
    }

    /* FAQ Section Mobile */
    .faq {
        padding: 60px 0;
    }

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

    .faq-item {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }

    .faq-question {
        font-size: 1.1rem;
    }

    .faq-answer {
        font-size: 0.95rem;
    }

    /* About Section Mobile */
    .about {
        padding: 60px 0;
        background-attachment: scroll; /* Better performance on mobile */
    }
    
    .about-text {
        padding: 1.5rem;
    }
    
    .faq {
        background-attachment: scroll; /* Better performance on mobile */
    }

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

    .about-text h2 {
        font-size: 2rem;
    }

    .about-intro {
        font-size: 1.1rem;
    }

    .about-text p {
        font-size: 0.95rem;
    }

    .about-graphic {
        height: 300px;
    }

    /* Contact Section Mobile */
    .contact {
        padding: 60px 0;
    }

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

    .contact-info {
        gap: 1.5rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .contact-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 14px 16px;
    }

    /* Footer Mobile */
    .footer {
        padding: 30px 0 15px;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .footer-links a {
        font-size: 0.95rem;
    }

    /* Modal Mobile Improvements */
    .modal-content {
        width: 95%;
        margin: 2% auto;
        max-height: 95vh;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .modal-header {
        padding: 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-footer {
        padding: 1.5rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .nav-container {
        padding: 0 10px;
    }

    .hero {
        padding: 90px 0 50px;
        min-height: 85vh;
    }

    .hero-container {
        padding: 0 10px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
        max-width: 250px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .mission-content h2 {
        font-size: 1.75rem;
    }

    .mission-content p {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .services-intro {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }

    .service-card {
        padding: 1.25rem;
        margin: 0;
    }

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

    .service-card p {
        font-size: 0.9rem;
    }

    .faq-item {
        padding: 1.25rem;
        margin: 0;
    }

    .faq-question {
        font-size: 1rem;
    }

    .faq-answer {
        font-size: 0.9rem;
    }

    .about-text h2 {
        font-size: 1.75rem;
    }

    .about-intro {
        font-size: 1rem;
    }

    .about-text p {
        font-size: 0.9rem;
    }

    .about-graphic {
        height: 250px;
    }

    .contact-form {
        padding: 1.25rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 16px;
    }

    .footer-links {
        gap: 1rem;
    }

    .footer-links a {
        font-size: 0.9rem;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .mission-content h2 {
        font-size: 1.5rem;
    }

    .about-text h2 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 10px 18px;
        font-size: 0.9rem;
        max-width: 220px;
    }

    .service-card {
        padding: 1rem;
    }

    .faq-item {
        padding: 1rem;
    }

    .contact-form {
        padding: 1rem;
    }
}

/* Smooth Animations */
.service-card,
.contact-form,
.btn {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Service Image Container */
.service-image-container {
    width: 100%;
    margin-bottom: 2rem;
}

.service-image-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    background: var(--bg-secondary);
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    opacity: 1;
}

.service-image:hover {
    transform: scale(1.05);
}

/* Mobile-specific image optimizations */
@media (max-width: 768px) {
    .service-image-wrapper {
        height: 250px;
    }
    
    .service-image:hover {
        transform: none; /* Disable hover effects on mobile */
    }
    
    .service-image:active {
        transform: scale(0.98); /* Add touch feedback */
    }
}

@media (max-width: 480px) {
    .service-image-wrapper {
        height: 200px;
        border-radius: 8px;
    }
}

/* Image overlay for better text readability */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 60%,
        rgba(0, 0, 0, 0.3) 100%
    );
    pointer-events: none;
}

/* No loading spinner needed */
.service-image-wrapper::before {
    display: none;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}


/* Additional Mobile Optimizations */

/* Improve scrolling performance on mobile */
@media (max-width: 768px) {
    * {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Reduce motion for users who prefer it */
    @media (prefers-reduced-motion: reduce) {
        * {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }
    
    /* Improve focus indicators for keyboard navigation */
    .btn:focus,
    .nav-link:focus,
    .hamburger:focus {
        outline: 2px solid var(--primary-blue);
        outline-offset: 2px;
    }
    
    /* Better touch feedback for interactive elements */
    .service-card:active {
        transform: scale(0.98);
    }
    
    .btn:active {
        transform: scale(0.95);
    }
    
    /* Improve text readability on mobile */
    .hero-subtitle,
    .mission-content p,
    .services-intro,
    .about-text p,
    .faq-answer {
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
    }
}

/* High DPI display optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .nav-logo-img,
    .footer-logo-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Background Animations */
@keyframes backgroundShift {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 0.1;
    }
    25% {
        transform: translateX(10px) translateY(-5px) rotate(1deg);
        opacity: 0.15;
    }
    50% {
        transform: translateX(-5px) translateY(10px) rotate(-1deg);
        opacity: 0.2;
    }
    75% {
        transform: translateX(5px) translateY(-8px) rotate(0.5deg);
        opacity: 0.15;
    }
    100% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 0.1;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px) scale(1);
        opacity: 0.1;
    }
    50% {
        transform: translateY(-20px) scale(1.1);
        opacity: 0.2;
    }
    100% {
        transform: translateY(0px) scale(1);
        opacity: 0.1;
    }
}