/* ========================================
   Nico Padilla Personal Training
   Clean & Professional Theme — Enhanced
   ======================================== */

/* --- Variables --- */
:root {
    --color-navy: #1b2a4a;
    --color-navy-dark: #0f1b33;
    --color-navy-light: #2c3e6b;
    --color-teal: #2a7a7a;
    --color-teal-dark: #1f5f5f;
    --color-teal-light: #e6f3f3;
    --color-accent: #d4a855;
    --color-accent-light: #f5edd8;
    --color-white: #ffffff;
    --color-off-white: #f7f8fa;
    --color-gray-light: #e8eaed;
    --color-gray: #6b7280;
    --color-text: #1f2937;
    --color-text-light: #4b5563;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);
    --shadow-glow-teal: 0 4px 20px rgba(42, 122, 122, 0.2);
    --shadow-glow-accent: 0 4px 20px rgba(212, 168, 85, 0.25);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --nav-height: 72px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-height) + 16px);
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    background: var(--color-white);
}

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

a {
    color: var(--color-teal);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--color-navy);
}

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

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(42, 122, 122, 0.15); }
    50% { box-shadow: 0 0 0 12px rgba(42, 122, 122, 0); }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

/* --- Container --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Section Background Pattern --- */
.section-bg-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.section-bg-pattern::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(42, 122, 122, 0.04) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.section-bg-pattern::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 168, 85, 0.04) 0%, transparent 70%);
    bottom: -80px;
    left: -80px;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    background: transparent;
    transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

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

.nav-logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--color-white);
    letter-spacing: -0.5px;
    transition: color 0.3s;
}

.navbar.scrolled .nav-logo {
    color: var(--color-navy);
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: var(--radius);
    transition: color 0.2s, background 0.2s;
    position: relative;
}

.nav-links a:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.15);
}

.navbar.scrolled .nav-links a {
    color: var(--color-text-light);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--color-navy);
    background: var(--color-off-white);
}

.nav-cta {
    background: var(--color-accent) !important;
    color: var(--color-white) !important;
    font-weight: 600 !important;
    border-radius: var(--radius) !important;
    box-shadow: 0 2px 8px rgba(212, 168, 85, 0.3);
    padding: 6px 14px !important;
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
}

.nav-cta:hover {
    background: #c49a45 !important;
    box-shadow: var(--shadow-glow-accent) !important;
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s, background 0.3s;
}

.navbar.scrolled .hamburger,
.navbar.scrolled .hamburger::before,
.navbar.scrolled .hamburger::after {
    background: var(--color-navy);
}

.hamburger { position: relative; }
.hamburger::before, .hamburger::after { content: ''; position: absolute; left: 0; }
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(160deg, #0f1b33 0%, var(--color-navy) 30%, var(--color-navy-light) 60%, var(--color-teal) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 60% 50% at 20% 50%, rgba(42, 122, 122, 0.2) 0%, transparent 70%),
        radial-gradient(ellipse 50% 60% at 80% 20%, rgba(212, 168, 85, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 50% 90%, rgba(42, 122, 122, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    animation: floatRing 25s ease-in-out infinite;
}

@keyframes floatRing {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    50% { transform: translateY(40px) rotate(15deg) scale(1.05); }
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: drift linear infinite;
}

.hero-particles span:nth-child(1) { left: 10%; top: 20%; width: 3px; height: 3px; animation-duration: 18s; animation-delay: 0s; }
.hero-particles span:nth-child(2) { left: 30%; top: 70%; width: 5px; height: 5px; animation-duration: 22s; animation-delay: 2s; }
.hero-particles span:nth-child(3) { left: 55%; top: 15%; width: 3px; height: 3px; animation-duration: 20s; animation-delay: 4s; }
.hero-particles span:nth-child(4) { left: 75%; top: 55%; width: 6px; height: 6px; animation-duration: 24s; animation-delay: 1s; }
.hero-particles span:nth-child(5) { left: 85%; top: 30%; width: 4px; height: 4px; animation-duration: 19s; animation-delay: 3s; }
.hero-particles span:nth-child(6) { left: 45%; top: 85%; width: 3px; height: 3px; animation-duration: 21s; animation-delay: 5s; }

@keyframes drift {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) translateX(40px); opacity: 0; }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 27, 51, 0.35);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--color-white);
    padding: 40px 24px;
    max-width: 800px;
}

.hero-badge       { animation: fadeInUp 0.8s ease-out 0.2s both; }
.hero h1          { animation: fadeInUp 0.8s ease-out 0.4s both; }
.hero-divider     { animation: fadeInUp 0.8s ease-out 0.55s both; }
.hero-subtitle    { animation: fadeInUp 0.8s ease-out 0.7s both; }
.hero-tagline     { animation: fadeInUp 0.8s ease-out 0.85s both; }
.hero-buttons     { animation: fadeInUp 0.8s ease-out 1.0s both; }
.hero-stats       { animation: fadeInUp 0.8s ease-out 1.2s both; }

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 0;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.85) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-divider {
    width: 80px;
    height: 4px;
    margin: 20px auto 24px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--color-teal), var(--color-accent));
    position: relative;
    overflow: hidden;
}

.hero-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 16px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.hero-tagline {
    font-size: clamp(1rem, 2vw, 1.15rem);
    opacity: 0.7;
    margin-bottom: 40px;
    line-height: 1.9;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.btn-hero {
    padding: 18px 44px;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

.btn-outline {
    padding: 18px 44px;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--color-white);
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 28px 40px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-accent), #e8c47a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.6;
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeInUp 0.8s ease-out 1.6s both;
}

.hero-scroll-indicator span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

.hero-scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid rgba(255, 255, 255, 0.3);
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    transform: rotate(45deg);
    animation: bounce 2s ease-in-out infinite;
}

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

/* --- Buttons --- */
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    padding: 16px 40px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
    opacity: 0;
    transition: opacity 0.25s;
}

.btn:hover::after { opacity: 1; }

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-accent);
}

.btn:active { transform: translateY(-1px); }

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

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

.btn-full { width: 100%; }

/* --- Sections --- */
.section {
    padding: 110px 0;
    position: relative;
    overflow: hidden;
}

.section-alt {
    background: var(--color-off-white);
}

/* Section label (small text above title) */
.section-label {
    display: block;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-teal);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 2.8rem);
    font-weight: 700;
    color: var(--color-navy);
    text-align: center;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 24px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-teal), var(--color-accent));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--color-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 52px;
    line-height: 1.7;
}

/* --- About Section --- */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 56px;
    align-items: center;
    margin-top: 52px;
}

.about-image-placeholder {
    width: 100%;
    aspect-ratio: 4 / 5;
    background: linear-gradient(160deg, var(--color-gray-light) 0%, #dde1e6 100%);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray);
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.4s, box-shadow 0.4s;
}

.about-image-placeholder:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

.about-image-placeholder::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: 90px;
    height: 90px;
    border-top: 4px solid var(--color-teal);
    border-left: 4px solid var(--color-teal);
    border-radius: var(--radius-2xl) 0 0 0;
    transition: width 0.3s, height 0.3s;
}

.about-image-placeholder:hover::before {
    width: 110px;
    height: 110px;
}

.about-image-placeholder::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 90px;
    height: 90px;
    border-bottom: 4px solid var(--color-accent);
    border-right: 4px solid var(--color-accent);
    border-radius: 0 0 var(--radius-2xl) 0;
    transition: width 0.3s, height 0.3s;
}

.about-image-placeholder:hover::after {
    width: 110px;
    height: 110px;
}

.about-lead {
    font-size: 1.2rem !important;
    color: var(--color-navy) !important;
    font-weight: 500;
    line-height: 1.7 !important;
    border-left: 4px solid var(--color-teal);
    padding-left: 20px;
    margin-bottom: 20px !important;
}

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

.about-highlights {
    list-style: none;
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.about-highlights li {
    padding: 12px 12px 12px 40px;
    position: relative;
    font-weight: 500;
    color: var(--color-navy);
    background: var(--color-teal-light);
    border-radius: var(--radius);
    transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
    border-left: 3px solid transparent;
}

.about-highlights li:hover {
    transform: translateX(6px);
    background: var(--color-white);
    box-shadow: var(--shadow-md);
    border-left-color: var(--color-teal);
}

.about-highlights li::before {
    content: '\2713';
    position: absolute;
    left: 14px;
    color: var(--color-teal);
    font-weight: 700;
    font-size: 1.1rem;
}

/* --- CTA Banner --- */
.cta-banner {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy) 50%, var(--color-navy-light) 100%);
    text-align: center;
    overflow: hidden;
}

.cta-banner-overlay {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 50% 80% at 20% 50%, rgba(42, 122, 122, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 80% 50%, rgba(212, 168, 85, 0.1) 0%, transparent 60%);
}

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

.cta-banner h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 52px;
}

.service-card {
    background: var(--color-white);
    padding: 44px 32px 36px;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

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

/* Subtle background gradient on hover */
.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(42, 122, 122, 0.02) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.35s;
    z-index: 0;
}

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

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

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

.service-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 22px;
    background: var(--color-teal-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--color-teal);
    transition: background 0.35s, transform 0.35s, border-radius 0.35s, color 0.35s;
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--color-teal), var(--color-teal-dark));
    color: var(--color-white);
    transform: scale(1.1) rotate(-5deg);
    border-radius: 50%;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-navy);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.75;
    position: relative;
    z-index: 1;
}

.btn-service {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-accent), #c49a45);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 28px;
    border-radius: 50px;
    transition: transform 0.25s, box-shadow 0.25s;
    position: relative;
    z-index: 1;
}

.btn-service:hover {
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-accent);
}

/* --- Testimonials Section --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 52px;
}

.testimonial-card {
    background: var(--color-white);
    padding: 40px 28px 28px;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid transparent;
    border-image: linear-gradient(180deg, var(--color-teal), var(--color-accent)) 1;
    transition: transform 0.35s, box-shadow 0.35s;
    position: relative;
}

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

.testimonial-quote {
    font-size: 4.5rem;
    line-height: 1;
    background: linear-gradient(135deg, var(--color-teal), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.25;
    font-family: Georgia, serif;
    margin-bottom: -16px;
    user-select: none;
}

.testimonial-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 24px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 18px;
    border-top: 1px solid var(--color-gray-light);
}

.testimonial-author strong {
    color: var(--color-navy);
    font-size: 0.9rem;
}

.testimonial-author span {
    color: var(--color-teal);
    font-size: 0.8rem;
    font-weight: 500;
}

/* --- Credentials Section --- */
.credentials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 52px;
}

.credential-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s, box-shadow 0.35s;
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.credential-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-teal), var(--color-accent));
    transform: scaleX(0);
    transition: transform 0.35s;
}

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

.credential-card:hover::after {
    transform: scaleX(1);
}

.credential-badge {
    width: 68px;
    height: 68px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--color-teal-light), #d0eded);
    color: var(--color-teal);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    transition: transform 0.35s, border-radius 0.35s, background 0.35s;
}

.credential-card:hover .credential-badge {
    transform: scale(1.1) rotate(5deg);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-teal), var(--color-teal-dark));
    color: var(--color-white);
}

.credential-card h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-navy);
    margin-bottom: 8px;
}

.credential-card p {
    color: var(--color-gray);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* --- Contact Section --- */
.section-contact {
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-off-white) 100%);
}

.contact-cards {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-top: 52px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 28px 36px;
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.35s, box-shadow 0.35s;
    min-width: 260px;
    box-shadow: var(--shadow-sm);
}

.contact-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    font-size: 1.3rem;
    color: var(--color-white);
    min-width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-teal), var(--color-teal-dark));
    border-radius: 16px;
    box-shadow: var(--shadow-glow-teal);
    transition: border-radius 0.3s, transform 0.3s;
}

.contact-item:hover .contact-icon {
    border-radius: 50%;
    transform: scale(1.05);
}

.contact-item div strong {
    display: block;
    color: var(--color-navy);
    margin-bottom: 4px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item div a,
.contact-item div p {
    color: var(--color-text);
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

.contact-item div a:hover {
    color: var(--color-teal);
}

/* --- Footer --- */
.footer {
    background: var(--color-navy-dark);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 56px 0 32px;
    font-size: 0.85rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-teal), var(--color-accent), var(--color-teal));
}

.footer-logo {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.footer-logo:hover {
    color: var(--color-accent);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: var(--radius);
    transition: color 0.2s, background 0.2s;
}

.footer-links a:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.08);
}

.footer-divider {
    width: 60px;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 auto 20px;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 992px) {
    .credentials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }

    .navbar {
        height: 56px;
        --nav-height: 56px;
    }

    .nav-logo {
        font-size: 1.15rem;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 12px 20px;
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }

    .nav-links.nav-open {
        display: flex;
    }

    .nav-links li { width: 100%; }

    .nav-links a {
        color: var(--color-text) !important;
        padding: 10px 16px;
        display: block;
        width: 100%;
        font-size: 0.9rem;
    }

    .nav-links .nav-cta {
        text-align: center;
        margin-top: 4px;
        padding: 10px 16px !important;
    }

    .about-content { grid-template-columns: 1fr; gap: 32px; }
    .about-image-placeholder { max-width: 300px; margin: 0 auto; }
    .about-highlights { grid-template-columns: 1fr; }

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

    .contact-cards { flex-direction: column; align-items: center; }
    .contact-item { width: 100%; max-width: 360px; }

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

    .testimonial-card { border-left: none; border-top: 4px solid transparent; border-image: linear-gradient(90deg, var(--color-teal), var(--color-accent)) 1; }

    .section { padding: 80px 0; }

    .hero::after { display: none; }
    .hero-stats { gap: 20px; padding: 20px 24px; flex-wrap: wrap; }
    .hero-stat-number { font-size: 1.4rem; }
    .hero-stat-label { font-size: 0.65rem; }
    .hero-stat-divider { height: 30px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn-hero, .btn-outline { width: 100%; max-width: 280px; }
    .hero-scroll-indicator { display: none; }

    .cta-banner { padding: 60px 0; }

    .footer-links { gap: 4px; }
}

@media (max-width: 480px) {
    .credentials-grid { grid-template-columns: 1fr; }
    .section { padding: 64px 0; }
    .section-title { font-size: 1.8rem; }
}
