:root {
    --navy-900: #061b2f;
    --navy-800: #0a2a45;
    --navy-700: #0e3a5c;
    --cyan-500: #19c5ff;
    --cyan-300: #6fe3ff;

    --text-main: #061b2f;
    --text-muted: #64748b;
    --bg-white: #ffffff;
    --bg-subtle: #f8fafc;
    --border-light: rgba(6, 27, 47, 0.08);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background: var(--bg-white);
}

/* --- Navigation  --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 8%;
    background: var(--navy-900);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
}

.nav-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    margin-left: 2rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--cyan-500);
}

.enroll-btn {
    background: var(--cyan-500);
    color: var(--navy-900) !important;
    padding: 0.6rem 1.4rem;
    border-radius: 8px;
}

/* --- Hero Section  --- */
.header {
    text-align: center;
    padding: 120px 10% 80px;
    background: radial-gradient(circle at 80% 20%, rgba(25, 197, 255, 0.15), transparent), var(--navy-900);
    color: white;
    clip-path: ellipse(150% 100% at 50% 0%);
}

/* ---------- Shared Partition Style ---------- */
.partition {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.partition-line {
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--cyan-500) 0%, rgba(25, 197, 255, 0.1) 100%);
}

.academy-eyebrow-text {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    font-weight: 700;
    color: var(--cyan-500);
    white-space: nowrap;
}

.header h1 {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.header p {
    color: #94a3b8;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 3rem;
}


/* CANVAS PARTICLES */
canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}



/* --- Segment Tabs  --- */
.segment {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 8px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.segment button {
    padding: 12px 40px;
    border: none;
    background: none;
    color: #94a3b8;
    font-weight: 600;
    cursor: pointer;
    border-radius: 12px;
    transition: var(--transition);
}

.segment button.active {
    background: var(--cyan-500);
    color: var(--navy-900);
    box-shadow: 0 8px 20px rgba(25, 197, 255, 0.3);
}

/* --- Course Recommendation Section --- */
.course-recommendation {
    background: #ffffff;
    padding: 80px 8%;
    text-align: center;
}

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

.course-recommendation h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.recommendation-subtitle {
    font-size: 18px;
    color: var(--navy-800);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.recommendation-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.recommendation-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 24px;
    border: 1px solid rgba(6, 27, 47, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 20px rgba(6, 27, 47, 0.04);
    cursor: pointer;
    text-align: center;
}

.recommendation-card:hover {
    transform: translateY(-10px);
    border-color: var(--cyan-300);
    box-shadow: 0 20px 40px rgba(6, 27, 47, 0.1);
}

.rec-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(25, 197, 255, 0.15), rgba(25, 197, 255, 0.05));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.recommendation-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 12px;
}

.recommendation-card p {
    font-size: 15px;
    color: var(--navy-800);
    line-height: 1.6;
    margin-bottom: 20px;
}

.rec-course {
    display: inline-block;
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
}

/* Mobile Responsive for Recommendation Section */
@media (max-width: 900px) {
    .recommendation-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .course-recommendation {
        padding: 60px 5%;
    }
    
    .course-recommendation h2 {
        font-size: 32px;
    }
    
    .recommendation-subtitle {
        font-size: 16px;
    }
    
    .recommendation-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .recommendation-card {
        padding: 30px 20px;
    }
    
    .rec-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 20px;
    }
    
    .recommendation-card h3 {
        font-size: 20px;
    }
}

/* --- Course Grid (Matches Image 2) --- */
.container {
    padding: 100px 8%;
    background: #ebeef0;
}

/* ===== GRID ===== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    align-items: stretch;
}

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

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

    .card {
        padding: 25px 15px;
        margin-bottom: 15px;
    }

    .card h3 {
        font-size: 18px;
        margin: 15px 0 10px;
    }

    .card p {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .icon-circle {
        width: 45px;
        height: 45px;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .grid {
        gap: 10px;
    }

    .card {
        padding: 20px 12px;
        margin-bottom: 10px;
    }

    .card h3 {
        font-size: 16px;
        margin: 12px 0 8px;
    }

    .card p {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .icon-circle {
        width: 40px;
        height: 40px;
        margin-bottom: 12px;
    }

    .btn-sm {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}

/* ===== CARD ===== */
.card {
    padding: 40px 30px;
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(6, 27, 47, 0.05);
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(6, 27, 47, 0.02);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--cyan-300);
    box-shadow: 0 20px 40px rgba(6, 27, 47, 0.06);
}

/* ===== ICON ===== */
.icon-circle {
    width: 50px;
    height: 50px;
    background: rgba(25, 197, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan-500);
    margin-bottom: 20px;
}

/* ===== TEXT ===== */
.card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--navy-900);
    margin: 20px 0 12px;
}

.card p {
    font-size: 15px;
    color: var(--navy-800);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* ===== CTA ===== */
.btn-sm {
    background: #061b2f;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
    cursor: pointer;
    margin-top: auto;
}

.btn-sm:hover {
    background: #0a2a45;
}

.btn-sm::after {
    content: '→';
    transition: 0.3s;
}

.card:hover .btn-sm::after {
    transform: translateX(6px);
}

/* --- Detail Drawer --- */
.detail-drawer {
    margin-top: 60px;
    display: none;
    grid-template-columns: 320px 1fr;
    background: white;
    border-radius: 40px;
    border: 1px solid var(--border-light);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
}

.drawer-sidebar {
    background: radial-gradient(circle at 80% 20%, rgba(25, 197, 255, 0.15), transparent), var(--navy-900);
    color: white;
    padding: 60px 40px;
    position: relative;
}

.drawer-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(25, 197, 255, 0.15), transparent);
    z-index: 0;
    pointer-events: none;
}

.drawer-sidebar * {
    position: relative;
    z-index: 1;
}

.drawer-sidebar span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    display: block;
}

.drawer-sidebar h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.sidebar-stat {
    margin-bottom: 20px;
}

.sidebar-stat span {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.sidebar-stat p {
    font-size: 1.1rem;
    color: white;
    margin-top: 5px;
}

.sidebar-stat {
    border-bottom: 1px dotted rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.sidebar-stat:last-child {
    border-bottom: none;
}

.drawer-content {
    background: white;
    color: var(--text-main);
    padding: 60px;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2.5rem;
    color: var(--cyan-500);
    background: none;
    border: 1px solid var(--cyan-500);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

/* --- Accordion --- */
.accordion-item {
    border: 2px solid var(--cyan-500);
    border-radius: 12px;
    margin-bottom: 15px;
    background: white;
}

.accordion-header {
    padding: 20px;
    font-weight: 700;
    color: var(--navy-900);
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    align-items: center;
}

.accordion-header span {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #19c5ff, #061b2f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1); 
    color: var(--text-main);
    padding: 0 20px;
}

.active .accordion-body {
   
    max-height: 1000px; 
    padding: 20px;
    transition: max-height 0.5s ease-in-out;
}


.accordion-body ul {
    list-style-type: disc;
    margin-left: 20px;
    color: var(--cyan-500);
}


@media (max-width: 768px) {
    .accordion-header {
        font-size: 1rem;
        padding: 15px;
    }
    .answer-inner {
        font-size: 14px;
        line-height: 1.5;
    }
}
/* Highlighting */
.highlight {
    background: linear-gradient(135deg, rgba(25, 197, 255, 0.2), rgba(111, 227, 255, 0.1));
    padding: 2px 4px;
    border-radius: 4px;
    font-weight: 600;
}
.download-btn {
    background: #061b2f;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: background-colour 0.3s ease;
}
.download-btn:hover {
    background: #0a2a45;
}
/* CTA Button */
.enroll-now-btn {
    background: #061b2f;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: background-colour 0.3s ease;
}

.enroll-now-btn:hover {
    background: #0a2a45;
}

/* Enroll CTA Footer */
.enroll-cta-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e6eaf4;
}

.blogs-section {
    background: #ffffff;
    padding: 40px 24px 20px;
    font-family: 'Outfit', sans-serif;
}

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

.blogs-partition {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
    width: 100%;
}

.blogs-partition .partition-line {
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--cyan-500) 0%, rgba(25, 197, 255, 0.1) 100%);
}

.blogs-eyebrow-text {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    font-weight: 700;
    color: var(--cyan-500);
    white-space: nowrap;
}

.blogs-header-content {
    text-align: center;
    width: 100%;
    margin-bottom: 40px;
}

.blogs-header-content h2 {
    font-size: 52px;
    line-height: 1.15;
    font-weight: 800;
    color: var(--navy-900);
    margin: 0 0 24px 0;
    letter-spacing: -0.03em;
}

.blogs-header-content h2 span {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 40%, var(--cyan-500) 100%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.blogs-header-content p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    color: var(--navy-800);
}

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

.blogs-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(6, 27, 47, 0.06);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 20px rgba(6, 27, 47, 0.02);
    margin: 0 0 24px 0;
}

.blogs-card:hover {
    transform: translateY(-10px);
    border-color: var(--cyan-300);
    box-shadow: 0 20px 40px rgba(6, 27, 47, 0.08);
}

.blogs-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 25px;
}

.blogs-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 15px;
}

.blogs-card p {
    font-size: 15px;
    color: var(--navy-800);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .blogs-header-content h2 {
        font-size: 36px;
    }

    .blogs-partition {
        gap: 10px;
    }
}

/* ================= FOOTER THEME ================= */
:root {
    --navy-900: #061b2f;
    --navy-800: #0a2a45;
    --navy-700: #0e3a5c;
    --cyan-500: #19c5ff;
    --cyan-300: #6fe3ff;
    --footer-gradient: linear-gradient(180deg, var(--navy-900) 0%, #030d17 100%);
}

footer {
    padding: 80px 8% 40px;
    background: var(--footer-gradient);
    color: #e2e8f0;
    font-family: 'Outfit', sans-serif;
    border-top: 1px solid rgba(25, 197, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
}

.footer-column h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.footer-column h3 span {
    color: var(--cyan-500);
}

.footer-description {
    line-height: 1.7;
    font-size: 0.95rem;
    color: #94a3b8;
    max-width: 360px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--cyan-500);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-links a svg {
    width: 20px;
    height: 20px;
}

.social-links a:hover {
    background: var(--cyan-500);
    color: var(--navy-900);
    border-color: var(--cyan-500);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(25, 197, 255, 0.2);
}

.footer-bottom {
    max-width: 1200px;
    margin: 60px auto 0;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #64748b;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 5%;
    }

    .logo {
        font-size: 1.3rem;
    }

    .nav-links a {
        margin-left: 1rem;
        font-size: 0.9rem;
    }

    .header {
        padding: 80px 5% 60px;
    }

    .header h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .header p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .segment {
        padding: 6px;
    }

    .segment button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .container {
        padding: 60px 5%;
    }

    .card {
        padding: 30px 20px;
    }

    .card h3 {
        font-size: 20px;
    }

    .card p {
        font-size: 14px;
    }

    .detail-drawer {
        display: flex;
        flex-direction: column;
        margin-top: 40px;
        height: 80vh;
        overflow-y: auto;
    }

    .drawer-sidebar {
        padding: 40px 20px;
    }

    .drawer-sidebar h2 {
        font-size: 1.8rem;
    }

    .drawer-content {
        flex: 1;
        padding: 40px 20px;
        overflow-y: auto;
    }

    .enroll-cta-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .enroll-cta-footer div p:first-child {
        font-size: 1rem;
    }

    .enroll-cta-footer div p:last-child {
        font-size: 0.8rem;
    }

    .blogs-section {
        padding: 30px 5%;
    }

    .blogs-header-content h2 {
        font-size: 32px;
    }

    .blogs-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blogs-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 2rem;
    }

    .header p {
        font-size: 0.9rem;
    }

    .segment button {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .card {
        padding: 25px 15px;
    }

    .drawer-sidebar {
        padding: 30px 15px;
    }

    .drawer-content {
        padding: 30px 15px;
    }

    .blogs-header-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    
    .detail-drawer {
        display: none; 
        grid-template-columns: 1fr !important;
        height: auto !important; 
        max-height: 90vh;
        overflow-y: auto;
        margin: 20px 5%;
        border-radius: 24px;
    }

    .drawer-sidebar {
        padding: 30px 20px;
        text-align: center;
    }

    .drawer-content {
        padding: 30px 20px;
        background: #fff;
    }

   
    .sidebar-stat {
        display: inline-block;
        margin: 10px;
        border-bottom: none;
        padding: 0;
    }
    
    
    .close-btn {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
        background: white; 
    }
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-description {
        margin: 0 auto;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 60px 5% 30px;
    }

    .footer-content {
        gap: 30px;
    }

    .footer-column h3 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .footer-description {
        font-size: 0.9rem;
        max-width: 100%;
    }

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

    .footer-links a {
        font-size: 0.9rem;
    }

    .social-links {
        gap: 10px;
    }

    .social-links a {
        width: 40px;
        height: 40px;
    }

    .social-links a svg {
        width: 18px;
        height: 18px;
    }

    .footer-bottom {
        font-size: 0.8rem;
        padding-top: 20px;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 40px 5% 20px;
    }

    .footer-column h3 {
        font-size: 1.1rem;
    }

    .footer-description {
        font-size: 0.85rem;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .social-links a {
        width: 36px;
        height: 36px;
    }

    .social-links a svg {
        width: 16px;
        height: 16px;
    }

    .footer-bottom {
        font-size: 0.75rem;
    }
}
@media (max-width: 480px) {
    .container {
        padding: 40px 15px !important; 
    
    .blogs-section {
        padding: 20px 15px !important;
    }

    
    h1, h2, h3 {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}
}

