/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Color Palette - Adapted for The Pulse Digital Hub */
    --primary: #9919FC;
    --primary-hover: #7e0cd7;
    --primary-rgb: 153, 25, 252;
    --secondary: #8AE201;
    --secondary-hover: #71ba00;
    --dark-bg: #0a0612;
    --dark-card: #150d24;
    --light-bg: #faf7ff;
    --white: #ffffff;
    --body-color: #5d606b;
    --title-color: #0f1016;
    --border-color: #e6e5f0;
    --shadow-sm: 0 2px 8px rgba(153, 25, 252, 0.05);
    --shadow-md: 0 10px 30px rgba(153, 25, 252, 0.08);
    --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.12);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transition speeds */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ==========================================================================
   GLOBAL RESET & BASIC STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--body-color);
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--title-color);
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

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

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

.section-padding {
    padding: 90px 0;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ==========================================================================
   BUTTONS & FORMS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 30px;
    /* More modern rounded look */
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    font-size: 0.95rem;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(153, 25, 252, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(153, 25, 252, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--dark-bg);
    transform: translateY(-2px);
}

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

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(153, 25, 252, 0.3);
}

.btn-secondary-brand {
    background-color: var(--secondary);
    color: #111;
    box-shadow: 0 4px 14px rgba(138, 226, 1, 0.3);
}

.btn-secondary-brand:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 226, 1, 0.4);
}

.btn-block {
    width: 100%;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--title-color);
    background-color: var(--white);
    outline: none;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(153, 25, 252, 0.15);
}

.form-feedback {
    margin-top: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    min-height: 20px;
}

.form-feedback.success {
    color: #10b981;
}

.form-feedback.error {
    color: #ef4444;
}

/* ==========================================================================
   SCROLL TO TOP BUTTON
   ========================================================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-normal);
    z-index: 999;
}

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

.scroll-to-top:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
}

/* ==========================================================================
   TOP BAR (Custom styling for community links)
   ========================================================================== */
.top-bar {
    background-color: var(--dark-bg);
    color: #a0aec0;
    font-size: 0.85rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-info span {
    margin-right: 20px;
}

.top-bar-info i {
    color: var(--secondary);
    margin-right: 6px;
}

.top-bar-socials a {
    margin-left: 14px;
    color: #a0aec0;
}

.top-bar-socials a:hover {
    color: var(--white);
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.main-header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-img-wrapper {
    display: flex;
    align-items: center;
    height: 100%;
}


.logo-img {
    height: 80px;
    width: auto;
    /* border-radius: 8px; */
    /* box-shadow: 0 4px 10px rgba(153, 25, 252, 0.15); */
    margin-left: -18px;
}


.nav-menu ul {
    display: flex;
    align-items: center;
}

.nav-menu a {
    padding: 10px 18px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--title-color);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 3px;
    background-color: var(--primary);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.nav-menu a.active::after,
.nav-menu a:hover::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--title-color);
    cursor: pointer;
    margin-left: 15px;
}

/* ==========================================================================
   HERO SECTION (Vibrant tech styling)
   ========================================================================== */
.hero {
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(138, 226, 1, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(153, 25, 252, 0.25) 0%, transparent 60%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--primary);
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 12px;
}

.hero-content .section-subtitle {
    color: var(--secondary);
    background-color: rgba(138, 226, 1, 0.1);
    padding: 6px 14px;
    border-radius: 30px;
    border: 1px solid rgba(138, 226, 1, 0.3);
}

.hero-title {
    font-size: 3.8rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.15;
    font-weight: 800;
}

.hero-description {
    font-size: 1.15rem;
    color: #cbd5e1;
    margin-bottom: 35px;
    max-width: 600px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Appointment Form Card / Quick signup form */
.appointment-card {
    background-color: var(--white);
    color: var(--title-color);
    padding: 35px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(153, 25, 252, 0.1);
}

.appointment-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    text-align: center;
}

.appointment-card p {
    font-size: 0.9rem;
    color: var(--body-color);
    text-align: center;
    margin-bottom: 24px;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.main-about-img {
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    width: 100%;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--primary);
    color: var(--white);
    padding: 24px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(153, 25, 252, 0.4);
    animation: floatAnimation 4s ease-in-out infinite;
}

.exp-years {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.exp-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
    margin-top: 4px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.about-description {
    font-size: 1.05rem;
    margin-bottom: 30px;
    line-height: 1.7;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 35px;
}

.about-feature-item {
    display: flex;
    gap: 16px;
}

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background-color: rgba(153, 25, 252, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature-text h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.feature-text p {
    font-size: 0.95rem;
}

/* Stat pills under About section */
.about-stat-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.stat-pill {
    background-color: rgba(153, 25, 252, 0.05);
    border: 1px solid rgba(153, 25, 252, 0.1);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 18px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.stat-pill i {
    color: var(--secondary);
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.section-header {
    margin-bottom: 60px;
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(153, 25, 252, 0.3);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background-color: rgba(153, 25, 252, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 24px;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    background-color: var(--primary);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 14px;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-topics {
    font-size: 0.8rem;
    background-color: var(--light-bg);
    padding: 10px 14px;
    border-radius: 8px;
    margin-top: 10px;
    border: 1px solid var(--border-color);
}

.service-topics strong {
    color: var(--primary);
}

.read-more {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}

.read-more i {
    transition: transform 0.2s ease;
}

.read-more:hover i {
    transform: translateX(4px);
}

/* ==========================================================================
   STATISTICS BANNER
   ========================================================================== */
.stats-banner {
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    color: var(--white);
    position: relative;
}

.stats-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 6, 18, 0.9);
}

.stats-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 items instead of 4 */
    text-align: center;
    gap: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary);
}

.stat-label {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-top: 8px;
    font-weight: 600;
}

/* ==========================================================================
   ACADEMY PROGRAMMES & PRICING
   ========================================================================== */
.academy {
    background-color: #F2F1F3;
}

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

.programme-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.programme-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(153, 25, 252, 0.2);
}

.programme-card.featured {
    border: 2px solid var(--primary);
    box-shadow: 0 10px 30px rgba(153, 25, 252, 0.08);
}

.badge-featured {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--secondary);
    color: #111;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 30px;
    letter-spacing: 0.5px;
}

.programme-card h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.programme-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.programme-details-list {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.programme-details-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.programme-details-list li i {
    color: var(--primary);
    font-size: 1rem;
}

.programme-meta {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--body-color);
}

.programme-meta span i {
    color: var(--primary);
    margin-right: 6px;
}

/* Pricing Grid */
.pricing-section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 850px;
    margin: 0 auto;
}

.pricing-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

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

.pricing-card.popular {
    border: 2px solid var(--primary);
    position: relative;
}

.pricing-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.pricing-price {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 24px;
}

.pricing-features {
    text-align: left;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.pricing-features li i {
    color: var(--secondary);
}

/* ==========================================================================
   TEAM SECTION (Tutors)
   ========================================================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-card {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition-normal);
    border: 1px solid var(--border-color);
}

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

.team-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.team-socials {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--white);
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    gap: 14px;
    box-shadow: var(--shadow-md);
    transition: bottom var(--transition-normal);
}

.team-card:hover .team-socials {
    bottom: 20px;
}

.team-card:hover .team-img-wrapper img {
    transform: scale(1.05);
}

.team-socials a {
    color: var(--body-color);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.team-socials a:hover {
    background-color: var(--primary);
    color: var(--white);
}

.team-info {
    padding: 24px;
}

.team-info h3 {
    font-size: 1.25rem;
    margin-bottom: 6px;
}

.team-info span {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
}

.team-quote {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--body-color);
    margin-top: 10px;
    border-top: 1px dashed var(--border-color);
    padding-top: 10px;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials {
    background-color: var(--light-bg);
}

.testimonials-slider-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 20px 0;
}

.testimonials-slider {
    position: relative;
    min-height: 250px;
    display: flex;
    overflow: hidden;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-slow), visibility var(--transition-slow);
    text-align: center;
    padding: 0 40px;
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.testimonial-stars {
    color: #f59e0b;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.testimonial-text {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--title-color);
    line-height: 1.7;
    margin-bottom: 24px;
}

.testimonial-author h4 {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.slider-controls button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: var(--white);
    color: var(--title-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition-normal);
}

.slider-controls button:hover {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-description {
    font-size: 1.05rem;
    margin-bottom: 35px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: var(--light-bg);
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.contact-detail-item:hover {
    border-color: rgba(153, 25, 252, 0.3);
    transform: translateX(5px);
}

.detail-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(153, 25, 252, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.detail-text span {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--body-color);
}

.detail-text strong {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--title-color);
}

.detail-text a {
    color: var(--primary);
    font-weight: 600;
}

.detail-text a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.contact-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    text-align: center;
}

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

/* ==========================================================================
   FOOTER AREA
   ========================================================================== */
.footer {
    background-color: var(--dark-bg);
    color: #a0aec0;
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo-img-wrapper {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 56px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.footer-description {
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-socials a:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 6px;
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border-radius: 6px 0 0 6px;
    outline: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.newsletter-form button {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 0 18px;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    transition: var(--transition-fast);
}

.newsletter-form button:hover {
    background-color: var(--primary-hover);
}

.footer-bottom {
    background-color: #06030b;
    padding: 24px 0;
    font-size: 0.85rem;
}

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

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes floatAnimation {
    0% {
        transform: translateY(0);
    }

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

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

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .about-container,
    .contact-container {
        gap: 40px;
    }

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

    .academy-grid,
    .pricing-grid {
        grid-template-columns: 1fr 1fr;
    }
}

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

    .hero-container {
        grid-template-columns: 1fr;
    }

    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .about-images {
        max-width: 500px;
        margin: 0 auto;
    }

    .experience-badge {
        bottom: 10px;
        left: 10px;
        padding: 16px;
    }

    .exp-years {
        font-size: 2rem;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

@media (max-width: 768px) {
    .hide-mobile {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        box-shadow: var(--shadow-lg);
        transition: left 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        padding: 40px 24px;
        align-items: flex-start;
    }

    .nav-menu li {
        width: 100%;
        margin-bottom: 15px;
    }

    .nav-menu a {
        display: block;
        width: 100%;
        padding: 12px 0;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu a::after {
        display: none;
    }

    .btn-nav {
        display: none;
    }

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

    .hero-title {
        font-size: 2.3rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

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

@media (max-width: 480px) {
    .top-bar-content {
        justify-content: center;
    }

    .top-bar-socials {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
    }

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

    .appointment-card,
    .contact-card {
        padding: 24px;
    }
}

/* ==========================================================================
   LANGUAGE SELECTOR
   ========================================================================== */
.lang-selector {
    display: inline-flex;
    align-items: center;
    margin-left: 15px;
    gap: 6px;
    color: #a0aec0;
}

.lang-selector select {
    background: transparent;
    border: none;
    color: #cbd5e1;
    font-family: var(--font-heading);
    font-weight: 600;
    outline: none;
    cursor: pointer;
    font-size: 0.85rem;
}

.lang-selector select option {
    background-color: var(--dark-bg);
    color: var(--white);
}

/* ==========================================================================
   RTL OVERRIDES FOR ARABIC
   ========================================================================== */
[dir="rtl"] {
    font-family: 'Noto Kufi Arabic', var(--font-body);
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6,
[dir="rtl"] .btn {
    font-family: 'Noto Kufi Arabic', var(--font-heading);
}

[dir="rtl"] .top-bar-info span {
    margin-right: 0;
    margin-left: 20px;
}

[dir="rtl"] .top-bar-socials a {
    margin-left: 0;
    margin-right: 14px;
}

[dir="rtl"] .lang-selector {
    margin-left: 0;
    margin-right: 15px;
}

[dir="rtl"] .experience-badge {
    left: auto;
    right: -20px;
}

[dir="rtl"] .about-feature-item {
    text-align: right;
}

[dir="rtl"] .stat-pill i {
    margin-right: 0;
    margin-left: 8px;
}

[dir="rtl"] .read-more i {
    transform: scaleX(-1);
}

[dir="rtl"] .read-more:hover i {
    transform: scaleX(-1) translateX(4px);
}

[dir="rtl"] .pricing-features {
    text-align: right;
}

[dir="rtl"] .programme-details-list li i,
[dir="rtl"] .pricing-features li i {
    order: 1;
}

[dir="rtl"] .programme-details-list li span,
[dir="rtl"] .pricing-features li span {
    order: 0;
}

[dir="rtl"] .pricing-features li {
    justify-content: flex-start;
    gap: 10px;
}

[dir="rtl"] .programme-details-list li {
    justify-content: flex-start;
    gap: 10px;
}

[dir="rtl"] .contact-detail-item {
    text-align: right;
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-col h3::after {
    left: auto;
    right: 0;
}

[dir="rtl"] .newsletter-form input {
    border-radius: 0 6px 6px 0;
}

[dir="rtl"] .newsletter-form button {
    border-radius: 6px 0 0 6px;
}

[dir="rtl"] .nav-menu ul {
    flex-direction: row;
}

[dir="rtl"] .slider-controls button i {
    transform: rotate(180deg);
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS (GPU OPTIMIZED)
   ========================================================================== */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

[data-reveal="left"] {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

[data-reveal="right"] {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translate(0);
}