/* =========================================
   VENU LEARNING - COMMON STYLES
   ========================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f7fb;
    color: #1e293b;
    line-height: 1.7;
}

/* =========================================
   HEADER
   ========================================= */

.top-header {
    background: #1e293b;
    color: white;
    height: 65px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 25px;

    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
    color: white;
}

.logo span {
    color: #60a5fa;
}

/* =========================================
   NAVIGATION
   ========================================= */

.top-nav {
    display: flex;
    gap: 20px;
}

.top-nav a {
    color: white;
    text-decoration: none;
    font-size: 15px;
}

.top-nav a:hover {
    color: #60a5fa;
}

/* =========================================
   DOCUMENTATION LAYOUT
   ========================================= */

.docs-layout {
    display: flex;
    min-height: calc(100vh - 65px);
}

/* =========================================
   SIDEBAR
   ========================================= */

.sidebar {
    width: 260px;

    background: white;

    border-right: 1px solid #e2e8f0;

    padding: 25px 15px;

    position: sticky;

    top: 65px;

    height: calc(100vh - 65px);

    overflow-y: auto;
}

.sidebar-title {
    font-size: 14px;

    font-weight: bold;

    color: #64748b;

    text-transform: uppercase;

    margin-bottom: 12px;

    padding-left: 10px;
}

.sidebar a {
    display: block;

    padding: 9px 12px;

    margin: 3px 0;

    border-radius: 6px;

    color: #334155;

    text-decoration: none;

    font-size: 14px;
}

.sidebar a:hover {
    background: #eff6ff;

    color: #2563eb;
}

.sidebar a.active {
    background: #dbeafe;

    color: #1d4ed8;

    font-weight: bold;
}

/* =========================================
   MAIN CONTENT
   ========================================= */

.main-content {
    flex: 1;

    max-width: 950px;

    padding: 40px;

    margin: 0 auto;
}

.page-title {
    font-size: 38px;

    margin-bottom: 10px;

    color: #0f172a;
}

.page-description {
    color: #64748b;

    margin-bottom: 35px;
}

/* =========================================
   CONTENT CARDS
   ========================================= */

.content-card {
    background: white;

    padding: 28px;

    border-radius: 12px;

    margin-bottom: 25px;

    border: 1px solid #e2e8f0;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.04);
}

.content-card h2 {
    margin-bottom: 15px;

    color: #0f172a;
}

.content-card h3 {
    margin-top: 20px;

    margin-bottom: 10px;
}

/* =========================================
   FORMULA BOX
   ========================================= */

.formula-box {
    background: #eff6ff;

    border-left: 5px solid #2563eb;

    padding: 18px;

    margin: 15px 0;

    font-size: 18px;

    font-weight: bold;

    border-radius: 6px;
}

/* =========================================
   EXAMPLE BOX
   ========================================= */

.example-box {
    background: #f8fafc;

    border: 1px solid #e2e8f0;

    padding: 20px;

    border-radius: 8px;

    margin: 15px 0;
}

.example-box .answer {
    color: #15803d;

    font-weight: bold;

    margin-top: 10px;
}

/* =========================================
   TIP BOX
   ========================================= */

.tip-box {
    background: #ecfdf5;

    border-left: 5px solid #16a34a;

    padding: 18px;

    margin: 15px 0;

    border-radius: 6px;
}

/* =========================================
   WARNING BOX
   ========================================= */

.warning-box {
    background: #fff7ed;

    border-left: 5px solid #f97316;

    padding: 18px;

    margin: 15px 0;

    border-radius: 6px;
}

/* =========================================
   PRACTICE QUESTIONS
   ========================================= */

.practice-question {
    background: #f8fafc;

    border: 1px solid #e2e8f0;

    padding: 18px;

    margin: 12px 0;

    border-radius: 8px;
}

.solution-button {
    background: #2563eb;

    color: white;

    border: none;

    padding: 8px 15px;

    border-radius: 6px;

    cursor: pointer;

    margin-top: 10px;
}

.solution-button:hover {
    background: #1d4ed8;
}

.solution {
    display: none;

    background: #ecfdf5;

    padding: 15px;

    margin-top: 10px;

    border-radius: 6px;
}

/* =========================================
   SEARCH
   ========================================= */

.search-box {
    width: 100%;

    padding: 12px 15px;

    border: 1px solid #cbd5e1;

    border-radius: 8px;

    font-size: 15px;

    margin-bottom: 20px;
}

.search-box:focus {
    outline: none;

    border-color: #2563eb;

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* =========================================
   BUTTONS
   ========================================= */

.primary-button {
    display: inline-block;

    background: #2563eb;

    color: white;

    text-decoration: none;

    padding: 10px 18px;

    border-radius: 7px;

    border: none;

    cursor: pointer;
}

.primary-button:hover {
    background: #1d4ed8;
}

/* =========================================
   FOOTER
   ========================================= */

.footer {
    background: #1e293b;

    color: white;

    text-align: center;

    padding: 25px;

    margin-top: 40px;
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 768px) {

    .top-header {
        height: auto;

        padding: 15px;

        flex-direction: column;

        gap: 10px;
    }

    .top-nav {
        flex-wrap: wrap;

        justify-content: center;
    }

    .docs-layout {
        display: block;
    }

    .sidebar {
        width: 100%;

        height: auto;

        position: relative;

        top: 0;

        border-right: none;

        border-bottom: 1px solid #e2e8f0;
    }

    .main-content {
        padding: 20px;
    }

    .page-title {
        font-size: 30px;
    }

}

/* =================================
   HOME PAGE
================================= */

.hero {
    text-align: center;
    padding: 70px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}


.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
}


.hero h1 span {
    color: #2563eb;
}


.hero p {
    max-width: 750px;
    margin: 0 auto 30px;
    font-size: 18px;
    line-height: 1.7;
    color: #64748b;
}


.home-container {
    max-width: 1100px;
    margin: auto;
    padding: 50px 20px;
}


.section-title {
    text-align: center;
    font-size: 30px;
    margin-bottom: 10px;
}


.section-description {
    text-align: center;
    color: #64748b;
    margin-bottom: 35px;
}


.subject-grid {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;
}


.subject-card {
    display: block;
    background: white;
    padding: 28px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;

    text-decoration: none;
    color: inherit;

    transition:
        transform 0.2s,
        box-shadow 0.2s;
}


.subject-card:hover {

    transform: translateY(-5px);

    box-shadow:
        0 10px 25px
        rgba(0, 0, 0, 0.08);

}


.subject-icon {
    font-size: 42px;
    margin-bottom: 15px;
}


.subject-card h3 {
    font-size: 21px;
    margin-bottom: 10px;
}


.subject-card p {
    color: #64748b;
    line-height: 1.6;
}


.learn-link {
    display: inline-block;
    margin-top: 15px;

    color: #2563eb;

    font-weight: bold;
}


@media (max-width: 900px) {

    .subject-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .hero h1 {
        font-size: 30px;
    }


    .subject-grid {
        grid-template-columns: 1fr;
    }

}

/* ================================
   VENU LEARNING HOME CARDS
================================ */

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

.subject-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 25px !important;
    width: 100%;
}

.subject-card {
    display: block !important;
    background: #ffffff !important;
    border: 1px solid #dbe3ec !important;
    border-radius: 16px !important;
    padding: 30px !important;
    min-height: 230px !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
    color: #1e293b !important;
    transition: transform 0.2s ease,
                box-shadow 0.2s ease !important;
}

.subject-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.10) !important;
}

.subject-icon {
    font-size: 45px !important;
    margin-bottom: 15px !important;
}

.subject-card h3 {
    font-size: 22px !important;
    margin: 0 0 12px 0 !important;
}

.subject-card p {
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: #64748b !important;
    margin: 0 !important;
}

.learn-link {
    display: inline-block !important;
    margin-top: 20px !important;
    color: #2563eb !important;
    font-weight: 600 !important;
}


/* TABLET */

@media (max-width: 900px) {

    .subject-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

}


/* MOBILE */

@media (max-width: 600px) {

    .subject-grid {
        grid-template-columns: 1fr !important;
    }

    .subject-card {
        min-height: auto !important;
    }

}

/* =================================
   COMPARISON TABLE
================================= */

.comparison-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 25px 0;
    border-radius: 10px;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    min-width: 650px;
    border-collapse: collapse;
    background: #ffffff;
    font-size: 15px;
}

.comparison-table th,
.comparison-table td {
    border: 1px solid #dbe3ec;
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
}

.comparison-table th {
    background: #f1f5f9;
    font-weight: 700;
    color: #1e293b;
}

.comparison-table td {
    color: #475569;
    line-height: 1.5;
}

.comparison-table tr:nth-child(even) {
    background: #f8fafc;
}

.comparison-table tr:hover {
    background: #eff6ff;
}


/* MOBILE */

@media (max-width: 700px) {

    .comparison-table-wrapper {
        overflow-x: auto;
    }

    .comparison-table {
        min-width: 650px;
        font-size: 14px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 11px 12px;
    }

}
.comparison-table th,
.comparison-table td {
    border: 1px solid #dbe3ec;
    padding: 12px;
    text-align: left;
}

.comparison-table th {
    background: #f1f5f9;
    font-weight: 700;
}

.comparison-table tr:nth-child(even) {
    background: #f8fafc;
}

.output-box {
    background: #0f172a;
    color: #ffffff;
    padding: 18px;
    border-radius: 8px;
    font-family: monospace;
    margin: 15px 0;
}

/* Pointer Memory Diagram */

.pointer-memory-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin: 30px auto;
    padding: 25px;
    width: 100%;
    box-sizing: border-box;
}

.pointer-memory-box {
    text-align: center;
    min-width: 150px;
}

.pm-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.pm-box {
    width: 120px;
    height: 60px;
    margin: 0 auto;
    border: 2px solid currentColor;
    border-radius: 6px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 22px;
    font-weight: bold;
}

.pm-address {
    margin-top: 10px;
    font-size: 14px;
}

.pm-connection {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 180px;
}

.pm-line {
    font-family: monospace;
    font-size: 22px;
    white-space: nowrap;
}

.pm-text {
    font-size: 14px;
    margin-top: 5px;
}


/* Mobile */

@media (max-width: 600px) {

    .pointer-memory-diagram {
        flex-direction: column;
        gap: 20px;
    }

    .pm-connection {
        transform: rotate(90deg);
    }

    .pm-text {
        transform: rotate(-90deg);
    }

}

/* Union Memory Diagram */

.union-memory-diagram {
    width: 100%;
    max-width: 500px;
    margin: 30px auto;
    text-align: center;
}

.union-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 12px;
}

.union-memory-box {
    border: 3px solid currentColor;
    border-radius: 8px;
    padding: 20px;
    width: 280px;
    margin: 0 auto;
    box-sizing: border-box;
}

.union-shared-label {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.union-member {
    border: 1px solid currentColor;
    border-radius: 5px;
    padding: 8px;
    margin: 7px 0;
    font-family: monospace;
    font-weight: bold;
}

.union-note {
    margin-top: 15px;
    font-size: 14px;
    font-style: italic;
}

@media (max-width: 600px) {

    .union-memory-box {
        width: 90%;
        max-width: 280px;
    }

}

/* Dynamic Memory Diagrams */

.memory-diagram {
    width: 100%;
    max-width: 600px;
    margin: 30px auto;
    text-align: center;
}

.memory-section {
    border: 2px solid currentColor;
    border-radius: 8px;
    padding: 15px;
    margin: 10px auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-sizing: border-box;
}

.memory-section strong {
    font-size: 18px;
}

.memory-section span {
    font-family: monospace;
    font-weight: bold;
}

@media (max-width: 600px) {

    .memory-diagram {
        width: 95%;
    }

}

/* Bitwise Programming */

.bit-row {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 20px auto 8px;
    flex-wrap: wrap;
}

.bit-box {
    width: 42px;
    height: 42px;
    border: 2px solid currentColor;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: monospace;
    font-size: 20px;
    font-weight: bold;
}

.bit-label {
    text-align: center;
    font-size: 14px;
    margin-bottom: 25px;
}

.bit-operation {
    width: 100%;
    max-width: 500px;
    margin: 25px auto;
    font-family: monospace;
}

.bit-line {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 20px;
    padding: 8px 12px;
    border-bottom: 1px solid currentColor;
    text-align: right;
}

.bit-line span:first-child {
    text-align: left;
}

.operator-line {
    font-weight: bold;
    border-top: 2px solid currentColor;
}

@media (max-width: 600px) {

    .bit-box {
        width: 34px;
        height: 34px;
        font-size: 17px;
    }

    .bit-line {
        grid-template-columns: 80px 1fr;
        gap: 10px;
        font-size: 14px;
    }

}


/* =================================
   C PRACTICE LEVEL BUTTONS
================================= */

.content-card .practice-level-button {
    width: 70%;
    max-width: 700px;
    margin: 10px auto;
    padding: 14px 18px;
    display: block;
    box-sizing: border-box;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

/* =========================================
   CODEBHAVYA BRAND DESIGN
   ========================================= */

:root {
    --cb-navy: #0D1B2A;
    --cb-navy-light: #1B2A41;
    --cb-gold: #D4AF37;
    --cb-gold-light: #F5D76E;
    --cb-white: #FFFFFF;
    --cb-light: #F8FAFC;
    --cb-text: #1E293B;
    --cb-muted: #64748B;
}


/* =========================================
   CODEBHAVYA HEADER
   ========================================= */

.top-header {
    background: var(--cb-navy);
    height: 72px;
    padding: 0 35px;
    border-bottom: 2px solid var(--cb-gold);
}


.logo {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    font-weight: 700;
    letter-spacing: 0.3px;
}


.logo-code {
    color: var(--cb-white);
}


.logo-bhavya {
    color: var(--cb-gold);
}


.top-nav {
    gap: 22px;
}


.top-nav a {
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}


.top-nav a:hover {
    color: var(--cb-gold-light);
}


/* =========================================
   CODEBHAVYA HERO
   ========================================= */

.codebhavya-hero {
    position: relative;
    background:
        linear-gradient(
            135deg,
            #0D1B2A 0%,
            #16283D 55%,
            #1B2A41 100%
        );

    color: white;

    min-height: 520px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 80px 20px;

    overflow: hidden;
}


/* Decorative gold glow */

.codebhavya-hero::before {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    border: 1px solid rgba(212, 175, 55, 0.25);

    border-radius: 50%;

    top: -150px;
    right: -100px;
}


.codebhavya-hero::after {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    border: 1px solid rgba(212, 175, 55, 0.18);

    border-radius: 50%;

    bottom: -120px;
    left: -80px;
}


.hero-content {
    position: relative;
    z-index: 2;

    max-width: 850px;

    text-align: center;
}


.hero-small-title {
    color: var(--cb-gold-light);

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 4px;

    margin-bottom: 15px;
}


.hero h1 {
    margin-bottom: 10px;

    font-size: 58px;
}


.hero-brand {
    color: white;

    font-family:
        Georgia,
        "Times New Roman",
        serif;
}


.hero h2 {
    color: var(--cb-gold);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 25px;

    font-weight: 500;

    margin-bottom: 25px;
}


.hero-description {
    max-width: 720px;

    margin: 0 auto 32px;

    color: #D8E0EA;

    font-size: 17px;

    line-height: 1.8;
}


/* =========================================
   HERO BUTTONS
   ========================================= */

.hero-buttons {
    display: flex;

    justify-content: center;

    gap: 15px;

    flex-wrap: wrap;
}


.hero-buttons .primary-button {
    background: var(--cb-gold);

    color: var(--cb-navy);

    font-weight: 700;

    padding: 12px 24px;

    border-radius: 7px;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}


.hero-buttons .primary-button:hover {
    background: var(--cb-gold-light);

    transform: translateY(-2px);
}


.secondary-button {
    display: inline-block;

    padding: 11px 24px;

    border: 1px solid var(--cb-gold);

    border-radius: 7px;

    color: white;

    text-decoration: none;

    font-weight: 600;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}


.secondary-button:hover {
    background: var(--cb-gold);

    color: var(--cb-navy);
}


/* =========================================
   SECTION LABEL
   ========================================= */

.section-label {
    text-align: center;

    color: #A98220;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 8px;
}


/* =========================================
   LEARNING CARDS
   ========================================= */

.subject-card {
    position: relative;

    border-top: 4px solid transparent !important;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease !important;
}


.subject-card:hover {
    border-top-color: var(--cb-gold) !important;

    transform: translateY(-7px) !important;

    box-shadow:
        0 15px 35px rgba(13, 27, 42, 0.12) !important;
}


.subject-icon {
    width: 62px;
    height: 62px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #F8F3E4;

    border-radius: 12px;

    font-size: 32px !important;

    margin-bottom: 18px !important;
}


.subject-card h3 {
    color: var(--cb-navy);

    font-family:
        Georgia,
        "Times New Roman",
        serif;
}


.learn-link {
    color: #A98220 !important;
}


/* =========================================
   WHY CODEBHAVYA
   ========================================= */

.why-codebhavya {
    background: var(--cb-navy);

    color: white;

    padding: 75px 20px;

    margin-top: 30px;
}


.why-container {
    max-width: 1100px;

    margin: auto;

    text-align: center;
}


.why-container .section-label {
    color: var(--cb-gold-light);
}


.why-container h2 {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 34px;

    margin-bottom: 12px;
}


.why-container > p:not(.section-label) {
    color: #CBD5E1;

    margin-bottom: 40px;
}


/* =========================================
   LEARNING STEPS
   ========================================= */

.learning-steps {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}


.learning-step {
    padding: 25px 20px;

    border:
        1px solid
        rgba(212, 175, 55, 0.35);

    border-radius: 12px;

    background:
        rgba(255, 255, 255, 0.04);
}


.learning-step span {
    display: block;

    color: var(--cb-gold);

    font-size: 14px;

    font-weight: bold;

    margin-bottom: 12px;
}


.learning-step h3 {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 21px;

    margin-bottom: 8px;
}


.learning-step p {
    color: #CBD5E1;

    font-size: 14px;

    line-height: 1.6;
}


/* =========================================
   CODEBHAVYA FOOTER
   ========================================= */

.footer {
    background: #08131F;

    padding: 35px 20px;

    margin-top: 0;
}


.footer-brand {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 25px;

    font-weight: bold;

    margin-bottom: 5px;
}


.footer-brand span {
    color: var(--cb-gold);
}


.footer-tagline {
    color: #CBD5E1;

    font-size: 14px;

    margin-bottom: 15px;
}


.footer-copy {
    color: #94A3B8;

    font-size: 13px;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 900px) {

    .learning-steps {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 768px) {

    .top-header {
        height: auto;

        padding: 15px 20px;

        gap: 14px;
    }


    .logo {
        font-size: 25px;
    }


    .top-nav {
        gap: 12px 18px;
    }


    .top-nav a {
        font-size: 13px;
    }


    .codebhavya-hero {
        min-height: 500px;

        padding: 65px 20px;
    }


    .hero h1 {
        font-size: 44px;
    }


    .hero h2 {
        font-size: 21px;
    }


    .hero-description {
        font-size: 15px;
    }

}


@media (max-width: 600px) {

    .hero h1 {
        font-size: 38px;
    }


    .hero h2 {
        font-size: 19px;
    }


    .learning-steps {
        grid-template-columns: 1fr;
    }


    .why-container h2 {
        font-size: 28px;
    }

}

/* =========================================
   CODEBHAVYA LEARNING JOURNEY
   ========================================= */

.approach-description {
    color: #CBD5E1;
    max-width: 650px;
    margin: 0 auto 45px;
    font-size: 16px;
}


/* Journey container */

.learning-journey {
    max-width: 1050px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* Individual step */

.journey-step {
    width: 220px;
    min-height: 235px;

    padding: 20px 15px;

    text-align: center;

    border: 1px solid rgba(212, 175, 55, 0.35);

    border-radius: 14px;

    background: rgba(255, 255, 255, 0.04);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}


.journey-step:hover {
    transform: translateY(-6px);

    background: rgba(255, 255, 255, 0.08);

    border-color: #D4AF37;
}


/* Number */

.journey-number {
    color: #D4AF37;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 12px;
}


/* Icon */

.journey-icon {
    width: 58px;
    height: 58px;

    margin: 0 auto 15px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #F8F3E4;

    font-size: 27px;
}


/* Heading */

.journey-step h3 {
    color: white;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 22px;

    margin-bottom: 10px;
}


/* Description */

.journey-step p {
    color: #CBD5E1;

    font-size: 14px;

    line-height: 1.6;

    margin: 0;
}


/* Connecting line */

.journey-line {
    width: 45px;

    height: 2px;

    background: #D4AF37;

    position: relative;

    flex-shrink: 0;
}


/* Arrow */

.journey-line::after {
    content: "";

    position: absolute;

    right: -1px;

    top: -4px;

    width: 8px;
    height: 8px;

    border-top: 2px solid #D4AF37;
    border-right: 2px solid #D4AF37;

    transform: rotate(45deg);
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 950px) {

    .learning-journey {
        flex-wrap: wrap;

        gap: 20px;
    }

    .journey-line {
        display: none;
    }

}


@media (max-width: 600px) {

    .learning-journey {
        flex-direction: column;

        gap: 20px;
    }


    .journey-step {
        width: 100%;

        max-width: 350px;
    }

}

/* =========================================
   CODEBHAVYA PREMIUM BRAND
   ========================================= */

.logo {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 29px;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-decoration: none;
}


/* Code */

.logo-code {
    color: #F8FAFC;
}


/* Bhavya */

.logo-bhavya {
    background: linear-gradient(
        90deg,
        #D4AF37,
        #F5D76E,
        #D4AF37
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    background-clip: text;

    font-weight: 700;
}


/* Mobile */

@media (max-width: 600px) {

    .logo {
        font-size: 25px;
    }

}

/* =========================================
   CODEBHAVYA PREMIUM SUBJECT CARDS
   ========================================= */

.subject-grid {
    max-width: 1150px;
    margin: 40px auto 0;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 24px;
}


/* Card */

.subject-card {
    position: relative;

    min-height: 285px;

    padding: 30px 26px;

    background: #FFFFFF;

    border: 1px solid #E5E7EB;

    border-radius: 16px;

    text-decoration: none;

    overflow: hidden;

    box-shadow:
        0 5px 18px rgba(13, 27, 42, 0.06);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


/* Gold top accent */

.subject-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: #D4AF37;

    transform: scaleX(0);

    transform-origin: left;

    transition: transform 0.3s ease;
}


/* Hover */

.subject-card:hover {
    transform: translateY(-7px);

    border-color: #D4AF37;

    box-shadow:
        0 15px 35px rgba(13, 27, 42, 0.12);
}


.subject-card:hover::before {
    transform: scaleX(1);
}


/* Icon */

.subject-icon {
    width: 64px;
    height: 64px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    background: #F8F3E4;

    border: 1px solid #E8D9A8;

    border-radius: 14px;

    font-size: 30px;
}


/* Heading */

.subject-card h3 {
    margin: 0 0 12px;

    color: #0D1B2A;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 22px;

    line-height: 1.3;
}


/* Description */

.subject-card p {
    margin: 0;

    color: #64748B;

    font-size: 14px;

    line-height: 1.7;
}


/* Learn link */

.subject-card .learn-link {
    display: inline-block;

    margin-top: 22px;

    color: #A98220;

    font-size: 14px;

    font-weight: 700;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


.subject-card:hover .learn-link {
    color: #8B6B16;

    transform: translateX(4px);
}


/* =========================================
   RESPONSIVE CARDS
   ========================================= */

@media (max-width: 950px) {

    .subject-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .subject-grid {
        grid-template-columns: 1fr;

        gap: 18px;

        margin-top: 30px;
    }


    .subject-card {
        min-height: auto;

        padding: 25px 22px;
    }

}

/* =========================================
   CODEBHAVYA PREMIUM NAVIGATION
   ========================================= */

.top-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    position: sticky;
    top: 0;
    z-index: 1000;

    background: #0D1B2A;

    padding: 0 35px;

    min-height: 72px;

    border-bottom: 2px solid #D4AF37;

    box-shadow:
        0 4px 15px rgba(13, 27, 42, 0.15);
}


/* Logo */

.logo {
    flex-shrink: 0;

    white-space: nowrap;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 29px;

    font-weight: 700;

    text-decoration: none;
}


/* Navigation */

.top-nav {
    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 6px;
}


/* Navigation links */

.top-nav a {
    position: relative;

    padding: 9px 13px;

    color: #E5E7EB;

    text-decoration: none;

    font-size: 14px;

    font-weight: 500;

    border-radius: 6px;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}


/* Hover */

.top-nav a:hover {
    color: #F5D76E;

    background:
        rgba(212, 175, 55, 0.08);
}


/* Gold underline */

.top-nav a::after {
    content: "";

    position: absolute;

    left: 13px;
    right: 13px;

    bottom: 3px;

    height: 2px;

    background: #D4AF37;

    transform: scaleX(0);

    transform-origin: center;

    transition: transform 0.2s ease;
}


.top-nav a:hover::after {
    transform: scaleX(1);
}


/* =========================================
   ACTIVE PAGE
   ========================================= */

.top-nav a.active {
    color: #F5D76E;

    font-weight: 700;
}


.top-nav a.active::after {
    transform: scaleX(1);
}


/* =========================================
   MOBILE NAVIGATION
   ========================================= */

@media (max-width: 850px) {

    .top-header {
        flex-direction: column;

        justify-content: center;

        gap: 10px;

        padding: 14px 15px;
    }


    .top-nav {
        width: 100%;

        justify-content: center;

        flex-wrap: wrap;

        gap: 4px;
    }


    .top-nav a {
        padding: 8px 10px;

        font-size: 13px;
    }

}


@media (max-width: 500px) {

    .logo {
        font-size: 25px;
    }


    .top-nav {
        gap: 2px;
    }


    .top-nav a {
        padding: 7px 8px;

        font-size: 12px;
    }

}

<h1 class="hero-brand">
    <span class="hero-code">Code</span><span class="hero-bhavya">Bhavya</span>
</h1>

/* =========================================
   FINAL CODEBHAVYA HERO BRAND FIX
   ========================================= */

.codebhavya-hero h1.hero-brand {
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 58px !important;
    font-weight: 700 !important;
    color: #F8FAFC !important;
}


/* CODE */

.codebhavya-hero h1.hero-brand .hero-code {
    color: #B8D8F0 !important;

    background: none !important;

    -webkit-text-fill-color: #B8D8F0 !important;
}


/* BHAVYA */

.codebhavya-hero h1.hero-brand .hero-bhavya {
    background: linear-gradient(
        90deg,
        #D4AF37,
        #F5D76E,
        #D4AF37
    ) !important;

    -webkit-background-clip: text !important;
    background-clip: text !important;

    -webkit-text-fill-color: transparent !important;

    color: transparent !important;
}


/* MOBILE */

@media (max-width: 768px) {

    .codebhavya-hero h1.hero-brand {
        font-size: 44px !important;
    }

}


@media (max-width: 600px) {

    .codebhavya-hero h1.hero-brand {
        font-size: 38px !important;
    }

}

/* =========================================
   CODEBHAVYA JOURNEY CARD UNIFORMITY
   ========================================= */

.learning-journey {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}


/* All four cards exactly same size */

.journey-step {
    width: 220px;
    height: 245px;
    min-width: 220px;
    min-height: 245px;

    box-sizing: border-box;

    padding: 20px 18px;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    border: 1px solid rgba(212, 175, 55, 0.35);

    border-radius: 14px;

    background: rgba(255, 255, 255, 0.04);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}


/* Number */

.journey-number {
    height: 18px;

    margin-bottom: 10px;

    flex-shrink: 0;
}


/* Icon */

.journey-icon {
    width: 58px;
    height: 58px;

    margin-bottom: 14px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #F8F3E4;

    font-size: 27px;
}


/* Heading area */

.journey-step h3 {
    height: 28px;

    margin: 0 0 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #FFFFFF;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 21px;
}


/* Description area */

.journey-step p {
    height: 68px;

    margin: 0;

    display: flex;
    align-items: flex-start;
    justify-content: center;

    color: #CBD5E1;

    font-size: 14px;

    line-height: 1.6;
}


/* Connecting arrows */

.journey-line {
    width: 42px;
    height: 2px;

    flex-shrink: 0;

    background: #D4AF37;

    position: relative;
}


/* =========================================
   HOVER
   ========================================= */

.journey-step:hover {
    transform: translateY(-6px);

    background: rgba(255, 255, 255, 0.08);

    border-color: #D4AF37;
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 950px) {

    .learning-journey {
        flex-wrap: wrap;
        gap: 20px;
    }

    .journey-line {
        display: none;
    }

}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 600px) {

    .learning-journey {
        flex-direction: column;
        gap: 20px;
    }

    .journey-step {
        width: 100%;
        max-width: 350px;

        min-width: 0;
    }

}

/* =========================================
   CODEBHAVYA BRAND COLOR CONSISTENCY
   ========================================= */

:root {
    --codebhavya-code-blue: #B8D8F0;
}


/* Header Code */

.logo .logo-code {
    color: var(--codebhavya-code-blue) !important;
    -webkit-text-fill-color: var(--codebhavya-code-blue) !important;
}


/* Hero Code */

.codebhavya-hero .hero-code {
    color: var(--codebhavya-code-blue) !important;
    -webkit-text-fill-color: var(--codebhavya-code-blue) !important;

    background: none !important;
}

/* =========================================
   CODEBHAVYA FOOTER BRAND
   ========================================= */

.footer-brand {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 5px;
}


/* Code */

.footer-code {
    color: #B8D8F0 !important;
}


/* Bhavya */

.footer-bhavya {
    background: linear-gradient(
        90deg,
        #D4AF37,
        #F5D76E,
        #D4AF37
    );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;

    color: transparent;
}


/* Footer tagline */

.footer-tagline {
    color: #CBD5E1;
}


/* Copyright */

.footer-copy {
    color: #94A3B8;
}

/* =========================================
   FINAL FOOTER BRAND COLOR FIX
   ========================================= */

/* Code = Light Blue */
.footer-brand .footer-code {
    color: #B8D8F0 !important;

    background: none !important;

    -webkit-background-clip: initial !important;
    background-clip: initial !important;

    -webkit-text-fill-color: #B8D8F0 !important;
}


/* Bhavya = Gold */
.footer-brand .footer-bhavya {
    background: linear-gradient(
        90deg,
        #D4AF37,
        #F5D76E,
        #D4AF37
    ) !important;

    -webkit-background-clip: text !important;
    background-clip: text !important;

    -webkit-text-fill-color: transparent !important;

    color: transparent !important;
}

/* ================= FOOTER ================= */

.footer {
    margin-top: 0;
    padding: 40px 8% 20px;
    text-align: center;
}


.footer-brand h2 {
    font-size: 32px;
    margin-bottom: 8px;
}


.footer-brand p {
    font-size: 16px;
    margin-bottom: 35px;
}


.footer-container {
    display: flex;
    justify-content: center;
    gap: 100px;
    text-align: left;
    flex-wrap: wrap;
}


.footer-section {
    min-width: 150px;
}


.footer-section h3 {
    margin-bottom: 15px;
    font-size: 18px;
}


.footer-section a {
    display: block;
    text-decoration: none;
    margin-bottom: 10px;
}


.footer-bottom {
    margin-top: 35px;
    padding-top: 15px;
}


.footer-bottom p {
    font-size: 14px;
}


/* Mobile Responsive */

@media(max-width:768px){

    .footer-container{
        flex-direction:column;
        align-items:center;
        text-align:center;
        gap:30px;
    }

}

/* Ensure the footer brand matches the header perfectly */
.footer-brand .logo {
    font-family: Georgia, "Times New Roman", serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px !important;
    display: inline-block;
    margin-bottom: 8px; /* Matches your footer's spacing layout */
}

/* Force the text-fill effects to render properly in the footer */
.footer-brand .logo-code {
    color: #B8D8F0 !important;
    -webkit-text-fill-color: #F8FAFC !important;
}

.footer-brand .logo-bhavya {
    background: linear-gradient(
        90deg,
        #D4AF37,
        #F5D76E,
        #D4AF37
    ) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
}

/* =========================================
   TAGLINE GRADIENT COLOR TREATMENT
   ========================================= */

.hero-gradient-tagline,
.footer-gradient-tagline {
    background: linear-gradient(
        90deg,
        #D4AF37,
        #F5D76E,
        #D4AF37
    ) !important;

    -webkit-background-clip: text !important;
    background-clip: text !important;

    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    
    display: inline-block; /* Essential for the gradient clip effect */
    font-weight: 600 !important;
}

/* Specific spacing adjustments so they sit nicely in their sections */
.hero-gradient-tagline {
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 25px !important;
    margin-bottom: 25px !important;
}

.footer-gradient-tagline {
    font-size: 16px !important;
    margin-bottom: 35px !important;
}

/* =========================================
   CODEBHAVYA PROFESSIONAL FOOTER
   ========================================= */

.footer {
    background: #08131F;

    color: #FFFFFF;

    padding: 55px 30px 0;

    margin-top: 0;
}


/* Main footer */

.footer-container {
    max-width: 1150px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        2fr 1fr 1.2fr 1fr;

    gap: 45px;

    padding-bottom: 45px;
}


/* =========================================
   BRAND SECTION
   ========================================= */

.footer-brand-section {
    max-width: 350px;
}


.footer-brand {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 28px;

    font-weight: 700;

    margin-bottom: 8px;
}


/* Code */

.footer-brand .footer-code {
    color: #B8D8F0 !important;

    background: none !important;

    -webkit-background-clip: initial !important;
    background-clip: initial !important;

    -webkit-text-fill-color: #B8D8F0 !important;
}


/* Bhavya */

.footer-brand .footer-bhavya {
    background: linear-gradient(
        90deg,
        #D4AF37,
        #F5D76E,
        #D4AF37
    );

    -webkit-background-clip: text;

    background-clip: text;

    -webkit-text-fill-color: transparent;

    color: transparent;
}


/* Tagline */

.footer-tagline {
    color: #D4AF37;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 15px;

    line-height: 1.6;

    margin-bottom: 12px;
}


/* Description */

.footer-description {
    color: #94A3B8;

    font-size: 14px;

    line-height: 1.7;

    margin: 0;
}


/* =========================================
   FOOTER COLUMNS
   ========================================= */

.footer-column {
    display: flex;

    flex-direction: column;

    align-items: flex-start;
}


.footer-column h3 {
    color: #FFFFFF;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 17px;

    margin: 3px 0 18px;

    position: relative;
}


/* Small gold line */

.footer-column h3::after {
    content: "";

    display: block;

    width: 28px;

    height: 2px;

    background: #D4AF37;

    margin-top: 7px;
}


.footer-column a {
    color: #94A3B8;

    text-decoration: none;

    font-size: 14px;

    line-height: 1.5;

    margin-bottom: 11px;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


.footer-column a:hover {
    color: #F5D76E;

    transform: translateX(3px);
}


/* =========================================
   FOOTER BOTTOM
   ========================================= */

.footer-bottom {
    max-width: 1150px;

    margin: 0 auto;

    padding: 20px 0;

    border-top: 1px solid
        rgba(255, 255, 255, 0.10);

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}


.footer-bottom p {
    color: #64748B;

    font-size: 12px;

    margin: 0;
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 900px) {

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

        gap: 35px;
    }

    .footer-brand-section {
        grid-column: 1 / -1;

        max-width: 600px;
    }

}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 600px) {

    .footer {
        padding: 45px 22px 0;
    }


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

        gap: 30px;

        padding-bottom: 35px;
    }


    .footer-brand-section {
        grid-column: auto;

        max-width: 100%;
    }


    .footer-column h3 {
        margin-bottom: 14px;
    }


    .footer-bottom {
        flex-direction: column;

        align-items: center;

        text-align: center;

        padding: 18px 0;
    }

}

/* =========================================
   FINAL CODEBHAVYA FOOTER ALIGNMENT
   ========================================= */

.footer {
    background: #08131F;
    color: #FFFFFF;
    padding: 50px 30px 0;
}


/* Main footer layout */

.footer-container {
    max-width: 1150px;
    margin: 0 auto;

    display: grid;

    grid-template-columns: 2fr 1fr 1.3fr 1fr;

    gap: 55px;

    align-items: start;

    padding-bottom: 42px;
}


/* =========================================
   BRAND
   ========================================= */

.footer-brand-section {
    max-width: 360px;
    padding-top: 0;
}


.footer-brand {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 28px;
    font-weight: 700;

    line-height: 1.2;

    margin: 0 0 8px;
}


.footer-brand .footer-code {
    color: #B8D8F0 !important;

    background: none !important;

    -webkit-background-clip: initial !important;
    background-clip: initial !important;

    -webkit-text-fill-color: #B8D8F0 !important;
}


.footer-brand .footer-bhavya {
    background: linear-gradient(
        90deg,
        #D4AF37,
        #F5D76E,
        #D4AF37
    );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
    color: transparent;
}


.footer-tagline {
    color: #D4AF37;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 15px;

    line-height: 1.5;

    margin: 0 0 12px;
}


.footer-description {
    color: #94A3B8;

    font-size: 14px;

    line-height: 1.7;

    margin: 0;

    max-width: 330px;
}


/* =========================================
   LINK COLUMNS
   ========================================= */

.footer-column {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    padding: 0;
}


.footer-column h3 {
    color: #FFFFFF;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 17px;

    line-height: 1.3;

    margin: 2px 0 17px;
}


.footer-column h3::after {
    content: "";

    display: block;

    width: 28px;

    height: 2px;

    background: #D4AF37;

    margin-top: 7px;
}


.footer-column a {
    color: #94A3B8;

    text-decoration: none;

    font-size: 14px;

    line-height: 1.5;

    margin: 0 0 10px;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


.footer-column a:hover {
    color: #F5D76E;

    transform: translateX(3px);
}


/* =========================================
   BOTTOM BAR
   ========================================= */

.footer-bottom {
    max-width: 1150px;

    margin: 0 auto;

    padding: 18px 0;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.10);

    display: flex;

    align-items: center;

    justify-content: space-between;
}


.footer-bottom p {
    color: #64748B;

    font-size: 12px;

    line-height: 1.5;

    margin: 0;
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 900px) {

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

        gap: 35px;
    }

    .footer-brand-section {
        grid-column: 1 / -1;
    }

}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 600px) {

    .footer {
        padding: 42px 22px 0;
    }

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

        gap: 30px;

        padding-bottom: 35px;
    }

    .footer-brand-section {
        grid-column: auto;

        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 8px;

        text-align: center;
    }

}

/* =========================================
   CODEBHAVYA MAIN LOGO IMAGE
   ========================================= */

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    width: 170px;
    height: auto;
    display: block;
    object-fit: contain;
}

/* =========================================
   FINAL HEADER LOGO ALIGNMENT
   ========================================= */

.top-header {
    display: flex;
    align-items: center;
}


/* Logo container */

.top-header .logo {
    display: flex;
    align-items: center;

    height: 52px;

    flex-shrink: 0;
}


/* Logo image */

.top-header .logo img {
    display: block;

    width: 145px;
    height: 52px;

    object-fit: contain;
    object-position: left center;
}


/* Navigation alignment */

.top-header .top-nav {
    display: flex;
    align-items: center;
}


/* Desktop */

@media (min-width: 769px) {

    .top-header .logo {
        margin-right: 25px;
    }

}


/* Mobile */

@media (max-width: 768px) {

    .top-header .logo {
        height: 48px;
    }

    .top-header .logo img {
        width: 140px;
        height: 48px;
    }

}

/* =========================================
   CODEBHAVYA HEADER LOGO
   ========================================= */

.top-header .logo {
    display: flex;
    align-items: center;
    height: 58px;
    flex-shrink: 0;
}

.top-header .logo img {
    display: block;
    width: 190px;
    height: auto;
    max-height: 58px;
    object-fit: contain;
}
