/* public/css/new-home.css */
:root {
    --color-primary: oklch(0.2565 0.0265 278.04);
    --color-light: oklch(97.59% .0029 264.54deg);
    --color-gray-600: #4b5563;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--color-primary);
    overflow-x: hidden;
    padding-top: 85px;
}

/* Header Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    width: 100%;
    overflow: visible;
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.nav-container nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
    width: auto;
    max-width: 400px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--color-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--color-primary);
    opacity: 0.8;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu .btn-login {
    background: var(--color-primary);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-menu .btn-login:hover {
    background: var(--color-primary);
    color: white;
    text-decoration: underline;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0.9;
}

.nav-menu .btn-login::after {
    display: none;
}

.mobile-login-btn {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
    z-index: 999;
    max-height: calc(100vh - 85px);
    overflow-y: auto;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 1rem 2rem;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s ease;
}

.mobile-menu a:hover {
    background: #f8f9fa;
}

.mobile-menu .mobile-enroll-btn {
    display: inline-block !important;
    padding: 0.5rem 1rem !important;
    margin: 0 !important;
    background: var(--color-primary) !important;
    color: white !important;
    text-decoration: none;
    text-align: left;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: auto !important;
}

.mobile-enroll-btn:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0.9;
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 10px;
        position: relative;
        width: 100%;
        box-sizing: border-box;
        gap: 8px;
    }

    .logo {
        flex-shrink: 1;
        z-index: 1001;
        position: relative;
        max-width: calc(100% - 120px);
        min-width: 0;
        overflow: hidden;
    }

    .logo img {
        height: 30px;
        max-width: min(240px, 55vw);
        width: auto;
        max-height: 30px;
        display: block;
        object-fit: contain;
    }

    .nav-container nav {
        flex-shrink: 0;
        margin-left: auto;
        display: flex;
        align-items: center;
        gap: 8px;
        min-width: 0;
    }

    .nav-menu {
        display: none !important;
    }

    .mobile-login-btn {
        display: block !important;
        padding: 0.4rem 0.9rem;
        background: var(--color-primary);
        color: white;
        border-radius: 20px;
        text-decoration: none;
        font-weight: 600;
        font-size: 0.7rem;
        white-space: nowrap;
        transition: all 0.3s ease;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        flex-shrink: 0;
        line-height: 1.2;
    }

    .mobile-login-btn:hover {
        background: var(--color-primary);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        opacity: 0.9;
    }

    .mobile-menu-toggle {
        display: block !important;
        position: relative;
        z-index: 1001;
        flex-shrink: 0;
        padding: 8px 10px;
        margin: 0;
        min-width: 40px;
        min-height: 40px;
        background: transparent;
        border: none;
        cursor: pointer;
    }

    .mobile-menu-toggle i {
        font-size: 1.5rem;
        color: var(--color-primary);
        display: block;
    }

    body {
        padding-top: 52px;
    }

    .header {
        z-index: 1000;
        position: fixed;
        overflow: visible;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 8px;
        gap: 6px;
    }

    .logo {
        max-width: calc(100% - 110px);
        overflow: hidden;
    }

    .logo img {
        height: 30px;
        max-width: min(220px, 50vw);
        max-height: 30px;
        object-fit: contain;
    }

    /* .mobile-login-btn {
        padding: 0.35rem 0.75rem;
        font-size: 0.65rem;
    } */

    .mobile-menu-toggle {
        padding: 6px 8px;
        min-width: 36px;
        min-height: 36px;
    }

    .mobile-menu-toggle i {
        font-size: 1.3rem;
    }

    .nav-container nav {
        gap: 6px;
    }
}

@media (max-width: 414px) {
    .logo img {
        height: 28px;
        max-width: min(200px, 48vw);
        max-height: 28px;
    }
}

@media (max-width: 360px) {
    .logo {
        max-width: calc(100% - 100px);
        overflow: hidden;
    }

    .logo img {
        height: 28px;
        max-width: min(180px, 45vw);
        max-height: 28px;
        object-fit: contain;
    }
}

@media (max-width: 320px) {
    .logo img {
        height: 26px;
        max-width: min(160px, 42vw);
        max-height: 26px;
    }

    /* .mobile-login-btn {
        padding: 0.3rem 0.65rem;
        font-size: 0.6rem;
    } */
}

/* Hero Section */
.hero {
    position: relative;
    width: 100vw;
    min-height: calc(100vh - 85px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: #000;
    overflow: visible;
    padding: 0;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: 100vw;
}

.hero-content {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.hero-video-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 85px);
    margin: 0;
    overflow: hidden;
    background: #000;
}

/* Mobile Hero Override - Must be after desktop styles */
@media screen and (max-width: 768px) {
    .hero {
        min-height: 0 !important;
        height: auto !important;
        position: relative;
        z-index: 1;
    }
    
    .hero-content {
        height: auto !important;
        min-height: 0 !important;
    }
    
    .hero-video-container {
        height: 65vh !important;
        min-height: 300px !important;
        max-height: 450px !important;
    }
}

.hero-bottom-section {
    display: none;
    width: 100%;
    background: oklch(97.59% .0029 264.54deg);
    padding: 2rem 1.5rem;
    min-height: 35vh;
    flex: 1;
}

.hero-video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Hero Slider Styles */
.hero-slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-swiper {
    width: 100%;
    height: calc(100vh - 85px);
}

.hero-slide-content {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.hero-slide-text {
    text-align: center;
    color: white;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-slide-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-slide-description {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-slide-button {
    display: inline-block;
    padding: 12px 30px;
    background: var(--color-primary);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-shadow: none;
}

.hero-slide-button:hover {
    background: rgba(37, 116, 189, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    color: white;
}

/* Hero Slider Navigation */
.hero-nav-next,
.hero-nav-prev {
    color: white !important;
    background: rgba(255,255,255,0.2) !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
}

.hero-nav-next:hover,
.hero-nav-prev:hover {
    background: rgba(255,255,255,0.3) !important;
    transform: scale(1.1);
}

.hero-nav-next:after,
.hero-nav-prev:after {
    font-size: 20px !important;
    font-weight: bold !important;
}

.hero-pagination {
    bottom: 20px !important;
}

.hero-pagination .swiper-pagination-bullet {
    background: white !important;
    opacity: 0.5 !important;
    width: 12px !important;
    height: 12px !important;
}

.hero-pagination .swiper-pagination-bullet-active {
    opacity: 1 !important;
    background: var(--color-primary) !important;
}

@media screen and (max-width: 768px) {
    .hero-swiper {
        height: 65vh !important;
        min-height: 300px !important;
        max-height: 450px !important;
    }
    
    .hero-slide-title {
        font-size: 2rem;
    }
    
    .hero-slide-description {
        font-size: 1rem;
    }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
}

.btn-primary {
    background: white;
    color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

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

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

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

/* About Us Section */
.about {
    padding: 50px 20px;
    background: var(--color-light);
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-primary);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--color-primary);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--color-primary);
    opacity: 0.7;
    font-size: 1.1rem;
    margin-bottom: 4rem;
    margin-top: 2rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 4rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
}

.about-text h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.about-text p {
    color: var(--color-primary);
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.2rem;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    max-height: 500px;
    min-height: 300px;
    height: auto;
    aspect-ratio: 16 / 9;
    width: 100%;
    max-width: 100%;
}

.about-image img,
.about-image video,
.about-image iframe {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    display: block;
    border: none;
}

/* Stats Section */
.stats {
    padding: 80px 20px;
    background: var(--color-light);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

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

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--color-primary);
    font-weight: 600;
    opacity: 0.7;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Testimonials Section */
.testimonials {
    padding: 50px 20px;
    background: oklch(25.65% 0.0265 278.04deg);
    color: white;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: 100vw;
    overflow: visible;
    box-sizing: border-box;
}

.testimonials .section-title {
    color: white;
}

.testimonials .section-title::after {
    background: white;
}

.testimonials .section-subtitle {
    color: rgba(255,255,255,0.9);
}

.testimonials-carousel-wrapper {
    position: relative;
    margin-top: 4rem;
    padding: 0 50px;
    width: 100%;
    box-sizing: border-box;
    overflow: visible;
}

/* Swiper Testimonials Styles */
.testimonials-swiper {
    width: 100%;
    padding: 20px 0 60px;
    overflow: visible;
}

.testimonials-swiper .swiper-wrapper {
    align-items: stretch;
    display: flex;
}

.testimonials-swiper .swiper-slide {
    height: auto;
    display: flex;
    box-sizing: border-box;
    width: auto;
}

/* Base Testimonial Card */
.testimonial-card {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

/* Text Testimonial Styles */
.testimonial-card.text-testimonial {
    padding: 2rem;
}

.testimonial-quote {
    font-size: 3rem;
    color: rgba(255,255,255,0.3);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.3);
    flex-shrink: 0;
}

.testimonial-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: white;
}

.testimonial-info p {
    font-size: 0.85rem;
    opacity: 0.8;
    color: white;
}

.testimonial-rating {
    color: #ffd700;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.testimonial-text {
    font-style: italic;
    line-height: 1.7;
    font-size: 0.95rem;
    color: white;
    flex-grow: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Video Testimonial Styles */
.testimonial-card.video-testimonial {
    padding: 1.5rem;
}

.testimonial-card.video-testimonial .testimonial-quote,
.testimonial-card.video-testimonial .testimonial-text {
    display: none;
}

.testimonial-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: rgba(0,0,0,0.3);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1.2rem;
}

.testimonial-video-wrapper iframe,
.testimonial-video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

.testimonial-card.video-testimonial .testimonial-header {
    margin-bottom: 1rem;
}

.testimonial-card.video-testimonial .testimonial-rating {
    margin-bottom: 0;
}

/* Swiper Navigation Buttons */
.testimonials-nav-next,
.testimonials-nav-prev {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.2) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3) !important;
    color: white !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    transition: all 0.3s ease;
    margin-top: -25px !important;
    top: 50% !important;
    z-index: 10 !important;
}

.testimonials-nav-next:after,
.testimonials-nav-prev:after {
    font-size: 18px !important;
    font-weight: bold !important;
    color: white !important;
}

.testimonials-nav-next:hover,
.testimonials-nav-prev:hover {
    background: rgba(255,255,255,0.3) !important;
    transform: scale(1.1);
}

.testimonials-nav-next.swiper-button-disabled,
.testimonials-nav-prev.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Desktop: 3 items per row */
@media (min-width: 1025px) {
    .testimonials-carousel-wrapper {
        padding: 0 70px;
        position: relative;
    }

    .testimonials-swiper {
        padding: 20px 0 60px;
        overflow: hidden;
    }

    .testimonials-swiper .swiper-slide {
        width: calc((100% - 40px) / 3) !important;
    }

    .testimonial-card.text-testimonial {
        padding: 2rem;
    }

    .testimonial-card.video-testimonial {
        padding: 1.5rem;
    }

    .testimonials-nav-next {
        right: -25px !important;
    }

    .testimonials-nav-prev {
        left: -25px !important;
    }
}

/* Tablet: 2 items per row */
@media (min-width: 769px) and (max-width: 1024px) {
    .testimonials-carousel-wrapper {
        padding: 0 60px;
        position: relative;
    }

    .testimonials-swiper {
        padding: 20px 0 60px;
    }

    .testimonial-card.text-testimonial {
        padding: 2rem;
    }

    .testimonial-card.video-testimonial {
        padding: 1.5rem;
    }

    .testimonials-nav-next {
        right: 5px !important;
    }

    .testimonials-nav-prev {
        left: 5px !important;
    }
}

/* Mobile: 1 item per row */
@media (max-width: 768px) {
    .testimonials-carousel-wrapper {
        padding: 0 15px;
        position: relative;
        overflow: hidden;
    }

    .testimonials-swiper {
        padding: 20px 0 50px;
        overflow: hidden;
    }

    .testimonials-swiper .swiper-slide {
        width: 100% !important;
        max-width: 100% !important;
        flex-shrink: 0;
    }

    .testimonial-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0;
        box-sizing: border-box;
    }

    .testimonial-card.text-testimonial {
        padding: 1.5rem 1.2rem;
        width: 100% !important;
        max-width: 100% !important;
    }

    .testimonial-card.video-testimonial {
        padding: 1.2rem;
        width: 100% !important;
        max-width: 100% !important;
    }

    .testimonial-quote {
        font-size: 2.2rem;
        margin-bottom: 0.3rem;
    }

    .testimonial-header {
        flex-wrap: wrap;
        gap: 0.75rem;
        margin-bottom: 1rem;
    }

    .testimonial-avatar {
        width: 45px;
        height: 45px;
    }

    .testimonial-info h4 {
        font-size: 0.95rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .testimonial-info p {
        font-size: 0.75rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .testimonial-rating {
        margin-bottom: 0.8rem;
        font-size: 0.9rem;
    }

    .testimonial-text {
        font-size: 0.9rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        line-height: 1.7;
        white-space: normal;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Mobile video height control */
    .testimonial-video-wrapper {
        position: relative;
        width: 100%;
        height: 200px;
        padding-bottom: 0 !important;
        overflow: hidden;
    }

    .testimonial-video-wrapper iframe,
    .testimonial-video-wrapper video {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        height: 200px;
        min-height: 200px;
        max-height: 200px;
        border-radius: 12px;
        object-fit: cover;
    }

    .testimonials-nav-next,
    .testimonials-nav-prev {
        width: 40px;
        height: 40px;
    }

    .testimonials-nav-next {
        right: 5px;
    }

    .testimonials-nav-prev {
        left: 5px;
    }
}

/* Video Testimonials Section */
.video-testimonials {
    padding: 100px 20px;
    background: white;
    color: var(--color-primary);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: 100vw;
    overflow: hidden;
    box-sizing: border-box;
}

.video-testimonials-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 1rem;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.video-testimonials-subtitle {
    font-size: 1.1rem;
    color: var(--color-primary);
    opacity: 0.8;
    text-align: center;
    margin-bottom: 4rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.video-testimonials .container {
    max-width: 1400px !important;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.video-testimonials-carousel-wrapper {
    position: relative;
    padding: 0 100px;
    max-width: 100%;
    margin: 0 auto;
    overflow: visible;
    width: 100%;
    box-sizing: border-box;
}

.video-testimonials-swiper {
    width: 100%;
    padding: 20px 0 60px;
    overflow: hidden;
}

.video-testimonials-swiper .swiper-wrapper {
    align-items: stretch;
    display: flex;
}

.video-testimonials-swiper .swiper-slide {
    height: auto;
    display: flex;
    box-sizing: border-box;
    width: auto;
}

.video-testimonial-card {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.video-testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border-color: var(--color-primary);
}

.video-testimonial-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: rgba(0,0,0,0.3);
    overflow: hidden;
    flex-shrink: 0;
}

.video-testimonial-thumbnail iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-testimonial-info {
    padding: 1.5rem;
    background: white;
    text-align: center;
    flex-grow: 1;
}

.video-testimonial-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
    font-weight: 600;
}

.video-testimonial-info p {
    font-size: 0.9rem;
    color: var(--color-primary);
    opacity: 0.7;
}

/* Video Testimonials Navigation */
.video-testimonials-nav-next,
.video-testimonials-nav-prev {
    background: white !important;
    border: 2px solid var(--color-primary) !important;
    color: var(--color-primary) !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    transition: all 0.3s ease;
    margin-top: 0 !important;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.video-testimonials-nav-next:after,
.video-testimonials-nav-prev:after {
    font-size: 18px !important;
    font-weight: bold !important;
    color: var(--color-primary) !important;
}

.video-testimonials-nav-next:hover,
.video-testimonials-nav-prev:hover {
    background: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: white !important;
    transform: scale(1.1);
}

.video-testimonials-nav-next:hover:after,
.video-testimonials-nav-prev:hover:after {
    color: white !important;
}

.video-testimonials-nav-next.swiper-button-disabled,
.video-testimonials-nav-prev.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.video-testimonials-nav-next {
    right: 20px !important;
}

.video-testimonials-nav-prev {
    left: 20px !important;
}

/* Desktop: 3 items per row for video testimonials */
@media (min-width: 1025px) {
    .video-testimonials-carousel-wrapper {
        padding: 0 100px;
        overflow: hidden;
    }
    
    .video-testimonials-swiper {
        overflow: hidden;
    }
    
    .video-testimonials-swiper .swiper-slide {
        width: calc((100% - 40px) / 3) !important;
    }
    
    .video-testimonials-nav-next {
        right: 20px !important;
    }

    .video-testimonials-nav-prev {
        left: 20px !important;
    }
}

/* Tablet: 2 items per row */
@media (min-width: 769px) and (max-width: 1024px) {
    .video-testimonials-carousel-wrapper {
        padding: 0 80px;
        overflow: hidden;
    }

    .video-testimonials-swiper {
        overflow: hidden;
    }

    .video-testimonials-swiper .swiper-slide {
        width: calc((100% - 20px) / 2) !important;
    }

    .video-testimonials-nav-next {
        right: 10px !important;
    }

    .video-testimonials-nav-prev {
        left: 10px !important;
    }
}

/* Mobile: 1 item per row */
@media (max-width: 768px) {
    .video-testimonials {
        padding: 50px 5px;
    }

    .video-testimonials .container {
        padding: 0 5px;
        max-width: 100% !important;
    }

    .video-testimonials-title {
        font-size: 1.6rem;
        padding: 0;
        margin-bottom: 0.75rem;
        line-height: 1.3;
    }

    .video-testimonials-subtitle {
        font-size: 0.9rem;
        margin-bottom: 2rem;
        padding: 0;
        line-height: 1.5;
    }

    .video-testimonials-carousel-wrapper {
        padding: 0 40px;
        overflow: hidden;
        width: 100%;
        max-width: 100%;
    }

    .video-testimonials-swiper {
        padding: 15px 0 50px;
        overflow: hidden;
        width: 100%;
    }

    .video-testimonials-swiper .swiper-wrapper {
        width: 100%;
    }

    .video-testimonials-swiper .swiper-slide {
        width: 100% !important;
        max-width: 100% !important;
        flex-shrink: 0;
        box-sizing: border-box;
        padding: 0;
    }

    .video-testimonial-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0;
        box-sizing: border-box;
        margin: 0;
        border-radius: 15px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    }

    .video-testimonial-thumbnail {
        padding-bottom: 75% !important;
        width: 100%;
        max-width: 100%;
        position: relative;
        overflow: hidden;
        border-radius: 15px 15px 0 0;
        background: #000;
    }

    .video-testimonial-thumbnail iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
        border-radius: 15px 15px 0 0;
    }

    .video-testimonial-info {
        width: 100%;
        box-sizing: border-box;
        padding: 1.5rem 1.25rem;
    }

    .video-testimonial-info h4 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
        font-weight: 700;
    }

    .video-testimonial-info p {
        font-size: 1rem;
        opacity: 0.8;
    }

    .video-testimonials-nav-next,
    .video-testimonials-nav-prev {
        width: 48px !important;
        height: 48px !important;
        top: 50% !important;
        transform: translateY(-50%);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    }

    .video-testimonials-nav-next:after,
    .video-testimonials-nav-prev:after {
        font-size: 18px !important;
    }

    .video-testimonials-nav-next {
        right: 0 !important;
    }

    .video-testimonials-nav-prev {
        left: 0 !important;
    }
}

/* Services Section */
.services {
    padding: 50px 20px;
    background: #fff;
}

.services-badge {
    display: inline-block;
    padding: 8px 20px;
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.services-heading {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.services-heading .highlight {
    color: #10b981;
}

.services-subtitle {
    font-size: 1.2rem;
    color: var(--color-primary);
    opacity: 0.8;
    margin-bottom: 4rem;
}

.service-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    padding: 3rem;
    margin-bottom: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

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

.service-card.reverse > * {
    direction: ltr;
}
.service-content{
    text-align: left;
}
.service-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.service-content .service-subtitle {
    font-size: 1.1rem;
    color: var(--color-primary);
    opacity: 0.7;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--color-primary);
    opacity: 0.8;
    line-height: 1.6;
}

.service-features li::before {
    content: '✓';
    color: #10b981;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.service-btn {
    display: inline-block;
    padding: 14px 32px;
    background: #10b981;
    color: white;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-btn:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

.service-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Upcoming Courses Section */
.upcoming-courses {
    padding: 50px 20px;
    background: var(--color-light);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.mentors-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1200px;
    margin: 3rem auto 0;
    gap: 2rem;
    align-items: stretch;
}

.mentor-description {
    font-size: 0.95rem;
    color: var(--color-primary);
    opacity: 0.8;
    line-height: 1.6;
    margin-top: 0.5rem;
}

/* Meet Your Mentors New Design */
.meet-mentors {
    background: var(--color-light);
}

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

.mentors-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.mentors-title-wrapper {
    display: inline-block;
    position: relative;
}

.mentors-title {
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
    font-weight: 700;
    
    text-align: center;
    position: relative;
}

.mentors-title::after {
    display: none;
}

.title-underline {
    width: 80px;
    height: 3px;
    background: #4A148C;
    margin: 0 auto;
}

.mentors-footer {
    text-align: center;
    margin-top: 3rem;
}

.view-all-btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: var(--color-primary);
    border: none;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.view-all-btn:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0.9;
}

.mentor-card-new {
    position: relative;
    border-radius: 20px;
    overflow: visible;
    height: 100%;
    padding-right: 40px;
    display: flex;
}

.mentor-card-bg {
    position: relative;
    border-radius: 20px;
    padding: 1.5rem;
    height: 280px;
    min-height: 280px;
    max-height: 280px;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    flex: 1;
}

.mentor-card-content-wrapper {
    position: relative;
    display: flex;
    flex: 1;
    gap: 1rem;
    align-items: stretch;
    min-height: 0;
    padding-bottom: 0;
    height: 100%;
    width: 100%;
}

.mentor-card-content-wrapper.has-image {
    padding-right: 200px;
    flex-direction: row;
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .mentor-card-content-wrapper.has-image {
        padding-right: 160px;
    }

    .mentor-card-image {
        width: 150px;
    }
}

.mentor-card-bg.no-image .mentor-card-content-wrapper {
    padding-right: 0;
}

.mentor-card-bg::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    opacity: 0.6;
    z-index: 0;
}

.mentor-card-content {
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    overflow: hidden;
    padding-right: 1rem;
}

.mentor-card-bg.no-image .mentor-card-content {
    max-width: 100%;
}

.mentor-card-bg.no-image .mentor-card-content-wrapper {
    flex-direction: column;
}

.mentor-category-tag {
    display: inline-block;
    padding: 6px 14px;
    background: white;
    border: none;
    border-radius: 20px;
    font-size: 0.60rem;
    font-weight: 500;
    color: #000;
    margin-bottom: 0.75rem;
    margin-left: 0;
    margin-right: auto;
    line-height: 1.3;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 4;
    align-self: flex-start;
    order: 2;
}

.mentor-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-transform: uppercase;
    order: 1;
}

.mentor-card-description {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 1rem;
    opacity: 0.9;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    flex: 1;
    order: 3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.mentor-join-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #10b981;
    color: white;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: auto;
    align-self: flex-start;
    margin-top: auto;
    order: 4;
}

.mentor-join-btn:hover {
    background: #10b981;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(156, 39, 176, 0.3);
}

.mentor-card-image {
    position: absolute;
    right: 0;
    bottom: 0;
    top: 0;
    width: 180px;
    height: 100%;
    z-index: 2;
    border-radius: 0 20px 20px 0;
    overflow: hidden;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

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

.courses-grid.single-course {
    grid-template-columns: minmax(320px, 400px);
    justify-content: center;
    justify-items: center;
}

.courses-grid:has(.course-card:only-child) {
    grid-template-columns: minmax(320px, 400px);
    justify-content: center;
    justify-items: center;
}

.course-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 100%;
    width: 100%;
}

.course-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.course-banner {
    position: relative;
    height: 200px;
   
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
}

.course-banner-blue {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.course-banner-content {
    z-index: 2;
}

.course-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #ff0000;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

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

.course-banner-title {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.course-banner-instructor {
    font-size: 1rem;
    opacity: 0.9;
}

.course-logo {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.8rem;
    font-weight: bold;
    opacity: 0.8;
}

.course-content {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.course-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0;
    line-height: 1.4;
    flex: 1;
}

.course-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.course-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.enroll-btn {
    background: #ff6b35;
    color: white;
}

.enroll-btn:hover {
    background: #e55a2b;
    transform: translateY(-2px);
}

/* Course button colors based on card index */
.course-btn-0 {
    background: #10b981 !important;
    color: white !important;
}

.course-btn-0:hover {
    background: #059669 !important;
    color: white !important;
}

.course-btn-1 {
    background: var(--color-primary) !important;
    color: white !important;
}

.course-btn-1:hover {
    background: oklch(0.20 0.0265 278.04) !important;
    color: white !important;
}

.enquire-btn {
    background: #ff6b35;
    color: white;
}

.enquire-btn:hover {
    background: #e55a2b;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        justify-items: stretch;
    }

    .courses-grid.single-course,
    .courses-grid:has(.course-card:only-child) {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .mentors-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 15px;
    }

    .course-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .course-title {
        margin-bottom: 0;
        width: 100%;
    }

    .course-actions {
        width: 100%;
    }

    .course-btn {
        width: 100%;
    }

    .mentors-header {
        padding-left: 15px;
        padding-right: 15px;
        margin-bottom: 2rem;
    }

    .mentors-title-wrapper {
        width: 100%;
    }

    .mentors-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .title-underline {
        width: 60px;
        height: 2px;
        margin: 0 auto;
    }

    .mentors-footer {
        margin-top: 2rem;
        padding: 0 15px;
    }

    .view-all-btn {
        width: auto;
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .mentor-card-new {
        padding-right: 0;
        width: 100%;
        max-width: 100%;
    }

    .mentor-card-bg {
        flex-direction: column;
        height: auto;
        min-height: auto;
        max-height: none;
        padding: 0;
        overflow: hidden;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .mentor-card-content-wrapper {
        flex-direction: column;
        padding-right: 0 !important;
        width: 100%;
        max-width: 100%;
        height: auto;
        display: flex;
    }

    .mentor-card-content-wrapper.has-image {
        padding-right: 0 !important;
    }

    .mentor-card-image {
        position: relative;
        order: 1;
        width: 100%;
        height: auto;
        max-height: 300px;
        min-height: 200px;
        transform: none;
        border-radius: 20px 20px 0 0;
        flex-shrink: 0;
        margin: 0;
        display: block;
    }

    .mentor-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 20px 20px 0 0;
        display: block;
    }

    .mentor-card-content {
        order: 2;
        max-width: 100%;
        padding: 1.5rem;
        margin-bottom: 0;
        text-align: left;
        width: 100%;
        box-sizing: border-box;
        height: auto;
        display: flex;
        flex-direction: column;
    }

    .mentor-card-title {
        order: 1;
        font-size: 1rem;
        margin-bottom: 0.75rem;
        line-height: 1.2;
        word-wrap: break-word;
        overflow-wrap: break-word;
        display: block;
        width: 100%;
    }

    .mentor-category-tag {
        order: 2;
        font-size: 0.7rem;
        padding: 6px 16px;
        margin-bottom: 0.75rem;
        max-width: 100%;
        width: fit-content;
        min-width: fit-content;
        word-wrap: break-word;
        white-space: normal;
        line-height: 1.3;
        display: inline-block;
    }

    .mentor-card-description {
        order: 3;
        font-size: 0.75rem;
        line-height: 1.4;
        margin-bottom: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        text-align: left;
        flex: none;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mentor-join-btn {
        order: 4;
        padding: 10px 20px;
        font-size: 0.85rem;
        width: auto;
        align-self: flex-start;
        margin-top: 0;
        display: inline-block;
    }

    .mentor-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .mentor-card-bg::before {
        display: none;
    }

    .meet-mentors {
        padding: 60px 0 !important;
    }

    .meet-mentors .container {
        padding: 0 15px;
    }

    .mentors-grid {
        margin-top: 2rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .mentors-title {
        font-size: 1.5rem;
    }

    .mentor-card-bg {
        height: auto;
        min-height: auto;
        max-height: none;
        padding: 0;
    }

    .mentor-card-content-wrapper.has-image {
        padding-right: 0 !important;
    }

    .mentor-card-image {
        max-height: 250px;
        min-height: 180px;
    }

    .mentor-card-content {
        padding: 1.25rem;
        padding-left: 0px;
        width: 100%;
    }

    .mentor-card-title {
        font-size: 0.9rem;
        width: 100%;
    }

    .mentor-card-description {
        font-size: 0.7rem;
        width: 100%;
    }

    .mentor-join-btn {
        font-size: 0.8rem;
        padding: 8px 16px;
    }

    .mentor-category-tag {
        font-size: 0.65rem;
        padding: 6px 14px;
        max-width: calc(100% - 0px);
        width: fit-content;
        line-height: 1.3;
    }

    .mentor-join-btn {
        padding: 7px 14px;
        font-size: 0.75rem;
    }

    .mentor-card-image {
        width: 100px;
    }

    .view-all-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/* Read Latest News Section */
.latest-news {
    padding: 50px 20px;
    background: #ffffff;
}

.news-header {
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.news-title {
    margin-bottom: 0;
    font-size: 2.5rem;
    font-weight: 700;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.news-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.news-image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image {
    transform: scale(1.05);
}

.news-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #E8D5FF 0%, #F3E8FF 100%);
}


.news-category-tag {
    position: absolute;
    bottom: 15px;
    left: 15px;
    padding: 6px 16px;
    background: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #000;
    z-index: 2;
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.75rem;
}

.news-date i {
    color: #9C27B0;
    font-size: 0.9rem;
}

.news-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #4A148C;
    margin-bottom: 0;
    line-height: 1.4;
}

.news-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-card-title a:hover {
    color: #9C27B0;
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Meet Your Mentor Section */
.meet-mentor {
    padding: 100px 20px;
    background: #fff;
}

.mentor-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.mentor-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 3rem;
}

.mentor-item {
    margin-bottom: 2.5rem;
}

.mentor-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.mentor-item p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-primary);
    opacity: 0.8;
}

.mentor-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.mentor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* FAQ Section */
.faq {
    padding: 50px 20px;
    background: var(--color-light);
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.faq-item {
    background: #f8f9fa;
    border-radius: 15px;
    margin-bottom: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.faq-item.active {
    border-color: #667eea;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--color-primary);
    opacity: 0.8;
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    color: var(--color-primary);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.5rem 2rem;
}

.faq-answer p {
    color: var(--color-primary);
    opacity: 0.8;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 1rem;
    }
    .hero {
        min-height: 0 !important;
        height: auto !important;
        max-height: none !important;
        padding: 0;
        flex-direction: column;
        background: #000;
        overflow: visible;
    }

    .hero-content {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    .hero-video-container {
        height: 65vh !important;
        min-height: 300px !important;
        max-height: 450px !important;
        flex-shrink: 0;
    }

    .hero-video-container iframe {
        width: 100% !important;
        height: 100% !important;
        min-height: 300px !important;
    }

    .hero-bottom-section {
        display: block !important;
        flex-shrink: 0;
        min-height: 35vh;
        height: auto;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .about-text {
        order: 2;
    }

    .about-image {
        order: 1;
        max-height: 400px;
        min-height: 250px;
        aspect-ratio: 16 / 9;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        position: relative;
    }

    .about-image img,
    .about-image video,
    .about-image iframe {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        object-fit: contain !important;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        border: none;
    }

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

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .services {
        padding: 50px 5px;
    }

    .services-heading {
        font-size: 2rem;
    }

    .service-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
    }

    .service-card.reverse {
        direction: ltr;
    }

    .service-content h3 {
        font-size: 1.5rem;
        line-height: 1.3;
        word-break: break-word;
        hyphens: auto;
    }

    /* Content pages mobile padding fix */
    main.px-6 {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    /* Contact form in page content - ensure proper padding */
    main.px-6 .contact-form-placeholder {
        margin-left: 0;
        margin-right: 0;
    }

    main.px-6 .contact-form-container {
        padding: 0;
        max-width: 100%;
    }

    main.px-6 .contact-form-card {
        padding: 1rem;
    }

    .teams-page{
        padding: 50px 15px !important;
        background: #f5f7fa !important;
    }
    
    .teams-page-card {
        background: white;
        border-radius: 20px;
        padding: 3rem;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    }
    .testimonials,.upcoming-courses,.faq,.about,.latest-news {
        padding: 50px 5px !important;
    }
    

    .teams-page .container {
        padding: 0 !important;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .mentor-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .mentor-text h2 {
        font-size: 2rem;
    }

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

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 1rem;
    }

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

    .btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

/* Footer */
.footer {
    background: oklch(25.65% 0.0265 278.04deg);
    color: white;
    padding: 3rem 0 1rem;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: 100vw;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: white;
    text-decoration: underline;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    font-size: 1.5rem;
    color: white;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
    color: #FBC33F;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.footer-address {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    white-space: pre-line;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Mentor Detail Page */
.mentor-detail-page {
    padding: 100px 20px;
    background: var(--color-light);
}

.mentor-detail-page .container {
    max-width: 1200px;
    margin: 0 auto;
}

.mentor-detail-back-link {
    margin-bottom: 2rem;
}

.mentor-detail-back-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mentor-detail-back-link a:hover {
    opacity: 0.8;
    transform: translateX(-3px);
}

.mentor-detail-back-link a i {
    font-size: 0.9rem;
}

.mentor-detail-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.mentor-detail-wrapper {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    gap: 2rem;
}

.mentor-detail-top-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
}

.mentor-detail-image {
    flex: 0 0 350px;
    width: 350px;
    height: 350px;
    overflow: hidden;
    background: #f5f5f5;
    border-radius: 12px;
}

.mentor-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mentor-detail-header {
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mentor-detail-description-row {
    width: 100%;
    padding-left: 0;
}

.mentor-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.mentor-detail-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 0;
    font-weight: 400;
}

.mentor-detail-description {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.mentor-detail-description p {
    margin: 0;
}

.mentor-detail-full-description {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
}

.mentor-detail-full-description p {
    margin-bottom: 1rem;
}

.mentor-detail-full-description p:last-child {
    margin-bottom: 0;
}

/* Responsive Design for Mentor Detail */
@media (max-width: 768px) {
    .mentor-detail-page {
        padding: 60px 15px;
    }

    .mentor-detail-wrapper {
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .mentor-detail-top-row {
        flex-direction: column;
        gap: 1.5rem;
    }

    .mentor-detail-image {
        flex: none;
        width: 100%;
        max-width: 100%;
        height: 300px;
    }

    .mentor-detail-header {
        width: 100%;
    }

    .mentor-detail-description-row {
        padding-left: 0;
    }

    .mentor-detail-title {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .mentor-detail-subtitle {
        font-size: 1rem;
    }

    .mentor-detail-description,
    .mentor-detail-full-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .mentor-detail-page {
        padding: 40px 10px;
    }

    .mentor-detail-wrapper {
        padding: 1rem;
        gap: 1rem;
    }

    .mentor-detail-top-row {
        gap: 1rem;
    }

    .mentor-detail-image {
        height: 280px;
    }

    .mentor-detail-title {
        font-size: 1.5rem;
    }

    .mentor-detail-subtitle {
        font-size: 0.95rem;
    }

    .mentor-detail-description-row {
        padding-left: 0;
    }
}

