:root {
    --primary-blue: #0d2ad4;
    --dark-blue: #0a1fa8;
    --light-gray: #f5f5f5;
    --border-light: #e0e0e0;
    --text-dark: #1f1f1f;
    --text-light: #666;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --yellow-mustard: #FFCE1B;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: white;
}

/* HEADER - FIXED */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-dark);
    display: inline-block;
}

.logo:hover {
    color: var(--primary-blue);
}

.nav-desktop {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding-bottom: 0.5rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-blue);
    transition: var(--transition);
}

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

.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-blue);
    font-weight: 700;
}

.nav-cta {
    background: var(--primary-blue);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--dark-blue);
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(13, 42, 212, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

.nav-mobile {
    display: none;
    position: fixed;
    right: 0;
    top: 0;
    width: 80%;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.nav-mobile.active {
    transform: translateX(0);
}

.close-menu {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    margin-bottom: 1rem;
}

.nav-link-mobile {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 1rem 0;
}

.cta-mobile {
    background: var(--primary-blue);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

@media (max-width: 1024px) {
    .nav-desktop {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-mobile {
        display: flex;
    }
}

body {
    padding-top: 60px;
}

/* HERO SECTION */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    overflow: hidden;
    padding: 2rem 1rem;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(13, 42, 212, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(13, 42, 212, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
    width: 100%;
}

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

.hero-pill {
    display: inline-block;
    background: linear-gradient(135deg, #0d2ad4 0%, #667eea 100%);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.blue-text {
    color: var(--primary-blue);
}

.italic {
    font-style: italic;
    font-weight: 500;
    color: var(--text-light);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.7;
}

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

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.btn::after {
    content: '';
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
}

.btn-primary::after {
    content: '→';
    font-size: 1.2rem;
}

.btn-primary:hover {
    background: var(--dark-blue);
    transform: scale(1.08);
    box-shadow: 0 12px 24px rgba(13, 42, 212, 0.3);
}

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

.btn-secondary::after {
    content: '▶';
    font-size: 0.8rem;
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: white;
    transform: scale(1.08);
}

.hero-separator {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 2.5rem 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.separator-line {
    flex: 1;
    height: 2px;
    background: var(--primary-blue);
}

.separator-text {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 600;
    white-space: nowrap;
}

.floating-badge {
    position: absolute;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    z-index: 5;
    pointer-events: none;
    white-space: nowrap;
}

.badge-1 {
    top: 15%;
    left: 10%;
    background: #e8f4ff;
    color: var(--primary-blue);
}

.badge-2 {
    top: 25%;
    right: 10%;
    background: #fff4e8;
    color: #ff9800;
}

.badge-3 {
    bottom: 30%;
    left: 8%;
    background: #e8ffe8;
    color: #4caf50;
}

.badge-4 {
    bottom: 20%;
    right: 8%;
    background: #ffe8f4;
    color: #e91e63;
}

.papers-grid {
    display: none;
}

.name-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.name-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    justify-content: center;
}

.degree {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.meta {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.subjects-pills {
    display: none;
}

.pill {
    background: var(--light-gray);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 600;
}

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

    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
        font-size: 0.95rem;
        padding: 0.9rem 1.5rem;
    }

    .hero-separator {
        flex-direction: column;
        gap: 1rem;
    }

    .separator-line {
        width: 100%;
    }

    .separator-text {
        font-size: 0.75rem;
        line-height: 1.4;
    }
}

/* SECTIONS */
section {
    scroll-margin-top: 110px;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

@media (min-width: 1200px) {
    .section-container {
        margin-left: 80px;
        margin-right: 80px;
        max-width: none;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

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

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* SECTION BACKGROUNDS - ALTERNATING */
.about {
    background: #f9f9f9;
}

.about-content {
    background: #f9f9f9;
    border-radius: 0;
    padding: 0;
    max-width: none;
    margin: 0;
}

.courses {
    background: white;
}

.modes {
    background: #f5f5f5;
}

.faqs {
    background: white;
}

.blog {
    background: white;
}

.contact {
    background: #f9f9f9;
}

/* ABOUT */
.about-content {
    line-height: 1.8;
}

.about-content p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.read-more-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.read-more-content.expanded {
    max-height: 1000px;
}

.read-more-btn {
    background: none;
    border: none;
    color: var(--primary-blue);
    text-decoration: underline;
    font-weight: 700;
    cursor: pointer;
    margin: 1.5rem 0;
    transition: var(--transition);
}

.read-more-btn:hover {
    color: var(--dark-blue);
}

.about-cta {
    text-align: center;
    margin-top: 2rem;
}

.linkedin-btn {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.linkedin-btn:hover {
    background: var(--dark-blue);
    transform: scale(1.08);
}

/* COURSES */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.course-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition);
}

.course-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.pill-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.pill-badge {
    background: var(--light-gray);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-light);
}

.course-board {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}

.course-board.tnboard {
    color: #00897b;
}

.course-class {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.course-subjects {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.course-description {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.batch-timings {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    padding: 1rem;
    background: rgba(13, 42, 212, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(13, 42, 212, 0.15);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    margin-left: 0;
    margin-right: 0;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: center;
    position: relative;
    width: 100%;
}

.course-card:hover .batch-timings {
    background: rgba(255, 206, 27, 0.25);
    border-color: rgba(255, 206, 27, 0.5);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 1.3rem 1.5rem;
    margin-left: -3rem;
    margin-right: -3rem;
    width: calc(100% + 6rem);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(255, 206, 27, 0.3);
    z-index: 10;
}

.batch-left, .batch-right, .batch-center {
    text-align: center;
}

.batch-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.batch-days {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 400;
}

.batch-time {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 400;
}

.batch-schedule {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 400;
    line-height: 1.6;
}

.batch-divider {
    font-size: 1.5rem;
    color: var(--border-light);
    line-height: 1;
}

.batch-single {
    grid-template-columns: 1fr;
}

.batch-single .batch-divider {
    display: none;
}

.course-cta {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    width: 100%;
    text-align: center;
}

.course-cta:hover {
    background: var(--dark-blue);
    transform: scale(1.05);
}

.cbse-digest-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: rgba(245, 245, 245, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: var(--text-dark);
    padding: 2.5rem;
    border-radius: 12px;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.08);
}

.cbse-digest-card:hover {
    box-shadow: 0 20px 40px rgba(31, 38, 135, 0.12);
}

.digest-left h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

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

.digest-flow {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin: 1.5rem 0;
    font-size: 0.85rem;
    line-height: 1.5;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
}

@media (max-width: 768px) {
    .digest-flow {
        align-items: center;
    }
}

.flow-item {
    padding: 0.7rem 1rem;
    border-radius: 12px;
    font-weight: 600;
    color: var(--text-dark);
    flex: 1;
    white-space: nowrap;
    transition: var(--transition);
    border: none;
    cursor: default;
    text-align: center;
    width: 100%;
}

.flow-item:nth-child(1) {
    background: #E85D75;
    color: white;
}

.flow-item:nth-child(2) {
    background: #7C5CED;
    color: white;
}

.flow-item:nth-child(3) {
    background: #F4D35E;
    color: var(--text-dark);
}

.flow-item:nth-child(4) {
    background: #6DB3F2;
    color: white;
}

.flow-item:nth-child(5) {
    background: #FFD6E8;
    color: var(--text-dark);
}

.flow-item:hover {
    transform: scale(1.12, 1.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.flow-arrow {
    display: none;
}

.digest-description {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--text-light);
}

.digest-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #FF0000;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    margin: 0 auto;
}

.digest-cta-icon {
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
}

.digest-cta:hover {
    background: #cc0000;
    transform: scale(1.08);
}

.digest-right {
    position: relative;
}

.youtube-mockup {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    color: var(--text-dark);
}

.video-player {
    position: relative;
    background: #000;
    aspect-ratio: 16 / 9;
}

.video-player img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    background: rgba(0, 0, 0, 0.3);
}

.video-suggestions {
    padding: 0.75rem;
}

.video-title {
    padding: 0.5rem 0;
    font-size: 0.85rem;
    font-weight: 600;
    border-bottom: 1px solid var(--border-light);
}

.suggestion-item {
    padding: 0.5rem 0;
    font-size: 0.8rem;
    color: var(--text-light);
}

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

    .cbse-digest-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .digest-left h3 {
        font-size: 1.3rem;
    }

    .digest-flow {
        font-size: 0.75rem;
    }

    .batch-timings {
        margin-bottom: 0.5rem;
        padding: 0.75rem;
        gap: 0.5rem;
    }

    .batch-title {
        font-weight: 700;
        font-size: 0.85rem;
    }

    .batch-days {
        font-weight: 400;
        font-size: 0.8rem;
    }

    .batch-time {
        font-weight: 400;
        font-size: 0.8rem;
    }

    .batch-schedule {
        font-weight: 400;
        font-size: 0.8rem;
    }
}

/* MODES */
.modes-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.mode-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.mode-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    transform: scale(1.05);
}

.mode-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f0f0f0;
}

.mode-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.mode-image-title {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1rem;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
}

.mode-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.mode-description {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.mode-features {
    list-style: none;
    margin-bottom: 1.5rem;
    flex: 1;
}

.mode-features li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

.mode-features li::before {
    content: '✓ ';
    color: var(--primary-blue);
    font-weight: bold;
    margin-right: 0.5rem;
}

.mode-cta {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    text-align: center;
}

.mode-cta:hover {
    background: var(--dark-blue);
    transform: scale(1.08);
}

@media (max-width: 768px) {
    .modes-container {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .mode-card {
        height: 140px;
        cursor: pointer;
        overflow: hidden;
    }

    .mode-card.expanded {
        height: auto;
    }

    .mode-image {
        height: 140px;
    }

    .mode-card-content {
        display: none;
        padding: 1.5rem;
        background: white;
    }

    .mode-card.expanded .mode-card-content {
        display: flex;
    }

    .mode-cta {
        width: 100%;
    }
}

/* FAQs */
.faq-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.faq-filter-btn {
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--border-light);
    background: white;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.faq-filter-btn.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
}

.faq-item.hidden {
    display: none;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
}

.faq-question:hover {
    background: var(--light-gray);
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--light-gray);
    padding: 0 1.5rem;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 1.5rem 1.5rem;
    opacity: 1;
}

/* BLOG */
.blog-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 3rem;
    align-items: flex-start;
}

.blog-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    height: fit-content;
    border: 1px solid var(--border-light);
}

.blog-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.blog-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-cta-link {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.blog-cta-link:hover {
    background: var(--dark-blue);
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(13, 42, 212, 0.3);
}

.blog-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 600;
}

.blog-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
    height: 400px;
}

.carousel-arrow {
    background: var(--primary-blue);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
    z-index: 10;
}

.carousel-arrow:hover {
    background: var(--dark-blue);
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(13, 42, 212, 0.3);
}

.carousel-arrow:active {
    transform: scale(0.95);
}

.blog-carousel {
    flex: 1;
    overflow: hidden;
    width: 100%;
    min-width: 0;
    height: 100%;
    display: flex;
    align-items: center;
    max-width: 650px;
}

.carousel-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    width: 100%;
    padding: 0;
    margin: 0;
    -webkit-overflow-scrolling: touch;
    height: 100%;
    align-items: center;
}

.carousel-container::-webkit-scrollbar {
    height: 8px;
}

.carousel-container::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 4px;
}

.carousel-container::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 4px;
}

.carousel-item {
    flex: 0 0 280px;
    scroll-snap-align: center;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    height: fit-content;
    align-self: center;
    border: 1px solid var(--border-light);
}

.carousel-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transform: scale(1.05);
}

.article-thumbnail {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--light-gray);
}

.article-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.carousel-item:hover .article-thumbnail img {
    transform: scale(1.05);
}

.article-title {
    padding: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.4;
    min-height: 50px;
}

.article-link {
    padding: 0 1rem 1rem;
    display: inline-block;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.article-link:hover {
    color: var(--dark-blue);
}

@media (max-width: 1024px) {
    .blog-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .blog-content {
        display: block;
        padding: 0;
        margin: 0;
    }

    .blog-card {
        width: 100%;
        margin-bottom: 2rem;
        padding: 1.5rem;
    }

    .blog-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }

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

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

    .blog-carousel-wrapper {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0;
        width: 100%;
        height: auto;
        overflow: visible;
        position: relative;
    }

    .carousel-arrow {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 20;
    }

    .carousel-arrow.carousel-arrow-prev {
        left: 8px;
    }

    .carousel-arrow.carousel-arrow-next {
        right: 8px;
    }

    .blog-carousel {
        width: 100%;
        max-width: 100%;
        overflow: visible;
        height: auto;
        flex: 1;
    }

    .carousel-container {
        width: 100%;
        display: flex;
        gap: 1rem;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        padding: 0;
        margin: 0;
        -webkit-overflow-scrolling: touch;
        box-sizing: border-box;
        height: auto;
    }

    .carousel-item {
        flex: 0 0 calc(100% - 1rem);
        scroll-snap-align: start;
        background: white;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
        transition: var(--transition);
        height: fit-content;
    }

    .carousel-item:hover {
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    }

    .article-thumbnail {
        width: 100%;
        aspect-ratio: 16 / 9;
        overflow: hidden;
        background: var(--light-gray);
    }

    .article-title {
        padding: 0.75rem;
        font-size: 0.85rem;
        line-height: 1.3;
    }

    .article-link {
        padding: 0 0.75rem 0.75rem;
        font-size: 0.85rem;
    }
}

/* CONTACT */
.contact {
    background: #f9f9f9;
}

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

.contact-info h3 {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.academy-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.academy-address {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.academy-phone {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-btn {
    flex: 1;
    min-width: 120px;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    transition: var(--transition);
}

.maps-btn {
    background: #FBBC04;
    color: white;
}

.maps-btn:hover {
    background: #f9ab00;
    transform: scale(1.08);
}

.call-btn {
    background: var(--text-dark);
    color: white;
}

.call-btn:hover {
    background: #333;
    transform: scale(1.08);
}

.whatsapp-btn {
    background: #075E54;
    color: white;
}

.whatsapp-btn:hover {
    background: #064e47;
    transform: scale(1.08);
}

/* INQUIRY FORM */
.contact-form-wrapper {
    background: #FFCE1B;
    padding: 2rem;
    border-radius: 12px;
    border: none;
}

.inquiry-heading {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.form-buttons {
    display: flex;
    gap: 0.5rem;
    flex-direction: row;
    flex-wrap: wrap;
}

.form-buttons-row {
    flex-direction: row;
}

.form-btn {
    flex: 1;
    min-width: calc(33.33% - 0.35rem);
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border-light);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    color: var(--text-dark);
}

.form-btn.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.form-btn:hover {
    border-color: var(--primary-blue);
}

.form-submit {
    width: 100%;
    padding: 1rem;
    background: #ccc;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: not-allowed;
    transition: var(--transition);
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-submit::after {
    content: '🚀';
    display: inline-flex;
    font-size: 1rem;
}

.form-submit:not(:disabled) {
    background: #25D366;
    cursor: pointer;
}

.form-submit:not(:disabled):hover {
    background: #1fa852;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.form-submit:disabled {
    opacity: 0.6;
}

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

    .contact-buttons {
        flex-direction: column;
    }

    .contact-btn {
        flex: 1;
    }

    .form-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .form-btn {
        flex: 1;
        min-width: calc(50% - 0.25rem);
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }

    .form-buttons-row {
        flex-direction: row;
        gap: 0.5rem;
    }

    .form-buttons-row .form-btn {
        flex: 1;
        min-width: calc(33.33% - 0.35rem);
        font-size: 0.85rem;
        padding: 0.6rem 0.8rem;
    }
}

/* FOOTER */
.footer {
    background: var(--light-gray);
    color: var(--text-dark);
    padding: 2rem;
    text-align: center;
}

.footer-icons {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    color: var(--text-dark);
    transition: var(--transition);
    text-decoration: none;
}

.footer-icon i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 20px;
}

.footer-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.footer-icon:hover {
    transform: scale(1.2);
}

.footer-icon.youtube {
    color: #ff0000;
}

.footer-icon.youtube:hover {
    color: #cc0000;
}

.footer-icon.mail:hover {
    color: #EA4335;
}

.footer-icon.business:hover {
    color: #4285F4;
}

.footer-icon.linkedin:hover {
    color: #0A66C2;
}

.footer-icon.scholar:hover {
    color: #4285F4;
}

.footer-icon.substack:hover {
    color: #FF6B35;
}

.footer-icon.phone:hover {
    color: #34C759;
}

.footer-copyright {
    font-size: 0.9rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .footer-icons {
        gap: 0.6rem;
    }

    .footer-icon {
        width: 40px;
        height: 40px;
    }

    .footer-icon svg {
        width: 20px;
        height: 20px;
    }

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

    .section-subtitle {
        font-size: 0.95rem;
    }
}

/* DIGEST HERO - NEW */
.digest-hero-new {
    background: #fafafa;
    padding: 4rem 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 6rem;
    position: relative;
    overflow: hidden;
}

.digest-hero-new::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle 0.5px at 10% 20%, rgba(150, 150, 150, 0.25) 0.5px, transparent 0.5px),
        radial-gradient(circle 0.5px at 25% 40%, rgba(150, 150, 150, 0.25) 0.5px, transparent 0.5px),
        radial-gradient(circle 0.5px at 45% 10%, rgba(150, 150, 150, 0.25) 0.5px, transparent 0.5px),
        radial-gradient(circle 0.5px at 70% 30%, rgba(150, 150, 150, 0.25) 0.5px, transparent 0.5px),
        radial-gradient(circle 0.5px at 85% 60%, rgba(150, 150, 150, 0.25) 0.5px, transparent 0.5px),
        radial-gradient(circle 0.5px at 60% 75%, rgba(150, 150, 150, 0.25) 0.5px, transparent 0.5px),
        radial-gradient(circle 0.5px at 15% 80%, rgba(150, 150, 150, 0.25) 0.5px, transparent 0.5px),
        radial-gradient(circle 0.5px at 50% 50%, rgba(150, 150, 150, 0.2) 0.5px, transparent 0.5px),
        radial-gradient(circle 0.5px at 35% 65%, rgba(150, 150, 150, 0.25) 0.5px, transparent 0.5px),
        radial-gradient(circle 0.5px at 75% 15%, rgba(150, 150, 150, 0.2) 0.5px, transparent 0.5px);
    background-size: 120px 120px, 140px 140px, 130px 130px, 150px 150px, 125px 125px, 135px 135px, 145px 145px, 160px 160px, 150px 150px, 140px 140px;
    background-position: 0 0, 20px 20px, 10px 30px, 30px 10px, 15px 35px, 25px 45px, 5px 25px, 0 0, 20px 40px, 40px 20px;
    pointer-events: none;
}

.digest-hero-content {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.digest-hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.digest-hero-blue {
    color: var(--primary-blue);
}

.digest-hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.digest-cards-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 60px;
    position: relative;
    z-index: 2;
}

.digest-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    flex: 1;
    max-width: 180px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
}

.digest-card:hover {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.6);
}

.digest-card-1 {
    height: 200px;
}

.digest-card-2 {
    height: 205px;
}

.digest-card-3 {
    height: 210px;
}

.digest-card-4 {
    height: 205px;
}

.digest-card-5 {
    height: 200px;
}

.digest-card-image {
    flex: 1;
    overflow: hidden;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

/* Color codes for digest cards */
.digest-card-1 .digest-card-image {
    background: #f36b2e;
}

.digest-card-2 .digest-card-image {
    background: #f59a1e;
}

.digest-card-3 .digest-card-image {
    background: #c4e7e5;
}

.digest-card-4 .digest-card-image {
    background: #253c96;
}

.digest-card-5 .digest-card-image {
    background: #19244e;
}

.digest-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: var(--transition);
}

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

.digest-card-content {
    padding: 1rem;
    background: rgba(13, 42, 212, 0.05);
    backdrop-filter: blur(5px);
}

.digest-card-content h3 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin: 0;
    line-height: 1.3;
}

.digest-hero-new .btn {
    margin-top: 1rem;
    font-size: 1.05rem;
}

.digest-hero-new .btn-primary {
    background: #FF0000;
    color: white;
}

.digest-hero-new .btn-primary::before {
    content: '▶ ';
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    margin-right: 0.3rem;
}

.digest-hero-new .btn-primary::after {
    content: '';
    display: none;
}

.digest-hero-new .btn-primary:hover {
    background: #cc0000;
    transform: scale(1.08);
    box-shadow: 0 12px 24px rgba(255, 0, 0, 0.3);
}

.digest-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    justify-content: center;
}

.digest-carousel-arrow {
    display: none;
    background: var(--primary-blue);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: var(--transition);
    flex-shrink: 0;
    z-index: 10;
}

.digest-carousel-arrow:hover {
    background: var(--dark-blue);
    transform: scale(1.1);
}

.digest-carousel-arrow:active {
    transform: scale(0.95);
}

@media (max-width: 1024px) {
    .digest-cards-container {
        gap: 1rem;
        overflow-x: auto;
        padding: 0 1rem;
        justify-content: flex-start;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
    }

    .digest-card {
        flex: 0 0 160px;
        scroll-snap-align: start;
    }

    .digest-card-1 {
        height: 180px;
    }

    .digest-card-2 {
        height: 190px;
    }

    .digest-card-3 {
        height: 200px;
    }

    .digest-card-4 {
        height: 190px;
    }

    .digest-card-5 {
        height: 180px;
    }

    .digest-card-image {
        padding: 6px;
    }

    .digest-card-image img {
        border-radius: 10px;
    }

    .digest-card-content h3 {
        font-size: 0.8rem;
        padding: 0.75rem;
    }
}

@media (max-width: 768px) {
    .digest-hero-new {
        padding: 3rem 1rem;
    }

    .digest-hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .digest-hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .digest-carousel-wrapper {
        display: flex;
        gap: 0;
        position: relative;
        width: 100%;
        justify-content: center;
    }

    .digest-carousel-arrow {
        display: none;
    }

    .digest-carousel-prev {
        display: none;
    }

    .digest-carousel-next {
        display: none;
    }

    .digest-cards-container {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        padding: 0;
        max-width: 100%;
        scroll-snap-type: none;
        -webkit-overflow-scrolling: auto;
        justify-content: center;
        scroll-behavior: auto;
        width: 100%;
        align-items: center;
        overflow: visible;
    }

    .digest-card {
        flex: 0 0 auto;
        scroll-snap-align: none;
        margin: 0;
        height: auto;
        width: 70vw;
        max-width: 70vw;
        padding: 0;
        background: rgba(255, 255, 255, 0.4);
        border: 1px solid rgba(255, 255, 255, 0.5);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .digest-card:hover {
        width: 85vw;
        max-width: 85vw;
        background: rgba(255, 255, 255, 0.5);
        border-color: rgba(255, 255, 255, 0.7);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
        transform: translateY(-8px);
    }

    .digest-card-1 {
        height: auto;
    }

    .digest-card-2 {
        height: auto;
    }

    .digest-card-3 {
        height: auto;
    }

    .digest-card-4 {
        height: auto;
    }

    .digest-card-5 {
        height: auto;
    }

    .digest-card-image {
        display: none;
    }

    .digest-card-content {
        padding: 0;
        background: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        width: 100%;
    }

    .digest-card-content h3 {
        font-size: 1rem;
        padding: 1rem;
        border-radius: 12px;
        margin: 0;
        font-weight: 700;
        transition: var(--transition);
        cursor: pointer;
        display: block;
        text-align: center;
        white-space: normal;
    }

    /* Mobile colored button backgrounds */
    .digest-card-1 .digest-card-content h3 {
        background: #f36b2e;
        color: white;
    }

    .digest-card-2 .digest-card-content h3 {
        background: #f59a1e;
        color: white;
    }

    .digest-card-3 .digest-card-content h3 {
        background: #c4e7e5;
        color: var(--text-dark);
    }

    .digest-card-4 .digest-card-content h3 {
        background: #253c96;
        color: white;
    }

    .digest-card-5 .digest-card-content h3 {
        background: #19244e;
        color: white;
    }

    /* Mobile button hover effect - expand width and height */
    .digest-card-1 .digest-card-content h3:hover,
    .digest-card-2 .digest-card-content h3:hover,
    .digest-card-3 .digest-card-content h3:hover,
    .digest-card-4 .digest-card-content h3:hover,
    .digest-card-5 .digest-card-content h3:hover {
        transform: none;
        box-shadow: none;
    }

    /* Disable hover effects on mobile for the card itself */
    .digest-card:hover {
        background: rgba(255, 255, 255, 0.5);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
        border-color: rgba(255, 255, 255, 0.7);
    }

    .digest-card:hover .digest-card-image img {
        transform: none;
    }
}
