:root {
    /* Light Theme Colors */
    --bg-color: #ffffff;
    --section-bg: #f8fafc;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --primary-color: #0ea5e9;
    --primary-hover: #0284c7;
    --accent-color: #f59e0b;
    --border-color: #e2e8f0;
    
    /* Typography */
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Merriweather', serif;
    --nav-height: 80px;
    
    /* Shadows for depth, not glass */
    --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);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

.section-bg {
    background-color: var(--section-bg);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

.highlight {
    color: var(--primary-color);
}

/* Utilities */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px;
}

.section-header {
    margin-bottom: 60px;
}

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

.section-title {
    font-size: 2.5rem;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.title-line {
    height: 4px;
    width: 60px;
    background-color: var(--primary-color);
    margin-bottom: 24px;
    border-radius: 2px;
}

.title-line.center {
    margin-left: auto;
    margin-right: auto;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 100;
    transition: all 0.3s ease;
    background: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    text-decoration: none;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

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

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

.nav-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: var(--text-secondary);
    background: var(--section-bg);
    border: 1px solid var(--border-color);
    text-decoration: none;
    font-size: 1.3rem;
    transition: all 0.2s ease;
}

.nav-social-btn:hover {
    color: #e1306c;
    border-color: #e1306c;
    background: #fdf2f8;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    position: relative;
    overflow: hidden;
}

/* Subtle pattern background for hero */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(#e2e8f0 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.5;
    z-index: -1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 60px;
    align-items: center;
}

.hero-text {
    min-width: 0;
    width: 100%;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 100px;
    color: var(--primary-hover);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.5rem;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Visual Card with Logos */
.hero-visual {
    position: relative;
    min-width: 0;
    width: 100%;
}

.visual-card {
    background: white;
    border-radius: 20px;
    padding: 36px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    position: relative;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.visual-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.brand-logos {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
    padding: 10px 18px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.brand-divider-vertical {
    width: 1px;
    height: 32px;
    background: var(--border-color);
}

.cb-logo {
    height: 36px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
}

.java-icon {
    height: 42px;
    width: auto;
    max-width: 90px;
    object-fit: contain;
    display: block;
}

/* Floating Code & Binary Pills */
.hero-visual {
    position: relative;
}

.floating-code-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.code-pill {
    position: absolute;
    background: white;
    padding: 6px 14px;
    border-radius: 100px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-hover);
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    animation: floatCode 6s ease-in-out infinite alternate;
}

.code-pill.pill-1 {
    top: -24px;
    right: 20px;
    animation-delay: 0s;
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #16a34a;
}

.code-pill.pill-2 {
    bottom: -20px;
    left: 20px;
    animation-delay: 1.5s;
    background: #f0f9ff;
    border-color: #bae6fd;
    color: #0284c7;
}

.code-pill.pill-3 {
    top: 45%;
    left: -35px;
    animation-delay: 3s;
    background: #fefce8;
    border-color: #fef08a;
    color: #ca8a04;
}

.code-pill.pill-4 {
    bottom: 25%;
    right: -25px;
    animation-delay: 4.5s;
    background: #faf5ff;
    border-color: #e9d5ff;
    color: #9333ea;
}

@keyframes floatCode {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    100% {
        transform: translateY(-12px) rotate(2deg);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Minimal Code Editor & AP Simulator Widget */
.code-editor-box {
    background: #0f172a;
    border-radius: 14px;
    overflow: hidden;
    margin: 20px 0 24px;
    border: 1px solid #1e293b;
    box-shadow: 0 16px 36px -12px rgba(15, 23, 42, 0.35);
    text-align: left;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.editor-top-bar {
    background: #1e293b;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #334155;
}

.editor-top-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.editor-dots {
    display: flex;
    gap: 5px;
}

.editor-dots .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.editor-filename {
    color: #94a3b8;
    font-size: 0.78rem;
    font-family: 'SFMono-Regular', Consolas, monospace;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.editor-play-btn {
    background: #10b981;
    color: white;
    border: none;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.editor-play-btn:hover {
    background: #059669;
}

.editor-play-btn.running {
    background: #f59e0b;
}

/* Code Area */
.editor-code-area {
    padding: 10px 0;
    background: #0f172a;
    width: 100%;
    box-sizing: border-box;
}

.code-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
}

.code-row {
    display: flex;
    align-items: center;
    padding: 1.5px 12px;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.78rem;
    line-height: 1.5;
    transition: background 0.15s ease, border-left 0.15s ease;
    border-left: 3px solid transparent;
}

.code-row .line-num {
    color: #475569;
    width: 18px;
    text-align: right;
    margin-right: 12px;
    user-select: none;
    font-size: 0.72rem;
    flex-shrink: 0;
}

.code-row .line-content {
    color: #e2e8f0;
    white-space: pre;
}

/* Active Executing Line */
.code-row.active-line {
    background: rgba(56, 189, 248, 0.12);
    border-left: 3px solid #38bdf8;
}

.code-row.active-line .line-num {
    color: #38bdf8;
    font-weight: 700;
}

/* Syntax Highlighting */
.kwd { color: #c084fc; font-weight: 600; }
.cls { color: #38bdf8; font-weight: 600; }
.fn  { color: #fbbf24; }
.str { color: #4ade80; }
.num { color: #fb923c; font-weight: 600; }
.cmt { color: #64748b; font-style: italic; }

/* Minimal Stepper & Score Status Bar */
.minimal-status-bar {
    background: #090d16;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #1e293b;
    gap: 8px;
    box-sizing: border-box;
    width: 100%;
}

.stepper-modules {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: nowrap;
}

.step-pill {
    font-size: 0.68rem;
    font-weight: 600;
    color: #64748b;
    background: #131d33;
    border: 1px solid #1e293b;
    padding: 3px 6px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.step-pill.active {
    color: #38bdf8;
    border-color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
}

.step-pill.completed {
    color: #10b981;
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.12);
}

.minimal-score-box {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    padding: 3px 7px;
    border-radius: 5px;
    flex-shrink: 0;
}

.score-title {
    font-size: 0.68rem;
    color: #94a3b8;
}

.score-digit {
    font-size: 0.85rem;
    font-weight: 800;
    color: #fbbf24;
    width: 28px;
    text-align: center;
    display: inline-block;
    font-family: 'SFMono-Regular', Consolas, monospace;
}

.score-star-icon {
    font-size: 0.72rem;
    color: #fbbf24;
}

/* Minimal Progress Line */
.minimal-progress-track {
    background: #1e293b;
    height: 3px;
    width: 100%;
    overflow: hidden;
}

.minimal-progress-fill {
    background: linear-gradient(90deg, #38bdf8, #10b981, #f59e0b);
    height: 100%;
    width: 20%;
    transition: width 0.3s ease;
}

/* Minimal Fixed Terminal */
.editor-terminal {
    background: #060911;
    padding: 8px 12px;
    font-family: 'SFMono-Regular', Consolas, monospace;
    font-size: 0.74rem;
    box-sizing: border-box;
    width: 100%;
    height: 52px;
    overflow: hidden;
    border-top: 1px solid #1e293b;
}

.terminal-console {
    color: #cbd5e1;
    line-height: 1.45;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    word-break: break-word;
    white-space: normal;
}

.terminal-prompt {
    color: #38bdf8;
    font-weight: 700;
}

.terminal-cmd {
    color: #94a3b8;
}

.terminal-hint {
    color: #64748b;
    font-size: 0.7rem;
    margin-top: 2px;
    display: block;
}

.terminal-log {
    margin-top: 2px;
    display: block;
}

.terminal-log.info {
    color: #38bdf8;
}

.terminal-log.step {
    color: #e2e8f0;
}

.terminal-log.success {
    color: #4ade80;
    font-weight: 600;
}

.visual-text .quote {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--text-secondary);
    font-style: italic;
    border-left: 4px solid var(--primary-color);
    padding-left: 16px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-collage {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    max-width: 440px;
    margin: 0 auto;
}

.collage-img {
    position: absolute;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 4px solid white;
    object-fit: cover;
    transition: transform 0.3s ease, z-index 0s;
}

.collage-img:hover {
    transform: scale(1.05) !important;
    z-index: 10 !important;
}

.about-collage .img-1 {
    width: 60%;
    aspect-ratio: 4/3;
    top: 5%;
    left: 0;
    transform: rotate(-6deg);
    z-index: 1;
}

.about-collage .img-2 {
    width: 55%;
    aspect-ratio: 4/3;
    top: 15%;
    right: 5%;
    transform: rotate(8deg);
    z-index: 2;
}

.about-collage .img-3 {
    width: 65%;
    aspect-ratio: 16/9;
    bottom: 15%;
    left: 10%;
    transform: rotate(-3deg);
    z-index: 3;
}

.about-collage .experience-card {
    background: var(--primary-color);
    color: white;
    padding: 0;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    border: 4px solid white;
    width: 160px;
    height: 160px;
    position: absolute;
    bottom: 5%;
    right: 0;
    z-index: 4;
}


.about-image-wrapper {
    position: relative;
    max-width: 440px;
    margin: 0 auto;
}

.profile-image-card {
    aspect-ratio: 1 / 1;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    background: white;
    position: relative;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.4s ease;
}

.profile-image-card:hover .profile-img {
    transform: scale(1.03);
}



.experience-card .years {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.experience-card .text {
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    margin-top: 4px;
}

.about-text .lead {
    font-size: 1.25rem;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 24px;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.highlight-counter {
    color: var(--primary-color);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.hero-counter-num, .about-counter-num {
    font-variant-numeric: tabular-nums;
    display: inline;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 4px;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Methodology Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.icon-box {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: #f0f9ff;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Course Details Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 24px;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-left: 70px;
    margin-bottom: 30px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    z-index: 2;
}

.timeline-content {
    background: white;
    padding: 24px 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.timeline-content h3 {
    margin-bottom: 8px;
    font-size: 1.15rem;
}

.timeline-content p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.95rem;
}

/* Schools Section */
.schools-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    padding: 20px 0;
}

.school-tag {
    padding: 10px 20px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.school-tag:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Contact Section */
.contact-card {
    padding: 60px;
    text-align: center;
    background: white;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.contact-card h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.contact-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 40px;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.contact-method {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    padding: 16px 28px;
    border-radius: 100px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.05rem;
    box-shadow: var(--shadow-md);
}

.contact-method:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.call-btn {
    background: #0ea5e9;
}
.call-btn:hover {
    background: #0284c7;
}

.wp-btn {
    background: #25D366; /* Official WhatsApp Color */
}
.wp-btn:hover {
    background: #128C7E;
}

.ig-btn {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.ig-btn:hover {
    background: linear-gradient(45deg, #d88126 0%, #cf572d 25%, #c41e38 50%, #b31a55 75%, #a41074 100%);
}

.contact-method i {
    font-size: 1.5rem;
}

/* Gallery Section */
.gallery-section {
    background-color: var(--bg-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    padding-top: 20px;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

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

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
    object-position: top center;
}

/* Feedback Section (Student Reviews / WhatsApp Screenshots) */
.feedback-section {
    background-color: var(--section-bg);
}

.feedback-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    padding-top: 10px;
}

.feedback-card {
    background: white;
    border-radius: 16px;
    padding: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feedback-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: #25D366;
}

.feedback-card.result-highlight {
    border-color: #fbbf24;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.1);
}

.feedback-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e6f9ed;
    color: #128c7e;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 100px;
    margin-bottom: 12px;
    align-self: flex-start;
}

.feedback-badge i {
    color: #25D366;
    font-size: 0.95rem;
}

.feedback-badge.score-5 {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.feedback-badge.score-5 i {
    color: #d97706;
}

.feedback-badge.score-4 {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.feedback-badge.score-4 i {
    color: #16a34a;
}

.feedback-img-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #0b141a;
    aspect-ratio: 9 / 16;
    cursor: pointer;
    border: 1px solid #1f2c34;
}

.feedback-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.35s ease;
}

.feedback-img-wrap:hover img {
    transform: scale(1.04);
}

.zoom-overlay {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.85);
    color: white;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.feedback-img-wrap:hover .zoom-overlay {
    opacity: 1;
    transform: translateX(-50%) translateY(-2px);
}

.feedback-caption {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.feedback-caption .quote-text {
    font-size: 0.875rem;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.45;
    margin-bottom: 8px;
}

.feedback-caption .exam-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-hover);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(8px);
}

.lightbox-wrapper {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.lightbox-wrapper img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.lightbox-close {
    position: absolute;
    top: -48px;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.75rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

/* Footer */
footer {
    padding: 40px 24px;
    background: var(--text-primary);
    color: white;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-content .logo {
    color: white;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-link i {
    font-size: 1.15rem;
}

.footer-link:hover {
    color: white;
    transform: translateY(-1px);
}

.footer-content p {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    visibility: visible;
}

.fade-up {
    transform: translateY(40px);
}

.fade-up.active {
    transform: translateY(0);
}

.fade-left {
    transform: translateX(40px);
}

.fade-left.active {
    transform: translateX(0);
}

.scale-up {
    transform: scale(0.95);
}

.scale-up.active {
    transform: scale(1);
}


/* Responsive Design */
@media (max-width: 992px) {
    main {
        display: flex;
        flex-direction: column;
    }

    .hero {
        display: contents;
    }

    .hero-container {
        display: contents;
    }

    .hero-content {
        order: 1;
        padding: calc(var(--nav-height) + 30px) 20px 40px;
        text-align: center;
        width: 100%;
        max-width: 800px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    #hakkimda {
        order: 2;
    }

    .hero-visual {
        order: 3;
        padding: 40px 16px 60px;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    #yontem { order: 4; }
    #icerik { order: 5; }
    #galeri { order: 6; }
    #yorumlar { order: 7; }
    #okullar { order: 8; }
    #iletisim { order: 9; }
    #sss { order: 10; }

    .section-container {
        padding: 80px 20px;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-subtitle {
        margin: 0 auto 30px;
    }
    .hero-actions {
        justify-content: center;
    }
    .badge {
        margin: 0 auto 20px;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .feedback-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
    }

    .section-container {
        padding: 60px 16px;
    }

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

    .section-desc {
        font-size: 1rem;
    }

    /* Mobile Navigation */
    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px 24px;
        gap: 12px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
        z-index: 99;
    }

    .nav-links.mobile-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links a {
        font-size: 1.05rem;
        padding: 10px 0;
        border-bottom: 1px solid #f1f5f9;
        display: block;
    }

    .nav-actions .btn-primary {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Hero */
    .hero-content {
        padding: calc(var(--nav-height) + 20px) 16px 30px;
    }

    .hero-title {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }

    .floating-code-wrap {
        display: none;
    }

    .visual-card {
        padding: 24px 18px;
    }

.visual-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

    /* About */
    .about-image-wrapper {
        max-width: 320px;
    }

    

    .experience-card .years {
        font-size: 2rem;
    }

    .experience-card .text {
        font-size: 0.8rem;
    }

    .stats-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        margin-top: 24px;
        padding-top: 24px;
        text-align: center;
    }

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

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

    /* Features */
    .feature-card {
        padding: 28px 20px;
    }

    /* Timeline */
    .timeline::before {
        left: 18px;
    }

    .timeline-item {
        padding-left: 52px;
        margin-bottom: 20px;
    }

    .timeline-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .timeline-content {
        padding: 18px 20px;
    }

    .timeline-content h3 {
        font-size: 1.05rem;
    }

    .timeline-content p {
        font-size: 0.9rem;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Contact */
    .contact-card {
        padding: 40px 20px;
    }

    .contact-card h2 {
        font-size: 1.75rem;
    }

    .contact-methods {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .contact-method {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 1rem;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-social {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.95rem;
    }

    .hero-subtitle {
        font-size: 0.98rem;
    }

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

    .hero-actions .btn {
        width: 100%;
    }

    .feedback-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .brand-logos {
        gap: 16px;
        padding: 8px 14px;
        margin-bottom: 16px;
    }

    .cb-logo {
        height: 28px;
        max-width: 140px;
    }

    .java-icon {
        height: 34px;
        max-width: 75px;
    }

    .code-editor-box {
        margin: 18px 0;
        border-radius: 12px;
    }

    .editor-top-bar {
        padding: 8px 12px;
    }

    .editor-filename {
        font-size: 0.72rem;
    }

    .editor-play-btn {
        padding: 5px 10px;
        font-size: 0.72rem;
    }

    .code-row {
        font-size: 0.72rem;
        padding: 2px 8px;
    }

    .code-row .line-num {
        width: 18px;
        margin-right: 8px;
        font-size: 0.68rem;
    }

    .minimal-status-bar {
        padding: 6px 10px;
    }

    .step-pill {
        font-size: 0.62rem;
        padding: 2px 4px;
    }

    .minimal-score-box {
        padding: 2px 5px;
    }

    .editor-terminal {
        padding: 6px 10px;
        font-size: 0.7rem;
    }

    .school-tag {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
}

/* ==========================================================================
   CURRICULUM & SYLLABUS SECTION (SEO & TOPICAL AUTHORITY)
   ========================================================================== */
.curriculum-section {
    background-color: var(--bg-color);
}

.curriculum-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.curriculum-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 50px;
    border: 2px solid var(--border-color);
    background: #ffffff;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.curriculum-tab-btn i {
    font-size: 1.15rem;
    color: var(--primary-color);
}

.curriculum-tab-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.curriculum-tab-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
}

.curriculum-tab-btn.active i {
    color: #ffffff;
}

.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 36px;
}

.unit-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.unit-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.unit-card.highlight-card {
    border-color: rgba(14, 165, 233, 0.5);
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.04) 0%, #ffffff 100%);
}

.unit-num {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--primary-color);
    background: rgba(14, 165, 233, 0.1);
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
    align-self: flex-start;
}

.unit-card h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.unit-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 16px;
    flex-grow: 1;
}

.unit-weight {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #0369a1;
    background: #f0f9ff;
    padding: 4px 10px;
    border-radius: 6px;
    align-self: flex-start;
}

/* FRQ Breakdown Card */
.frq-breakdown-card {
    background: #0f172a;
    border-radius: 16px;
    padding: 32px;
    color: #ffffff;
    box-shadow: var(--shadow-lg);
}

.frq-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.frq-header i {
    font-size: 2.2rem;
    color: #38bdf8;
    flex-shrink: 0;
}

.frq-header h3 {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 4px;
}

.frq-header p {
    color: #94a3b8;
    font-size: 0.92rem;
    margin: 0;
}

.frq-tags-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.frq-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 0.88rem;
    color: #e2e8f0;
    transition: all 0.25s ease;
}

.frq-item:hover {
    background: rgba(56, 189, 248, 0.15);
    border-color: #38bdf8;
    transform: translateY(-2px);
}

.frq-item strong {
    color: #38bdf8;
}

/* ==========================================================================
   FREQUENTLY ASKED QUESTIONS (FAQ / SSS) SECTION
   ========================================================================== */
.faq-section {
    background-color: var(--section-bg);
}

.faq-accordion {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-sm);
}

.faq-item:hover {
    border-color: rgba(14, 165, 233, 0.4);
    box-shadow: var(--shadow-md);
}

.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.1);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px 24px;
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    gap: 16px;
    transition: color 0.2s ease;
}

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

.faq-icon {
    font-size: 1.35rem;
    color: var(--primary-color);
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    padding: 0 24px;
    color: var(--text-secondary);
    font-size: 0.96rem;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px 24px;
}

.faq-answer strong {
    color: var(--text-primary);
}

/* Mobile Adjustments for Curriculum & FAQ */
@media (max-width: 768px) {
    .curriculum-grid {
        grid-template-columns: 1fr;
    }

    .frq-breakdown-card {
        padding: 20px;
    }

    .frq-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .frq-tags-grid {
        grid-template-columns: 1fr;
    }

    .faq-question {
        padding: 16px 18px;
        font-size: 0.95rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 18px 16px 18px;
        font-size: 0.88rem;
    }
}

/* Page Hero Header & Breadcrumb for Dedicated Pages */
.page-hero-header {
    background: linear-gradient(180deg, var(--section-bg) 0%, var(--bg-color) 100%);
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .separator {
    color: #94a3b8;
}
