/* =============================================
   PHOENIX VENTURE - Light Theme Stylesheet
   Theme: Clean White + Orange Accent | Corporate Minimal
   ============================================= */

/* --- CSS Variables --- */
:root {
    --primary: #E8611A;
    --primary-light: #FF7A33;
    --primary-dark: #C24E10;
    --primary-glow: rgba(232, 97, 26, 0.2);
    --primary-bg: rgba(232, 97, 26, 0.06);
    --primary-bg-hover: rgba(232, 97, 26, 0.10);
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FC;
    --bg-alt: #F1F3F8;
    --bg-card: #FFFFFF;
    --text-primary: #1A1A2E;
    --text-secondary: #4A4A68;
    --text-muted: #8B8BA8;
    --border: rgba(0, 0, 0, 0.07);
    --border-hover: rgba(232, 97, 26, 0.35);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.08);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 12px 40px rgba(232, 97, 26, 0.12);
    --radius: 16px;
    --radius-sm: 8px;
    --radius-lg: 24px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: 0.25s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-white);
    color: var(--text-secondary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--primary);
    color: white;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

.section {
    padding: 100px 0;
    position: relative;
}

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

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

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Section Headers --- */
.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
    position: relative;
    padding-left: 40px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 28px;
    height: 2px;
    background: var(--primary);
    transform: translateY(-50%);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-cta {
    text-align: center;
    margin-top: 48px;
}

/* --- Preloader --- */
#preloader {
    position: fixed;
    inset: 0;
    background: #fff; /* match your site background */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    width: 180px; /* adjust to your logo size */
    animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.95); }
}
/* ...existing code... */
.whatsapp-icon {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s;
}

.whatsapp-icon:hover {
    transform: scale(1.1);
}
/* ...existing code... */
/* --- Navigation --- */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

/* Transparent nav over hero — white text */
#navbar:not(.scrolled) .logo-text {
    color: #FFFFFF;
}

#navbar:not(.scrolled) .nav-links a:not(.nav-cta) {
    color: rgba(255, 255, 255, 0.75);
}

#navbar:not(.scrolled) .nav-links a:not(.nav-cta):hover,
#navbar:not(.scrolled) .nav-links a.active-link:not(.nav-cta) {
    color: #FFFFFF;
}

#navbar:not(.scrolled) .hamburger span {
    background: #FFFFFF;
}

/* Scrolled — solid white bg */
#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    z-index: 101;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-fast);
}

#navbar.scrolled .logo-img {
    height: 42px;
}

/* Footer logo — brighten on dark background */
.footer .logo-img {
    height: 52px;
    filter: brightness(1.3);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.hamburger span {
    width: 26px;
    height: 3px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* --- Mobile Nav Overlay --- */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

body.menu-open {
    overflow: hidden;
}

@media (max-width: 900px) and (min-width: 769px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 72px;
        right: 0;
        left: 0;
        flex-direction: column;
        align-items: center;
        background: white;
        gap: 1rem;
        padding: 1.5rem;
        display: none;
        box-shadow: var(--shadow-md);
        border-radius: 0 0 var(--radius) var(--radius);
        z-index: 999;
    }

    .nav-links.nav-open {
        display: flex;
    }
}
/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 100px 0 0;
}

/* --- Background Media Layer --- */
.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* If video fails to load, this CSS background-image shows */
.hero-image-fallback {
    position: absolute;
    inset: 0;
    background:
        url('assets/images/hero-bg.jpg') center center / cover no-repeat;
    z-index: -1;
}

/* Dark overlay — gradient from left for text readability */
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(10, 10, 18, 0.88) 0%, rgba(10, 10, 18, 0.7) 45%, rgba(10, 10, 18, 0.4) 100%),
        linear-gradient(180deg, rgba(10, 10, 18, 0.3) 0%, rgba(10, 10, 18, 0.6) 100%);
    z-index: 1;
}

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

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-light);
    opacity: 0;
    animation: float-up linear infinite;
}

@keyframes float-up {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 0.35; }
    90% { opacity: 0.1; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* --- Hero Content Layout --- */
.hero-layout {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 48px;
    align-items: center;
    flex: 1;
    padding-bottom: 40px;
}

.hero-left {
    padding-right: 24px;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px 8px 14px;
    background: rgba(232, 97, 26, 0.12);
    border: 1px solid rgba(232, 97, 26, 0.25);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary-light);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-light);
    display: inline-block;
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

/* Title — white text on dark bg */
.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.18;
    margin-bottom: 24px;
}

.hero-typed-wrapper {
    display: inline;
    position: relative;
}

.hero-typed {
    color: var(--primary-light);
}

.typed-cursor {
    display: inline-block;
    color: var(--primary-light);
    font-weight: 300;
    animation: blink 0.8s step-end infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Subtitle */
.hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 520px;
    margin-bottom: 36px;
    line-height: 1.8;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-hero {
    padding: 15px 30px;
    font-size: 0.92rem;
}

.btn-hero-outline {
    background: transparent;
    color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.btn-hero-outline:hover {
    border-color: var(--primary-light);
    color: var(--primary-light);
    background: rgba(232, 97, 26, 0.08);
    transform: translateY(-3px);
}

/* Trust strip */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.trust-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.35);
    white-space: nowrap;
}

.trust-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.trust-tags span {
    font-size: 0.72rem;
    font-weight: 500;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition-fast);
    backdrop-filter: blur(4px);
}

.trust-tags span:hover {
    border-color: var(--primary-light);
    color: var(--primary-light);
    background: rgba(232, 97, 26, 0.1);
}

/* === Hero Right Visual === */
.hero-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    max-width: 480px;
    margin: 0 auto;
}

/* Central Emblem */
.hero-emblem {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
}

.emblem-ring {
    position: absolute;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.emblem-ring-1 {
    width: 280px;
    height: 280px;
    border: 1px solid rgba(232, 97, 26, 0.15);
    animation: ring-rotate 30s linear infinite;
}

.emblem-ring-2 {
    width: 380px;
    height: 380px;
    border: 1px dashed rgba(232, 97, 26, 0.1);
    animation: ring-rotate 45s linear infinite reverse;
}

.emblem-ring-3 {
    width: 460px;
    height: 460px;
    border: 1px solid rgba(232, 97, 26, 0.06);
    animation: ring-rotate 60s linear infinite;
}

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

.emblem-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 8px 32px rgba(232, 97, 26, 0.35),
        0 0 0 8px rgba(232, 97, 26, 0.1),
        0 0 0 16px rgba(232, 97, 26, 0.05);
    animation: emblem-float 4s ease-in-out infinite;
}

.emblem-core span {
    font-size: 2.8rem;
    font-weight: 900;
    color: white;
    font-family: 'Playfair Display', serif;
}

@keyframes emblem-float {
    0%, 100% { transform: translate(-50%, -50%) translateY(0px); }
    50% { transform: translate(-50%, -50%) translateY(-10px); }
}

/* Floating stat cards — glass morphism on dark bg */
.hero-float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 2;
    animation: card-float 5s ease-in-out infinite;
}

.hero-float-card .hfc-icon {
    width: 38px;
    height: 38px;
    background: rgba(232, 97, 26, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    flex-shrink: 0;
}

.hero-float-card strong {
    font-size: 1.3rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1;
}

.hero-float-card span {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
    display: block;
    margin-top: 2px;
}

.hfc-1 { top: 8%; right: 5%; animation-delay: 0s; }
.hfc-2 { bottom: 22%; left: -4%; animation-delay: 1.5s; }
.hfc-3 { bottom: 5%; right: 12%; animation-delay: 3s; }

@keyframes card-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* Orbiting small icons */
.hero-orbit-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    backdrop-filter: blur(8px);
    z-index: 2;
}

.hoi-1 { top: 20%; left: 8%; animation: orbit-bob 4s ease-in-out infinite; }
.hoi-2 { top: 5%; left: 40%; animation: orbit-bob 4.5s ease-in-out infinite 1s; }
.hoi-3 { bottom: 15%; right: 0%; animation: orbit-bob 5s ease-in-out infinite 0.5s; }

@keyframes orbit-bob {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-6px) scale(1.05); }
}

/* --- Hero Bottom Stats Bar --- */
/* --- Hero Scroll Down Indicator --- */
.hero-scroll-down {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    opacity: 0;
    animation: fadeInUp 1s ease 1.5s forwards;
}

.hero-scroll-down span {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.scroll-line-wrap {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1px;
    overflow: hidden;
    position: relative;
}

.scroll-line {
    width: 100%;
    height: 50%;
    background: var(--primary-light);
    border-radius: 1px;
    animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { transform: translateY(-100%); opacity: 0; }
    30% { opacity: 1; }
    100% { transform: translateY(150%); opacity: 0; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateX(-50%) translateY(16px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(232, 97, 26, 0.35);
}

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

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

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

/* --- Hero Stats --- */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat { text-align: center; }

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    display: inline;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* --- Scroll Indicator --- */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    animation: fade-bounce 2s ease-in-out infinite;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

@keyframes fade-bounce {
    0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.6; transform: translateX(-50%) translateY(-6px); }
}

.scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ============================
   PAGE HEADER (inner pages)
   ============================ */
.page-header {
    padding: 160px 0 80px;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232, 97, 26, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.page-header-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.15;
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.page-header-shape {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--bg-white);
    clip-path: ellipse(55% 100% at 50% 100%);
}

.section-alt + .section .page-header-shape,
.page-header + .section-alt .page-header-shape {
    background: var(--bg-light);
}

/* ============================
   HOME: Services Preview
   ============================ */
.services-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.sp-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.sp-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transition: var(--transition);
}

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

.sp-card:hover::after {
    width: 100%;
}

.sp-icon {
    width: 52px;
    height: 52px;
    background: var(--primary-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 16px;
    transition: var(--transition);
}

.sp-card:hover .sp-icon {
    background: var(--primary-bg-hover);
    transform: scale(1.05);
}

.sp-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.sp-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.sp-card-highlight {
    background: linear-gradient(135deg, rgba(232, 97, 26, 0.04), rgba(232, 97, 26, 0.01));
    border-color: rgba(232, 97, 26, 0.15);
}

/* ============================
   HOME: About Preview
   ============================ */
.home-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.home-about-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-visual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.av-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.av-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-hover);
}

.av-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 4px;
}

.av-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 8px;
}

.av-card svg {
    color: var(--primary);
    margin: 0 auto;
}

/* ============================
   VISION CARDS
   ============================ */
.vision-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.vision-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

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

.vision-icon {
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.vision-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.vision-card p {
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ============================
   CTA BANNER
   ============================ */
.cta-banner {
    background: linear-gradient(135deg, var(--text-primary) 0%, #2A2A45 100%);
    padding: 80px 0;
}

.cta-content {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: white;
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================
   ABOUT PAGE
   ============================ */
.about-main-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: start;
}

.about-main-content p {
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 18px;
}

.about-main-images .about-img {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.about-main-images .about-img img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    display: block;
}

.about-main-images .img-caption {
    position: absolute;
    left: 16px;
    bottom: 16px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 0.95rem;
}

.phil-image img {
    width: 100%;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

@media (max-width: 900px) {
    .about-main-images .about-img {
        min-height: 220px;
    }

    .phil-image {
        margin-top: 24px;
    }
}
/* ============================
   SERVICES PAGE
   ============================ */
.service-detail {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
    padding: 48px 0;
}

.service-detail-reverse {
    direction: rtl;
}

.service-detail-reverse > * {
    direction: ltr;
}

.sd-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-bg);
    line-height: 1;
    margin-bottom: 8px;
    font-family: 'Playfair Display', serif;
}

.sd-content p {
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 14px;
}

.sd-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.sd-tags span {
    font-size: 0.78rem;
    font-weight: 500;
    padding: 6px 14px;
    background: var(--primary-bg);
    border: 1px solid rgba(232, 97, 26, 0.12);
    border-radius: 50px;
    color: var(--primary);
}

.sd-visual {
    flex-shrink: 0;
}

.sd-icon-box {
    width: 160px;
    height: 160px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}

.service-detail:hover .sd-icon-box {
    background: var(--primary-bg);
    border-color: var(--border-hover);
    transform: scale(1.05) rotate(3deg);
}

.service-divider {
    height: 1px;
    background: var(--border);
    margin: 0;
}

/* ============================
   TRAINING PAGE
   ============================ */
.training-overview-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: start;
}

.training-overview-content p {
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 16px;
}

.to-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    text-align: center;
    margin-bottom: 24px;
}

.to-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.to-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.to-card p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.training-blockquote {
    padding: 24px;
    background: linear-gradient(135deg, rgba(232, 97, 26, 0.06), rgba(232, 97, 26, 0.02));
    border: 1px solid rgba(232, 97, 26, 0.12);
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
    font-style: italic;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.training-blockquote strong { color: var(--primary); }

/* Training Areas */
.training-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.ta-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.ta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, var(--primary), var(--primary-light));
    transition: var(--transition);
}

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

.ta-card:hover::before { height: 100%; }

.ta-number {
    font-size: 2rem;
    font-weight: 900;
    color: rgba(232, 97, 26, 0.1);
    position: absolute;
    top: 16px;
    right: 20px;
    font-family: 'Playfair Display', serif;
}

.ta-icon {
    color: var(--primary);
    margin-bottom: 16px;
}

.ta-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.ta-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.ta-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ta-list li {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding-left: 16px;
    position: relative;
}

.ta-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.4;
}

/* Advantages Grid */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.adv-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.adv-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-hover);
}

.adv-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 14px;
}

.adv-card h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.adv-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* For Whom Section */
.for-whom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.for-whom-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.for-whom-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.fw-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

.fw-item svg { color: var(--primary); flex-shrink: 0; }

.enroll-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.enroll-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.enroll-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.enroll-features {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.enroll-features span {
    font-size: 0.78rem;
    font-weight: 500;
    padding: 4px 12px;
    background: var(--primary-bg);
    border-radius: 50px;
    color: var(--primary);
}

/* ============================
   CONTACT PAGE
   ============================ */
.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: start;
}

.contact-info p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-bg);
    border: 1px solid rgba(232, 97, 26, 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.contact-item span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-4px);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: inherit;
    transition: var(--transition-fast);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    appearance: none;
    cursor: pointer;
    color: var(--text-muted);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238B8BA8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--bg-white);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
    background: var(--bg-white);
}

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

.contact-form .btn {
    margin-top: 8px;
}

/* Map Section */
.map-section {
    padding: 0;
}

.map-placeholder {
    width: 100%;
    height: 350px;
    background: var(--bg-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
}

.map-placeholder svg { opacity: 0.3; }

.map-placeholder span {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.5;
}

.map-placeholder p {
    font-size: 0.8rem;
    opacity: 0.4;
}

/* ============================
   FOOTER
   ============================ */
.footer {
    padding: 80px 0 0;
    background: var(--text-primary);
    color: rgba(255, 255, 255, 0.6);
}



.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
    font-size: 0.9rem;
    margin-top: 16px;
    max-width: 300px;
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

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

/* ============================
   BACK TO TOP
   ============================ */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 99;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(232, 97, 26, 0.35);
}

/* ============================
   ANIMATIONS
   ============================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered delays */
.services-preview-grid .sp-card:nth-child(1) { transition-delay: 0s; }
.services-preview-grid .sp-card:nth-child(2) { transition-delay: 0.08s; }
.services-preview-grid .sp-card:nth-child(3) { transition-delay: 0.16s; }
.services-preview-grid .sp-card:nth-child(4) { transition-delay: 0.24s; }
.services-preview-grid .sp-card:nth-child(5) { transition-delay: 0.32s; }
.services-preview-grid .sp-card:nth-child(6) { transition-delay: 0.40s; }
.services-preview-grid .sp-card:nth-child(7) { transition-delay: 0.48s; }

.training-areas-grid .ta-card:nth-child(1) { transition-delay: 0s; }
.training-areas-grid .ta-card:nth-child(2) { transition-delay: 0.08s; }
.training-areas-grid .ta-card:nth-child(3) { transition-delay: 0.16s; }
.training-areas-grid .ta-card:nth-child(4) { transition-delay: 0.24s; }
.training-areas-grid .ta-card:nth-child(5) { transition-delay: 0.32s; }
.training-areas-grid .ta-card:nth-child(6) { transition-delay: 0.40s; }

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

    .hero-left { padding-right: 0; }

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

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

    .hero-right { display: none; }

    .hero-subtitle { margin-left: auto; margin-right: auto; }

    .hero-overlay {
        background:
            linear-gradient(180deg, rgba(10, 10, 18, 0.8) 0%, rgba(10, 10, 18, 0.65) 50%, rgba(10, 10, 18, 0.8) 100%) !important;
    }

    .home-about-grid,
    .about-main-grid,
    .philosophy-grid,
    .training-overview-grid,
    .contact-page-grid,
    .for-whom-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .service-detail,
    .service-detail-reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .sd-visual { display: none; }

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

@media (max-width: 768px) {
    .section {
        padding: 72px 0;
    }

    .page-header {
        padding: 130px 0 60px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        gap: 24px;
        transition: var(--transition);
        border-left: 1px solid var(--border);
        box-shadow: -10px 0 30px rgba(0,0,0,0.05);
        display: flex;
        z-index: 999;
    }

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

    .hamburger {
        display: flex;
        z-index: 1000;
    }

    .vision-row {
        grid-template-columns: 1fr;
    }

    .training-areas-grid {
        grid-template-columns: 1fr;
    }

    .hero-scroll-down { bottom: 20px; }

    .scroll-line-wrap { height: 36px; }

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

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

    .hero-title {
        font-size: clamp(1.8rem, 7vw, 2.8rem);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper { padding: 28px; }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero-layout {
        padding: 0 16px;
    }

    .container { padding: 0 16px; }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        padding: 12px 28px;
        font-size: 0.9rem;
    }

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

    .trust-tags span {
        font-size: 0.68rem;
        padding: 4px 10px;
    }
}
