/* =====================================================
   ABOUT.CSS — Emerald Peak
   Imports shared design from home.css
   Adds About-page specific styles + 3D animations
   ===================================================== */

@import url('home.css');

.about-hero {
    position: relative;
    height: 100vh; 
    min-height: 800px;
    display: flex; 
    align-items: center; 
    justify-content: center;
    overflow: hidden;
    background: var(--dark);
}
/* Parallax crystal canvas bg */
.about-hero-canvas {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 40%, rgba(201,149,42,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 60%, rgba(201,149,42,0.07) 0%, transparent 60%),
        radial-gradient(ellipse 100% 100% at 50% 50%, rgba(106, 140, 124, 0.9) 0%, var(--dark) 100%);
    z-index: 0;
}

/* Floating orbs */
.hero-orb {
    position: absolute; border-radius: 50%;
    background: radial-gradient(circle, rgba(201,149,42,0.18) 0%, transparent 70%);
    animation: orbFloat 8s ease-in-out infinite;
    pointer-events: none;
}
.hero-orb:nth-child(1) { width: 500px; height: 500px; top: -100px; left: -100px; animation-delay: 0s; }
.hero-orb:nth-child(2) { width: 350px; height: 350px; bottom: -80px; right: -80px; animation-delay: -3s; }
.hero-orb:nth-child(3) { width: 200px; height: 200px; top: 30%; left: 60%; animation-delay: -5s; }

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(20px, -30px) scale(1.05); }
    66%       { transform: translate(-15px, 20px) scale(0.95); }
}

/* Particle dots */
.particles {
    position: absolute; inset: 0; overflow: hidden; z-index: 1;
}
.particle {
    position: absolute; width: 2px; height: 2px;
    background: var(--gold); border-radius: 50%;
    animation: particleRise linear infinite;
    opacity: 0;
}
@keyframes particleRise {
    0%   { transform: translateY(0) translateX(0);   opacity: 0; }
    10%  { opacity: 0.6; }
    90%  { opacity: 0.3; }
    100% { transform: translateY(-100vh) translateX(30px); opacity: 0; }
}

/* Hero content */
.about-hero-content {
    position: relative; 
    z-index: 2;
    text-align: center; 
    padding: 0 24px;
    max-width: 1200px; 
    width: 100%;
    margin: 0 auto; 
}
.about-hero-breadcrumb {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    margin-bottom: 28px;
    opacity: 0; animation: fadeUp 0.9s ease 0.2s forwards;
}
.about-hero-breadcrumb a { color: rgba(240,236,228,0.4); font-size: 0.7rem; letter-spacing: 3px; text-transform: uppercase; text-decoration: none; transition: 0.3s; }
.about-hero-breadcrumb a:hover { color: var(--gold); }
.about-hero-breadcrumb span { color: rgba(201,149,42,0.4); font-size: 0.65rem; }
.about-hero-breadcrumb .current { color: var(--gold); }

.about-hero-label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.85rem; letter-spacing: 6px; color: var(--gold);
    text-transform: uppercase; margin-bottom: 20px;
    opacity: 0; animation: fadeUp 0.9s ease 0.4s forwards;
}
.about-hero-content h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.8rem, 7vw, 6.5rem);
    letter-spacing: 0.12em; font-weight: 400; line-height: 1.05;
    opacity: 0; animation: fadeUp 0.9s ease 0.6s forwards;
}
.about-hero-content h1 em {
    font-style: italic; color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15em; font-weight: 300;
}
.about-hero-sub {
    font-size: 0.82rem; letter-spacing: 4px; color: rgba(240,236,228,0.5);
    text-transform: uppercase; margin-top: 22px;
    opacity: 0; animation: fadeUp 0.9s ease 0.8s forwards;
}
.about-hero-divider {
    display: flex; align-items: center; justify-content: center; gap: 16px;
    margin: 42px auto 0;
    opacity: 0; animation: fadeUp 0.9s ease 1s forwards;
}
.about-hero-divider::before,
.about-hero-divider::after {
    content: ''; display: block; width: 80px; height: 1px;
    background: linear-gradient(to right, transparent, var(--gold));
}
.about-hero-divider::after { background: linear-gradient(to left, transparent, var(--gold)); }
.about-hero-divider span { color: var(--gold); font-size: 0.8rem; letter-spacing: 2px; }

/* Scroll cue */
.scroll-cue {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    z-index: 3; opacity: 0; animation: fadeUp 0.9s ease 1.3s forwards;
}
.scroll-cue span { font-size: 0.62rem; letter-spacing: 4px; text-transform: uppercase; color: rgba(240,236,228,0.35); }
.scroll-cue-line {
    width: 1px; height: 50px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollLinePulse 2s ease-in-out infinite;
}
@keyframes scrollLinePulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50%       { opacity: 1;   transform: scaleY(1.2); transform-origin: top; }
}

/* ===== GEM IMAGE SECTION (replaces 3D gem) ===== */
.gem-3d-section {
    position: relative; z-index: 10;
    background: var(--dark-2);
    padding: 80px 6%;
    overflow: hidden;
}
.gem-3d-section::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.gem-3d-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}

/* Image scene container — force LEFT always */
.gem-scene {
    display: flex; align-items: center; justify-content: center;
    width: 100%;
    min-height: 460px;
    order: 2
}

/* Text side — force RIGHT always */
.gem-3d-text {
    order: 1
}

/* Hover zoom image wrapper */
.gem-img-wrap {
    position: relative;
    width: 100%;
    height: 460px;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid rgba(201,149,42,0.25);
    box-shadow:
        0 0 0 1px rgba(201,149,42,0.08),
        0 30px 60px rgba(0,0,0,0.5),
        0 0 60px rgba(201,149,42,0.08);
    
    transition: box-shadow 0.5s ease, border-color 0.5s ease;
}

.gem-img-wrap:hover {
    border-color: rgba(201,149,42,0.55);
    box-shadow:
        0 0 0 1px rgba(201,149,42,0.2),
        0 40px 80px rgba(0,0,0,0.6),
        0 0 80px rgba(201,149,42,0.18);
}

/* The actual image — zooms on hover */
.gem-hover-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transform: scale(1);
    transform-origin: center center;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.gem-img-wrap:hover .gem-hover-img {
    transform: scale(1);
}

/* Gold shimmer overlay on hover */
.gem-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(201,149,42,0.08) 0%,
        transparent 50%,
        rgba(201,149,42,0.05) 100%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    border-radius: 20px;
}

.gem-img-wrap:hover .gem-img-overlay {
    opacity: 1;
}

/* Subtle corner accent lines */
.gem-img-wrap::before,
.gem-img-wrap::after {
    content: '';
    position: absolute;
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.4s ease;
    opacity: 0;
}
.gem-img-wrap::before {
    top: 12px; left: 12px;
    width: 40px; height: 40px;
    border-top: 2px solid rgba(201,149,42,0.7);
    border-left: 2px solid rgba(201,149,42,0.7);
    border-radius: 4px 0 0 0;
}
.gem-img-wrap::after {
    bottom: 12px; right: 12px;
    width: 40px; height: 40px;
    border-bottom: 2px solid rgba(201,149,42,0.7);
    border-right: 2px solid rgba(201,149,42,0.7);
    border-radius: 0 0 4px 0;
}
.gem-img-wrap:hover::before,
.gem-img-wrap:hover::after {
    opacity: 1;
}

/* Text side */
.gem-3d-text { padding: 20px 0; }
.gem-3d-text h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: var(--white); margin: 16px 0 20px; line-height: 1.2;
}
.gem-3d-text h2 em {
    font-style: italic; color: var(--gold);
    font-family: 'Cormorant Garamond', serif; font-size: 1.15em;
}
.gem-3d-text p { color: var(--text-muted); line-height: 1.9; font-size: 0.96rem; margin-bottom: 18px; font-weight: 300; }
.gold-line-sm { width: 50px; height: 3px; background: var(--gold); margin-bottom: 28px; }

/* Milestone row */
.milestone-row {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 24px 32px;
    margin-top: 36px;
}
.milestone-item { text-align: center; }
.milestone-item .m-num {
    font-family: 'Cinzel', serif;
    font-size: 2.4rem; color: var(--gold); font-weight: 700;
    line-height: 1; display: block;
}
.milestone-item .m-label {
    font-size: 0.68rem; letter-spacing: 2px; text-transform: uppercase;
    color: var(--text-muted); margin-top: 4px; display: block;
}

/* ===== STORY TIMELINE ===== */
.story-section {
    position: relative; z-index: 10;
    background: var(--dark-3);
    padding: 80px 6%;
    overflow: hidden;
}
.story-section::after {
    
    position: absolute; bottom: -40px; right: -20px;
    font-family: 'Cinzel', serif; font-size: 10rem; font-weight: 700;
    color: rgba(201,149,42,0.03); letter-spacing: 20px; pointer-events: none;
    white-space: nowrap;
}
.story-header { text-align: center; margin-bottom: 90px; }
.story-header h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: var(--white); margin-top: 16px;
}
.story-header h2 em { font-style: italic; color: var(--gold); font-family: 'Cormorant Garamond', serif; font-size: 1.15em; }

/* Timeline */
.timeline {
    max-width: 900px; margin: 0 auto;
    position: relative;
}
.timeline::before {
    content: ''; position: absolute;
    left: 50%; top: 0; bottom: 0;
    width: 1px; background: linear-gradient(to bottom, transparent, var(--gold) 10%, var(--gold) 90%, transparent);
    transform: translateX(-50%);
}
.timeline-item {
    display: grid; grid-template-columns: 1fr 60px 1fr;
    gap: 0; margin-bottom: 60px; position: relative;
    align-items: center;
}
.timeline-item:last-child { margin-bottom: 0; }

/* Alternating left/right */
.timeline-item:nth-child(odd)  .tl-content { grid-column: 1; text-align: right; padding-right: 40px; }
.timeline-item:nth-child(odd)  .tl-spacer  { grid-column: 2; }
.timeline-item:nth-child(odd)  .tl-empty   { grid-column: 3; }
.timeline-item:nth-child(even) .tl-empty   { grid-column: 1; }
.timeline-item:nth-child(even) .tl-spacer  { grid-column: 2; }
.timeline-item:nth-child(even) .tl-content { grid-column: 3; text-align: left; padding-left: 40px; }

.tl-dot {
    grid-column: 2; grid-row: 1;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--dark-2);
    border: 2px solid var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; margin: 0 auto; z-index: 2; position: relative;
    box-shadow: 0 0 20px rgba(201,149,42,0.3);
    transition: 0.4s;
    flex-shrink: 0;
}
.tl-dot:hover,
.timeline-item:hover .tl-dot {
    background: var(--gold); transform: scale(1.15);
    box-shadow: 0 0 30px rgba(201,149,42,0.6);
}

.tl-year {
    font-family: 'Cinzel', serif; font-size: 0.75rem; letter-spacing: 2px;
    color: var(--gold); text-transform: uppercase; margin-bottom: 8px;
    display: block;
}
.tl-content h4 {
    font-family: 'Cinzel', serif; font-size: 1.05rem;
    color: var(--white); margin-bottom: 10px;
}
.tl-content p {
    color: var(--text-muted); font-size: 0.85rem; line-height: 1.8;
    font-weight: 300;
    text-align: justify
}
.tl-spacer { grid-column: 2; display: flex; align-items: center; justify-content: center; }
.tl-empty  { }

/* ===== VALUES / DNA ===== */
.values-section {
    position: relative; z-index: 10;
    background: var(--dark-2);
    padding: 80px 6%;
}
.values-header { text-align: center; margin-bottom: 80px; }
.values-header h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    color: var(--white); margin-top: 16px;
}
.values-header h2 em { font-style: italic; color: var(--gold); font-family: 'Cormorant Garamond', serif; font-size: 1.15em; }

.values-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.value-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 24px; padding: 44px 32px;
    text-align: center; position: relative; overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    transform-style: preserve-3d;
}
.value-card::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(201,149,42,0.06) 0%, transparent 50%);
    opacity: 0; transition: opacity 0.4s;
}
.value-card::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 3px; background: var(--gold);
    transform: scaleX(0); transform-origin: center;
    transition: transform 0.4s ease;
}
.value-card:hover {
    border-color: rgba(201,149,42,0.35);
    transform: translateY(-12px) rotateX(3deg);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4), 0 0 40px rgba(201,149,42,0.08);
}
.value-card:hover::before { opacity: 1; }
.value-card:hover::after  { transform: scaleX(1); }

.value-icon-wrap {
    width: 72px; height: 72px; margin: 0 auto 26px;
    border-radius: 20px; background: rgba(201,149,42,0.08);
    border: 1px solid rgba(201,149,42,0.18);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; transition: 0.4s;
    position: relative;
}
.value-icon-wrap::after {
    content: ''; position: absolute; inset: -3px;
    border-radius: 22px; border: 1px solid rgba(201,149,42,0.15);
    animation: iconPulse 3s ease-in-out infinite;
}
@keyframes iconPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50%       { opacity: 0;   transform: scale(1.15); }
}
.value-card:hover .value-icon-wrap { background: rgba(201,149,42,0.18); transform: scale(1.1) rotateY(10deg); }
.value-card h3 { font-family: 'Cinzel', serif; font-size: 1rem; color: var(--gold); margin-bottom: 14px; letter-spacing: 0.5px; }
.value-card p  { color: var(--text-muted); font-size: 0.86rem; line-height: 1.85; font-weight: 300; }

/* ===== TEAM / LEADERSHIP ===== */
.team-section {
    position: relative; z-index: 10;
    background: var(--dark);
    padding: 80px 6%;
    overflow: hidden;
}
.team-section::before {
    
    position: absolute; top: 60px; left: -30px;
    font-family: 'Cinzel', serif; font-size: 9rem; font-weight: 700;
    color: rgba(201,149,42,0.025); letter-spacing: 20px; pointer-events: none;
}
.team-header { text-align: center; margin-bottom: 80px; }
.team-header h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    color: var(--white); margin-top: 16px;
}
.team-header h2 em { font-style: italic; color: var(--gold); font-family: 'Cormorant Garamond', serif; font-size: 1.15em; }

.team-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.team-card {
    background: var(--dark-3);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 24px; overflow: hidden;
    transition: all 0.45s cubic-bezier(0.4,0,0.2,1);
    position: relative;
}
.team-card:hover {
    transform: translateY(-14px);
    border-color: rgba(201,149,42,0.3);
    box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(201,149,42,0.1);
}
.team-img-wrap {
    height: 280px; overflow: hidden; position: relative;
}
.team-img-wrap::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 60%; background: linear-gradient(to top, var(--dark-3), transparent);
}
.team-img-wrap img {
    width: 100%; height: 100%; object-fit: cover; object-position: top;
    transition: transform 0.6s ease;
    filter: grayscale(30%) saturate(0.8);
}
.team-card:hover .team-img-wrap img { transform: scale(1.06); filter: grayscale(0%) saturate(1); }

.team-body { padding: 28px; }
.team-role {
    font-size: 0.68rem; letter-spacing: 3px; text-transform: uppercase;
    color: var(--gold); margin-bottom: 8px;
}
.team-body h3 { font-family: 'Cinzel', serif; font-size: 1.1rem; color: var(--white); margin-bottom: 12px; }
.team-body p  { color: var(--text-muted); font-size: 0.83rem; line-height: 1.75; font-weight: 300; }
.team-divider { width: 30px; height: 2px; background: var(--gold); margin: 14px 0; }

/* ===== CERTIFICATIONS ===== */
.cert-section {
    position: relative; z-index: 10;
    background: var(--dark-3);
    padding: 80px 6%;
    overflow: hidden;
}
.cert-section::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 1px; background: linear-gradient(to right, transparent, rgba(201,149,42,0.3), transparent);
}
.cert-grid {
    max-width: 1200px; margin: 60px auto 0;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.cert-card {
    background: rgba(201,149,42,0.04);
    border: 1px solid rgba(201,149,42,0.15);
    border-radius: 18px; padding: 32px 24px; text-align: center;
    transition: 0.4s; position: relative; overflow: hidden;
}
.cert-card::before {
    content: ''; position: absolute; top: -30px; left: 50%; transform: translateX(-50%);
    width: 80px; height: 80px; border-radius: 50%;
    background: radial-gradient(circle, rgba(201,149,42,0.12), transparent);
    transition: 0.4s;
}
.cert-card:hover { background: rgba(201,149,42,0.09); border-color: rgba(201,149,42,0.35); transform: translateY(-8px); }
.cert-card:hover::before { top: -10px; width: 120px; height: 120px; }
.cert-icon { font-size: 2.2rem; margin-bottom: 14px; display: block; }
.cert-card h4 { font-family: 'Cinzel', serif; font-size: 0.85rem; color: var(--white); margin-bottom: 8px; letter-spacing: 0.5px; }
.cert-card p  { color: var(--text-muted); font-size: 0.78rem; line-height: 1.7; font-weight: 300; }

/* ===== GLOBAL REACH ===== */
.reach-section {
    position: relative; z-index: 10;
    background: var(--dark-2);
    padding: 80px 6%;
    overflow: hidden;
}
.reach-inner { max-width: 1200px; margin: 0 auto; }
.reach-header { text-align: center; margin-bottom: 80px; }
.reach-header h2 {
    font-family: 'Cinzel', serif; font-size: clamp(2rem, 3.5vw, 3.2rem);
    color: var(--white); margin-top: 16px;
}
.reach-header h2 em { font-style: italic; color: var(--gold); font-family: 'Cormorant Garamond', serif; font-size: 1.15em; }

/* ===== GLOBAL REACH - LEAFLET MAP ===== */
.world-map-wrap {
    position: relative;
    border: 1px solid rgba(201,149,42,0.28);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 32px;
    box-shadow: 0 0 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(201,149,42,0.06);
}

#reach-map {
    width: 100%;
    height: 480px;
    background: #e8e0d0;
    border-radius: 20px 20px 0 0;
}

/* Light warm-toned tile layer */
#reach-map .leaflet-tile {
    filter: sepia(0.35) saturate(0.85) brightness(1.05) contrast(0.95);
}

/* Leaflet zoom controls — gold theme */
#reach-map .leaflet-control-zoom a {
    background: rgba(6,15,9,0.92) !important;
    border-color: rgba(201,149,42,0.3) !important;
    color: #c9952a !important;
    font-weight: 600;
}
#reach-map .leaflet-control-zoom a:hover {
    background: rgba(201,149,42,0.15) !important;
    color: #f5d47a !important;
}
#reach-map .leaflet-control-zoom {
    border: 1px solid rgba(201,149,42,0.25) !important;
    border-radius: 8px !important;
    overflow: hidden;
}

/* Attribution */
#reach-map .leaflet-control-attribution {
    background: rgba(6,15,9,0.85) !important;
    color: rgba(240,236,228,0.3) !important;
    font-size: 0.6rem !important;
}
#reach-map .leaflet-control-attribution a {
    color: rgba(201,149,42,0.5) !important;
}

/* Custom gold pulse marker */
.gold-pulse-marker {
    position: relative;
    display: flex; align-items: center; justify-content: center;
}
.gold-pulse-marker .pulse-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(201,149,42,0.6);
    animation: markerPulse 2.2s ease-out infinite;
}
.gold-pulse-marker .pulse-dot {
    width: 12px; height: 12px; border-radius: 50%;
    background: #c9952a;
    box-shadow: 0 0 10px rgba(201,149,42,0.9);
    position: relative; z-index: 2;
}
.gold-pulse-marker.origin .pulse-dot {
    width: 16px; height: 16px;
    background: #f5d47a;
    box-shadow: 0 0 18px rgba(245,212,122,0.95);
}
@keyframes markerPulse {
    0%   { width: 12px; height: 12px; opacity: 0.9; transform: translate(-50%,-50%) scale(1); }
    100% { width: 44px; height: 44px; opacity: 0;   transform: translate(-50%,-50%) scale(1); }
}

/* Leaflet popup — gold theme */
.leaflet-popup-content-wrapper {
    background: rgba(8,20,12,0.97) !important;
    border: 1px solid rgba(201,149,42,0.4) !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6) !important;
    color: var(--white) !important;
}
.leaflet-popup-tip {
    background: rgba(8,20,12,0.97) !important;
}
.leaflet-popup-content {
    margin: 14px 18px !important;
}
.map-popup-label {
    font-family: 'Cinzel', serif;
    font-size: 0.72rem; letter-spacing: 2px;
    color: #c9952a; text-transform: uppercase;
    margin-bottom: 3px;
}
.map-popup-sub {
    font-size: 0.76rem; color: rgba(240,236,228,0.6);
    font-weight: 300;
}
.leaflet-popup-close-button {
    color: rgba(201,149,42,0.5) !important;
    font-size: 18px !important;
}
.leaflet-popup-close-button:hover {
    color: #c9952a !important;
}

.map-caption {
    text-align: center;
    padding: 16px 24px 18px;
    background: rgba(0,0,0,0.35);
    border-top: 1px solid rgba(201,149,42,0.12);
}
.map-caption h3 {
    font-family: 'Cinzel', serif;
    font-size: 1rem; color: var(--white);
    font-weight: 400; margin: 0 0 5px;
}
.map-caption p {
    font-size: 0.78rem; color: var(--text-muted); margin: 0;
}

/* ===== RESPONSIVE — MAP SECTION ===== */
@media (max-width: 768px) {
    #reach-map { height: 360px; }
}
@media (max-width: 480px) {
    #reach-map { height: 280px; }
    .world-map-wrap { border-radius: 14px; }
    .reach-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

.reach-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px;
}
.reach-stat {
    background: rgba(201,149,42,0.06);
    border: 1px solid rgba(201,149,42,0.15);
    border-radius: 16px; padding: 28px; text-align: center; transition: 0.3s;
}
.reach-stat:hover { background: rgba(201,149,42,0.12); transform: translateY(-6px); }
.reach-stat .r-num { font-family: 'Cinzel', serif; font-size: 2.4rem; color: var(--gold); font-weight: 700; line-height: 1; }
.reach-stat .r-lbl { font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); margin-top: 8px; }

/* ===== PROCESS STEPS ===== */
.process-section {
    position: relative; z-index: 10;
    background: var(--dark);
    padding: 80px 6%;
}
.process-header { text-align: center; margin-bottom: 80px; }
.process-header h2 {
    font-family: 'Cinzel', serif; font-size: clamp(2rem, 3.5vw, 3.2rem);
    color: var(--white); margin-top: 16px;
}
.process-header h2 em { font-style: italic; color: var(--gold); font-family: 'Cormorant Garamond', serif; font-size: 1.15em; }

.process-steps {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative;
}
.process-steps::before {
    content: ''; position: absolute; top: 36px; left: 10%; right: 10%; height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    z-index: 0;
}
.step-item {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 0 12px; position: relative; z-index: 1;
    transition: 0.3s;
}
.step-item:hover { transform: translateY(-8px); }
.step-num {
    width: 72px; height: 72px; border-radius: 50%;
    background: var(--dark-2); border: 2px solid var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Cinzel', serif; font-size: 1.4rem; color: var(--gold);
    margin-bottom: 22px; position: relative;
    box-shadow: 0 0 20px rgba(201,149,42,0.2);
    transition: 0.4s;
}
.step-item:hover .step-num { background: var(--gold); color: var(--dark); box-shadow: 0 0 30px rgba(201,149,42,0.5); }
.step-icon { font-size: 1.5rem; position: absolute; top: -16px; right: -8px; background: var(--dark-2); border-radius: 50%; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(201,149,42,0.2); font-size: 0.9rem; }
.step-item h4 { font-family: 'Cinzel', serif; font-size: 0.85rem; color: var(--white); margin-bottom: 10px; letter-spacing: 0.5px; }
.step-item p  { color: var(--text-muted); font-size: 0.78rem; line-height: 1.7; font-weight: 300; }

/* ===== MISSION / VISION SPLIT ===== */
.mv-section {
    position: relative; z-index: 10;
    background: var(--dark-3);
    padding: 80px 6%;
    overflow: hidden;
}
.mv-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
}
.mv-card {
    position: relative; overflow: hidden; border-radius: 28px;
    padding: 56px 50px; min-height: 420px;
    display: flex; flex-direction: column; justify-content: flex-end;
    transition: 0.4s;
}
.mv-card:hover { transform: translateY(-8px); }
.mv-card-bg {
    position: absolute; inset: 0; z-index: 0;
    transition: transform 0.6s ease;
}
.mv-card:hover .mv-card-bg { transform: scale(1.04); }
.mv-card.mission .mv-card-bg {
    background: linear-gradient(135deg, #0d2612 0%, #1a4425 100%);
}
.mv-card.vision .mv-card-bg {
    background: linear-gradient(135deg, #0f2e18 0%, #0d2612 100%);
}
.mv-card-img {
    position: absolute; inset: 0; z-index: 1;
    background-size: cover; background-position: center;
    opacity: 0.18; transition: opacity 0.4s;
}
.mv-card.mission .mv-card-img {
    background-image: url('images/mission.jpg');
}
.mv-card.vision .mv-card-img {
    background-image: url('images/vission.jpg');
}
.mv-card:hover .mv-card-img { opacity: 0.28; }
.mv-card-overlay {
    position: absolute; inset: 0; z-index: 2;
    background: linear-gradient(to top, rgba(8, 24, 13, 0.95) 0%, rgba(8, 24, 14, 0.4) 60%, transparent 100%);
}
.mv-card-content { position: relative; z-index: 3; }
.mv-card-tag {
    font-size: 0.68rem; letter-spacing: 4px; text-transform: uppercase;
    color: var(--gold); margin-bottom: 14px; display: block;
}
.mv-card h3 {
    font-family: 'Cinzel', serif; font-size: 2rem; color: var(--white);
    margin-bottom: 18px; line-height: 1.2;
}
.mv-card p { color: rgba(240,236,228,0.7); font-size: 0.9rem; line-height: 1.85; font-weight: 300; }
.mv-card-num {
    position: absolute; top: 40px; right: 44px; z-index: 3;
    font-family: 'Cinzel', serif; font-size: 5rem; color: rgba(201,149,42,0.1);
    font-weight: 700; line-height: 1;
}

/* Gold border accent */
.mv-card.mission { border: 1px solid rgba(201,149,42,0.15); }
.mv-card.vision  { border: 1px solid rgba(201,149,42,0.1); }
.mv-card:hover.mission { border-color: rgba(201,149,42,0.4); }
.mv-card:hover.vision  { border-color: rgba(201,149,42,0.3); }

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    position: relative; 
    z-index: 10;
    background: #060f09; /* var(--dark-2) fallback */
    padding: 80px 4%;
    overflow: hidden;
}

.testimonials-header { text-align: center; margin-bottom: 70px; }
.testimonials-header h2 {
    font-family: 'Cinzel', serif; 
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    color: #ffffff; 
    margin-top: 16px;
}
.testimonials-header h2 em { 
    font-style: italic; 
    color: #c9952a; 
    font-family: 'Cormorant Garamond', serif; 
    font-size: 1.15em; 
}

/* Slider layout adjustments */
.testimonials-slider-wrap {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
   
    padding: 0 50px; 
}

.testimonials-slider-inner {
    width: 100%;
    overflow: hidden; 
}

.testimonials-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.testimonial-slide {
    /* Desktop: 3 items */
    flex: 0 0 33.333%; 
    padding: 0 15px;
    box-sizing: border-box;
}

.slider-arrow {
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%);
    width: 46px; 
    height: 46px; 
    border-radius: 50%;
    background: rgba(6, 15, 9, 0.9);
    border: 1px solid rgba(201, 149, 42, 0.4);
    color: #c9952a;
    display: flex; 
    align-items: center; 
    justify-content: center;
    cursor: pointer; 
    z-index: 15;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background: #c9952a;
    color: #060f09;
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev { left: 0; }
.slider-arrow.next { right: 0; }

.slider-dots {
    display: flex; 
    justify-content: center; 
    gap: 10px;
    margin-top: 40px;
}

.slider-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(201, 149, 42, 0.2);
    border: 1px solid rgba(201, 149, 42, 0.3);
    cursor: pointer; 
    transition: 0.3s;
}

.slider-dot.active {
    background: #c9952a;
    transform: scale(1.3);
}

/* --- Responsive Breakpoints --- */
@media (max-width: 992px) {
    .testimonial-slide { flex: 0 0 50%; } /* Tablet: 2 items */
}

@media (max-width: 650px) {
    .testimonials-slider-wrap { padding: 0 40px; }
    .testimonial-slide { flex: 0 0 100%; } /* Mobile: 1 item */
    .slider-arrow { width: 38px; height: 38px; }
    .slider-arrow.prev { left: -5px; }
    .slider-arrow.next { right: -5px; }
}

/* Card Styling remains same */
.testimonial-card {
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 22px; 
    padding: 40px 32px;
    position: relative; 
    transition: 0.4s;
    height: 100%;
}

.testimonial-card:hover {
    border-color: rgba(201,149,42,0.3); 
    transform: translateY(-10px);
    background: rgba(201,149,42,0.04);
}

.testimonial-quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem; 
    color: rgba(201,149,42,0.2); 
    line-height: 0.6;
    margin-bottom: 20px; 
    display: block;
}

.testimonial-card blockquote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem; 
    color: rgba(240,236,228,0.8);
    line-height: 1.8; 
    font-style: italic; 
    margin-bottom: 28px;
}

.testimonial-stars { color: #c9952a; font-size: 0.85rem; letter-spacing: 3px; margin-bottom: 18px; }
.author-name { font-family: 'Cinzel', serif; font-size: 0.82rem; color: #ffffff; letter-spacing: 1px; }
.author-loc  { font-size: 0.72rem; color: #a0a0a0; margin-top: 2px; }
/* ===== CTA STRIP ===== */
.cta-strip {
    position: relative; z-index: 10;
    background: linear-gradient(135deg, #0d2611 0%, #0f2e1a 100%);
    padding: 90px 6%; text-align: center; overflow: hidden;
}
.cta-strip::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 100% at 30% 50%, rgba(201,149,42,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 100% at 70% 50%, rgba(201,149,42,0.05) 0%, transparent 60%);
}
.cta-strip-inner { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.cta-strip h2 {
    font-family: 'Cinzel', serif; font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: var(--white); margin-bottom: 16px;
}
.cta-strip h2 em { font-style: italic; color: var(--gold); font-family: 'Cormorant Garamond', serif; font-size: 1.15em; }
.cta-strip p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; margin-bottom: 40px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
    padding: 16px 40px; background: var(--gold); color: var(--dark);
    font-family: 'Cinzel', serif; font-size: 0.78rem; letter-spacing: 2px;
    text-transform: uppercase; text-decoration: none; border-radius: 3px;
    transition: 0.3s; font-weight: 600;
    box-shadow: 0 10px 30px rgba(201,149,42,0.3);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(201,149,42,0.4); }
.btn-outline {
    padding: 16px 40px; border: 1px solid rgba(201,149,42,0.5); color: var(--gold);
    font-family: 'Cinzel', serif; font-size: 0.78rem; letter-spacing: 2px;
    text-transform: uppercase; text-decoration: none; border-radius: 3px;
    transition: 0.3s;
}
.btn-outline:hover { background: rgba(201,149,42,0.08); border-color: var(--gold); transform: translateY(-3px); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .gem-3d-grid, .mv-grid { grid-template-columns: 1fr; gap: 60px; }
    .values-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
    .cert-grid { grid-template-columns: repeat(2, 1fr); }
    .reach-stats { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: repeat(3, 1fr); gap: 30px; }
    .process-steps::before { display: none; }
    .testimonials-grid { grid-template-columns: 1fr; max-width: 500px; }
    .gem-3d-grid { grid-template-columns: 1fr; gap: 40px; }
    .gem-scene { min-height: 360px; width: 100%; }
    .gem-img-wrap { width: 100%; height: 360px; }

    /* ===== TIMELINE MOBILE FIX ===== */
    .timeline::before {
        left: 24px;
        top: 0; bottom: 0;
        transform: none;
    }

    .timeline-item {
        display: grid;
        grid-template-columns: 56px 1fr;
        grid-template-rows: auto;
        gap: 0;
        margin-bottom: 50px;
        align-items: start;
    }

    /* Icon (dot) always column 1, row 1 */
    .timeline-item:nth-child(odd)  .tl-spacer,
    .timeline-item:nth-child(even) .tl-spacer {
        grid-column: 1;
        grid-row: 1;
        justify-content: flex-start;
        align-items: flex-start;
    }

    /* Content always column 2, row 1 */
    .timeline-item:nth-child(odd)  .tl-content,
    .timeline-item:nth-child(even) .tl-content {
        grid-column: 2;
        grid-row: 1;
        text-align: left;
        padding-left: 24px;
        padding-right: 0;
    }

    /* Hide empty spacer div completely */
    .timeline-item:nth-child(odd)  .tl-empty,
    .timeline-item:nth-child(even) .tl-empty {
        display: none;
    }

    .tl-dot {
        margin: 0;
        margin-top: 4px;
        flex-shrink: 0;
    }
}
@media (max-width: 768px) {
    .values-grid, .team-grid, .cert-grid, .process-steps { grid-template-columns: 1fr; }
    .reach-stats { grid-template-columns: 1fr 1fr; }
    .mv-grid { grid-template-columns: 1fr; }
    .about-hero-content h1 { letter-spacing: 0.08em; }
    .milestone-row { gap: 20px; }
    .step-item { padding: 0 6px; }
    .gem-scene { height: 320px; }
    .gem-img-wrap { height: 280px; }
}
@media (max-width: 600px) {
    .reach-stats { grid-template-columns: 1fr 1fr; }
    .cta-btns { flex-direction: column; align-items: center; }
    .btn-primary, .btn-outline { width: 100%; max-width: 280px; text-align: center; }
    .gem-img-wrap { width: 100%; height: 240px; }
}


/* ===== OUR STORY TIMELINE — GEM TEXTURE BACKGROUND ===== */
.story-section {
    position: relative; z-index: 10;
    background: var(--dark-3);
    padding: 80px 6%;
    overflow: hidden;
}

/* Replace the empty ::after with gem texture using ::before */
.story-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        /* Gold shimmer diagonal sweep */
        linear-gradient(135deg,
            rgba(201,149,42,0.06) 0%,
            transparent 40%,
            rgba(201,149,42,0.04) 70%,
            transparent 100%
        );
    z-index: 0;
    pointer-events: none;
}

/* SVG gem facet pattern via background-image */
.story-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("images/background.jpg");
    background-size: 2500px 2000px;
    background-repeat: repeat;
    opacity: 1;
    z-index: 0;
    pointer-events: none;
    animation: gemShimmer 8s ease-in-out infinite;
}

@keyframes gemShimmer {
    0%, 100% { opacity: 0.7; }
    50%       { opacity: 1; }
}

/* Make sure all children sit above the texture */
.story-section > * {
    position: relative;
    z-index: 1;
}