/*
Theme Name: DolphX
Theme URI: https://dolphx.com
Author: DolphX Team
Author URI: https://dolphx.com
Description: A modern, feature-rich WordPress theme for DolphX - an AI-powered marketing and digital consultancy. Attract. Convert. Grow. Dominate.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dolphx
Tags: business, corporate, modern, responsive, custom-menu, featured-images, translation-ready
*/

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #060918;
    --bg-secondary: #0a0f2c;
    --bg-tertiary: #0d1333;
    --bg-card: rgba(15, 23, 60, 0.6);
    --bg-glass: rgba(15, 23, 60, 0.4);

    --blue-900: #1e3a5f;
    --blue-800: #1e40af;
    --blue-700: #1d4ed8;
    --blue-600: #2563eb;
    --blue-500: #3b82f6;
    --blue-400: #60a5fa;
    --blue-300: #93c5fd;
    --blue-200: #bfdbfe;
    --blue-100: #dbeafe;

    --cyan-500: #06b6d4;
    --cyan-400: #22d3ee;
    --cyan-300: #67e8f9;

    --white: #ffffff;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --gradient-main: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    --gradient-hero: linear-gradient(135deg, #060918 0%, #0d1333 40%, #1e3a5f 100%);
    --gradient-dark: linear-gradient(180deg, #060918 0%, #0a0f2c 100%);
    --gradient-card: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%);
    --gradient-glow: linear-gradient(135deg, rgba(37, 99, 235, 0.3) 0%, rgba(6, 182, 212, 0.1) 100%);
    --gradient-text: linear-gradient(135deg, #60a5fa 0%, #22d3ee 100%);
    --gradient-border: linear-gradient(135deg, rgba(37, 99, 235, 0.5), rgba(6, 182, 212, 0.5));

    --border-color: rgba(37, 99, 235, 0.15);
    --border-glow: rgba(37, 99, 235, 0.3);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.15);
    --shadow-glow-lg: 0 0 60px rgba(37, 99, 235, 0.2);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--white);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

a {
    text-decoration: none;
    color: var(--blue-400);
    transition: var(--transition);
}

a:hover {
    color: var(--cyan-400);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Gradient text utility */
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-wide {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--gradient-main);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--border-glow);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(37, 99, 235, 0.1);
    border-color: var(--blue-500);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: var(--blue-400);
    border: 1px solid transparent;
}

.btn-ghost:hover {
    background: rgba(37, 99, 235, 0.1);
    border-color: var(--border-glow);
    color: var(--cyan-400);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    background: transparent;
}

.site-header.scrolled {
    background: rgba(6, 9, 24, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 1001;
}

.site-logo a {
    color: var(--white);
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.03em;
}

.site-logo a:hover {
    color: var(--white);
}

.site-logo img {
    height: 38px;
    width: auto;
}

.site-logo .logo-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--gradient-main);
    border-radius: 50%;
    margin-left: 2px;
}

/* Navigation */
.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    transition: var(--transition);
    display: block;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    color: var(--white);
    background: rgba(37, 99, 235, 0.1);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-cta .btn {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-sm);
    padding: 0.5rem;
    cursor: pointer;
    color: var(--white);
    z-index: 1001;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
}

.menu-toggle svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-primary);
    overflow: hidden;
    padding: 8rem 0 6rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

#particles-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    max-width: 620px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--blue-400);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.hero-badge .badge-dot {
    width: 6px;
    height: 6px;
    background: var(--cyan-400);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

.hero-text h1 {
    font-size: clamp(2.75rem, 5vw, 4.5rem);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero-text h1 .highlight {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text > p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.hero-stat {
    text-align: left;
}

.hero-stat .stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    display: block;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.hero-stat .stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-orb {
    position: relative;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%,
        rgba(37, 99, 235, 0.2),
        rgba(6, 182, 212, 0.1),
        transparent 70%
    );
    border: 1px solid rgba(37, 99, 235, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
}

.hero-orb::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent, rgba(37, 99, 235, 0.3), transparent, rgba(6, 182, 212, 0.2), transparent);
    animation: rotate-glow 8s linear infinite;
    z-index: -1;
}

.hero-orb-inner {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 40%,
        rgba(37, 99, 235, 0.15),
        rgba(6, 182, 212, 0.08),
        transparent 70%
    );
    border: 1px solid rgba(37, 99, 235, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 4s ease-in-out infinite reverse;
}

.hero-orb-core {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient-main);
    box-shadow: 0 0 60px rgba(37, 99, 235, 0.4), 0 0 120px rgba(37, 99, 235, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-orb-core svg {
    width: 48px;
    height: 48px;
    stroke: var(--white);
    fill: none;
    stroke-width: 1.5;
}

/* Floating orbit dots */
.orbit-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--blue-500);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.5);
}

.orbit-dot:nth-child(1) {
    top: 10%;
    right: 15%;
    animation: orbit-float 5s ease-in-out infinite;
}

.orbit-dot:nth-child(2) {
    bottom: 20%;
    left: 10%;
    width: 6px;
    height: 6px;
    background: var(--cyan-400);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.5);
    animation: orbit-float 7s ease-in-out infinite reverse;
}

.orbit-dot:nth-child(3) {
    top: 50%;
    right: 5%;
    width: 8px;
    height: 8px;
    background: var(--blue-400);
    animation: orbit-float 6s ease-in-out infinite 1s;
}

/* ============================================
   SECTION COMMONS
   ============================================ */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--blue-400);
    margin-bottom: 1rem;
}

.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--gradient-main);
    border-radius: 2px;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header .section-label {
    justify-content: center;
}

.section-header h2 {
    margin-bottom: 1.25rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

/* ============================================
   PARTNERS / TRUSTED BY SECTION
   ============================================ */
.partners-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.partners-label {
    text-align: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 500;
}

.partners-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.partner-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.4;
    transition: var(--transition);
    white-space: nowrap;
    letter-spacing: -0.02em;
}

.partner-logo:hover {
    opacity: 0.8;
    color: var(--text-secondary);
}

/* ============================================
   ABOUT / WHY CHOOSE US SECTION
   ============================================ */
.about-section {
    padding: 7rem 0;
    background: var(--bg-primary);
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text .section-label {
    justify-content: flex-start;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text > p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.about-feature-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: var(--radius-sm);
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-feature-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--blue-400);
    fill: none;
    stroke-width: 2;
}

.about-feature-item h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.about-feature-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* About Stats Grid */
.about-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.about-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.about-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-main);
    opacity: 0;
    transition: var(--transition);
}

.about-stat-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.about-stat-card:hover::before {
    opacity: 1;
}

.about-stat-card .stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.about-stat-card .stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    padding: 7rem 0;
    background: var(--bg-secondary);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.service-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient-main);
    border-color: transparent;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
}

.service-icon svg,
.service-icon .dashicons {
    width: 24px;
    height: 24px;
    color: var(--blue-400);
    transition: var(--transition);
}

.service-card:hover .service-icon svg,
.service-card:hover .service-icon .dashicons {
    color: var(--white);
}

.service-card .service-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    opacity: 0.5;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-card .service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--blue-400);
    transition: var(--transition);
}

.service-card .service-link svg {
    width: 16px;
    height: 16px;
    transition: var(--transition);
}

.service-card:hover .service-link {
    color: var(--cyan-400);
}

.service-card:hover .service-link svg {
    transform: translateX(4px);
}

/* ============================================
   FEATURES / CAPABILITIES SECTION
   ============================================ */
.features-section {
    padding: 7rem 0;
    background: var(--bg-primary);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.feature-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.feature-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--gradient-main);
    border-color: transparent;
    box-shadow: 0 0 25px rgba(37, 99, 235, 0.3);
}

.feature-icon-wrapper svg {
    width: 28px;
    height: 28px;
    stroke: var(--blue-400);
    fill: none;
    stroke-width: 1.5;
    transition: var(--transition);
}

.feature-card:hover .feature-icon-wrapper svg {
    stroke: var(--white);
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ============================================
   IMPACT / STATS SECTION
   ============================================ */
.impact-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.impact-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.05) 0%, transparent 50%);
}

.impact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
}

.impact-text h2 {
    margin-bottom: 1.25rem;
}

.impact-text p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.impact-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.impact-stat {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.impact-stat:hover {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}

.impact-stat .stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.impact-stat .stat-suffix {
    font-size: 1.5rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.impact-stat .stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ============================================
   ACADEMY SECTION
   ============================================ */
.academy-section {
    padding: 7rem 0;
    background: var(--bg-primary);
    position: relative;
}

.academy-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.academy-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.academy-feature {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.academy-feature:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.academy-feature h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.academy-feature p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ============================================
   HEADQUARTERS SECTION
   ============================================ */
.headquarters-section {
    padding: 7rem 0;
    background: var(--bg-secondary);
}

.headquarters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.hq-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.hq-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.hq-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.hq-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.hq-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    padding: 7rem 0;
    background: var(--bg-primary);
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}

.testimonial-quote-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1.25rem;
    color: var(--blue-500);
    opacity: 0.5;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
}

.testimonial-author-info h4 {
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
    font-weight: 600;
}

.testimonial-author-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 1rem;
}

.testimonial-stars svg {
    width: 16px;
    height: 16px;
    fill: var(--blue-400);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
}

.cta-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -25%;
    width: 150%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-wrapper h2 {
    position: relative;
    margin-bottom: 1.25rem;
}

.cta-wrapper p {
    position: relative;
    font-size: 1.15rem;
    max-width: 560px;
    margin: 0 auto 2.5rem;
    color: var(--text-secondary);
}

.cta-wrapper .hero-buttons {
    position: relative;
    justify-content: center;
    margin-bottom: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand .site-logo {
    margin-bottom: 1.25rem;
}

.footer-brand > p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gradient-main);
    border-color: transparent;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
}

.footer-social a svg {
    width: 18px;
    height: 18px;
    fill: var(--text-muted);
    transition: var(--transition);
}

.footer-social a:hover svg {
    fill: var(--white);
}

.footer-widget h3 {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget ul li {
    margin-bottom: 0.6rem;
}

.footer-widget a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-widget a:hover {
    color: var(--blue-400);
    padding-left: 0;
}

.footer-newsletter {
    margin-top: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: rgba(37, 99, 235, 0.05);
    border: none;
    color: var(--text-primary);
    font-size: 0.85rem;
    outline: none;
}

.newsletter-form input::placeholder {
    color: var(--text-muted);
}

.newsletter-form button {
    padding: 0.75rem 1rem;
    background: var(--gradient-main);
    border: none;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-form button:hover {
    opacity: 0.9;
}

.newsletter-form button svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom-links a:hover {
    color: var(--blue-400);
}

/* ============================================
   BLOG / INDEX
   ============================================ */
.blog-section {
    padding: 7rem 0;
    background: var(--bg-primary);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.blog-card-image {
    height: 200px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.blog-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.blog-card h3 a {
    color: var(--white);
}

.blog-card h3 a:hover {
    color: var(--blue-400);
}

.blog-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
    padding: 1rem 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.breadcrumbs ol {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.85rem;
}

.breadcrumbs a {
    color: var(--text-muted);
}

.breadcrumbs a:hover {
    color: var(--blue-400);
}

/* Page template */
.page-hero {
    padding: 10rem 0 4rem;
    background: var(--bg-secondary);
    text-align: center;
}

.page-content {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.page-content .entry-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-content .entry-content p {
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

@keyframes rotate-glow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes orbit-float {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(10px, -15px); }
    50% { transform: translate(-5px, -25px); }
    75% { transform: translate(-15px, -10px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-text > p {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .impact-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .main-navigation {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(6, 9, 24, 0.98);
        backdrop-filter: blur(20px);
        z-index: 999;
        padding: 6rem 2rem 2rem;
        overflow-y: auto;
    }

    .main-navigation.active {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    .main-navigation a {
        font-size: 1.25rem;
        padding: 0.75rem 1.5rem;
    }

    .header-cta {
        display: none;
    }

    .hero-section {
        padding: 7rem 0 4rem;
        min-height: auto;
    }

    .hero-text h1 {
        font-size: 2.25rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .hero-stat {
        text-align: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .services-grid,
    .headquarters-grid,
    .academy-features,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .impact-stats {
        grid-template-columns: 1fr 1fr;
    }

    .cta-wrapper {
        padding: 3rem 2rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .partners-track {
        gap: 2rem;
    }

    .partner-logo {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-text h1 {
        font-size: 1.85rem;
    }

    .hero-badge {
        font-size: 0.7rem;
    }

    .about-stats-grid {
        grid-template-columns: 1fr;
    }

    .impact-stats {
        grid-template-columns: 1fr;
    }

    .services-section,
    .about-section,
    .features-section,
    .impact-section,
    .headquarters-section,
    .academy-section,
    .testimonials-section,
    .cta-section {
        padding: 4rem 0;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--blue-800);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--blue-600);
}

/* Selection color */
::selection {
    background: rgba(37, 99, 235, 0.3);
    color: var(--white);
}
