/* Variables */
:root {
    --bg-primary: #1e1b4b;
    /* Deep Indigo/Violet */
    --bg-primary-soft: #312e81;
    --bg-light: #f5f3ff;
    /* Very light violet background */
    --text-dark: #1e1b4b;
    --text-light: #FFFFFF;
    --text-gray: #6d6a7c;
    --accent-main: #7c3aed;
    /* Vibrant Violet */
    --accent-hover: #6d28d9;
    --accent-light: #a78bfa;
    --card-bg: #4c1d95;
    --font-primary: 'Inter', sans-serif;
    /* Neon Theme */
    --neon-blue: #00f0ff;
    --neon-glow: rgba(0, 240, 255, 0.5);
    --dark-bg: #0a0f1c;
    --card-bg-glass: rgba(255, 255, 255, 0.03);
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent-main);
    color: white;
    padding: 6px 16px;
}

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

.btn-dark {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-dark:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.btn-play {
    background-color: transparent;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
}

.btn-play .play-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--accent-main);
    color: white;
    font-size: 12px;
    padding-left: 2px;
    transition: transform 0.3s ease;
}

.btn-hero {
    background: linear-gradient(135deg, #7c3aed 0%, #d83a6f 100%);
    color: white;
    padding: 16px 36px;
    font-size: 16px;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3);
    text-transform: uppercase;
    min-width: 220px;
}

.btn-hero:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(216, 58, 111, 0.4);
    background: linear-gradient(135deg, #6d28d9 0%, #be2e5d 100%);
}

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

.btn-play:hover .play-icon {
    transform: scale(1.1);
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
}

.text-left {
    text-align: left;
}

.text-white {
    color: white;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    max-width: 1400px;
}

.nav-inner {
    background-color: rgba(35, 33, 95, 0.85);
    /* Dark capsule color */
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    /* Capsule shape */
    padding: 12px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.navbar .logo img {
    height: 35px;
    display: block;
    transform: scale(2.8) translateX(-10px);
    transform-origin: left center;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-size: 16px;
    font-weight: 600;
    color: white;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    opacity: 1;
}

.btn-nav-contact {
    background: #7c3aed;
    /* Purple as in image */
    color: white;
    padding: 10px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-nav-contact:hover {
    transform: scale(1.05);
    background: #6d28d9;
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.4);
}

.nav-mobile {
    display: none;
}

@media (max-width: 992px) {
    .nav-desktop {
        display: none;
    }
    .nav-mobile {
        display: block;
    }
    .btn-nav-contact {
        display: none;
    }
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: #23215f;
    /* Matched to animation background */
    color: white;
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 800px;
    display: flex;
    align-items: center;
}

.hero-container {
    position: relative;
    padding-bottom: 60px;
    min-height: 100px;
    display: flex;
    align-items: center;
    margin-left: 0;
    margin-right: auto;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    width: 140%;
    padding-bottom: 80px;
    padding-left: 200px;
    transition: all 0.3s ease;
}

.rating {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12px;
}

.rating .stars {
    color: var(--accent-light);
    letter-spacing: 2px;
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rating,
.hero h1,
.hero-subtitle,
.hero-actions,
.stats {
    opacity: 0;
    animation: fadeInLeft 0.8s ease-out forwards;
}

.rating {
    animation-delay: 0.1s;
}

.hero h1 {
    animation-delay: 0.3s;
}

.hero-subtitle {
    animation-delay: 0.5s;
}

.hero-actions {
    animation-delay: 0.7s;
}

.stats {
    animation-delay: 0.9s;
}

/* Tagline Section Styles */
.tagline-section {
    padding: 80px 0 20px;
    background-color: #fcfaff;
    text-align: center;
    position: relative;
    z-index: 5;
}

.tagline {
    font-size: 30px;
    font-weight: 600;
    color: #1e1b4b;
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.tagline .highlight {
    background: linear-gradient(135deg, #7c3aed 0%, #d83a6f 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.tagline .highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(124, 58, 237, 0.1);
    z-index: -1;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .tagline {
        font-size: 26px;
        padding: 0 10px;
    }

    .tagline-section {
        padding: 50px 0;
    }
}

/* Value Proposition Section (Redesigned) */
.value-prop {
    background-color: #ffffff;
    padding: 110px 0;
    /* Increased padding for staggered cards */
    position: relative;
    overflow: visible;
}

.value-prop-wrapper {
    position: relative;
    width: 100%;
}

.value-bg-bar {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; /* Changed from 110% to prevent overflow */
    max-width: 1450px;
    height: 260px;
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    border-radius: 30px;
    z-index: 1;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 2;
}

.value-card {
    background: #ffffff;
    padding: 60px 30px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
    /* Reduced spread and offset */
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
}

/* Alternating Up/Down Arrangement */
.value-card:nth-child(odd) {
    transform: translateY(-30px);
}

.value-card:nth-child(even) {
    transform: translateY(30px);
}

.value-card:nth-child(odd):hover {
    transform: translateY(-45px) scale(1.03);
    /* Slight 15px upward movement from base -30px */
}

.value-card:nth-child(even):hover {
    transform: translateY(15px) scale(1.03);
    /* Slight 15px upward movement from base 30px */
}

.value-card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.value-icon {
    font-size: 80px;
    color: var(--accent-main);
    margin-bottom: 35px;
    display: block;
    transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1);
}

.value-card h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.value-card p {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
    max-width: 220px;
    margin: 0 auto;
}

/* Responsive Value Prop */
@media (max-width: 1200px) {
    .value-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .value-prop {
        padding: 60px 0;
    }
    .value-card {
        padding: 30px 20px;
    }
    .value-icon {
        font-size: 50px;
        margin-bottom: 20px;
    }
    .value-card h3 {
        font-size: 22px;
    }
    .value-bg-bar {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .value-prop {
        padding: 40px 0;
    }
    .value-card {
        padding: 25px 15px;
    }
    .value-icon {
        font-size: 40px;
    }
}

@media (max-width: 500px) {
    .value-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .value-card {
        transform: none !important; /* Remove alternating offset on mobile */
    }
}


.hero h1 {
    font-size: 56px;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 40px;
    max-width: 480px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.stats {
    display: flex;
    gap: 60px;
    /* Adjusted gap to bring items closer */
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 10px;
    position: relative;
    z-index: 20;
}

.stat-item {
    flex: 0 1 auto;
    /* Stop items from stretching to fill the width */
}

.stat-item.divider-left {
    padding-left: 20px;
    /* Reduced padding */
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item h3 {
    font-size: 24px;
    display: inline-block;
}

.stat-item .suffix {
    display: inline-block;
    font-size: 24px;
}

.stat-item p {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 5px;
    line-height: 1.4;
}

.hero-image {
    position: absolute;
    right: 70px;
    /* Move slight left */
    top: 50%;
    transform: translateY(-50%);
    width: 60%;
    /* Reduced from 80% */
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
    pointer-events: none;
}

.image-wrapper {
    position: relative;
    width: 100%;
    /* Reduced from 180% to be more sane */
    z-index: 2;
    margin: 0 auto;
}

#hero-canvas {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(1.1) contrast(1.1);
    z-index: 5;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}



/* Hero scroll animation styles */
#hero-animation-container {
    perspective: 1000px;
}

.custom-shape-divider-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 10;
    /* Ensure it covers the bottom of the image */
    transform: rotate(180deg);
}

.custom-shape-divider-bottom svg {
    position: relative;
    display: block;
    width: 100%;
    height: 120px;
}

/* What We Do Section Overhaul */
.what-we-do {
    padding: 100px 0;
    background-color: white;
}

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

.section-title-alt {
    font-size: 42px;
    color: var(--bg-primary);
    margin-bottom: 15px;
}

.section-title-alt span {
    color: var(--accent-main);
}

.section-subtitle-alt {
    font-size: 16px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 350px;
    gap: 32px;
}

.bento-card {
    border-radius: 20px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateY(30px);
    background-color: #f8fafc;
    /* Default fallback */
}

/* Grounding gradient effect at the bottom */
.bento-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.1), transparent);
    z-index: 2;
    pointer-events: none;
}

.bento-card.animate {
    animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.bento-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.bento-card h3 {
    font-size: 21px;
    /* Restored size for layered look */
    font-weight: 700;
    line-height: 1.2;
    z-index: 5;
    /* Above everything */
    position: absolute;
    top: 24px;
    left: 24px;
    color: white;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    /* Legibility protection */
}

.card-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    /* No longer need negative margins as it fills the absolute area */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
}

/* Top-down protection gradient for the title */
.card-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), transparent);
    z-index: 2;
    pointer-events: none;
}

.bento-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    /* Image starts at the absolute top */
    z-index: 1;
    pointer-events: none;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: none;
    transform-origin: center center;
}

.bento-card:hover img {
    transform: scale(1.08);
    /* Premium zoom */
}

.bento-card.v-orange img {
    object-fit: cover;
    /* Forces width alignment to the card */
    object-position: center top;
    /* Prioritizes top visibility */
    transform: none;
}

.bento-card.v-orange:hover img {
    transform: scale(1.05);
    /* Standard zoom */
}

/* Color Themes */
.v-light {
    background-color: #7dd3fc;
    box-shadow: 0 10px 30px rgba(125, 211, 252, 0.2);
}

.v-red {
    background-color: #a855f7;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.2);
}

.v-green {
    background-color: #7c3aed;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.2);
}

.v-blue {
    background-color: #3b82f6;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.v-dark {
    background-color: #1e1b4b;
    box-shadow: 0 10px 30px rgba(30, 27, 75, 0.2);
}

.v-orange {
    background-color: #ec4899;
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 600px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 320px;
        gap: 20px;
    }

    .bento-card h3 {
        font-size: 18px;
    }
}

/* Steps Section */
.steps {
    padding: 80px 0 120px;
}

.steps-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.steps-content {
    flex: 1;
}

.steps-content h2 {
    margin-bottom: 40px;
    max-width: 400px;
}

.step-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step-item {
    display: flex;
    gap: 20px;
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30px;
}

.step-indicator .dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    transition: all 0.3s ease;
}

.step-item.active .step-indicator .dot {
    background-color: var(--bg-primary);
}

.step-indicator .line {
    width: 2px;
    height: 60px;
    background-color: #E5E7EB;
    margin: 5px 0;
}

.step-text {
    padding-bottom: 30px;
}

.step-text h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-gray);
    transition: color 0.3s ease;
}

.step-item.active .step-text h4 {
    color: var(--text-dark);
}

.step-text p {
    font-size: 14px;
    color: var(--text-gray);
    max-width: 350px;
}

.steps-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle-bg {
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--accent-main) 100%);
    position: relative;
    overflow: hidden;
}

.circle-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    bottom: -20px;
}

.float-stat {
    position: absolute;
    background: white;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: float 4s ease-in-out infinite;
}

.float-stat .val {
    font-weight: 700;
    font-size: 18px;
    color: var(--text-dark);
}

.float-stat .lbl {
    font-size: 12px;
    color: var(--text-gray);
}

.f-1 {
    top: 10%;
    right: 0;
    animation-delay: 0s;
}

.f-2 {
    top: 40%;
    right: -30px;
    animation-delay: 1s;
}

.f-3 {
    bottom: 30%;
    right: -10px;
    animation-delay: 2s;
}

.f-4 {
    bottom: 10%;
    right: 10%;
    animation-delay: 3s;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Popular Courses Section */
.popular-courses {
    background-color: var(--bg-primary);
    padding: 100px 0;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.course-card.dark-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    color: white;
    transition: all 0.3s ease;
}

.course-card.dark-card:hover,
.course-card.dark-card.active {
    background-color: var(--card-bg);
    transform: translateY(-5px);
}

.course-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
}

.course-card.dark-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.course-card.dark-card p {
    font-size: 14px;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 992px) {

    .hero-container,
    .steps-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        padding-bottom: 20px;
        padding-left: 0;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-subtitle {
        margin: 0 auto 30px;
    }

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

    .stats {
        justify-content: center;
    }

    .features-grid,
    .courses-grid {
        grid-template-columns: md;
        gap: 20px;
    }

    .steps-content h2 {
        margin: 0 auto 40px;
        text-align: center;
    }

    .step-item {
        text-align: left;
    }
}

@media (max-width: 768px) {

    .navbar .nav-links,
    .navbar .btn-primary {
        display: none;
    }

    .navbar .mobile-menu-btn {
        display: block;
    }

    .features-grid,
    .courses-grid {
        grid-template-columns: 1fr;
    }

    .circle-bg {
        width: 300px;
        height: 300px;
    }

    .f-2 {
        right: -10px;
    }

    .f-3 {
        right: 0;
    }
}

/* Responsive Adjustments for 993px */
@media (max-width: 993px) {
    .hero-container {
        flex-direction: column;
        min-height: auto;
        padding-top: 0;
        /* Minimal */
        padding-bottom: 20px;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-bottom: 0;
        padding-left: 0;
        /* Reset for mobile */
    }

    .hero h1 {
        font-size: 28px;
        /* Compact */
        margin-bottom: 5px;
        line-height: 1.1;
    }

    .hero-subtitle {
        max-width: 100%;
        margin-bottom: 5px;
        /* Minimal */
        font-size: 14px;
    }

    .hero-image {
        position: relative;
        right: 0;
        top: 0;
        transform: none;
        width: 100%;
        margin: 0;
        /* Zero gap */
    }

    .image-wrapper {
        width: 100%;
        max-width: 400px;
        /* Compact */
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
        margin-top: 5px;
        margin-bottom: 10px;
        /* Minimal */
        gap: 15px;
        flex-direction: column;
        align-items: center;
    }

    .btn-hero {
        width: 100%;
        max-width: 320px;
        min-width: 0;
        padding: 14px 24px;
        font-size: 15px;
    }

    .stats {
        justify-content: center;
        margin-top: 5px;
        /* Minimal gap */
        gap: 10px;
        /* Tight */
    }
}

/* Learning Programs Section Redesign (v3) - 3D Carousel */
.learning-programs {
    background-color: #f8f9fa;
    /* Lighter background like the image */
    padding: 100px 0 150px;
    /* Extra bottom padding for the pop-out */
}

.learning-programs .section-title {
    color: var(--bg-primary);
    text-align: left;
}

.btn-read-more {
    background: linear-gradient(135deg, #6b4c9a 0%, #d83a6f 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-read-more:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(216, 58, 111, 0.3);
}

.programs-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 40px 10px 60px;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.programs-carousel::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.program-card-v3 {
    min-width: 450px;
    height: 280px;
    border-radius: 20px;
    display: flex;
    padding: 40px;
    position: relative;
    color: white;
    transition: transform 0.4s ease;
    cursor: grab;
    flex-shrink: 0;
}

.program-card-v3:active {
    cursor: grabbing;
}

.program-card-v3.beginner {
    background-color: #233142;
}

.program-card-v3.intermediate {
    background: linear-gradient(135deg, #0093e9 0%, #004d7a 100%);
}

.program-card-v3.advanced {
    background-color: #455a64;
}

.card-content-v3 {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.rating-v3 {
    color: #ffc107;
    margin-bottom: 15px;
    font-size: 14px;
}

.card-title-v3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
}

.card-desc-v3 {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 250px;
}

.card-media-v3 {
    position: absolute;
    right: 30px;
    bottom: -40px;
    width: 180px;
    height: 240px;
    z-index: 1;
}

.card-media-v3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s ease;
}

.program-card-v3:hover .card-media-v3 img {
    transform: translateY(-10px) scale(1.05);
}

/* Mobile Adjustments for Carousel */
@media (max-width: 768px) {
    .program-card-v3 {
        min-width: 85vw;
        height: auto;
        flex-direction: column;
        padding: 30px;
    }

    .card-media-v3 {
        position: relative;
        right: 0;
        bottom: -20px;
        width: 100%;
        height: 200px;
        margin-top: 20px;
    }

    .card-desc-v3 {
        max-width: 100%;
    }
}

/* Highlight Statement update */
.highlight-statement {
    text-align: center;
    padding: 30px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 20px;
    border: 1px dashed rgba(0, 0, 0, 0.1);
    margin-top: 50px;
}

.highlight-statement p {
    font-size: 20px;
    font-style: italic;
    color: var(--bg-primary);
    line-height: 1.6;
    margin: 0;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 40px;
    border-radius: 24px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close-modal {
    position: absolute;
    right: 25px;
    top: 20px;
    color: #94a3b8;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-modal:hover {
    color: #1e293b;
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header h2 {
    font-size: 28px;
    color: #1e293b;
    margin-bottom: 10px;
}

.modal-header p {
    color: #64748b;
    font-size: 15px;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--bg-primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.btn-block {
    width: 100%;
    margin-top: 10px;
    padding: 14px;
    font-size: 16px;
}

/* Mobile Adjustments for Modal */
@media (max-width: 600px) {
    .modal-content {
        margin: 10% auto;
        padding: 30px 20px;
    }

    .modal-header h2 {
        font-size: 24px;
    }
}

/* 3 Core Pillars Section (Redesigned) */
.pillars-section {
    padding: 60px 0;
    background-color: #ffffff;
    color: #1e1b4b;
    position: relative;
    overflow: hidden;
    min-height: auto;
}

.pillars-container {
    display: flex;
    align-items: center;
    gap: 100px;
    position: relative;
    z-index: 2;
}

.pillars-left {
    flex: 1;
}

.pillars-heading {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 40px;
    line-height: 1.1;
    color: #1e1b4b;
}

.pillars-heading span {
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: none;
}

.pillar-item {
    margin-bottom: 25px;
}

.pillar-label {
    background: linear-gradient(135deg, #7c3aed 0%, #f43f5e 100%);
    color: white;
    padding: 12px 45px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 22px;
    display: inline-block;
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.3);
    margin-bottom: 20px;
}

.pillar-desc {
    font-size: 18px;
    color: #475569;
    line-height: 1.6;
    max-width: 500px;
}

.pillars-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.pillars-media-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: 600px;
}

.pillar-bg-card {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background-color: #1e1b4b;
    /* Dark Indigo */
    border-radius: 40px;
    z-index: 1;
    transform: rotate(5deg);
}

.pillar-main-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #7c3aed;
    /* Primary Purple */
    border-radius: 40px;
    z-index: 2;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.pillar-main-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive Pillars */
@media (max-width: 1024px) {
    .pillars-container {
        gap: 50px;
    }

    .pillars-heading {
        font-size: 42px;
    }
}

@media (max-width: 992px) {
    .pillars-section {
        padding: 80px 0;
    }

    .pillars-container {
        flex-direction: column;
        gap: 80px;
        text-align: center;
    }

    .pillars-left {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .pillar-desc {
        max-width: 100%;
    }

    .pillars-media-wrapper {
        height: 500px;
        max-width: 380px;
    }
}

@media (max-width: 480px) {
    .pillars-heading {
        font-size: 36px;
    }

    .pillar-label {
        font-size: 18px;
        padding: 10px 30px;
    }

    .pillars-right {
        padding: 25px;
        border-radius: 40px;
    }
}

.pillar-main-card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.pillar-img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pillar-img-card:hover img {
    transform: scale(1.1) rotate(1deg);
}

/* Background Decorative Elements */
.pillars-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
    z-index: 1;
}

/* Responsive Pillars */
@media (max-width: 992px) {
    .pillars-section {
        padding: 80px 0;
    }

    .pillars-container {
        flex-direction: column;
        gap: 60px;
    }

    .pillars-left {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .pillar-label-row {
        justify-content: center;
    }

    .pillar-desc {
        margin: 0 auto;
        padding-left: 0;
    }

    .pillars-heading {
        font-size: 32px;
    }

    .pillars-right {
        width: 100%;
        max-width: 550px;
    }
}

/* Ai Integrated Courses Section */
.ai-courses {
    background-color: var(--bg-primary);
    padding: 80px 0;
    color: white;
}

.ai-header {
    text-align: center;
    margin-bottom: 50px;
}

.ai-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.ai-header p {
    font-size: 16px;
    opacity: 0.8;
}

.ai-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.ai-card {
    background-color: #2e2a63;
    /* Darker than primary background */
    border-radius: 24px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ai-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.ai-card-img {
    width: 100%;
    aspect-ratio: 16 / 11;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
}

.ai-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ai-card:hover .ai-card-img img {
    transform: scale(1.1);
}

.ai-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 0 10px 10px;
}

.ai-mode {
    font-size: 13px;
    color: #a78bfa;
    /* Soft purple */
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
}

.ai-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.ai-card p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.7;
    margin-bottom: 25px;
    flex: 1;
}

.btn-enroll {
    background: linear-gradient(135deg, #7c3aed 0%, #d83a6f 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 85%;
    align-self: center;
}

.btn-enroll:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3);
}

/* Responsive Ai Courses */
@media (max-width: 992px) {
    .ai-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .ai-grid {
        grid-template-columns: 1fr;
    }

    .ai-header h2 {
        font-size: 28px;
    }
}

.hidden-card {
    display: none;
}

.ai-footer {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid var(--accent-main);
    padding: 14px 40px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary:hover {
    background-color: var(--accent-main);
    color: white;
    transform: translateY(-3px);
}

.btn-secondary i {
    transition: transform 0.3s ease;
}

.btn-secondary.active i {
    transform: rotate(180deg);
}

/* CTA Section */
.cta-section {
    background-color: var(--bg-primary);
    padding: 100px 0 0;
}

.cta-section .container {
    max-width: 1600px;
}

.cta-banner {
    background-color: #ffffff;
    border-radius: 30px;
    display: flex;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    max-width: 100%;
    z-index: 10;
    height: 340px;
    /* Forced height */
}

.cta-image {
    flex: 1;
    position: relative;
    height: 100%;
    background-color: #f8fafc;
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom;
    transform: scale(1.05);
    /* Slight scale up from contain to fill width better */
    transform-origin: bottom;
    display: block;
}

.cta-decorative-circles {
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    border: 1px solid rgba(30, 27, 75, 0.05);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.cta-decorative-circles::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    border: 1px solid rgba(30, 27, 75, 0.05);
    border-radius: 50%;
}

.cta-content {
    flex: 1.2;
    padding: 20px 40px;
    text-align: left;
    z-index: 2;
}

.cta-content h2 {
    font-size: 60px;
    font-weight: 800;
    color: #1e1b4b;
    margin-bottom: 20px;
    line-height: 1.1;
}

.cta-content h2 span {
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-cta {
    background: linear-gradient(135deg, #7c3aed 0%, #f472b6 100%);
    color: white;
    padding: 18px 80px;
    font-size: 30px;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.3);
}

.btn-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(124, 58, 237, 0.4);
}

/* Footer Section */
.footer {
    background-color: var(--bg-primary);
    padding: 20px 0 40px;
    color: white;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer .container {
    max-width: 1600px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 400px auto 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    margin-bottom: 0;
    transform: translate(-90px, 110px);
    /* Move logo left and down */
    opacity: 0.8;
    /* Slight transparency for overlap look */
}

.footer-logo img {
    height: 50px;
    display: block;
    transform: scale(5);
    transform-origin: bottom left;
}

.footer-desc {
    font-size: 18px;
    opacity: 0.8;
    line-height: 1.6;
    max-width: 320px;
    text-align: left;
    margin-top: 50px;
    /* Move text up to overlap */
    position: relative;
    z-index: 2;
}

.footer-column:last-child {
    text-align: right;
}

.footer-column h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    color: white;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 15px;
}

.footer-column ul li a {
    font-size: 18px;
    opacity: 0.6;
    transition: all 0.3s ease;
    color: white;
}

.footer-column ul li a:hover {
    opacity: 1;
    color: #a78bfa;
}



/* Responsive CTA & Footer */
@media (max-width: 992px) {
    .cta-banner {
        flex-direction: column;
        height: auto;
        padding: 40px 20px;
        text-align: center;
    }
    .cta-image {
        width: 100%;
        height: 250px;
        margin-bottom: 20px;
    }
    .cta-content {
        padding: 0;
        text-align: center;
        flex: none;
        width: 100%;
    }
    .cta-content h2 {
        font-size: 36px;
    }
    .btn-cta {
        padding: 14px 40px;
        font-size: 20px;
        width: 100%;
        max-width: 300px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .footer-logo {
        transform: none;
        display: flex;
        justify-content: center;
        margin-bottom: 30px;
    }
    .footer-logo img {
        transform: scale(2);
        transform-origin: center;
    }
    .footer-desc {
        max-width: 100%;
        margin: 20px auto 0;
        text-align: center;
    }
    .footer-column:last-child {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .cta-content h2 {
        font-size: 28px;
    }
    .footer-logo img {
        transform: scale(1.5);
    }
}

@media (max-width: 992px) {
    .cta-banner {
        flex-direction: column;
    }

    .cta-image {
        width: 100%;
        height: 300px;
    }

    .cta-content {
        text-align: center;
        padding: 60px 40px;
    }

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

    .footer-brand {
        grid-column: span 2;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
    }
}

@media (max-width: 600px) {
    .cta-content h2 {
        font-size: 32px;
    }

    .btn-cta {
        width: 100%;
        padding: 15px 30px;
        font-size: 18px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        grid-column: span 1;
    }
}

/* About Page Specific Styles - V2 */
.about-page {
    background-color: #ffffff;
    color: #333;
}

.about-page .navbar .nav-inner {
    background-color: rgba(30, 27, 75, 0.9);
}

.about-hero-v2 {
    background-color: #ffffff;
    padding: 150px 0 20px;
    overflow: hidden;
}

.about-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-title {
    font-size: 72px;
    font-weight: 800;
    color: #1e1b4b;
    margin-bottom: 20px;
    line-height: 1.1;
}

.about-title span {
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-subtitle {
    font-size: 24px;
    font-weight: 700;
    color: #1e1b4b;
    margin-bottom: 40px;
    font-family: 'Inter', sans-serif;
}

.about-description p {
    font-size: 18px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 30px;
    max-width: 600px;
}

.about-hero-image {
    max-width: 420px;
    margin-left: auto;
}

.about-hero-image .image-container {
    position: relative;
    padding: 40px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.image-bg-shape-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 140px;
    height: 240px;
    background-color: #7c3aed;
    border-radius: 30px;
    z-index: 1;
}

.image-bg-shape-bottom {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 280px;
    height: 320px;
    background-color: #7c3aed;
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 1;
}

.about-hero-image img {
    position: relative;
    z-index: 2;
    width: 100%;
    border-radius: 50px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    background-color: white;
    padding: 15px;
    object-fit: cover;
}

@media (max-width: 992px) {
    .about-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .about-title {
        font-size: 48px;
    }

    .about-description p {
        margin-left: auto;
        margin-right: auto;
    }

    .about-hero-image {
        margin: 0 auto;
        max-width: 100%;
        padding: 0 20px;
    }
}

@media (max-width: 576px) {
    .about-title {
        font-size: 36px;
    }
    .image-bg-shape-bottom {
        right: 0;
        width: 100%;
        height: 100%;
        max-width: 250px;
    }
}

/* What We Do Bento Grid Styles */
.about-title-small {
    font-size: 48px;
    font-weight: 800;
    color: #1e1b4b;
    margin-bottom: 50px;
}

.about-title-small span {
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.wwd-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(280px, auto);
    gap: 25px;
}

.wwd-card {
    padding: 35px;
    border-radius: 35px;
    color: white;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.wwd-icon-circle {
    width: 35px;
    height: 35px;
    background-color: white;
    border-radius: 50%;
    margin-bottom: 25px;
}

.wwd-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.wwd-card p {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.95;
}

/* Colors */
.wwd-blue {
    background-color: #2563eb;
}

.wwd-orange {
    background-color: #f59e0b;
}

.wwd-green {
    background-color: #10b981;
}

.wwd-purple {
    background-color: #8b5cf6;
}

.wwd-navy {
    background-color: #1e1b4b;
}

.wwd-red {
    background-color: #ef4444;
}

/* Spanning */
.wwd-tall {
    grid-row: span 2;
}

.wwd-wide {
    grid-column: span 2;
}

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

    .wwd-tall,
    .wwd-wide {
        grid-row: span 1;
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .wwd-grid {
        grid-template-columns: 1fr;
    }

    .about-title-small {
        font-size: 36px;
    }
}

.what-we-do {
    padding-top: 40px;
    padding-bottom: 20px;
}





.about-page .cta-banner {
    margin-top: 0;
    position: relative;
    top: 140px;
}

.about-page .cta-section {
    margin-top: 80px;
    padding-bottom: 220px;
}

/* Contact Page V2 Styles */
.contact-page-v2 {
    background-color: #e0d7ff;
    /* Light lavender */
}

.contact-hero-v2 {
    padding: 150px 0 100px;
}

.contact-title-v2 {
    font-size: 64px;
    font-weight: 800;
    color: #1e1b4b;
    text-align: center;
    margin-bottom: 60px;
}

.contact-title-v2 span {
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-grid-v2 {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

.contact-promo-card {
    background: #1e1b4b;
    border-radius: 35px;
    height: 550px;

    position: relative;
    overflow: hidden;

    display: flex;
    flex-direction: column;

    padding-top: 20px;
}

.promo-logo {
    display: flex;
    justify-content: center;
    z-index: 2;
    position: relative;
}

.promo-logo img {
    width: 250px;
    height: auto;
}

.promo-image {
    flex: 1;

    display: flex;
    justify-content: center;
    align-items: flex-end;

    position: relative;
}

.promo-image img {
    width: 175%;
    max-width: none;

    object-fit: contain;
    object-position: bottom center;

    transform: translateY(-60px);

    display: block;
}

.contact-form-container-v2 h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1e1b4b;
    margin-bottom: 30px;
}

.contact-actual-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group-v2 input,
.form-group-v2 textarea {
    width: 100%;
    padding: 22px 30px;
    border-radius: 20px;
    border: none;
    background-color: #f8fafc;
    font-size: 18px;
    color: #1e1b4b;
    font-family: inherit;
    outline: none;
    transition: box-shadow 0.3s ease;
}

.form-group-v2 input::placeholder,
.form-group-v2 textarea::placeholder {
    font-style: italic;
    color: #94a3b8;
}

.form-group-v2 input:focus,
.form-group-v2 textarea:focus {
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

.form-submit-v2 {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.btn-submit-v2 {
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    color: white;
    padding: 15px 60px;
    border-radius: 100px;
    font-size: 24px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(236, 72, 153, 0.3);
}

.btn-submit-v2:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

@media (max-width: 992px) {
    .contact-grid-v2 {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .contact-promo-card {
        height: 400px;
    }

    .contact-title-v2 {
        font-size: 48px;
    }
}
/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}

.reveal.active {
    opacity: 1;
    transform: translate(0, 0) scale(1);
    pointer-events: auto;
}

.reveal-up { transform: translateY(50px); }
.reveal-down { transform: translateY(-50px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-zoom { transform: scale(0.7); }

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
/* --- Global Responsiveness & Text Scaling --- */
.stats-container {
    position: absolute;
    bottom: 120px;
    left: 0;
    padding-left: 200px;
    z-index: 30;
}

@media (max-width: 1400px) {
    .hero-content {
        padding-left: 100px;
        width: 120%;
    }
    .stats-container {
        padding-left: 100px;
    }
}

@media (max-width: 1200px) {
    .hero-content {
        padding-left: 40px;
        width: 100%;
    }
    .stats-container {
        padding-left: 40px;
        bottom: 80px;
    }
    .hero-image {
        right: 0;
        width: 55%; /* Increased from 50% */
    }
    #hero-canvas {
        transform: scale(1.3); /* Added scale to make it "little big" */
        transform-origin: center right;
    }
    .hero h1 {
        font-size: 48px;
    }
    .tagline {
        font-size: 26px;
    }
}

@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        padding-top: 120px;
        padding-bottom: 50px;
        min-height: auto;
        position: relative;
    }
    .hero-container {
        padding-bottom: 0;
    }
    .hero-content {
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 20px;
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero h1 {
        font-size: 40px;
    }
    .hero-subtitle {
        font-size: 15px;
        margin: 0 auto 30px;
    }
    .hero-actions {
        justify-content: center;
        margin-bottom: 20px;
    }
    
    /* Stats under animation */
    .stats-container {
        position: relative;
        bottom: auto;
        left: auto;
        padding: 0 20px;
        margin-top: 20px;
        order: 3;
    }
    .stats {
        justify-content: center;
        gap: 30px;
    }
    .stat-item h3, .stat-item .suffix {
        font-size: 20px;
    }
    
    /* Hero Image (Animation) in between */
    .hero-image {
        position: relative;
        width: 100%;
        height: 450px;
        transform: none;
        right: auto;
        top: auto;
        margin-top: 0;
        order: 2;
        overflow: visible; /* Allow animation to overflow container if scaled */
    }
    .image-wrapper {
        width: 100%;
        overflow: visible;
    }
    #hero-canvas {
        transform: scale(2); /* Significantly increase the animation size */
        transform-origin: center center;
    }
    
    .tagline {
        font-size: 24px;
    }
    .ai-header h2 {
        font-size: 32px;
    }
    .value-card h3 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }
    .hero-image {
        height: 350px;
    }
    #hero-canvas {
        transform: scale(1.5); /* Reduce scale to fit better on tablets/small laptops */
    }
    .tagline {
        font-size: 22px;
    }
    .pillars-heading {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 30px;
    }
    .hero-subtitle {
        font-size: 14px;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .stat-item {
        text-align: center;
    }
    .stat-item.divider-left {
        border-left: none;
        padding-left: 0;
    }
    .tagline {
        font-size: 20px;
    }
    .ai-header h2 {
        font-size: 28px;
    }
    .hero-image {
        height: 250px;
    }
    #hero-canvas {
        transform: scale(1.2); /* Further reduce scale for small mobile */
    }
}
