/* ============================================
   CSS Variables & Reset
   ============================================ */
:root {
    --primary-color: #1f2a44;
    --primary-dark: #161f33;
    --primary-light: #3b82f6;
    --accent-color: #f0a500;
    --text-dark: #111827;
    --text-muted: #4b5563;
    --text-light: #6b7280;
    --secondary-color: #dc2626;
    --bg-light: #f6f7f8;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(16, 24, 40, 0.08);
    --shadow-lg: 0 18px 42px rgba(17, 24, 39, 0.12);
    --transition: all 0.3s ease;
    --font-heading: 'Archivo', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.65;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
}

.logo-img {
    height: 60px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: var(--transition);
    display: block;
}

.logo-img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .logo-img {
        height: 50px;
        max-width: 150px;
    }
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    display: inline-block;
    padding: 0.5rem 0;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

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

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ============================================
   Hero Section with Parallax
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Prevent horizontal scroll on mobile */
@media (max-width: 768px) {
    .hero {
        min-height: 500px;
        max-height: 100vh;
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    overflow: hidden;
    transform: translateZ(0);
    max-width: 100%;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

/* Disable parallax on mobile for better performance */
@media (max-width: 768px) {
    .hero-background {
        background-attachment: scroll;
        height: 100%;
    }
    
    .hero-bg-img {
        will-change: auto;
        transform: none !important;
    }
    
    /* Disable parallax scroll on mobile */
    .hero {
        overflow: hidden;
    }
}

/* Fallback for browsers that don't support object-fit */
@supports not (object-fit: cover) {
    .hero-background {
        background-image: url('assets/img/hero.jpg');
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        background-repeat: no-repeat;
    }
    
    .hero-bg-img {
        display: none;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.5) 0%, rgba(30, 64, 175, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 3rem 0 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
    max-width: 1080px;
    margin: 0 auto;
}

.hero-kicker {
    display: inline-flex;
    gap: 0.5rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-weight: 600;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.6rem);
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
    max-width: 780px;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    max-width: 720px;
}

.hero-description {
    font-size: 1.05rem;
    max-width: 720px;
    margin: 0 0 1.5rem 0;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    color: white;
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    margin: 0.5rem auto;
}

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

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

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
    min-height: 44px; /* Minimum touch target size for mobile */
    touch-action: manipulation; /* Improve touch responsiveness */
}

.btn-primary {
    background: var(--accent-color);
    color: white;
}

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

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.btn-full {
    width: 100%;
}

/* ============================================
   Section Styles
   ============================================ */
section {
    padding: 5rem 0;
    width: 100%;
    box-sizing: border-box;
}

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

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.35rem;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto;
}

/* ============================================
   Services Section
   ============================================ */
.services {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(31, 42, 68, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(240, 165, 0, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.08);
    border-color: rgba(31, 42, 68, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* Different color themes for each card */
.service-card:nth-child(1) {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
}

.service-card:nth-child(1)::before {
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.service-card:nth-child(1):hover {
    background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
    border-color: rgba(59, 130, 246, 0.2);
}

.service-card:nth-child(2) {
    background: linear-gradient(135deg, #ffffff 0%, #fff7ed 100%);
}

.service-card:nth-child(2)::before {
    background: linear-gradient(90deg, #f0a500, #f59e0b);
}

.service-card:nth-child(2):hover {
    background: linear-gradient(135deg, #ffffff 0%, #fffbeb 100%);
    border-color: rgba(240, 165, 0, 0.2);
}

.service-card:nth-child(3) {
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.service-card:nth-child(3)::before {
    background: linear-gradient(90deg, #10b981, #34d399);
}

.service-card:nth-child(3):hover {
    background: linear-gradient(135deg, #ffffff 0%, #ecfdf5 100%);
    border-color: rgba(16, 185, 129, 0.2);
}

.service-card:nth-child(4) {
    background: linear-gradient(135deg, #ffffff 0%, #fef3f2 100%);
}

.service-card:nth-child(4)::before {
    background: linear-gradient(90deg, #ef4444, #f87171);
}

.service-card:nth-child(4):hover {
    background: linear-gradient(135deg, #ffffff 0%, #fff1f2 100%);
    border-color: rgba(239, 68, 68, 0.2);
}

.service-card:nth-child(odd) {
    margin-top: 0;
}

.service-card:nth-child(even) {
    margin-bottom: 0;
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    flex-shrink: 0;
}

/* Different icon backgrounds for each card */
.service-card:nth-child(1) .service-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.service-card:nth-child(2) .service-icon {
    background: linear-gradient(135deg, #f0a500 0%, #f59e0b 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(240, 165, 0, 0.3);
}

.service-card:nth-child(3) .service-icon {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.service-card:nth-child(4) .service-icon {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.service-icon svg {
    width: 32px;
    height: 32px;
    stroke-width: 2.5;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.service-card:nth-child(1) h3 {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card:nth-child(2) h3 {
    background: linear-gradient(135deg, #d97706, #f0a500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card:nth-child(3) h3 {
    background: linear-gradient(135deg, #059669, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card:nth-child(4) h3 {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card:hover h3 {
    transform: translateX(4px);
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.7;
    grid-column: span 2;
    margin: 0;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.service-card:hover p {
    color: var(--text-dark);
}

/* ============================================
   Offers Section
   ============================================ */
.offers {
    background: white;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.9rem;
}

.offer-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.offer-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.offer-card:hover {
    transform: translateY(-2px);
    border-color: rgba(31, 42, 68, 0.2);
    box-shadow: var(--shadow-md);
}

/* Refined offers layout */
.offers-grid.refined {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.refined-card {
    display: grid;
    grid-template-rows: auto 1fr;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.refined-card .offer-media img {
    aspect-ratio: 4 / 3;
}

.offer-body {
    padding: 1.25rem 1.25rem 1.5rem;
    display: grid;
    gap: 0.55rem;
    align-content: start;
}

.offer-body h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    margin: 0;
    color: var(--text-dark);
}

.offer-benefit {
    margin: 0;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.5;
}

.offer-detail {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.55;
}

.btn-offer {
    margin-top: 0.4rem;
    width: fit-content;
    padding: 0.7rem 1.3rem;
}

@media (max-width: 768px) {
    .offers {
        padding: 2.25rem 0;
    }

    .offers-grid.refined {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .refined-card {
        grid-template-rows: auto 1fr;
    }

    .offer-body {
        padding: 1.1rem 1.1rem 1.25rem;
    }

    .btn-offer {
        width: 100%;
        text-align: center;
    }
}

/* ============================================
   Features Section
   ============================================ */
.features {
    background: var(--bg-light);
}

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

.feature-card {
    padding: 1.75rem;
    background: white;
    border-radius: 12px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-2px);
    border-color: rgba(31, 42, 68, 0.2);
}

.feature-number {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    opacity: 0.6;
    margin-bottom: 0.35rem;
    line-height: 1;
    transition: var(--transition);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.feature-card:hover .feature-number {
    opacity: 0.9;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.feature-highlight {
    background: linear-gradient(135deg, rgba(31, 42, 68, 0.06), rgba(240, 165, 0, 0.08));
    border-color: rgba(31, 42, 68, 0.12);
}

/* ============================================
   About Section
   ============================================ */
.about {
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.0625rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

.about-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.image-placeholder {
    width: 100%;
    padding-top: 75%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.125rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.image-placeholder img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.image-placeholder img.loaded {
    opacity: 1;
}

/* Show image if it has a src attribute and is loaded */
.image-placeholder:has(img[src].loaded) {
    background: transparent;
}

.image-placeholder:has(img[src].loaded) span {
    opacity: 0;
    pointer-events: none;
}

.image-placeholder span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    transition: opacity 0.3s ease;
}

.image-placeholder img.loaded + span,
.image-placeholder:has(img.loaded) span {
    opacity: 0;
    pointer-events: none;
}

/* ============================================
   Contact Section - Redesigned
   ============================================ */
.contact {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

.contact-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1f2a44 0%, #2d3a5c 50%, #1f2a44 100%);
    z-index: 0;
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(240, 165, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.quote-section-wrapper {
    position: relative;
    z-index: 2;
}

.quote-header {
    text-align: center;
    margin-bottom: 3.5rem;
    color: white;
}

.quote-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(240, 165, 0, 0.2);
    border: 1px solid rgba(240, 165, 0, 0.4);
    border-radius: 50px;
    color: var(--accent-color);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.quote-badge svg {
    width: 16px;
    height: 16px;
}

.quote-title {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    font-weight: 700;
    color: white;
    margin: 0 0 1rem 0;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.quote-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.quote-content {
    display: grid;
    gap: 3rem;
}

.quote-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    color: white;
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(240, 165, 0, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent-color), #f59e0b);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: white;
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
}

.benefit-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: white;
}

.benefit-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.quote-form-container {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

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

.quote-form .form-group {
    margin-bottom: 0;
}

.quote-form .form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9375rem;
}

.quote-form .form-group label svg {
    width: 18px;
    height: 18px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: #f9fafb;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(31, 42, 68, 0.1);
}

.quote-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231f2a44' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

.quote-form textarea {
    resize: vertical;
    min-height: 140px;
    font-family: inherit;
}

.helper-text {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.125rem 2rem;
    background: linear-gradient(135deg, var(--accent-color), #f59e0b);
    color: white;
    font-size: 1.0625rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(240, 165, 0, 0.4);
    min-height: 56px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(240, 165, 0, 0.5);
    background: linear-gradient(135deg, #f59e0b, var(--accent-color));
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit svg {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.btn-submit:hover svg {
    transform: translateX(4px);
}

.form-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin: 0;
    text-align: center;
}

.form-note svg {
    width: 18px;
    height: 18px;
    color: var(--accent-color);
    flex-shrink: 0;
}

.quote-contact-alt {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
    text-align: center;
}

.alt-label {
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 1rem 0;
    font-size: 1rem;
}

.alt-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.alt-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    min-height: 48px;
}

.alt-link:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.alt-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.alt-note {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .contact {
        padding: 3rem 0;
    }
    
    .quote-header {
        margin-bottom: 2.5rem;
    }
    
    .quote-badge {
        font-size: 0.8125rem;
        padding: 0.45rem 1rem;
    }
    
    .quote-title {
        font-size: 2rem;
    }
    
    .quote-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .quote-benefits {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-bottom: 2rem;
    }
    
    .benefit-card {
        padding: 1.75rem 1.25rem;
    }
    
    .quote-form-container {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .quote-form input,
    .quote-form select,
    .quote-form textarea {
        padding: 0.875rem 1rem;
    }
    
    .alt-links {
        gap: 0.625rem;
    }
    
    .alt-link {
        padding: 0.75rem 1.25rem;
    }
}

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

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-details h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-details p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Refined contact trust column */
.contact-trust {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    display: grid;
    gap: 0.85rem;
    align-content: start;
}

.trust-headline {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    margin: 0;
    color: var(--text-dark);
}

.trust-subtext {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.6;
}

.trust-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.35rem;
    color: var(--text-dark);
    font-weight: 600;
}

.trust-bullets li::before {
    content: "•";
    margin-right: 0.45rem;
    color: var(--primary-dark);
}

.contact-support {
    background: #f8f9fb;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem 1.1rem;
    display: grid;
    gap: 0.3rem;
}

.support-label {
    margin: 0;
    font-weight: 600;
    color: var(--text-dark);
}

.support-links {
    margin: 0;
    color: var(--text-dark);
    display: flex;
    gap: 0.35rem;
    align-items: center;
    flex-wrap: wrap;
}

.support-links a {
    color: var(--primary-dark);
    font-weight: 600;
    text-decoration: none;
}

.support-links a:hover {
    text-decoration: underline;
}

.support-note {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.helper-text {
    display: block;
    margin-top: 0.35rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-reassurance {
    margin-top: 0.6rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    word-break: break-word;
    padding: 0.25rem 0;
    display: inline-block;
    min-height: 44px;
    line-height: 1.5;
    display: flex;
    align-items: center;
}

.contact-details a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.contact-details a:active {
    transform: scale(0.98);
}

.contact-form-wrapper {
    background: #f8f9fb;
    padding: 2.25rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: none;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: white;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    touch-action: manipulation;
}

/* Improve select dropdown on mobile */
.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
}

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

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

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem 2rem;
    align-items: flex-start;
    margin-bottom: 1.75rem;
}

.footer h3,
.footer h4 {
    margin-bottom: 0.75rem;
    color: white;
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin: 0 0 0.75rem;
}

.footer-brand p {
    max-width: 32ch;
}

.footer-trust {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 1rem;
    display: grid;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.footer-links .footer-link-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem 1.5rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-contact-line {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 0.5rem;
}

.footer-contact a {
    color: inherit;
    text-decoration: none;
}

.footer-contact a:hover {
    color: white;
}

.footer-note {
    margin-top: 0.75rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

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

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

/* ============================================
   Mobile Responsive Design - Mobile First Approach
   ============================================ */

/* Base mobile styles (applies to all mobile) */
@media (max-width: 768px) {
    /* Navigation */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-wrapper {
        padding: 0.75rem 0;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        padding: 2rem 1.5rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        gap: 0.5rem;
        z-index: 999;
        overflow-y: auto;
    }

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

    .nav-link {
        font-size: 1.125rem;
        padding: 1rem 0;
        display: block;
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    /* Hero Section - Mobile Optimized */
    .hero {
        height: 100vh;
        min-height: 500px;
        max-height: 100vh;
        padding-top: 70px;
    }

    .hero-content {
        padding: 1.5rem 0;
        align-items: flex-start;
    }

    .hero-title {
        font-size: 1.875rem;
        line-height: 1.2;
        margin-bottom: 0.75rem;
        padding: 0 1rem;
    }

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

    .hero-description {
        font-size: 0.9375rem;
        margin: 0 auto 1.5rem;
        padding: 0 1rem;
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
        padding: 0 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .scroll-indicator {
        bottom: 1rem;
        font-size: 0.75rem;
    }

    /* Sections */
    section {
        padding: 2.5rem 0;
    }

    .section-header {
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }

    .section-title {
        font-size: 1.875rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }

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

    .container {
        padding: 0 1rem;
    }

    /* Services Grid - stacked */
    .services {
        padding: 2.5rem 0;
    }

    .services-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 0;
        margin: 0;
    }

    .service-card {
        min-width: auto;
        max-width: 100%;
        padding: 1.5rem 1.25rem;
        margin: 0;
        grid-template-columns: auto 1fr;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.08);
    }

    .service-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.08);
    }

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

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

    .service-icon {
        width: 56px;
        height: 56px;
    }

    .service-icon svg {
        width: 28px;
        height: 28px;
    }

    /* Features Grid - Mobile 2-Column Compact Layout */
    .features {
        padding: 2rem 0;
        background: var(--bg-light);
    }

    .features .section-header {
        margin-bottom: 1.5rem;
    }

    .features-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.875rem;
        padding: 0;
        margin: 0;
    }

    .feature-card {
        width: 100%;
        padding: 1.25rem 1rem;
        margin: 0;
        box-shadow: var(--shadow-sm);
        border: 1px solid var(--border-color);
    }

    .feature-card:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

    .feature-number {
        font-size: 2rem;
        margin-bottom: 0.5rem;
        opacity: 0.15;
        line-height: 1;
    }

    .feature-card h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }

    .feature-card p {
        font-size: 0.8125rem;
        line-height: 1.5;
        margin: 0;
    }

    /* About Section */
    .about {
        padding: 2.5rem 0;
    }

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

    .about-text {
        order: 2;
    }

    .about-text h2 {
        text-align: center;
        font-size: 1.875rem;
        margin-bottom: 1.25rem;
    }

    .about-text p {
        font-size: 0.9375rem;
        margin-bottom: 1.25rem;
        text-align: left;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .stat-item {
        padding: 1.25rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.8125rem;
    }

    .about-image {
        order: 1;
        margin-bottom: 1rem;
    }

    /* Contact Section - Mobile styles handled in new design section above */

    .contact-info {
        gap: 1rem;
    }

    .contact-item {
        flex-direction: row;
        gap: 1.25rem;
        align-items: flex-start;
        text-align: left;
        background: white;
        padding: 1.5rem;
        border-radius: 12px;
        box-shadow: var(--shadow-sm);
        transition: var(--transition);
        border: 1px solid var(--border-color);
    }

    .contact-item:hover {
        box-shadow: var(--shadow-md);
        transform: translateY(-2px);
        border-color: var(--primary-light);
    }

    .contact-icon {
        width: 56px;
        height: 56px;
        margin: 0;
        flex-shrink: 0;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .contact-icon svg {
        width: 26px;
        height: 26px;
    }

    .contact-details {
        flex: 1;
        min-width: 0;
    }

    .contact-details h3 {
        font-size: 1.125rem;
        font-weight: 600;
        margin-bottom: 0.625rem;
        color: var(--text-dark);
        line-height: 1.3;
    }

    .contact-details p {
        font-size: 0.9375rem;
        line-height: 1.6;
        color: var(--text-light);
        margin: 0;
    }

    .contact-details a {
        color: var(--primary-color);
        text-decoration: none;
        font-weight: 500;
        transition: var(--transition);
        word-break: break-word;
        display: inline-block;
    }

    .contact-details a:hover,
    .contact-details a:active {
        color: var(--primary-light);
        text-decoration: underline;
    }

    .contact-form-wrapper {
        padding: 1.75rem;
        margin-top: 0;
        background: white;
        border-radius: 12px;
        box-shadow: var(--shadow-md);
        border: 1px solid var(--border-color);
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

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

    .form-group label {
        font-size: 0.9375rem;
        margin-bottom: 0.5rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.875rem;
        font-size: 1rem;
    }

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

    /* Footer */
    .footer {
        padding: 2.5rem 0 1rem;
    }

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

    .footer h3,
    .footer h4 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .footer p,
    .footer-links a,
    .footer-note {
        font-size: 0.9375rem;
    }

    .footer-links .footer-link-columns {
        grid-template-columns: 1fr;
    }

    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }

    /* Products Section */
    .featured-products {
        padding: 2.5rem 0;
    }

    /* Gallery Section */
    .gallery {
        padding: 2.5rem 0;
    }
}

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

    /* Hero */
    .hero {
        min-height: 450px;
    }

    .hero-title {
        font-size: 1.625rem;
        padding: 0 0.75rem;
    }

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

    .hero-description {
        font-size: 0.875rem;
        padding: 0 0.75rem;
    }

    .hero-buttons {
        padding: 0 0.75rem;
    }

    .hero-buttons .btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.9375rem;
    }

    /* Sections */
    section {
        padding: 2rem 0;
    }

    .section-header {
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }

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

    .section-subtitle {
        font-size: 0.9375rem;
    }

    /* Services */
    .service-card {
        min-width: auto;
        max-width: 100%;
        padding: 1.25rem 1rem;
    }

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

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

    .service-icon {
        width: 52px;
        height: 52px;
    }

    .service-icon svg {
        width: 26px;
        height: 26px;
    }

    /* Features */
    .features {
        padding: 1.75rem 0;
    }

    .features-grid {
        gap: 0.75rem;
    }

    .feature-card {
        padding: 1rem 0.875rem;
    }

    .feature-number {
        font-size: 1.75rem;
        margin-bottom: 0.375rem;
    }

    .feature-card h3 {
        font-size: 0.9375rem;
        margin-bottom: 0.375rem;
        line-height: 1.2;
    }

    .feature-card p {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    /* About */
    .about-text h2 {
        font-size: 1.625rem;
    }

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

    .stat-item {
        padding: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    /* Contact - Mobile styles handled in new design section above */

    .contact-item {
        gap: 1rem;
        padding: 1.25rem;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
    }

    .contact-icon svg {
        width: 24px;
        height: 24px;
    }

    .contact-details h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .contact-details p {
        font-size: 0.875rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

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

    .form-group label {
        font-size: 0.875rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.9375rem;
    }

    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
    }

    .footer h3,
    .footer h4 {
        font-size: 1.125rem;
    }

    .footer p,
    .footer-links a,
    .footer-note {
        font-size: 0.875rem;
    }
}

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

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

    .service-card,
    .feature-card {
        min-width: 92%;
        max-width: 92%;
    }

    .container {
        padding: 0 0.75rem;
    }

    .hero-buttons .btn {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }

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

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.625rem;
        font-size: 0.875rem;
    }
}

/* Landscape Mobile Optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        height: auto;
        padding: 80px 0 2rem;
    }

    .hero-content {
        padding: 1rem 0;
    }

    .nav-menu {
        height: calc(100vh - 70px);
        max-height: 500px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Improve touch targets */
    .btn,
    .nav-link,
    .mobile-menu-toggle,
    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        min-height: 44px;
        min-width: 44px;
    }

    /* Remove hover effects on touch devices */
    .service-card:hover,
    .feature-card:hover,
    .product-card:hover,
    .gallery-item:hover {
        transform: none;
    }

    /* Keep active states for touch feedback */
    .btn:active {
        transform: scale(0.98);
    }
}

/* ============================================
   Image Optimization
   ============================================ */
img {
    max-width: 100%;
    height: auto;
    display: block;
    width: 100%;
}

/* Prevent image overflow on mobile */
@media (max-width: 768px) {
    img {
        max-width: 100%;
        height: auto;
    }
    
    .hero-bg-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Lazy loading placeholder */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

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

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
        padding: 1rem;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 2rem;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 50%;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 1.5rem;
        padding: 0.75rem 1rem;
        width: 45px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-content img {
        max-height: 85vh;
    }
}

@media (max-width: 480px) {
    .lightbox-close {
        top: 5px;
        right: 5px;
        font-size: 1.75rem;
        width: 35px;
        height: 35px;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 1.25rem;
        padding: 0.5rem 0.75rem;
        width: 40px;
        height: 40px;
    }
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
    z-index: 10001;
}

.lightbox-close:hover {
    color: var(--accent-color);
    transform: scale(1.2);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.lightbox-prev,
.lightbox-next {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    font-size: 2rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition);
    pointer-events: all;
    backdrop-filter: blur(10px);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ============================================
   Gallery Section
   ============================================ */
.gallery {
    background: white;
    padding: 3rem 0;
}

.gallery-preview {
    max-width: 900px;
    margin: 2rem auto 0;
}

.gallery-preview-card {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: var(--transition);
}

.gallery-preview-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-3px);
}

.gallery-preview-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    cursor: pointer;
}

.gallery-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    display: block;
}

.gallery-preview-image-wrapper:hover .gallery-preview-img {
    transform: scale(1.1);
}

.gallery-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-preview-image-wrapper:hover .gallery-preview-overlay {
    opacity: 1;
}

.gallery-preview-content {
    text-align: center;
    color: white;
    padding: 2rem;
}

.gallery-preview-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.gallery-preview-content p {
    font-size: 1rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.gallery-count {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
}

.gallery-description {
    padding: 2rem;
}

.gallery-description p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.0625rem;
    text-align: center;
    margin: 0;
}

/* Gallery Lightbox Counter */
.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 10001;
}

.gallery-lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Mobile Gallery Preview */
@media (max-width: 768px) {
    .gallery-preview {
        margin: 1.5rem auto 0;
    }
    
    .gallery-preview-card {
        border-radius: 8px;
    }
    
    .gallery-preview-image-wrapper {
        aspect-ratio: 16/9;
    }
    
    .gallery-preview-content {
        padding: 1.5rem;
    }
    
    .gallery-preview-content h3 {
        font-size: 1.5rem;
    }
    
    .gallery-preview-content p {
        font-size: 0.9375rem;
    }
    
    .gallery-description {
        padding: 1.5rem;
    }
    
    .gallery-description p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-preview-content h3 {
        font-size: 1.25rem;
    }
    
    .gallery-preview-content p {
        font-size: 0.875rem;
    }
    
    .gallery-description {
        padding: 1.25rem;
    }
    
    .gallery-description p {
        font-size: 0.9375rem;
    }
    
    .gallery-count {
        font-size: 0.8125rem;
        padding: 0.4rem 1rem;
    }
}

/* Service card images (for future use) */
.service-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Optimized image containers */
.optimized-image {
    position: relative;
    overflow: hidden;
    background: var(--bg-light);
}

.optimized-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Loading spinner for images */
.image-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* ============================================
   Accessibility
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero-background {
        background-attachment: scroll;
        transform: none !important;
    }
    
    .hero-bg-img {
        transform: none !important;
    }
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

