/* Modern & Minimal Design System for Techpath Learning */

:root {
    /* Color Palette */
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --accent: #f97316;
    --accent-light: #fb923c;
    --dark-bg: #0f172a;
    --dark-surface: #1e293b;
    --light-bg: #f8fafc;
    --light-surface: #ffffff;
    --text-main: #334155;
    --text-muted: #64748b;
    --text-on-dark: #f1f5f9;
    --border: #e2e8f0;
    --gradient: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Quicksand', 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--light-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Quicksand', 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

/* Navbar */
.navbar {
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links li a {
    font-weight: 500;
    color: var(--text-main);
    font-size: 1rem;
}

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

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: var(--light-bg);
}

.hero-bg {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, rgba(248, 250, 252, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--dark-bg);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-content .tagline {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

.hero-image {
    position: relative;
}

.main-hero-img-container {
    width: 100%;
    height: 500px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.main-hero-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Glass Card */
.glass-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 1.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 2;
}

.ibm-badge-card {
    top: 10%;
    left: -10%;
    font-weight: 600;
    color: var(--primary);
}

.ibm-mini-logo {
    height: 24px;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-xl {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
}

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

.w-full {
    width: 100%;
    justify-content: center;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 4rem;
}

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

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

.title-underline {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto;
    border-radius: 2px;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.lead {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-bg);
    margin-bottom: 1.5rem;
}

.founder-card {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--light-surface);
    border-radius: 24px;
    border-left: 6px solid var(--accent);
    box-shadow: var(--shadow-md);
}

.founder-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.designation {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.stat-card:hover {
    transform: translateX(10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.stat-card h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* IBM Section */
.ibm-section {
    background-color: var(--dark-bg);
    color: var(--text-on-dark);
    border-radius: 60px;
    margin: 0 1.5rem;
    position: relative;
    overflow: hidden;
}

.ibm-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.sub-title {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

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

.ibm-features {
    margin: 2.5rem 0;
}

.ibm-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.ibm-features i {
    color: var(--primary-light);
}

.ibm-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.ibm-tags span {
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.tech-card {
    background: var(--dark-surface);
    padding: 2.5rem;
    border-radius: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.tech-card i {
    font-size: 2.5rem;
    color: var(--primary-light);
    margin-bottom: 1.25rem;
}

.tech-card h4 {
    font-size: 1.25rem;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.delay-1 {
    animation-delay: 1.5s;
}

.delay-2 {
    animation-delay: 3s;
}

.delay-3 {
    animation-delay: 4.5s;
}

@keyframes float {

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

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

/* Finance Grid */
.finance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

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

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-light);
}

.course-icon {
    width: 70px;
    height: 70px;
    background: rgba(249, 115, 22, 0.1);
    color: var(--accent);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.course-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    padding: 100px 0 0;
    background: #020617;
    color: #94a3b8;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 80px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.footer h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

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

.footer ul li a:hover {
    color: var(--primary-light);
}

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

/* Responsive */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-container,
    .about-grid,
    .ibm-content-wrapper,
    .contact-card {
        grid-template-columns: 1fr;
    }

    .hero-image {
        order: -1;
    }

    .main-hero-img-container {
        height: 400px;
    }

    .ibm-visual {
        margin-top: 3rem;
    }

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

.nav-links li.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .navbar {
        height: 70px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        gap: 1.5rem;
        text-align: center;
        border-top: 1px solid var(--border);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li.mobile-only {
        display: block;
        margin-top: 0.5rem;
    }

    .nav-contact {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

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

    .section {
        padding: 60px 0;
    }

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

    .contact-info,
    .contact-form-wrapper {
        padding: 2rem;
    }
}

.login-btn {
    border-radius: 50px !important;
    padding: 0.6rem 1.25rem !important;
    font-size: 0.9rem !important;
}

.img-placeholder {
    width: 100%;
    height: 100%;
    background: #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748b;
    gap: 1rem;
}

.img-placeholder i {
    font-size: 3rem;
}

/* Clients Scrollview */
.clients-section {
    padding: 3rem 0;
    background: #f8fafc;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

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

.clients-track {
    display: flex;
    gap: 4rem;
    animation: scroll 40s linear infinite;
    width: max-content;
}

.client-logo {
    width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-150px * 9 - 4rem * 9)); }
}

/* IBM Highlights Card */
.ibm-highlights-card {
    margin-top: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    border-left: 6px solid var(--primary);
}

.ibm-highlights-card h3 {
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.4rem;
}

.ibm-highlight-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.ibm-highlight-list i {
    color: var(--accent);
    font-size: 0.9rem;
}

/* Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    height: 300px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* ==========================================================================
   Custom Additions: Marquees, Popups, Floating Widgets, and Reference Features
   ========================================================================== */

/* Variables / Theme Additions */
:root {
    --solid-border: 1px solid var(--border);
    --solid-shadow: var(--shadow-md);
    --solid-shadow-hover: var(--shadow-lg);
    --radius-sm: 12px;
    --radius-md: 24px;
    --radius-lg: 32px;
    --yellow-brand: #f2e858;
}

/* Header & Navigation Scroll Override */
.header {
    position: fixed;
    top: var(--header-top, 0px);
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: var(--border);
    z-index: 999;
    transition: all 0.3s ease;
    height: 80px;
}

.header.scrolled {
    height: 70px;
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 48px;
    width: auto;
}

.logo-tagline {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-left: 2px solid var(--border);
    padding-left: 12px;
}

@media (max-width: 991px) {
    .logo-tagline {
        display: none;
    }
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

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

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

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }
}

/* 1. Header Marquee Styles */
.header-marquee {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: #0f172a;
    color: white;
    overflow: hidden;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: marquee-anim 25s linear infinite;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-right: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.marquee-btn {
    background: var(--yellow-brand);
    color: #0f172a;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.marquee-btn:hover {
    background: white;
}

@keyframes marquee-anim {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* 2. Website Popup Poster Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-card {
    background: white;
    border: var(--solid-border);
    border-radius: var(--radius-md);
    box-shadow: var(--solid-shadow);
    max-width: 450px;
    width: 100%;
    overflow: hidden;
    position: relative;
    transform: scale(0.9);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.popup-overlay.active .popup-card {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: white;
    border: var(--solid-border);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.popup-close:hover {
    background: #f1f5f9;
    transform: scale(1.1);
}

.popup-image-wrap {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-bottom: var(--solid-border);
}

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

.popup-body {
    padding: 24px;
    text-align: center;
}

.popup-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.3;
}

.popup-text {
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 20px;
    line-height: 1.5;
}

.popup-btn {
    width: 100%;
    justify-content: center;
    font-weight: 700;
}

/* 3. Floating WhatsApp Styles */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background-color: #25d366;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 998;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: var(--solid-border);
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    background-color: #20ba5a;
}

.whatsapp-float i {
    font-size: 1.3rem;
}

@media (max-width: 576px) {
    .whatsapp-float span {
        display: none;
    }
    .whatsapp-float {
        padding: 12px;
        border-radius: 50%;
    }
}

/* 4. Modern Course Cards & Bundles Grid */
.filter-section {
    background: #f8fafc;
    border-bottom: 1px solid var(--border);
    padding: 30px 0;
}

.filter-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.filter-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-btn {
    background: white;
    border: 1px solid var(--border);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
    color: var(--text-main);
}

.filter-btn:hover {
    background: var(--light-bg);
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.catalog-metric {
    font-weight: 600;
    color: #475569;
    font-size: 0.95rem;
}

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

/* Modernized Course Card styling from reference */
.course-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    height: 100%;
    cursor: pointer;
    position: relative;
    padding: 0; /* Override any global course-card padding */
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.course-thumb {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--light-bg);
    border-bottom: 1px solid var(--border);
}

.course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: white;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.course-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    color: var(--dark-bg);
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.course-body {
    padding: 24px;
    flex-grow: 1;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #475569;
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.course-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.4;
}

.course-desc {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 18px;
}

.course-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.course-subtag {
    background: #f1f5f9;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
}

.course-footer {
    padding: 24px;
    border-top: 1px solid var(--border);
    background: var(--light-bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-fee-info {
    display: flex;
    flex-direction: column;
}

.course-fee-info span {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

.course-fee {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
}

/* 5. Course Details Layout Styles */
.details-container {
    padding: 130px 0 80px;
    background: var(--light-bg);
    min-height: 100vh;
}

/* Breadcrumb Styles */
.breadcrumb {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.breadcrumb a {
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

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

.breadcrumb .separator {
    opacity: 0.4;
    font-weight: 400;
}

.details-wrapper {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 991px) {
    .details-wrapper {
        grid-template-columns: 1fr;
    }
}

.details-hero {
    background: white;
    border: var(--solid-border);
    border-radius: var(--radius-md);
    box-shadow: var(--solid-shadow);
    padding: 40px;
    margin-bottom: 30px;
}

.rating-badge {
    background: #fef3c7;
    color: #d97706;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge-outline {
    border: 1px solid #0f172a;
    background: transparent;
    color: #0f172a;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
}

.details-body {
    background: white;
    border: var(--solid-border);
    border-radius: var(--radius-md);
    box-shadow: var(--solid-shadow);
    padding: 40px;
    margin-bottom: 30px;
}

.details-body h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
}

.feature-pills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 30px 0;
}

@media (max-width: 576px) {
    .feature-pills-grid {
        grid-template-columns: 1fr;
    }
}

.feature-pill-card {
    border: var(--solid-border);
    background: #f8fafc;
    border-radius: var(--radius-sm);
    padding: 16px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-pill-card i {
    font-size: 1.5rem;
    color: var(--primary);
}

.feature-pill-card-info h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
}

.feature-pill-card-info p {
    font-size: 0.8rem;
    color: #475569;
    line-height: 1.4;
}

.syllabus-section {
    margin-top: 40px;
}

.syllabus-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: var(--solid-border);
    padding-bottom: 12px;
    margin-bottom: 24px;
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
}

.chapters-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chapter-item {
    border: var(--solid-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: white;
}

.chapter-header {
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #f8fafc;
    transition: all 0.2s ease;
}

.chapter-header:hover {
    background: #f1f5f9;
}

.chapter-item.active .chapter-header {
    background: var(--primary);
    color: white;
}

.chapter-number {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--primary);
}

.chapter-item.active .chapter-number {
    color: white;
}

.chapter-name {
    font-weight: 700;
    font-size: 1rem;
}

.chapter-toggle-icon {
    transition: transform 0.3s ease;
}

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

.chapter-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.chapter-dropdown-content {
    padding: 24px;
    border-top: var(--solid-border);
    background: white;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chapter-section-box {
    border-left: 3px solid var(--primary);
    padding-left: 16px;
}

.chapter-section-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #0f172a;
    margin-bottom: 8px;
}

.chapter-subsections-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.chapter-subsection-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #475569;
}

.chapter-subsection-item i {
    color: #10b981;
    font-size: 0.8rem;
}

/* Details Sidebar Card */
.details-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: white;
    border: var(--solid-border);
    border-radius: var(--radius-md);
    box-shadow: var(--solid-shadow);
    padding: 30px;
}

.sidebar-thumb {
    border: var(--solid-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    height: 180px;
    background: #f1f5f9;
    margin-bottom: 24px;
}

.sidebar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pricing-section {
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.price-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.price-value-container {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.price-current {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
}

.price-original {
    font-size: 1.1rem;
    text-decoration: line-through;
    color: #94a3b8;
}

.discount-tag {
    background: #fee2e2;
    color: #ef4444;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
}

.sidebar-meta-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.sidebar-meta-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #475569;
}

.sidebar-meta-item i {
    color: #64748b;
    margin-right: 6px;
}

.sidebar-meta-item strong {
    color: #0f172a;
    font-weight: 700;
}

.btn-block {
    width: 100%;
    justify-content: center;
    font-weight: 700;
}

/* 6. Download Modal Overlay & Modal Window */
.download-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.download-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.download-modal {
    background: white;
    border: var(--solid-border);
    border-radius: var(--radius-md);
    box-shadow: var(--solid-shadow);
    max-width: 450px;
    width: 100%;
    padding: 30px;
    position: relative;
    transform: scale(0.9);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.download-modal-overlay.active .download-modal {
    transform: scale(1);
}

.download-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    color: #64748b;
}

.download-modal h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.download-modal p {
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 24px;
    line-height: 1.5;
}

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

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
}

.checkbox-input {
    width: 18px;
    height: 18px;
    border: var(--solid-border);
    border-radius: 4px;
    cursor: pointer;
}

/* Zoho Partnership Box */
.partnership-box {
    background: white;
    border: var(--solid-border);
    border-radius: var(--radius-md);
    box-shadow: var(--solid-shadow);
    padding: 40px;
    margin-top: 40px;
}

.partnership-inner {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: center;
}

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

.partnership-info h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0f172a;
    margin: 12px 0;
}

.lead-text {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 24px;
}

.partnership-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 576px) {
    .partnership-features {
        grid-template-columns: 1fr;
    }
}

.p-feature {
    display: flex;
    gap: 12px;
}

.p-feature-icon {
    font-size: 1.4rem;
    color: #d97706;
}

.p-feature-text h4 {
    font-size: 0.9rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
}

.p-feature-text p {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.4;
}

/* AOS Replacements helper classes */
[data-aos] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}