:root {
    --primary-bg: #01002a;
    --navy-deep: #00001a;
    --accent-cyan: #00f8b9;
    --accent-blue: #0082ff;
    --accent-purple: #7000ff;
    --text-white: #ffffff;
    --text-muted: #ffffff;
    --header-bg: rgba(0, 0, 0, 0.4);
    --header-text: #ffffff;
    --login-red: #ff4d4d;
    --font-main: 'Anek Malayalam', 'Outfit', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --mesh-gradient: radial-gradient(at 0% 0%, hsla(253, 16%, 7%, 1) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(225, 39%, 30%, 1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(339, 49%, 30%, 1) 0, transparent 50%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

body {
    font-family: 'Anek Malayalam', 'Outfit', sans-serif;
    background-color: var(--primary-bg);
    background-image: var(--mesh-gradient);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header Styles - Ultra-Rounded Floating Pill */
header {
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 0.6rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: max-content;
    gap: 4rem;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    transition: var(--transition);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

@media (max-width: 1300px) {
    header {
        gap: 3rem;
    }
}

@media (max-width: 1024px) {
    header {
        width: 100% !important;
        border-radius: 0 !important;
        padding: 1.2rem 10% !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        justify-content: space-between;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: var(--primary-bg);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 0.1rem;
        /* Extremely tight for mobile menu items */
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        transform: translateX(100%);
        z-index: 2999;
        padding: 4rem 10%;
        visibility: hidden;
    }

    .nav-links.active {
        transform: translateX(0);
        visibility: visible;
    }

    .nav-links a {
        font-size: 1.15rem !important;
        width: 100% !important;
        padding: 0.4rem 1rem !important;
        /* Tightened padding */
        text-align: left !important;
        border-radius: 12px !important;
        display: flex;
        align-items: center;
    }

    .mobile-menu-toggle {
        display: flex !important;
        z-index: 3001;
    }

    .nav-header-mobile,
    .nav-footer-mobile {
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .nav-footer-mobile p {
        margin-top: 2rem;
        font-size: 0.9rem;
        opacity: 0.6;
    }

    .nav-socials-mobile {
        display: flex !important;
        flex-direction: row !important;
        gap: 1.25rem;
        margin-top: 1rem;
    }

    .nav-socials-mobile a {
        width: auto !important;
        padding: 0 !important;
        font-size: 1.4rem !important;
        background: none !important;
        color: var(--accent-cyan) !important;
        display: inline-flex !important;
        /* Force inline to stay in row */
        align-items: center;
        justify-content: center;
    }

    .nav-socials-mobile a i {
        margin-right: 0 !important;
        width: auto !important;
    }

    .nav-links i {
        display: inline-block !important;
        margin-right: 12px;
        color: var(--accent-cyan);
        width: 20px;
        text-align: center;
    }

    .purpose-floating-label {
        display: none !important;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-right {
        width: 100%;
        height: 500px;
        max-width: 600px;
        margin: 0 auto;
    }

    .banner-content h3 {
        font-size: 1.6rem !important;
    }

    .banner-content p {
        font-size: 0.8rem !important;
        margin-bottom: 1rem !important;
    }

    .mentor-card-clean {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem;
    }

    .m-image-container {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }
}

.logo img {
    height: 40px;
    width: auto;
    transition: var(--transition);
}

/* Hide mobile-specific elements on desktop by default */
.nav-header-mobile,
.nav-footer-mobile,
.nav-links i {
    display: none;
}

.nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.6rem 1.25rem;
    border-radius: 100px;
    white-space: nowrap;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-links a.login-btn {
    background: var(--text-white);
    color: var(--primary-bg);
    padding: 0.6rem 2.2rem;
    font-weight: 800;
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: 0.3s;
    position: absolute;
}

.mobile-menu-toggle span:nth-child(1) {
    top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-toggle span:nth-child(3) {
    bottom: 0;
}

.mobile-menu-toggle.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}


/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 1.5% 0;
    position: relative;
    background: radial-gradient(circle at 70% 50%, rgba(112, 0, 255, 0.15), transparent 70%);
    overflow: hidden;
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    gap: 3rem;
}

.hero-left {
    flex: 1.1;
    text-align: left;
    z-index: 10;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 7.5rem);
    font-weight: 950;
    line-height: 0.85;
    letter-spacing: -3px;
    background: linear-gradient(135deg, #00f8b9 0%, #0082ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(0, 248, 185, 0.3));
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 5% 60px;
        min-height: auto;
    }

    .hero-title {
        letter-spacing: -2px;
        line-height: 1.1;
    }
}

@keyframes textFlow {
    from {
        background-position: 0% center;
    }

    to {
        background-position: 200% center;
    }
}

.hero-right {
    flex: 0 0 500px;
    height: 650px;
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.mural-canvas {
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

.banner-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: #0a0a0a;
}

.banner-item.active {
    opacity: 1;
    visibility: visible;
}

.banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.banner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.1) brightness(0.9);
}

.banner-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    z-index: 2;
}

.banner-item.active .banner-img img {
    transform: none;
}

.banner-content {
    padding: 2rem 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    text-align: left;
    position: relative;
    z-index: 10;
}

.slider-nav {
    position: absolute;
    top: 2rem;
    left: 2rem;
    display: flex;
    gap: 0.8rem;
    z-index: 20;
    pointer-events: auto;
}

.dot {
    width: 35px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px;
}

.dot.active {
    background: var(--accent-cyan);
    width: 60px;
}


.banner-content h3 {
    font-size: 2.4rem;
    color: white;
    font-weight: 850;
    line-height: 1;
    margin-bottom: 1rem;
    letter-spacing: -1.5px;
}

.banner-content p {
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.3;
    font-size: 0.95rem;
    font-weight: 400;
    margin-bottom: 2rem;
    max-width: 90%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
}

.btn-minimal {
    display: inline-block;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--accent-cyan);
    color: white;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2.5px;
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    width: fit-content;
}

.banner-item:hover .btn-minimal {
    padding-left: 12px;
    color: var(--accent-cyan);
    border-bottom-color: white;
}

.slider-progress-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
}

.slider-progress-bar {
    height: 100%;
    width: 100%;
    background: var(--accent-cyan);
    transform: scaleX(0);
    transform-origin: left;
}

@keyframes progressFlow {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

.banner-item.active~.slider-progress-wrap .slider-progress-bar {
    animation: progressFlow 3s linear infinite;
}

/* Sections */
.section-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -3px;
    margin-bottom: 0.8rem;
    color: white;
    text-transform: uppercase;
}

section {
    padding: 4rem 6%;
}

#courses,
#stories {
    padding-top: 1rem;
}

/* Professional Purpose Design */
#purpose {
    padding: 4.5rem 1.5%;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 100% 100%, rgba(112, 0, 255, 0.05), transparent 50%);
}

.purpose-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.purpose-content-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 6rem;
    align-items: center;
}

.purpose-main-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.purpose-tag {
    color: var(--accent-cyan);
    font-size: 0.9rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 5px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.purpose-tag::before {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--accent-cyan);
}

.purpose-title {
    font-size: clamp(3.5rem, 6vw, 5rem);
    font-weight: 950;
    line-height: 0.9;
    letter-spacing: -3px;
    text-transform: uppercase;
}

.purpose-title .highlight {
    color: var(--accent-cyan);
}

.purpose-text {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.25;
    max-width: 700px;
}

.purpose-stats-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.p-stat-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: var(--transition);
}

.p-stat-card:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-cyan);
}

.p-stat-value {
    font-size: 2.5rem;
    font-weight: 950;
    color: white;
}

.p-stat-label {
    font-size: 0.8rem;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.purpose-floating-label {
    position: absolute;
    top: 50%;
    right: -2rem;
    transform: translateY(-50%) rotate(90deg);
    font-size: 15vw;
    font-weight: 950;
    color: rgba(255, 255, 255, 0.02);
    pointer-events: none;
    line-height: 1;
    z-index: 1;
}

@media (max-width: 1200px) {
    .purpose-floating-label {
        font-size: 10vw;
        right: -4rem;
    }
}

@media (max-width: 992px) {
    .purpose-content-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: left;
    }

    .purpose-main-info {
        align-items: flex-start;
    }

    .purpose-tag {
        justify-content: flex-start;
    }

    .purpose-stats-grid {
        flex-direction: column;
        gap: 1.5rem;
    }

    .p-stat-card {
        width: 100%;
        flex: 1 1 auto;
        min-width: 0;
    }

    .purpose-floating-label {
        display: none;
    }
}

/* Professional Course Slider */
.courses-slider-container {
    position: relative;
    padding: 0.5rem 0;
    max-width: 1400px;
    margin: 0 auto;
}

.courses-viewport {
    overflow: hidden;
    padding: 1rem 10px;
    /* Extra padding for card hover scaling */
    margin: -1rem -10px;
}

.course-grid {
    display: flex;
    gap: 3rem;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

.course-grid .card {
    flex: 0 0 calc(33.333% - 2rem);
    min-width: 320px;
}

@media (max-width: 1200px) {
    .course-grid .card {
        flex: 0 0 calc(50% - 1.5rem);
    }
}

@media (max-width: 768px) {
    .course-grid .card {
        flex: 0 0 85%;
        min-height: auto;
    }

    .course-grid {
        gap: 20px;
    }

    .courses-viewport {
        padding: 2.5rem 20px;
        margin: -2.5rem -20px;
        overflow: hidden;
    }
}

/* Slider Nav Buttons */
.course-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.view-all-courses-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 100px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 1rem;
    white-space: nowrap;
}

.view-all-courses-btn:hover {
    background: var(--accent-cyan);
    color: black;
    border-color: var(--accent-cyan);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 248, 185, 0.3);
}

.courses-page-wrapper .section-title {
    text-align: center;
    margin-bottom: 2rem !important;
}

.courses-page-wrapper {
    background: radial-gradient(circle at 50% 0%, rgba(0, 248, 185, 0.05), transparent 60%);
    min-height: 100vh;
}

.course-prev,
.course-next {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
    backdrop-filter: blur(10px);
}

.course-prev:hover,
.course-next:hover {
    background: var(--accent-cyan);
    color: var(--primary-bg);
    transform: scale(1.1);
    border-color: var(--accent-cyan);
}

.card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    position: relative;
    padding: 0.6rem;
    padding-bottom: 0.8rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .card {
        padding: 0.7rem;
        padding-bottom: 1.2rem;
        border-radius: 25px;
    }
}

.card:hover {
    transform: translateY(-15px);
    border-color: rgba(0, 248, 185, 0.3);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 248, 185, 0.05);
}

.card-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 0.8rem;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
    display: block;
}

@media (max-width: 768px) {
    .card-img {
        height: 200px;
        border-radius: 12px;
        margin-bottom: 0.6rem;
    }
}

.card:hover .card-img {
    transform: scale(1.04);
}

.card-content {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
    text-align: left;
}

.card-tag {
    color: var(--accent-cyan);
    font-size: 0.85rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.card-tag::before {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--accent-cyan);
}

.card h3 {
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 0.2rem;
    letter-spacing: -0.2px;
    text-transform: uppercase;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.6em;
    /* 3 lines * 1.2 line-height */
}

@media (max-width: 768px) {
    .card h3 {
        font-size: 1.05rem !important;
        line-height: 1.15 !important;
        margin-bottom: 0.3rem !important;
    }
}

.card-description {
    color: white;
    font-size: 0.85rem;
    line-height: 1.1;
    font-weight: 600;
    margin-bottom: 0.5rem;
    opacity: 0.95;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.2em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card p {
    display: none;
    /* Hide standard p if any to avoid clutter */
}

@media (max-width: 768px) {
    .card p {
        font-size: 0.85rem;
        line-height: 1.1 !important;
    }
}

.card .enroll-btn {
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #ff4d4d, #ff1a1a);
    color: white;
    padding: 0.75rem;
    border-radius: 100px;
    font-weight: 850;
    font-size: 0.85rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 10px 20px rgba(255, 77, 77, 0.2);
}

@media (max-width: 768px) {
    .card .enroll-btn {
        padding: 0.7rem;
        font-size: 0.8rem;
    }
}

.card .enroll-btn:hover {
    transform: translateY(-3px);
    background: #ff1a1a;
    box-shadow: 0 15px 30px rgba(255, 77, 77, 0.4);
    color: white;
}

/* Mentor Auto-Slider Styles */
.mentors-slider-viewport {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    padding: 2rem 0 5rem;
}

.mentors-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    /* width: 100%; removed to avoid squashing items */
}

.mentor-pagination {
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.m-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.m-dot.active {
    background: var(--accent-cyan);
    width: 30px;
    border-radius: 100px;
}

/* Clean Mentor Card Design */
#mentors {
    padding: 4rem 0;
    background: var(--primary-bg);
    position: relative;
    overflow: hidden;
}

#mentors .section-title {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
}

.mentors-slider-viewport {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    padding: 2rem;
}

.mentors-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.mentor-box {
    flex: 0 0 calc(33.333% - 1.5rem);
    background: #ffffff;
    border-radius: 30px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.04);
    margin: 0 0.75rem;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.mentor-box:hover {
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
}

.m-box-top {
    margin-bottom: 1.5rem;
}

.m-box-image-container {
    position: relative;
    width: 110px;
    height: 110px;
}

.m-box-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.m-box-badge {
    position: absolute;
    bottom: 5px;
    right: 0px;
    width: 32px;
    height: 32px;
    background: #5d5eff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    border: 2px solid white;
    box-shadow: 0 3px 10px rgba(93, 94, 255, 0.3);
}

.m-box-content {
    width: 100%;
}

.m-box-tag {
    color: #5d5eff;
    font-weight: 900;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
    display: block;
}

.m-box-name {
    font-size: 1.3rem;
    font-weight: 950;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.m-box-bio {
    font-family: 'Outfit', 'Anek Malayalam', sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.m-box-quote {
    background: #f8faff;
    padding: 1rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.m-box-quote p {
    font-family: 'Anek Malayalam', sans-serif;
    font-size: 0.95rem;
    color: #5d5eff;
    font-weight: 500;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Nav Buttons */
.mentor-nav-buttons {
    position: absolute;
    top: 50%;
    left: 1rem;
    right: 1rem;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.m-nav-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    cursor: pointer;
    pointer-events: all;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.m-nav-btn:hover {
    background: #5d5eff;
    color: white;
    transform: scale(1.1);
}

.mentor-pagination-clean {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-top: 4rem;
}

.m-dot-clean {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition);
}

.m-dot-clean.active {
    background: var(--accent-cyan);
    width: 80px;
}

/* Section Scroll Button */
.section-scroll-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 5rem;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.6;
}

.section-scroll-button:hover {
    opacity: 1;
    transform: translateY(5px);
}

.scroll-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 800;
    color: var(--accent-cyan);
}

.scroll-arrow {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@media (max-width: 1024px) {
    .mentors-slider-viewport {
        padding: 1rem;
    }

    .mentor-box {
        flex: 0 0 calc(50% - 1.5rem);
        padding: 1.5rem;
    }

    .m-box-name {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    #mentors {
        padding: 5rem 0 !important;
    }

    .mentors-slider-viewport {
        padding: 20px 0 30px !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        scroll-behavior: auto !important; /* Avoid conflict with scroll-snap */
    }

    .mentors-track {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        padding: 0 10% !important;
        width: max-content !important;
        gap: 20px !important;
        transition: none !important;
    }

    .mentor-box {
        flex: 0 0 80vw !important;
        width: 80vw !important;
        max-width: 80vw !important;
        min-width: 80vw !important;
        scroll-snap-align: center !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 2.5rem 1.5rem !important;
        background: #fff !important;
        border-radius: 40px !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
        border: 1px solid rgba(0,0,0,0.05) !important;
        white-space: normal !important;
    }

    .mentor-nav-buttons {
        display: none !important;
    }

    .mentor-pagination-clean {
        display: flex !important;
        justify-content: center !important;
        margin-top: 10px !important;
        gap: 8px !important;
    }

    .m-dot-clean {
        width: 8px !important;
        height: 8px !important;
        border-radius: 50% !important;
        background: rgba(0,0,0,0.1) !important;
        transition: all 0.3s ease !important;
    }

    .m-dot-clean.active {
        background: var(--accent-cyan, #00f8b9) !important;
        width: 20px !important;
        border-radius: 10px !important;
    }

    .m-box-image-container {
        width: 90px !important;
        height: 90px !important;
        margin: 0 auto;
    }

    .m-box-avatar {
        border-width: 4px !important;
    }

    .m-box-badge {
        width: 25px !important;
        height: 25px !important;
        bottom: 5px !important;
        right: 0 !important;
    }

    .m-box-tag {
        font-size: 0.6rem !important;
        letter-spacing: 1px !important;
        margin-bottom: 0.3rem !important;
    }

    .m-box-name {
        font-size: 1.15rem !important;
        letter-spacing: -0.5px !important;
        margin-bottom: 0.3rem !important;
    }

    .m-box-bio {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
        -webkit-line-clamp: 3 !important;
        line-clamp: 3 !important;
        margin-bottom: 0.8rem !important;
    }

    .m-box-quote {
        padding: 10px !important;
    }

    .m-box-quote p {
        font-size: 0.85rem !important;
        text-align: center !important;
    }

    .mentor-nav-buttons {
        display: none;
    }

    .mentor-pagination-clean {
        margin-top: 25px !important;
        gap: 0.6rem !important;
    }

    .m-dot-clean {
        width: 25px !important;
        height: 5px !important;
    }

    .m-dot-clean.active {
        width: 50px !important;
    }
}

/* Removed redundant card styles to fix design consistency */

/* Compact Student Stories - Prism Redesign */
#stories {
    padding: 6rem 6%;
    background: radial-gradient(circle at 0% 100%, rgba(0, 248, 185, 0.03), transparent 50%);
}

.stories-compact-slider {
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0;
}

.compact-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    padding: 20px 0;
    align-items: flex-start;
}

/* Infinite Marquee Animation */
.stories-compact-slider.marquee-active .compact-track {
    animation: marquee 40s linear infinite;
}

.stories-compact-slider.marquee-active:hover .compact-track {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 1rem));
    }
}

.c-story-card {
    flex: 0 0 380px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px);
    padding: 2.2rem;
    border-radius: 30px;
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 380px;
    position: relative;
    overflow: hidden;
    text-align: left;
}

.c-story-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0, 248, 185, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.c-story-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0, 248, 185, 0.2);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}


.c-story-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.c-story-header img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.c-story-meta {
    display: flex;
    flex-direction: column;
}

.c-name {
    display: block;
    font-size: 1.1rem;
    font-weight: 850;
    color: white;
    text-align: left;
}

.c-tag {
    font-size: 0.75rem;
    color: var(--accent-cyan);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.c-quote {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.2rem;
    font-style: italic;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.c-mal {
    background: rgba(0, 248, 185, 0.03);
    padding: 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--accent-cyan);
    margin-bottom: 1.2rem;
    font-family: 'Anek Malayalam', sans-serif;
    border-left: 3px solid var(--accent-cyan);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.m-read-more {
    background: transparent;
    border: none;
    color: #5d5eff;
    font-weight: 800;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    margin-top: 1rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.m-read-more:hover {
    gap: 0.8rem;
    color: var(--accent-cyan);
}

.c-read-more {
    background: rgba(0, 248, 185, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 248, 185, 0.2);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    text-align: center;
}

.c-read-more:hover {
    background: var(--accent-cyan);
    color: #01002a;
    transform: translateY(-2px);
}

/* Full story modal */
.f-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.f-modal.active {
    display: flex;
}

.f-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 10, 29, 0.95);
    backdrop-filter: blur(15px);
}

.f-modal-content {
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    padding: 3rem;
    z-index: 10;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
    animation: modalPop 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

@keyframes modalPop {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.f-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.f-close:hover {
    background: #ff4d4d;
    border-color: #ff4d4d;
    transform: rotate(90deg);
}

.f-story-top {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.f-story-top img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 248, 185, 0.2);
}

.f-story-info h3 {
    font-size: 1.8rem;
    font-weight: 900;
    color: white;
    margin: 0;
}

.f-story-info span {
    color: var(--accent-cyan);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.f-quote-icon {
    font-size: 2.5rem;
    color: var(--accent-cyan);
    opacity: 0.2;
    margin-bottom: 1rem;
}

.f-story-text p {
    font-size: 1.2rem;
    line-height: 1.4;
    color: var(--text-muted);
    word-break: break-word;
    overflow-wrap: break-word;
}

.f-mal-box {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.f-mal-box p {
    font-family: 'Anek Malayalam', sans-serif;
    color: white;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.8;
    word-break: break-word;
    overflow-wrap: break-word;
    text-align: left;
}

@media (max-width: 768px) {
    .f-modal-content {
        padding: 2rem;
        border-radius: 30px;
        width: 95%;
        margin: 0 auto;
    }

    .f-story-top {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .f-story-info h3 {
        font-size: 1.5rem;
    }

    .f-story-text p {
        font-size: 1.05rem;
    }

    .f-mal-box p {
        font-size: 1.1rem;
    }
}


.compact-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.c-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.c-dot.active {
    background: var(--accent-cyan);
    transform: scale(1.3);
}

@media (max-width: 1024px) {
    .c-story-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    #stories {
        padding: 2rem 5% 1rem;
    }

    .c-story-card {
        flex: 0 0 300px !important;
        min-height: 320px !important;
        padding: 1.5rem !important;
        margin-right: 1.5rem;
    }

    .stories-compact-slider {
        padding: 10px 0;
        margin-left: -5%;
        /* Pull to edges */
        width: 110%;
    }
}

/* Cinematic Join Mural */
#join {
    padding: 0;
    margin: 2rem 0;
}

.join-mural {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.join-mural-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.join-mural-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) saturate(1.2);
    transform: scale(1.1);
    transition: 10s linear;
}

.join-mural:hover .join-mural-bg img {
    transform: scale(1);
}

.join-mural-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, var(--primary-bg) 100%);
    z-index: 2;
}

.join-mural-content {
    position: relative;
    z-index: 5;
    padding: 0 5%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.vision-label {
    position: absolute;
    left: -150px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 15px;
    color: rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    white-space: nowrap;
}

.join-mural-title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 950;
    line-height: 0.85;
    letter-spacing: -4px;
    text-transform: uppercase;
    background: linear-gradient(to bottom, #fff, rgba(255, 255, 255, 0.5));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.join-mural-text {
    font-size: 1.4rem;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.5;
    font-weight: 500;
}

.btn-prism {
    background: transparent;
    border: 2px solid var(--accent-cyan);
    color: var(--accent-cyan);
    padding: 1.2rem 3.5rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 2px;
    transition: var(--transition);
    box-shadow: 0 0 30px rgba(0, 248, 185, 0.2);
    margin-top: 2rem;
}

.btn-prism:hover {
    background: var(--accent-cyan);
    color: black;
    box-shadow: 0 0 50px rgba(0, 248, 185, 0.6);
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .vision-label {
        display: none;
    }

    .join-mural {
        height: auto;
        padding: 3rem 0;
    }

    .join-mural-title {
        font-size: 3rem;
    }

    .join-mural-text {
        font-size: 1.1rem;
    }
}

/* Sleek & Simple Professional Footer */
.premium-footer {
    background: #0a0a0c;
    padding: 3rem 0 3rem;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
    text-decoration: none;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 60px;
    width: auto;
    max-width: 100%;
}

.footer-logo span {
    display: none;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.footer-social-icons {
    display: flex;
    gap: 1.2rem;
}

.footer-social-icons a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social-icons a:hover {
    background: var(--accent-cyan);
    color: black;
    border-color: var(--accent-cyan);
    transform: translateY(-3px);
}

.footer-column h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    position: relative;
    text-transform: capitalize;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-cyan);
    border-radius: 10px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 0.4rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--accent-cyan);
}

.footer-newsletter-simple h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-newsletter-simple p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.newsletter-box {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.4rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.newsletter-box input {
    background: transparent;
    border: none;
    padding: 0.6rem 1rem;
    color: white;
    flex: 1;
    outline: none;
    font-size: 0.9rem;
}

.newsletter-box button {
    background: var(--accent-cyan);
    color: black;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.newsletter-box button:hover {
    opacity: 0.9;
}

.footer-bottom-simple {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
}

.footer-dev-link a {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 992px) {
    .footer-main-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .premium-footer {
        padding: 2.5rem 5% 2rem;
        text-align: left;
    }

    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .footer-about,
    .footer-column,
    .footer-newsletter-simple {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-about p,
    .footer-newsletter-simple p {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .footer-social-icons {
        justify-content: flex-start;
    }

    .footer-column h4::after {
        left: 0;
        transform: none;
    }

    .newsletter-box {
        width: 100%;
        max-width: 400px;
    }

    .footer-bottom-simple {
        flex-direction: column;
        gap: 1rem;
        padding-top: 2rem;
    }
}

@media (max-width: 480px) {
    .footer-logo {
        font-size: 1.8rem;
    }

    .newsletter-box {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
        gap: 1rem;
    }

    .newsletter-box input {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        width: 100%;
    }

    .newsletter-box button {
        width: 100%;
        padding: 1rem;
    }
}


/* Final CTA Section */
.final-cta {
    padding: 2rem 5% 2rem;
    background: radial-gradient(circle at center, rgba(0, 248, 185, 0.08) 0%, transparent 70%);
    text-align: center;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.cta-content h2 {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.8rem;
    letter-spacing: -1px;
}

.cta-content p {
    color: var(--text-dim);
    font-size: 1.1rem;
    line-height: 1.3;
    font-weight: 400;
    margin-bottom: 2rem;
}

.cta-btn-primary {
    display: inline-block;
    background: var(--accent-cyan);
    color: black;
    padding: 1.2rem 3rem;
    border-radius: 100px;
    font-weight: 800;
    text-decoration: none;
    transition: var(--transition);
}

.cta-btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 248, 185, 0.3);
    background: white;
}

/* Sticky Enroll Bar & Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 4000;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-cyan);
    color: black;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 30px rgba(0, 248, 185, 0.4);
}

.sticky-enroll-bar {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 850px;
    background: rgba(11, 10, 29, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5000;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (max-width: 768px) {
    .sticky-enroll-bar {
        bottom: 15px;
        width: 95%;
        padding: 0.6rem 1.2rem;
        border-radius: 20px;
    }

    .enroll-bar-text {
        font-size: 0.8rem;
        max-width: 60%;
        line-height: 1.2;
    }

    .enroll-bar-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.75rem;
    }
}

.sticky-enroll-bar.hidden {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translate(-50%, 100px) !important;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, 50px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.enroll-bar-text {
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* DELETED DUPLICATE MOBILE MENU TOGGLE STYLING */

.enroll-bar-text span {
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 77, 77, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 77, 77, 0);
    }
}

.enroll-bar-btn {
    background: linear-gradient(90deg, #ff4d4d, #ff1a1a);
    color: white;
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 100px;
    font-weight: 850;
    text-transform: uppercase;
    font-size: 0.95rem;
    transition: var(--transition);
    animation: pulse-red 2s infinite;
}

.enroll-bar-btn:hover {
    transform: scale(1.05) translateY(-2px);
    background: #ff1a1a;
    box-shadow: 0 10px 25px rgba(255, 77, 77, 0.4);
    animation: none;
}

/* Animations Engine */
@keyframes slideUp {
    from {
        transform: translate(-50%, 100px);
        opacity: 0;
    }

    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    opacity: 0;
}

.animate.revealed {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Consolidated Responsiveness Engine */

/* Laptops & Tablets (Max 1200px) */
@media (max-width: 1200px) {
    section {
        padding: 2rem 6%;
    }

    .hero-container {
        gap: 3rem;
    }

    .hero-right {
        flex: 0 0 450px;
        height: 550px;
    }

    .purpose-content-grid {
        gap: 3rem;
    }
}

/* REMOVED DUPLICATE AND CONSOLIDATED AT TOP */

/* Small Tablets / Large Mobile (Max 768px) */
@media (max-width: 768px) {
    section {
        padding: 5rem 10%;
    }

    .hero {
        padding-top: 9rem !important;
    }

    .hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem) !important;
        letter-spacing: -2px !important;
        line-height: 0.85 !important;
    }

    .hero-right {
        height: 400px;
    }

    .section-title {
        font-size: 2.5rem !important;
        margin-bottom: 0.8rem !important;
    }

    .purpose-title {
        font-size: 3rem !important;
    }

    .purpose-text {
        font-size: 1.1rem;
    }

    .sticky-enroll-bar {
        width: 95% !important;
        padding: 0.6rem 1.2rem !important;
        border-radius: 20px !important;
        bottom: 15px !important;
    }

    .enroll-bar-text {
        font-size: 0.8rem !important;
        max-width: 60%;
    }

    .enroll-bar-btn {
        padding: 0.6rem 1.2rem !important;
        font-size: 0.8rem !important;
    }

    /* Course Nav Fix */
    .course-nav {
        gap: 0.8rem !important;
        margin-top: 2rem !important;
    }

    .course-prev,
    .course-next {
        width: 48px !important;
        height: 48px !important;
        font-size: 0.9rem !important;
    }

    .view-all-courses-btn {
        padding: 0.8rem 1.2rem !important;
        font-size: 0.7rem !important;
        gap: 0.5rem !important;
    }

    .banner-content {
        padding: 1.5rem 1rem !important;
    }

    .banner-content h3 {
        font-size: 1.8rem !important;
    }

    /* Hide Stay Tuned on Mobile */
    .placeholder-card {
        display: none !important;
    }

    /* Final CTA Mobile Spacing Fix */
    .cta-content h2 {
        font-size: clamp(1.8rem, 10vw, 2.5rem) !important;
        line-height: 0.9 !important;
        margin-bottom: 0.5rem !important;
        letter-spacing: -1px !important;
    }

    .cta-content p {
        font-size: 0.95rem !important;
        line-height: 1.2 !important;
        font-weight: 400 !important;
        margin-bottom: 1.5rem !important;
    }
}

/* Mobile Devices (Max 480px) */
@media (max-width: 480px) {
    section {
        padding: 4rem 10% !important;
    }

    .hero {
        padding-top: 9rem !important;
    }

    .hero-title {
        font-size: 2.2rem !important;
    }

    .hero-right {
        height: 350px;
    }

    .card {
        min-height: auto;
        padding: 1.5rem;
    }

    .card h3 {
        font-size: 1.6rem;
        line-height: 1 !important;
        margin-bottom: 0.3rem !important;
    }

    .card p {
        font-size: 1rem;
        line-height: 1.1 !important;
    }

    .m-name-clean {
        font-size: 1.8rem;
    }

    .m-bio-clean {
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Extra Nav Tightening for Small Mobile */
    .course-nav {
        gap: 0.5rem !important;
    }

    .course-prev,
    .course-next {
        width: 42px !important;
        height: 42px !important;
    }

    .view-all-courses-btn {
        padding: 0.7rem 1rem !important;
        letter-spacing: 1px !important;
    }
}

/* FAQ Section */
#faq {
    padding: 2rem 10% 100px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-trigger {
    padding: 1.8rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-trigger:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.faq-en {
    font-size: 1.1rem;
    font-weight: 750;
    color: var(--text-white);
}

.faq-ml {
    font-family: 'Anek Malayalam', sans-serif;
    font-size: 1rem;
    color: var(--accent-cyan);
    font-weight: 600;
}

.faq-trigger i {
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: transform 0.4s ease;
}

.faq-item.active {
    border-color: var(--accent-cyan);
    background: rgba(0, 248, 185, 0.02);
}

.faq-item.active .faq-trigger i {
    transform: rotate(180deg);
    color: var(--accent-cyan);
}

.faq-answer {
    padding: 0 2.5rem 2rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
    animation: slideDown 0.4s ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .faq-trigger {
        padding: 1.5rem;
    }

    .faq-en {
        font-size: 1rem;
    }

    .faq-ml {
        font-size: 0.85rem;
    }
}

/* FAQ Pagination */
.pag-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    font-weight: 850;
    transition: var(--transition);
}

.pag-btn:hover,
.pag-btn.active {
    background: var(--accent-cyan);
    color: black;
    border-color: var(--accent-cyan);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 248, 185, 0.3);
}

/* Contact Section Styles */
#contact {
    padding: 6rem 10% 4rem;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 100% 0%, rgba(112, 0, 255, 0.08), transparent 40%);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}



.contact-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.02);
    padding: 1rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
}

.action-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem 1rem;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.8rem;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    border: 1px solid transparent;
}

.action-card:hover {
    background: rgba(0, 248, 185, 0.05);
    border-color: rgba(0, 248, 185, 0.2);
    transform: translateY(-10px);
}

.action-card i {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: var(--transition);
}

.action-card:hover i {
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px var(--accent-cyan));
}

.action-info h4 {
    font-size: 1rem;
    font-weight: 850;
    color: white;
    margin-bottom: 5px;
}

.action-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        border-radius: 30px;
    }

    .contact-main-card,
    .contact-actions {
        grid-column: span 1;
    }

    .contact-actions {
        grid-template-columns: 1fr;
    }
}

.contact-info-card p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.info-link {
    color: var(--accent-cyan);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 800;
    padding: 0.8rem 1.5rem;
    background: rgba(0, 248, 185, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(0, 248, 185, 0.1);
    transition: var(--transition);
    width: 100%;
    position: relative;
    z-index: 2;
}

.info-link:hover {
    background: var(--accent-cyan);
    color: #01002a;
    box-shadow: 0 10px 20px rgba(0, 248, 185, 0.2);
    transform: scale(1.02);
}

.info-text {
    color: white;
    font-size: 1.05rem;
    font-weight: 800;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    width: 100%;
    position: relative;
    z-index: 2;
}

@media (max-width: 992px) {
    .contact-actions {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    #contact {
        padding: 4rem 10% !important;
    }

    .contact-actions {
        grid-template-columns: 1fr;
    }
}

/* === Toast Notifications === */
.toast-container {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    min-width: 320px;
    max-width: 450px;
    background: rgba(10, 15, 25, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transform: translateX(120%);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.toast.active {
    transform: translateX(0);
}

.toast-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.toast-success .toast-icon {
    background: rgba(0, 248, 185, 0.1);
    color: #00f8b9;
}

.toast-error .toast-icon {
    background: rgba(255, 77, 77, 0.1);
    color: #ff4d4d;
}

.toast-info .toast-icon {
    background: rgba(0, 122, 255, 0.1);
    color: #007aff;
}

.toast-content {
    flex-grow: 1;
}

.toast-title {
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 0.1rem;
    color: white;
}

.toast-message {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

.toast-close {
    opacity: 0.4;
    cursor: pointer;
    transition: opacity 0.2s;
    font-size: 1.1rem;
    color: white;
}

.toast-close:hover {
    opacity: 1;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
}

.toast-progress-bar {
    height: 100%;
    width: 100%;
}

.toast-success .toast-progress-bar {
    background: #00f8b9;
}

.toast-error .toast-progress-bar {
    background: #ff4d4d;
}

.toast-info .toast-progress-bar {
    background: #007aff;
}

@media (max-width: 576px) {
    .toast-container {
        top: 1rem;
        right: 1rem;
        left: 1rem;
    }

    .toast {
        min-width: 0;
    }
}

/* Event Section Redesign Styles */
.events-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 30px;
    justify-content: center;
}
.event-card {
    flex: 0 1 420px;
    border-radius: 16px !important;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: rgba(1, 0, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.4s ease-in-out;
    backdrop-filter: blur(10px);
}
.event-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 248, 185, 0.1);
}
.event-card-img {
    height: 110px;
    width: 100%;
    overflow: hidden;
    position: relative;
}
.event-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}
.event-card:hover .event-card-img img {
    transform: scale(1.1);
}
.event-card-body {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    #events { padding: 25px 0 !important; }
    .events-grid { gap: 15px; }
    .event-card { border-radius: 16px !important; flex: 1 1 100%; max-width: 100%; }
    .event-card-body { padding: 15px !important; }
    .event-card-img { height: 130px !important; }
}