/* CSS Custom Properties - Design System */
:root {
    /* Typography Scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    
    /* Line Heights */
    --leading-tight: 1.4;
    --leading-normal: 1.5;
    --leading-relaxed: 1.6;
    
    /* Letter Spacing */
    --tracking-tight: -0.02em;
    --tracking-normal: 0;
    --tracking-wide: 0.025em;
    
    /* Spacing Scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 5rem;
    --space-4xl: 6rem;
    --space-5xl: 7.5rem;
    
    /* Section Padding */
    --section-padding-sm: 60px;
    --section-padding-md: 80px;
    --section-padding-lg: 100px;
    --section-padding-xl: 120px;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 20px;
    --radius-full: 50%;
    
    /* Shadow System */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.25);
    
    /* Colors */
    --primary: #1E3D9C;
    --primary-light: #3b6bb8;
    --primary-dark: #0f2a6b;
    --accent: #FFC000;
    --accent-light: #ffd700;
    --accent-dark: #e6a600;
    --text-primary: #1a1a1a;
    --text-secondary: #64748b;
    --text-muted: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #e2e8f0;
    --border: #e5e7eb;
    --border-light: #f3f4f6;
    
    /* Breakpoints */
    --mobile-sm: 320px;
    --mobile: 480px;
    --tablet: 768px;
    --desktop: 1024px;
    --desktop-lg: 1200px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    letter-spacing: var(--tracking-normal);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: var(--transition-normal);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #1a1a1a;
}

.nav-logo .logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-logo h2 {
    color: var(--primary);
    font-weight: 700;
    font-size: var(--text-2xl);
    letter-spacing: var(--tracking-tight);
    margin: 0;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition-normal);
    position: relative;
    font-size: var(--text-sm);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    min-height: 44px;
    display: flex;
    align-items: center;
}

.nav-link:hover {
    color: var(--primary);
    background-color: rgba(30, 61, 156, 0.05);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary);
    transition: width var(--transition-normal);
    border-radius: var(--radius-sm);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: var(--space-xs);
    border-radius: var(--radius-md);
    min-height: 44px;
    min-width: 44px;
    justify-content: center;
    align-items: center;
    transition: var(--transition-normal);
}

.hamburger:hover {
    background-color: rgba(30, 61, 156, 0.05);
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition-normal);
    border-radius: var(--radius-sm);
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section - Enhanced Design */
.hero {
    background: linear-gradient(135deg, #1E3D9C 0%, #3b6bb8 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: var(--section-padding-xl) var(--space-lg) var(--section-padding-lg) var(--space-lg);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(30, 61, 156, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: var(--text-6xl);
    font-weight: 900;
    margin-bottom: var(--space-lg);
    line-height: var(--leading-tight);
    color: #ffffff;
    letter-spacing: var(--tracking-tight);
    max-width: 100%;
    word-wrap: break-word;
    text-align: center;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 0.8s ease-out;
}


.trust-indicators {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: white;
    white-space: nowrap;
}

.trust-item i {
    color: #059669;
    font-size: 1rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.hero .btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.hero .btn-primary {
    background: #1E3D9C;
    color: white;
    box-shadow: 0 4px 14px rgba(30, 61, 156, 0.3);
    font-weight: 600;
}

.hero .btn-primary:hover {
    background: #1E3D9C;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 61, 156, 0.4);
}

.hero .btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    z-index: 2;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 61, 156, 0.05) 0%, rgba(59, 107, 184, 0.05) 100%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(30, 64, 175, 0.1) 0%, transparent 70%);
    z-index: 1;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Floating Elements Animation */
.hero-visual {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-element i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.element-1 {
    top: 20%;
    left: 10%;
    animation: float1 6s ease-in-out infinite;
}

.element-2 {
    top: 10%;
    right: 20%;
    animation: float2 8s ease-in-out infinite;
}

.element-3 {
    top: 50%;
    left: 5%;
    animation: float3 7s ease-in-out infinite;
}

.element-4 {
    top: 30%;
    right: 10%;
    animation: float4 9s ease-in-out infinite;
}

.element-5 {
    bottom: 30%;
    left: 15%;
    animation: float5 6.5s ease-in-out infinite;
}

.element-6 {
    bottom: 20%;
    right: 15%;
    animation: float6 8.5s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
    50% { transform: translateY(-15px) translateX(10px) rotate(5deg); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
    50% { transform: translateY(-20px) translateX(-10px) rotate(-5deg); }
}

@keyframes float3 {
    0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
    50% { transform: translateY(-10px) translateX(15px) rotate(3deg); }
}

@keyframes float4 {
    0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
    50% { transform: translateY(-25px) translateX(-5px) rotate(-3deg); }
}

@keyframes float5 {
    0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
    50% { transform: translateY(-18px) translateX(8px) rotate(4deg); }
}

@keyframes float6 {
    0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
    50% { transform: translateY(-12px) translateX(-12px) rotate(-4deg); }
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    color: #ffffff !important;
}

.hero-subtitle {
    font-size: 1.375rem;
    margin-bottom: 2.5rem;
    opacity: 0.8;
    line-height: 1.6;
    color: #4b5563;
    font-weight: 400;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-xl);
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-normal);
    border: none;
    cursor: pointer;
    font-size: var(--text-base);
    min-height: 44px;
    gap: var(--space-xs);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    background: #1E3D9C;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.35);
}

.btn-secondary {
    background: transparent;
    color: #1E3D9C;
    border: 2px solid #1E3D9C;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #1E3D9C 0%, #FFC000 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.25);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.equipment-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.equipment-item {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(30, 64, 175, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.equipment-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.equipment-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    color: #1E3D9C;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.375rem;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.6;
}

.quote-disclaimer {
    font-size: 1rem !important;
    color: #9ca3af !important;
    font-style: italic;
    margin-top: 1rem !important;
    max-width: 800px !important;
}

.service-cta {
    margin-top: 1.5rem;
    text-align: center;
}

.service-cta .btn {
    font-size: 0.9rem;
    padding: 10px 20px;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
}

/* Audit Services Section */
.audit-services {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

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

.audit-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.audit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    position: relative;
}

.audit-card:hover::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #1E3D9C, #FFC000, #1E3D9C, #FFC000);
    background-size: 400% 400%;
    border-radius: 15px;
    z-index: -1;
    animation: spinBorder 2s linear infinite;
}

.audit-card:hover::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: white;
    border-radius: 13px;
    z-index: -1;
}

.audit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1E3D9C, #3b6bb8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.audit-icon i {
    font-size: 1.5rem;
    color: white;
}

.audit-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.audit-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.audit-features {
    list-style: none;
    margin-bottom: 2rem;
}

.audit-features li {
    padding: 0.5rem 0;
    color: #475569;
    position: relative;
    padding-left: 1.5rem;
}

.audit-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.audit-cta {
    text-align: center;
}

.audit-cta .btn {
    width: 100%;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 61, 156, 0.02) 0%, rgba(59, 107, 184, 0.02) 100%);
    z-index: 1;
}

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

.service-card {
    background: var(--bg-primary);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid var(--border-light);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.service-card:hover::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #1E3D9C, #FFC000, #1E3D9C, #FFC000);
    background-size: 400% 400%;
    border-radius: 15px;
    z-index: -1;
    animation: spinBorder 2s linear infinite;
}

.service-card:hover::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: white;
    border-radius: 13px;
    z-index: -1;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1E3D9C, #0f2a6b);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

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

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.service-card p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.5rem 0;
    color: #4b5563;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #059669;
    font-weight: bold;
}

/* Equipment Section */
.equipment {
    padding: 80px 0;
    background: white;
}

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

.equipment-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.equipment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    position: relative;
}

.equipment-card:hover::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #1E3D9C, #FFC000, #1E3D9C, #FFC000);
    background-size: 400% 400%;
    border-radius: 15px;
    z-index: -1;
    animation: spinBorder 2s linear infinite;
}

.equipment-card:hover::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: #f8fafc;
    border-radius: 13px;
    z-index: -1;
}

.equipment-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.equipment-image i {
    font-size: 2rem;
    color: white;
}

.equipment-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.equipment-subtitle {
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 1rem;
}

.equipment-specs h4,
.equipment-applications h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem 0;
    color: #1f2937;
}

.equipment-specs ul {
    list-style: none;
    margin-bottom: 1rem;
}

.equipment-specs li {
    padding: 0.25rem 0;
    color: #4b5563;
    position: relative;
    padding-left: 1.5rem;
}

.equipment-specs li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: bold;
}

.tag {
    display: inline-block;
    background: #dbeafe;
    color: #1E3D9C;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0.25rem 0.25rem 0.25rem 0;
}

/* Ensure main page tags have proper styling */
.equipment-card .tag,
.service-card .tag,
.audit-card .tag {
    background: #dbeafe !important;
    color: #1E3D9C !important;
    border: 1px solid #93c5fd;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: #f8fafc;
}

.pricing-container {
    max-width: 800px;
    margin: 0 auto;
}

.pricing-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.quote-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--space-sm) var(--space-md);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    transition: var(--transition-normal);
    font-family: inherit;
    min-height: 44px;
    width: 100%;
    box-sizing: border-box;
    background-color: var(--bg-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 61, 156, 0.1);
}

.form-group select[multiple] {
    min-height: 120px;
    padding: 8px;
}

.form-group select[multiple] option {
    padding: 8px 12px;
    margin: 2px 0;
    border-radius: 4px;
}

.form-group select[multiple] option:checked {
    background-color: #1E3D9C;
    color: white;
}

.form-group small {
    color: #6b7280;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: block;
}

.substance-dropdown {
    position: relative;
}

.substance-checkboxes {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    padding: 1rem;
    margin-top: 4px;
}

.substance-checkboxes .checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.substance-checkboxes .checkbox-label {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.substance-checkboxes .checkbox-label:hover {
    background-color: #f3f4f6;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: #374151;
    padding: 0.75rem;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    min-height: 44px; /* Minimum touch target size for mobile */
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
}

.checkbox-label:hover {
    background-color: #f3f4f6;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 0.75rem;
    width: 20px;
    height: 20px;
    accent-color: #1E3D9C;
    cursor: pointer;
    flex-shrink: 0; /* Prevent checkbox from shrinking */
}

.quote-results {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 2px solid #059669;
}

.quote-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1f2937;
    text-align: center;
}

.quote-details {
    margin-bottom: 1.5rem;
}

.quote-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.quote-label {
    font-weight: 500;
    color: #6b7280;
}

.quote-value {
    font-weight: 600;
    color: #1f2937;
}

.quote-total {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.total-line {
    display: flex;
    justify-content: space-between;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
}

.quote-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.quote-actions .btn {
    min-width: 140px;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Partnership Section */
.partnership {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.partnership::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 61, 156, 0.03) 0%, rgba(59, 107, 184, 0.03) 100%);
    z-index: 1;
}

.partnership-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.partnership-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.partnership-text p {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.partnership-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.benefit-item i {
    font-size: 1.5rem;
    color: #1E3D9C;
    margin-top: 0.25rem;
}

.benefit-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.benefit-item p {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0;
}

.partnership-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.partnership-logos {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.logo-item {
    text-align: center;
}

.logo-item h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.logo-item p {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
}

.partnership-symbol {
    width: 40px;
    height: 40px;
    background: #1E3D9C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

/* Trusted By Section */
.trusted-by {
    background: #f8fafc;
    padding: 80px 0;
    overflow: hidden;
}

.trusted-by .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.trusted-by .section-header h2 {
    font-size: 2.5rem;
    color: #1E3D9C;
    margin-bottom: 1rem;
}

.trusted-by .section-header p {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.client-logo-item {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(30, 64, 175, 0.1);
    min-height: 120px;
}

.client-logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #1E3D9C;
}

.client-logo-img {
    max-height: 60px;
    max-width: 180px;
    object-fit: contain;
    filter: grayscale(0.3);
    transition: filter 0.3s ease;
}

.client-logo-item:hover .client-logo-img {
    filter: grayscale(0);
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge i {
    color: #fbbf24;
    font-size: 1.1rem;
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-item i {
    color: #059669;
    font-size: 1.1rem;
}

/* Social Proof */
.social-proof {
    margin-top: 3rem;
    text-align: center;
}

.social-proof p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.company-logos {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.logo-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.logo-item:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* Google Reviews Section */
.google-reviews {
    background: #f8fafc;
    padding: 100px 0;
}

.reviews-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.reviews-content {
    text-align: center;
    max-width: 600px;
}

.google-reviews-info {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(30, 64, 175, 0.1);
}

.google-reviews-info i {
    font-size: 3rem;
    color: #4285f4;
    margin-bottom: 1.5rem;
}

.google-reviews-info h3 {
    font-size: 1.5rem;
    color: #1E3D9C;
    margin-bottom: 1rem;
    font-weight: 600;
}

.google-reviews-info p {
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.google-reviews-info .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-weight: 600;
}

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

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(30, 64, 175, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1E3D9C, #3b6bb8);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.stars i {
    color: #fbbf24;
    font-size: 1.1rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info h4 {
    font-size: 1.1rem;
    color: #1E3D9C;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.author-info span {
    font-size: 0.9rem;
    color: #6b7280;
}

/* FAQ Section */
.faq {
    background: white;
    padding: 100px 0;
}

.faq-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid rgba(30, 64, 175, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #1E3D9C;
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.1);
}

.faq-item.active {
    border-color: #1E3D9C;
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.15);
    background: #f0f4ff;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(30, 64, 175, 0.05);
}

.faq-question h3 {
    font-size: 1.1rem;
    color: #1E3D9C;
    margin: 0;
    font-weight: 600;
}

.faq-question i {
    color: #1E3D9C;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: #6b7280;
    line-height: 1.6;
    display: none;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-item.active .faq-answer {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}


/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1E3D9C 0%, #FFC000 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.cta-buttons .btn-outline {
    background: white !important;
    color: #1E3D9C !important;
    border: 2px solid #1E3D9C !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
    box-shadow: 0 4px 14px rgba(30, 64, 175, 0.25) !important;
}

.cta-buttons .btn-outline:hover {
    background: #1E3D9C !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    min-width: 200px;
}

.cta-features {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 1rem 1.5rem;
    font-weight: 500;
}

.cta-feature i {
    color: #059669;
    font-size: 1.2rem;
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.hero-badge {
    animation: fadeInUp 0.8s ease-out;
}

.trust-item {
    animation: fadeInUp 0.8s ease-out;
    animation-delay: 0.2s;
    animation-fill-mode: both;
}

.trust-item:nth-child(2) {
    animation-delay: 0.4s;
}

.trust-item:nth-child(3) {
    animation-delay: 0.6s;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem !important;
    }
    
    .trust-item {
        font-size: 0.75rem;
        padding: 0.4rem 0.7rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 2rem 1rem;
        min-height: 100vh;
    }
    
    /* Mobile form container improvements */
    .pricing-container {
        padding: 0 1rem;
    }
    
    .pricing-form {
        margin: 0;
        padding: 1.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        box-sizing: border-box;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Ensure form doesn't overflow on mobile */
    .quote-form {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Mobile checkbox visual feedback for 768px breakpoint */
    .checkbox-label input[type="checkbox"] {
        width: 22px;
        height: 22px;
        margin-right: 0.75rem;
        accent-color: #1E3D9C;
        cursor: pointer;
        flex-shrink: 0;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border: 2px solid #d1d5db;
        border-radius: 4px;
        background-color: white;
        position: relative;
        transition: all 0.2s ease;
    }
    
    .checkbox-label input[type="checkbox"]:checked {
        background-color: #1E3D9C;
        border-color: #1E3D9C;
    }
    
    .checkbox-label input[type="checkbox"]:checked::after {
        content: '✓';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white;
        font-size: 12px;
        font-weight: bold;
        line-height: 1;
    }
    
    .checkbox-label input[type="checkbox"]:focus {
        outline: 2px solid #1E3D9C;
        outline-offset: 2px;
        box-shadow: 0 0 0 4px rgba(30, 61, 156, 0.1);
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2rem !important;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 0.5rem;
        margin: 1rem 0;
    }
    
    .trust-item {
        font-size: 0.75rem;
        padding: 0.4rem 0.7rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
        margin-top: 1rem;
    }
    
    .hero .btn {
        width: 100%;
        max-width: 250px;
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}

.client-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background: white;
}

.client-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1E3D9C, #0f2a6b);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.client-logo i {
    font-size: 1.5rem;
    color: white;
}

.client-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.client-item p {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 80px 0;
    background: white;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FFC000, #e6a600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #f8fafc;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

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

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

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1E3D9C, #0f2a6b);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-details h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #1f2937;
}

.contact-details p {
    color: #6b7280;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Map Section */
.map-section {
    margin-top: 4rem;
    text-align: center;
}

.map-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
}

.map-container iframe {
    border-radius: 12px;
    filter: grayscale(0.1);
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

.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: white;
}

.footer-section p {
    color: #d1d5db;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #2563eb;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
}

/* Mobile-First Responsive Design */

/* Mobile Small (320px and up) */
@media (min-width: 320px) {
    .hero {
        padding: var(--section-padding-lg) var(--space-sm);
    }
    
    .hero-title {
        font-size: var(--text-3xl);
    }
    
    .hero-description {
        font-size: var(--text-base);
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: var(--space-xs);
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* Mobile (480px and up) */
@media (min-width: 480px) {
    .hero-title {
        font-size: var(--text-4xl);
    }
    
    .trust-indicators {
        flex-direction: row;
        flex-wrap: wrap;
        gap: var(--space-sm);
    }
    
    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .btn {
        width: auto;
        min-width: 140px;
    }
}

/* Tablet (768px and up) */
@media (min-width: 768px) {
    .hero {
        padding: var(--section-padding-xl) var(--space-lg);
    }
    
    .hero-title {
        font-size: var(--text-5xl);
    }
    
    .hero-description {
        font-size: var(--text-lg);
    }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
    .hero-title {
        font-size: var(--text-6xl);
    }
}

/* Legacy Mobile Support */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: var(--transition-normal);
        box-shadow: var(--shadow-xl);
        padding: var(--space-xl) 0;
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
        backdrop-filter: blur(20px);
        border: 1px solid var(--border-light);
    }

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

    .nav-menu li {
        margin: var(--space-sm) 0;
    }
    
    .nav-menu .nav-link {
        padding: var(--space-sm) var(--space-lg);
        margin: 0 var(--space-sm);
        border-radius: var(--radius-lg);
        min-height: 48px;
        font-size: var(--text-lg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .quote-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .quote-actions .btn {
        width: 100%;
        min-width: auto;
    }

    .equipment-showcase {
        grid-template-columns: 1fr;
    }

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

    .partnership-logos {
        flex-direction: column;
        gap: 1rem;
    }

    .partnership-symbol {
        transform: rotate(90deg);
    }
}

/* Mobile Small (480px and below) */
@media (max-width: 480px) {
    .hero {
        padding: var(--section-padding-md) var(--space-sm);
    }
    
    .hero-title {
        font-size: var(--text-3xl);
        line-height: var(--leading-tight);
    }

    .section-header h2 {
        font-size: var(--text-4xl);
    }

    .btn {
        padding: var(--space-sm) var(--space-lg);
        font-size: var(--text-sm);
        min-height: 48px;
    }
    
    .container {
        padding: 0 var(--space-sm);
    }
    
    .service-card,
    .equipment-card,
    .audit-card {
        padding: var(--space-lg);
        margin: 0 var(--space-xs);
    }
    
    .powerbi-embed {
        height: 300px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    
    .gallery-item {
        margin: 0 var(--space-xs);
    }
    
    /* Mobile form fixes */
    .pricing-form {
        padding: 1rem;
        margin: 0 0.5rem;
        overflow-x: hidden;
        max-width: calc(100vw - 1rem);
    }
    
    .pricing-container {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px 14px;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background-image: none;
    }
    
    /* Fix select dropdown arrows */
    .form-group select {
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 12px center;
        background-size: 16px;
        padding-right: 40px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .checkbox-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* Mobile checkbox visual feedback fixes */
    .checkbox-label input[type="checkbox"] {
        width: 24px;
        height: 24px;
        margin-right: 1rem;
        accent-color: #1E3D9C;
        cursor: pointer;
        flex-shrink: 0;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border: 2px solid #d1d5db;
        border-radius: 4px;
        background-color: white;
        position: relative;
        transition: all 0.2s ease;
    }
    
    .checkbox-label input[type="checkbox"]:checked {
        background-color: #1E3D9C;
        border-color: #1E3D9C;
    }
    
    .checkbox-label input[type="checkbox"]:checked::after {
        content: '✓';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white;
        font-size: 14px;
        font-weight: bold;
        line-height: 1;
    }
    
    .checkbox-label input[type="checkbox"]:focus {
        outline: 2px solid #1E3D9C;
        outline-offset: 2px;
        box-shadow: 0 0 0 4px rgba(30, 61, 156, 0.1);
    }
    
    .substance-dropdown {
        width: 100%;
    }
    
    .substance-checkboxes {
        width: 100%;
        max-height: 200px;
        overflow-y: auto;
    }
    
    .quote-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .quote-actions .btn {
        width: 100%;
    }
    
    /* Distance Input Container */
    .distance-input-container {
        display: flex;
        gap: 0.5rem;
        align-items: center;
    }
    
    .distance-input-container input {
        flex: 1;
    }
    
    .btn-small {
        padding: 8px 16px;
        font-size: 0.9rem;
        white-space: nowrap;
    }
    
    .location-status {
        margin-top: 0.5rem;
        padding: 0.5rem;
        border-radius: 4px;
        font-size: 0.9rem;
    }
    
    .location-status.success {
        background-color: #d1fae5;
        color: #065f46;
        border: 1px solid #a7f3d0;
    }
    
    .location-status.error {
        background-color: #fee2e2;
        color: #991b1b;
        border: 1px solid #fca5a5;
    }
    
    .location-status.loading {
        background-color: #dbeafe;
        color: #1e40af;
        border: 1px solid #93c5fd;
    }
    
    /* Mobile responsive for distance container */
    @media (max-width: 768px) {
        .distance-input-container {
            flex-direction: column;
            align-items: stretch;
        }
        
        .btn-small {
            width: 100%;
        }
    }
    
    /* Additional mobile select fixes */
    select {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Ensure dropdowns fit within viewport */
    .form-group {
        max-width: 100%;
        overflow: hidden;
    }
}

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

.service-card,
.equipment-card,
.feature-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Spinning Border Animation */
@keyframes spinBorder {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Enhanced Accessibility & Focus States */
*:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.btn:focus,
.nav-link:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(30, 61, 156, 0.1);
}

/* Skip to content link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: var(--radius-md);
    z-index: 10000;
}

.skip-link:focus {
    top: 6px;
}

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

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Loading States & Micro-interactions */
.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--border);
    border-top: 2px solid var(--primary);
    border-radius: var(--radius-full);
    animation: spin 1s linear infinite;
}

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

/* Button loading state */
.btn.loading {
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: var(--radius-full);
    animation: spin 1s linear infinite;
}

/* Success state */
.success {
    background-color: #d1fae5;
    border-color: #10b981;
    color: #065f46;
}

/* Error state */
.error {
    background-color: #fee2e2;
    border-color: #ef4444;
    color: #991b1b;
}

/* Form validation states */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group.success input,
.form-group.success select,
.form-group.success textarea {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Hover animations */
.btn,
.nav-link,
.service-card,
.equipment-card,
.audit-card {
    transition: var(--transition-normal);
}

.btn:hover {
    transform: translateY(-2px);
}

/* Skeleton loading */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Success/Error states */
.success {
    border-color: #059669 !important;
    background-color: #f0fdf4;
}

.error {
    border-color: #ef4444 !important;
    background-color: #fef2f2;
}

/* Gallery Page Styles */
.gallery-hero {
    padding: 120px 0 80px;
    background: #1E3D9C;
    color: white;
    text-align: center;
}

.gallery-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.gallery-hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.gallery-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    color: white;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFC000;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.gallery-filter {
    padding: 2rem 0;
    background: #f8fafc;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #e2e8f0;
    background: white;
    color: #64748b;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: #1E3D9C;
    background: #1E3D9C;
    color: white;
}

.gallery-main {
    padding: 4rem 0;
    background: white;
}

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

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    font-size: 0.9rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.gallery-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.gallery-cta {
    padding: 4rem 0;
    background: #1E3D9C;
    color: white;
    text-align: center;
}

.gallery-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.gallery-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Power BI Data Platform Styles */
.data-platform {
    padding: 4rem 0;
    background: #f8fafc;
}

.data-platform .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.data-platform .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.data-platform .section-header p {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.powerbi-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

.powerbi-header {
    padding: 2rem;
    background: #1E3D9C;
    color: white;
    text-align: center;
}

.powerbi-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.powerbi-header p {
    font-size: 1rem;
    opacity: 0.9;
}

.powerbi-embed {
    position: relative;
    width: 100%;
    height: 600px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.powerbi-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.powerbi-footer {
    padding: 1.5rem 2rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.powerbi-footer p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

/* Mobile Responsive for Gallery and Power BI */
@media (max-width: 768px) {
    .gallery-hero h1 {
        font-size: 2rem;
    }
    
    .gallery-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-image {
        height: 250px;
    }
    
    .gallery-cta h2 {
        font-size: 2rem;
    }
    
    .data-platform {
        padding: 2rem 0;
    }
    
    .data-platform .section-header h2 {
        font-size: 2rem;
    }
    
    .powerbi-embed {
        height: 400px;
        border-radius: var(--radius-md);
    }
    
    .powerbi-container {
        margin: 0 var(--space-sm);
        border-radius: var(--radius-md);
    }
    
    .powerbi-header {
        padding: 1.5rem;
    }
    
    .powerbi-header h3 {
        font-size: 1.25rem;
    }
    
    .powerbi-footer {
        padding: 1rem;
    }
}
