/* ============================================
   Elena Apostolou Clinical Laboratory
   Portfolio Website Styles
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --blue-primary: #5685aa;
    --blue-dark: #3d6a8f;
    --blue-darker: #2c4f6e;
    --blue-light: #7fabc5;
    --blue-lighter: #a8c8dd;
    --blue-pale: #dce8f0;
    --blue-bg: #f0f5f9;
    --pink-accent: #edd1ec;
    --pink-deep: #d4a5d0;
    --white: #ffffff;
    --off-white: #f8fafb;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 50px -12px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--blue-primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--blue-dark);
}

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

/* --- Typography --- */
h1, h2, h3, h4, h5 {
    font-family: var(--font-primary);
    color: var(--gray-800);
    line-height: 1.2;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.centered {
    text-align: center;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--blue-primary);
    margin-bottom: 12px;
    position: relative;
    padding-left: 24px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 2px;
    background: var(--pink-accent);
}

.section-tag.light {
    color: rgba(255, 255, 255, 0.8);
}

.section-tag.light::before {
    background: var(--pink-accent);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 16px;
}

.section-title.light {
    color: var(--white);
}

.section-title em {
    font-style: normal;
    color: var(--blue-primary);
}

.section-title.light em {
    color: var(--pink-accent);
}

.section-description {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    gap: 8px;
}

.btn-primary {
    background: var(--blue-primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(86, 133, 170, 0.35);
}

.btn-primary:hover {
    background: var(--blue-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(86, 133, 170, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--blue-primary);
    border: 2px solid var(--blue-primary);
}

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

.btn-full {
    width: 100%;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.nav-logo-icon {
    height: 44px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 36px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    transition: color var(--transition);
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue-primary);
    transition: width var(--transition);
}

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

.nav-cta {
    background: var(--blue-primary) !important;
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--blue-dark) !important;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all var(--transition);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--blue-bg) 50%, var(--white) 100%);
    padding: 100px 0 60px;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.07;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--blue-primary);
    top: -200px;
    right: -100px;
    animation: floatSlow 20s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--pink-accent);
    bottom: -100px;
    left: -100px;
    animation: floatSlow 25s ease-in-out infinite reverse;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--blue-light);
    top: 40%;
    left: 30%;
    animation: floatSlow 18s ease-in-out infinite;
}

@keyframes floatSlow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue-primary);
    background: rgba(86, 133, 170, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title-line {
    display: block;
}

.hero-title-line.accent {
    color: var(--blue-primary);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-800);
    line-height: 1;
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--blue-primary);
}

.stat-label {
    font-size: 13px;
    color: var(--gray-400);
    margin-top: 4px;
}

/* Hero Visual / Logo Showcase */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-showcase {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-svg {
    width: 320px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(86, 133, 170, 0.2));
}

.logo-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(237, 209, 236, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulseGlow 4s ease-in-out infinite;
    z-index: -1;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

/* Logo figure animations */
.logo-figure {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.figure-center { animation-delay: 0.2s; }
.figure-left-1 { animation-delay: 0.4s; }
.figure-right-1 { animation-delay: 0.4s; }
.figure-left-2 { animation-delay: 0.6s; }
.figure-right-2 { animation-delay: 0.6s; }

.connector {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
    animation-delay: 0.8s;
}

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

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

.pulse-dot {
    animation: none;
}

.pulse-ring {
    animation: pulseRingAnim 3s ease-in-out infinite;
}

@keyframes pulseRingAnim {
    0% { r: 12; opacity: 0.5; }
    50% { r: 20; opacity: 0; }
    100% { r: 12; opacity: 0.5; }
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--gray-400);
    font-size: 12px;
    letter-spacing: 1px;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--gray-400);
    border-bottom: 2px solid var(--gray-400);
    transform: rotate(45deg);
    animation: bounceArrow 2s ease-in-out infinite;
}

@keyframes bounceArrow {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(6px); }
}

/* --- About Section --- */
.about {
    padding: 120px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.about-image-frame {
    position: relative;
}

.about-image-placeholder {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-placeholder svg {
    width: 100%;
    height: auto;
    display: block;
}

.about-image-accent {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--blue-pale);
    border-radius: var(--radius-lg);
    top: 20px;
    left: 20px;
    z-index: -1;
}

.about-lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--gray-800);
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 16px;
    color: var(--gray-600);
    line-height: 1.8;
}

.about-highlights {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.highlight {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    background: var(--blue-bg);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.highlight:hover {
    background: var(--blue-pale);
    transform: translateX(4px);
}

.highlight-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 10px;
    color: var(--blue-primary);
    box-shadow: var(--shadow-sm);
}

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

.highlight strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 2px;
}

.highlight span {
    font-size: 13px;
    color: var(--gray-500);
}

/* --- Services Section --- */
.services {
    padding: 120px 0;
    background: var(--off-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    transition: all var(--transition);
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-primary), var(--pink-accent));
    opacity: 0;
    transition: opacity var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-card:hover::before {
    opacity: 1;
}

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

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--gray-800);
}

.service-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* Services Extras */
.services-extras {
    text-align: center;
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
}

.services-extras h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 20px;
}

.extras-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.tag {
    display: inline-block;
    padding: 8px 18px;
    background: var(--blue-bg);
    color: var(--blue-primary);
    font-size: 13px;
    font-weight: 500;
    border-radius: 50px;
    transition: all var(--transition);
}

.tag:hover {
    background: var(--blue-primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* --- Expertise Section --- */
.expertise {
    padding: 120px 0;
    background: var(--white);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.expertise-card {
    display: flex;
    gap: 24px;
    padding: 40px;
    border-radius: var(--radius-lg);
    background: var(--off-white);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
}

.expertise-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-pale);
    transform: translateY(-3px);
}

.expertise-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--blue-pale);
    line-height: 1;
    flex-shrink: 0;
    font-family: var(--font-display);
}

.expertise-card:hover .expertise-number {
    color: var(--blue-primary);
}

.expertise-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--gray-800);
}

.expertise-content p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 16px;
}

.expertise-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.expertise-list li {
    font-size: 13px;
    color: var(--gray-600);
    padding-left: 20px;
    position: relative;
}

.expertise-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pink-accent);
}

/* --- Credentials Section --- */
.credentials {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--blue-darker) 0%, var(--blue-dark) 50%, var(--blue-primary) 100%);
    position: relative;
    overflow: hidden;
}

.credentials::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E");
    pointer-events: none;
}

.credentials-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.credentials-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 1rem;
}

.credentials-content strong {
    color: var(--white);
}

/* Timeline */
.timeline {
    margin-top: 40px;
    position: relative;
    padding-left: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.15);
}

.timeline-item {
    position: relative;
    margin-bottom: 28px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -28px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--pink-accent);
    border: 3px solid var(--blue-darker);
}

.timeline-date {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--pink-accent);
    display: block;
    margin-bottom: 4px;
}

.timeline-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}

.timeline-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

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

.credential-badge-large svg {
    width: 280px;
    height: 280px;
    animation: rotateSlow 30s linear infinite;
}

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

/* --- Locations Section --- */
.locations {
    padding: 120px 0;
    background: var(--off-white);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.location-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.location-card.primary {
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 1px var(--blue-primary);
}

.location-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.location-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: 50px;
    background: var(--blue-bg);
    color: var(--blue-primary);
    margin-bottom: 16px;
}

.location-card.primary .location-badge {
    background: var(--blue-primary);
    color: var(--white);
}

.location-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.location-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--gray-600);
}

.location-detail svg {
    flex-shrink: 0;
    color: var(--blue-primary);
}

.location-hours h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hours-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--gray-600);
    padding: 8px 12px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
}

.hours-row span:last-child {
    font-weight: 600;
    color: var(--gray-700);
}

.hours-row.closed span:last-child {
    color: var(--gray-400);
}

/* --- FAQ Section --- */
.faq {
    padding: 120px 0;
    background: var(--white);
}

.faq-list {
    max-width: 750px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.faq-item:first-child {
    border-top: 1px solid var(--gray-200);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 24px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    transition: color var(--transition);
}

.faq-question:hover {
    color: var(--blue-primary);
}

.faq-chevron {
    flex-shrink: 0;
    transition: transform var(--transition);
    color: var(--gray-400);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--blue-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 24px;
}

.faq-answer p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.8;
}

/* --- Contact Section --- */
.contact {
    padding: 120px 0 100px;
    background: var(--off-white);
}

.contact-hero {
    position: relative;
    background: linear-gradient(135deg, var(--blue-darker) 0%, var(--blue-dark) 50%, var(--blue-primary) 100%);
    border-radius: var(--radius-xl);
    padding: 80px 60px 48px;
    overflow: hidden;
    text-align: center;
}

.contact-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.contact-shape {
    position: absolute;
    border-radius: 50%;
}

.contact-shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(237, 209, 236, 0.08);
    top: -150px;
    right: -80px;
}

.contact-shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.04);
    bottom: -100px;
    left: -60px;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    margin-bottom: 56px;
}

.contact-hero-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.25;
    margin-bottom: 16px;
}

.contact-hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto 36px;
}

.contact-email-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: var(--white);
    color: var(--blue-dark);
    border-radius: 60px;
    font-size: 1.05rem;
    font-weight: 600;
    transition: all var(--transition);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.contact-email-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    color: var(--blue-primary);
}

.contact-email-btn svg {
    flex-shrink: 0;
}

/* Contact Tiles Row */
.contact-cards-row {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.contact-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 28px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all var(--transition);
    text-decoration: none;
    color: inherit;
}

.contact-tile:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
}

a.contact-tile {
    cursor: pointer;
}

.contact-tile-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--pink-accent);
    margin-bottom: 4px;
}

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

.contact-tile-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.45);
}

.contact-tile-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    text-align: center;
}

/* --- Footer --- */
.footer {
    background: var(--gray-900);
    padding: 80px 0 32px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-logo {
    width: 220px;
    height: auto;
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.7;
    max-width: 280px;
}

.footer-links-group h5 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gray-400);
    margin-bottom: 20px;
}

.footer-links-group ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-group a {
    font-size: 14px;
    color: var(--gray-400);
    transition: color var(--transition);
}

.footer-links-group a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--gray-500);
}

/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-subtitle {
        max-width: 100%;
    }

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

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

    .hero-visual {
        order: -1;
    }

    .hero-logo-svg {
        width: 240px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }

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

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

    .credentials-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .credentials-visual {
        order: -1;
    }

    .credential-badge-large svg {
        width: 200px;
        height: 200px;
    }

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

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

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

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

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .stat {
        align-items: center;
    }

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

    .expertise-card {
        flex-direction: column;
        gap: 16px;
        padding: 28px;
    }

    .expertise-number {
        font-size: 2rem;
    }

    .location-card {
        padding: 28px;
    }

    .contact-hero {
        padding: 48px 24px 32px;
    }

    .contact-cards-row {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .contact-email-btn {
        padding: 14px 28px;
        font-size: 0.9rem;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .hero-scroll-indicator {
        display: none;
    }

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

    .about, .services, .expertise, .credentials, .locations, .faq, .contact {
        padding: 80px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

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

    .hero-logo-svg {
        width: 180px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}
