/* Aion Health Care & Support Services - Main Stylesheet */

/* CSS Variables for consistent theming */
:root {
    --primary-blue: #000071;
    --light-blue: #ff5b5c;
    --dark-blue: #000050;
    --accent-color: #ff5b5c;
    --light-gray: #f8fafc;
    --gray: #64748b;
    --dark-gray: #334155;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

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

/* Header and Navigation (updated with top bar) */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
}

.top-bar {
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.45rem 0;
    font-size: 0.75rem;
    letter-spacing: 0.3px;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.top-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 500;
}

.divider {
    width: 1px;
    height: 14px;
    background: rgba(255,255,255,0.4);
}

.top-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding: 0.3rem 0.4rem;
    border-radius: 4px;
    transition: var(--transition);
}

.top-link:hover {
    background: rgba(255,255,255,0.15);
}

.main-nav-wrapper {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.06);
    transition: var(--transition);
}

.site-header.scrolled .main-nav-wrapper {
    box-shadow: 0 4px 18px rgba(0,0,0,0.10);
}

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

.logo {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0 auto;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

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

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-nav {
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.btn-nav:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 113, 0.4);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-gray);
    transition: var(--transition);
}

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white);
    padding: 180px 0 140px; /* increased bottom padding for wave */
    overflow: hidden;
}

/* Compact Header Variant */
.site-header.compact {
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.site-header.compact .top-bar {
    padding: 0.75rem 0; /* slightly taller to host nav */
}

.site-header.compact .top-bar-inner {
    align-items: stretch;
}

.site-header.compact .top-bar-inner nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
}

.site-header.compact .nav-menu {
    margin: 0;
    gap: 2rem;
}

.site-header.compact .nav-link {
    color: var(--white);
}

.site-header.compact .nav-link:hover,
.site-header.compact .nav-link.active {
    color: var(--accent-color);
}

.site-header.compact .nav-link::after {
    background: var(--accent-color);
}

.site-header.compact .btn-nav { /* If used on compact */
    background: var(--accent-color);
    color: var(--white);
}

.site-header.compact .btn-nav:hover {
    background: var(--light-blue);
}

/* Page Hero (slimmer banner for non-home pages) */
.page-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 220px 0 100px; /* consistent padding for nav offset + top space for title placement */
    color: var(--white);
    overflow: hidden;
}

.page-hero.small {
    min-height: 420px;
    padding: 220px 0 90px;
}

.page-hero-background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
    filter: brightness(0.75) contrast(1.05);
    transition: transform 0.3s ease;
}

.page-hero:hover .page-hero-background {
    transform: scale(1.02);
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,113,0.88) 0%, rgba(0,0,80,0.78) 50%, rgba(0,0,60,0.70) 100%);
    z-index: 2;
}

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

.page-hero-content {
    max-width: 950px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.page-hero-content * { margin: 0; padding: 0; }

.page-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.18);
    padding: 0.6rem 1.3rem;
    border-radius: 50px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 700;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    margin: 0 auto 1.5rem;
    width: fit-content;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.page-hero h1 {
    font-size: clamp(2.5rem, 5.5vw, 3.5rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -1px;
    margin: 0 0 1.2rem 0;
    text-wrap: balance;
    padding: 0;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.page-hero h1 span.gradient {
    background: linear-gradient(120deg, #ffffff 0%, #ffd4d5 50%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero p.subtitle {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.9;
    opacity: 0.98;
    font-weight: 400;
    text-shadow: 0 1px 10px rgba(0,0,0,0.2);
}

.page-hero-meta {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: 1.75rem;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    opacity: 0.85;
}

.page-hero-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }

.page-hero.decor-dots::before {
    background: linear-gradient(135deg, rgba(0,0,113,0.92) 0%, rgba(0,0,80,0.82) 50%, rgba(0,0,60,0.75) 100%),
        radial-gradient(circle at 80% 20%, rgba(255,91,92,0.25) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.12) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(255,91,92,0.08) 0%, transparent 70%);
    mix-blend-mode: normal;
}

.page-hero.decor-dots::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 90% 10%, rgba(255,144,145,0.15) 0%, transparent 40%),
                radial-gradient(circle at 10% 90%, rgba(255,255,255,0.08) 0%, transparent 35%);
    z-index: 2;
    pointer-events: none;
}

.page-hero.pattern-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 0 0, rgba(255,255,255,0.12) 0, transparent 60%),
                      radial-gradient(circle at 100% 100%, rgba(255,255,255,0.12) 0, transparent 60%);
    pointer-events: none;
    z-index: 2;
}

/* Decorative subtle bottom curve (optional) */
.page-hero.curved {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.page-hero.curved .page-hero-content {
    position: relative;
    z-index: 4;
}

/* Mobile adjustments for compact header & page hero */
@media (max-width: 768px) {
    .site-header.compact .nav-menu {
        top: 70px; /* height of compact top bar */
        background: var(--primary-blue);
    }
    .site-header.compact .nav-link::after { background: var(--white); }
    .page-hero { min-height: 400px; padding: 200px 0 80px; }
    .page-hero.small { min-height: 360px; padding: 200px 0 75px; }
    .page-hero h1 { font-size: clamp(2.2rem, 6vw, 2.8rem); }
    .page-hero p.subtitle { font-size: 1.05rem; }
    .page-hero-label { font-size: 0.7rem; padding: 0.5rem 1rem; margin-bottom: 1rem; }
}
@media (max-width: 480px) {
    .page-hero { min-height: 360px; padding: 180px 0 70px; }
    .page-hero.small { min-height: 320px; padding: 180px 0 65px; }
    .page-hero h1 { font-size: 2rem; margin-bottom: 0.8rem; }
    .page-hero p.subtitle { font-size: 1rem; }
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
    margin-right: auto;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(135deg, rgba(0, 0, 113, 0.65) 0%, rgba(0, 0, 80, 0.60) 50%, rgba(0, 0, 113, 0.65) 100%),
        url('../images/helper-caring-for-elderly-lady.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
    animation: backgroundPulse 20s ease-in-out infinite;
}

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

.hero-background::after {
    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="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 91, 92, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(255, 144, 145, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(0, 0, 113, 0.1) 0%, transparent 70%);
    z-index: 2;
}

/* Animated Particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: particleFloat 15s infinite;
}

.particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.particle:nth-child(2) {
    left: 70%;
    top: 30%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.particle:nth-child(3) {
    left: 40%;
    top: 60%;
    animation-delay: 4s;
    animation-duration: 15s;
}

.particle:nth-child(4) {
    left: 85%;
    top: 70%;
    animation-delay: 6s;
    animation-duration: 20s;
}

.particle:nth-child(5) {
    left: 25%;
    top: 80%;
    animation-delay: 8s;
    animation-duration: 14s;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    50% {
        transform: translateY(-100px) translateX(50px) scale(1.5);
        opacity: 0.8;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-200px) translateX(100px) scale(0.5);
        opacity: 0;
    }
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 3;
    transform: rotate(0deg);
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
    animation: waveAnimation 20s ease-in-out infinite;
}

@keyframes waveAnimation {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-20px);
    }
}



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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.25);
    padding: 0.65rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    animation: pulse 3s infinite, badgeFloat 6s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-badge svg {
    animation: starRotate 4s linear infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4), 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0), 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
}

@keyframes badgeFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes starRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hero h1 {
    font-size: 3.8rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3), 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1.2s ease-out 0.3s backwards;
}

.hero-highlight {
    background: linear-gradient(120deg, #ffffff 0%, #ffd4d5 50%, #ff5b5c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    animation: gradientShift 6s ease-in-out infinite;
    background-size: 200% auto;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.9;
    margin-bottom: 2.5rem;
    opacity: 0.96;
    max-width: 700px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    font-weight: 400;
    animation: fadeInUp 1.4s ease-out 0.5s backwards;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    animation: fadeInUp 1.6s ease-out 0.7s backwards;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn span, .btn svg {
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-glow {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.2), 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-glow:hover {
    box-shadow: 0 15px 60px rgba(255, 255, 255, 0.3), 0 8px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-4px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

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

.btn-glass {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-4px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 3.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 1.8s ease-out 0.9s backwards;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    position: relative;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.hero-stat:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.hero-stat strong {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #ffffff 0%, #ffd4d5 50%, #ffb3b4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 20px rgba(255, 255, 255, 0.3);
}

.hero-stat span {
    font-size: 0.85rem;
    opacity: 0.92;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-gray {
    background: var(--light-gray);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Grid - Legacy (keeping for compatibility) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--white);
    font-size: 2rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.service-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* Modern Services Grid with Images */
.services-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card-modern {
    position: relative;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.service-card-modern:hover .service-image {
    transform: scale(1.1);
}

.service-image {
    position: relative;
    width: 100%;
    height: 240px;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.service-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 113, 0.1) 0%,
        rgba(0, 0, 113, 0.3) 50%,
        rgba(0, 0, 113, 0.6) 100%
    );
    transition: opacity 0.4s ease;
}

.service-card-modern:hover .service-image::before {
    opacity: 0.8;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 113, 0.2) 0%,
        rgba(0, 0, 113, 0.4) 50%,
        rgba(0, 0, 113, 0.7) 100%
    );
}

.service-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-badge {
    display: none;
}

.service-content h3 {
    font-size: 1.6rem;
    margin: 0 0 1rem 0;
    color: var(--dark-gray);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.5px;
    width: 100%;
}

.service-content p {
    color: var(--gray);
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
    width: 100%;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
    letter-spacing: 0.3px;
    width: fit-content;
}

.service-link svg {
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: var(--accent-color);
    gap: 0.75rem;
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* About Section - Modern Design */
.about-section-modern {
    position: relative;
    background: var(--light-gray);
    overflow: hidden;
}

.about-background-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(0, 0, 113, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 91, 92, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.about-section-modern .container {
    position: relative;
    z-index: 2;
}

/* About Header */
.about-header-modern {
    text-align: center;
    margin-bottom: 4rem;
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(0, 0, 113, 0.1) 0%, rgba(255, 91, 92, 0.08) 100%);
    color: var(--primary-blue);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 0, 113, 0.15);
}

.about-badge svg {
    color: var(--accent-color);
}

.about-title-modern {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.15;
    color: var(--dark-gray);
    margin: 0;
}

/* About Content Grid */
.about-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.about-story-card {
    display: flex;
    gap: 1.5rem;
    padding: 2.5rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 113, 0.08);
    transition: all 0.4s ease;
}

.about-story-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-blue);
}

.story-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 0, 113, 0.1) 0%, rgba(255, 91, 92, 0.08) 100%);
    border-radius: 16px;
    color: var(--primary-blue);
    transition: all 0.4s ease;
}

.about-story-card:hover .story-icon {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    transform: scale(1.1) rotate(-5deg);
}

.story-content h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark-gray);
    margin: 0 0 0.75rem 0;
}

.story-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray);
    margin: 0;
}

/* About Image Showcase */
.about-image-showcase {
    margin-bottom: 4rem;
}

.showcase-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.showcase-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

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

.image-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 113, 0.1) 0%,
        rgba(0, 0, 113, 0.2) 50%,
        rgba(0, 0, 113, 0.4) 100%
    );
    pointer-events: none;
}

/* Values Section */
.values-section-modern {
    margin-bottom: 3rem;
}

.values-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark-gray);
    margin: 0 0 3rem 0;
}

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

.value-card-modern {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 113, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

.value-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-blue);
}

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

.value-icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 0, 113, 0.1) 0%, rgba(255, 91, 92, 0.08) 100%);
    border-radius: 50%;
    color: var(--primary-blue);
    transition: all 0.4s ease;
}

.value-card-modern:hover .value-icon-wrapper {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    transform: scale(1.15) rotate(10deg);
}

.value-card-modern h4 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark-gray);
    margin: 0 0 0.75rem 0;
}

.value-card-modern p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray);
    margin: 0;
}

/* About CTA */
.about-cta-modern {
    text-align: center;
    margin-top: 3rem;
}

.btn-about-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 113, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-about-modern::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-about-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 113, 0.4);
}

.btn-about-modern:hover::before {
    opacity: 1;
}

.btn-about-modern svg {
    transition: transform 0.4s ease;
}

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

.btn-about-modern span,
.btn-about-modern svg {
    position: relative;
    z-index: 1;
}

.text-gradient {
    background: linear-gradient(120deg, #000071 0%, #ff5b5c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Legacy Support */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-modern {
    grid-template-columns: 1fr;
    align-items: start;
}

.about-modern .about-content {
    max-width: 100%;
}

.about-image {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.about-content h2 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: var(--dark-gray);
    line-height: 1.15;
}

.about-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 1.2rem;
    max-width: 680px;
}

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

.value-item {
    text-align: center;
    padding: 1.1rem;
}

.value-item h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

/* Contact Section - Modern Design */
.contact-section {
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
    overflow: hidden;
}

.contact-background-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.contact-background-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 0, 113, 0.03), rgba(255, 91, 92, 0.05));
    animation: float 20s ease-in-out infinite;
}

.contact-background-shapes .shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.contact-background-shapes .shape-2 {
    width: 300px;
    height: 300px;
    bottom: -80px;
    left: -80px;
    animation-delay: 5s;
}

.contact-background-shapes .shape-3 {
    width: 250px;
    height: 250px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.contact-section .container {
    position: relative;
    z-index: 2;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-grid-modern {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Modern Contact Form */
.contact-form-modern {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 113, 0.08);
    transition: all 0.4s ease;
}

.contact-form-modern:hover {
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-icon {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    animation: iconPulse 2s ease-in-out infinite;
}

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

.form-header h3 {
    font-size: 1.8rem;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.form-header p {
    color: var(--gray);
    font-size: 0.95rem;
    margin: 0;
}

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

/* Modern Form Groups with Floating Labels */
.form-group-modern {
    position: relative;
}

.form-group-modern .input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    transition: all 0.3s ease;
    z-index: 2;
}

.form-group-modern.textarea-group .input-icon {
    top: 20px;
    transform: translateY(0);
}

.form-group-modern input,
.form-group-modern select,
.form-group-modern textarea {
    width: 100%;
    padding: 16px 16px 16px 48px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--dark-gray);
}

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

.form-group-modern input:focus,
.form-group-modern select:focus,
.form-group-modern textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(0, 0, 113, 0.08);
}

.form-group-modern input:focus ~ .input-icon,
.form-group-modern select:focus ~ .input-icon,
.form-group-modern textarea:focus ~ .input-icon {
    color: var(--primary-blue);
    transform: translateY(-50%) scale(1.1);
}

.form-group-modern.textarea-group textarea:focus ~ .input-icon {
    transform: translateY(0) scale(1.1);
}

/* Floating Labels */
.form-group-modern label {
    position: absolute;
    left: 48px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    pointer-events: none;
    background: var(--white);
    padding: 0 6px;
}

.form-group-modern.textarea-group label {
    top: 20px;
    transform: translateY(0);
}

.form-group-modern input:focus ~ label,
.form-group-modern input:not(:placeholder-shown) ~ label,
.form-group-modern select:focus ~ label,
.form-group-modern select:not([value=""]):valid ~ label,
.form-group-modern textarea:focus ~ label,
.form-group-modern textarea:not(:placeholder-shown) ~ label {
    top: -2px;
    left: 42px;
    font-size: 0.75rem;
    color: var(--primary-blue);
    font-weight: 600;
    transform: translateY(0);
}

.form-group-modern.textarea-group textarea:focus ~ label,
.form-group-modern.textarea-group textarea:not(:placeholder-shown) ~ label {
    top: -10px;
}

/* Select Styling */
.form-group-modern select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 48px;
}

.form-group-modern select:focus {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23000071' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Submit Button */
.btn-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 113, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 113, 0.4);
}

.btn-submit:hover::before {
    opacity: 1;
}

.btn-submit:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 113, 0.3);
}

.btn-submit svg {
    transition: transform 0.4s ease;
}

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

/* Contact Info Modern */
.contact-info-modern {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    display: flex;
    gap: 1.25rem;
    padding: 1.75rem;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-blue);
}

.contact-card-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 0, 113, 0.1) 0%, rgba(255, 91, 92, 0.08) 100%);
    border-radius: 12px;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.contact-card:hover .contact-card-icon {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.contact-card-content {
    flex: 1;
}

.contact-card-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin: 0 0 0.5rem 0;
    letter-spacing: 0.3px;
}

.contact-card-content p {
    margin: 0;
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-card-content a {
    color: var(--gray);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.contact-card-content a:hover {
    color: var(--primary-blue);
}

/* Consultation CTA */
.consultation-cta {
    margin-top: 1rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    border-radius: 16px;
    color: var(--white);
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 113, 0.25);
    position: relative;
    overflow: hidden;
}

.consultation-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 91, 92, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.consultation-cta .cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    position: relative;
    z-index: 1;
}

.consultation-cta h4 {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 0 0.75rem 0;
    position: relative;
    z-index: 1;
}

.consultation-cta p {
    margin: 0;
    opacity: 0.95;
    line-height: 1.6;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* Legacy Support */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

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

.contact-info {
    background: var(--primary-blue);
    color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
}

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

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

.contact-item i {
    font-size: 1.2rem;
    width: 20px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 4rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.footer::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255,91,92,0.08) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(255,255,255,0.03) 0%, transparent 40%);
    pointer-events: none;
    z-index: 1;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-section h3 {
    margin-bottom: 1.2rem;
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.footer-section p,
.footer-section a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    line-height: 2;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
    padding-left: 4px;
}

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

/* Service Detail Page Styles */
.service-detail {
    padding: 120px 0 80px;
}

.service-header {
    text-align: center;
    margin-bottom: 4rem;
}

.service-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.service-detail .service-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.service-description {
    line-height: 1.8;
    color: var(--gray);
}

.service-description h2 {
    color: var(--dark-gray);
    margin: 2rem 0 1rem;
}

.service-description h3 {
    color: var(--primary-blue);
    margin: 1.5rem 0 0.5rem;
}

.service-features {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
    height: fit-content;
}

.service-features h3 {
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
}

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

.service-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

/* Tablet Responsive Design */
@media (max-width: 1024px) {
    .services-grid-modern {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }

    .service-image {
        height: 220px;
    }

    .services-grid-modern .service-content h3 {
        font-size: 1.4rem;
    }

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

    /* About Section Responsive */
    .about-content-grid {
        grid-template-columns: 1fr;
    }

    .values-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Contact Section Responsive */
@media (max-width: 1024px) {
    .contact-grid-modern {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-form-modern {
        padding: 2.5rem;
    }

    .contact-background-shapes .shape-1 {
        width: 300px;
        height: 300px;
    }

    .contact-background-shapes .shape-2 {
        width: 250px;
        height: 250px;
    }
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 120px; /* adjust for top bar + nav wrapper */
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        gap: 1rem;
        margin: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.3s ease;
        z-index: 1100;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-toggle {
        display: block;
    }

    .btn-nav {
        display: none;
    }

    .nav-actions {
        gap: 0;
    }

    /* Contact Section Mobile */
    .contact-form-modern {
        padding: 2rem;
    }

    .form-header h3 {
        font-size: 1.5rem;
    }

    .form-icon {
        width: 40px;
        height: 40px;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .contact-card-icon {
        width: 48px;
        height: 48px;
    }

    .consultation-cta {
        padding: 1.75rem;
    }

    .consultation-cta .cta-icon {
        width: 56px;
        height: 56px;
    }

    .consultation-cta h4 {
        font-size: 1.25rem;
    }

    .hero {
        min-height: 90vh;
        padding: 190px 0 100px; /* account for taller header stack and wave */
    }

    .hero-wave svg {
        height: 80px;
    }

    .top-bar-left, .top-bar-right {
        gap: 0.8rem;
    }

    .top-bar {
        font-size: 0.7rem;
        padding: 0.4rem 0;
    }

    .hero h1 {
        font-size: 2.5rem;
        letter-spacing: -0.5px;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        gap: 1.5rem;
        justify-content: center;
    }

    .hero-stat {
        padding: 1.2rem 1.5rem;
        min-width: 140px;
    }

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

    .hero-stat strong {
        font-size: 2.2rem;
    }

    .hero-stat span {
        font-size: 0.75rem;
    }

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

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

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

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

    .service-card-modern {
        max-width: 100%;
    }

    .service-image {
        height: 200px;
    }

    .services-grid-modern .service-content {
        padding: 1.5rem;
    }

    .services-grid-modern .service-content h3 {
        font-size: 1.3rem;
    }

    .services-grid-modern .service-content p {
        font-size: 0.9rem;
    }

    .service-badge {
        font-size: 0.7rem;
        padding: 0.35rem 0.85rem;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* About Section Mobile */
    .about-story-card {
        flex-direction: column;
        padding: 2rem;
        text-align: center;
    }

    .story-icon {
        margin: 0 auto;
    }

    .showcase-image {
        height: 300px;
    }

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

    .value-card-modern {
        padding: 2rem 1.5rem;
    }

    .container {
        padding: 0 15px;
    }
}

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

    .hero {
        padding: 180px 0 80px;
    }

    .hero-wave svg {
        height: 60px;
    }

    .hero h1 {
        font-size: 2rem;
        letter-spacing: -0.3px;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 0.5rem 1rem;
    }

    .hero-stats {
        gap: 1rem;
        flex-direction: column;
        width: 100%;
    }

    .hero-stat {
        width: 100%;
        padding: 1rem 1.2rem;
        align-items: center;
        text-align: center;
    }

    .stat-icon {
        font-size: 1.3rem;
        margin-bottom: 0.3rem;
    }

    .hero-stat strong {
        font-size: 2rem;
    }

    .hero-stat span {
        font-size: 0.7rem;
    }

    .btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }

    .section {
        padding: 60px 0;
    }

    .services-grid-modern {
        gap: 1.2rem;
    }

    .service-image {
        height: 180px;
    }

    .services-grid-modern .service-content {
        padding: 1.25rem;
    }

    .services-grid-modern .service-content h3 {
        font-size: 1.3rem;
    }

    .services-grid-modern .service-content p {
        font-size: 0.9rem;
    }

    .service-badge {
        font-size: 0.7rem;
        padding: 0.35rem 0.85rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
    .about-image { height: 260px; }
    .about-grid {
        grid-template-columns: 1fr;
    }

    /* About Section Small Mobile */
    .about-title-modern {
        font-size: 2rem;
    }

    .about-badge {
        font-size: 0.75rem;
        padding: 0.5rem 1.2rem;
    }

    .about-story-card {
        padding: 1.5rem;
        gap: 1rem;
    }

    .story-icon {
        width: 60px;
        height: 60px;
    }

    .story-icon svg {
        width: 32px;
        height: 32px;
    }

    .story-content h3 {
        font-size: 1.2rem;
    }

    .story-content p {
        font-size: 0.95rem;
    }

    .showcase-image {
        height: 250px;
    }

    .values-title {
        font-size: 1.6rem;
    }

    .value-icon-wrapper {
        width: 60px;
        height: 60px;
    }

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

    .value-card-modern h4 {
        font-size: 1.15rem;
    }

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

    .btn-about-modern {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }

    /* Contact Section Mobile */
    .contact-form-modern {
        padding: 1.5rem;
    }

    .form-header {
        margin-bottom: 2rem;
    }

    .form-header h3 {
        font-size: 1.3rem;
    }

    .form-header p {
        font-size: 0.85rem;
    }

    .form-icon {
        width: 36px;
        height: 36px;
    }

    .form-group-modern input,
    .form-group-modern select,
    .form-group-modern textarea {
        font-size: 0.95rem;
        padding: 14px 14px 14px 44px;
    }

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

    .contact-card-icon {
        width: 44px;
        height: 44px;
    }

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

    .contact-card-content h4 {
        font-size: 0.95rem;
    }

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

    .consultation-cta {
        padding: 1.5rem;
    }

    .consultation-cta .cta-icon {
        width: 52px;
        height: 52px;
    }

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

    .consultation-cta h4 {
        font-size: 1.15rem;
    }

    .consultation-cta p {
        font-size: 0.9rem;
    }

    .btn-submit {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }

    .contact-background-shapes .shape {
        display: none;
    }

    .particle {
        width: 3px;
        height: 3px;
    }
}

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

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