/* Rob Academy - Homepage Styles */
/* Color palette: Navy #0a1628, Gold #4a90d9, Dark Navy #060f1d */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --navy: #0a1628;
    --navy-dark: #060f1d;
    --navy-light: #132040;
    --gold: #4a90d9;
    --gold-light: #7db9ff;
    --gold-dark: #2c6cbf;
    --white: #ffffff;
    --gray-light: #f0f2f5;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
}

.rob-brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.45em;
    line-height: 1;
}

.rob-brand-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.12em;
    height: 1.12em;
    font-size: 0.9em;
    color: #7fd2ff;
    -webkit-text-fill-color: #7fd2ff;
    animation: brand-book-turn 1.7s ease-in-out infinite;
    transform-origin: left center;
    overflow: hidden;
    flex-shrink: 0;
}

.rob-brand-icon::after {
    content: "";
    position: absolute;
    top: 0.08em;
    right: 0.12em;
    width: 0.32em;
    height: 0.92em;
    border-radius: 0.08em;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.22));
    transform-origin: left center;
    animation: brand-page-flip 1.7s ease-in-out infinite;
}

.rob-brand-text {
    background: linear-gradient(90deg, #ffffff 0%, #b8d4f0 15%, #4a90d9 35%, #63e0f7 50%, #ffffff 65%, #63e0f7 80%, #4a90d9 100%);
    background-size: 320% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: brand-wave 4.5s ease-in-out infinite;
}

@keyframes brand-wave {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes brand-book-turn {
    0%, 100% { transform: perspective(120px) rotateY(0deg); }
    35% { transform: perspective(120px) rotateY(-20deg); }
    60% { transform: perspective(120px) rotateY(14deg); }
    80% { transform: perspective(120px) rotateY(-8deg); }
}

@keyframes brand-page-flip {
    0%, 100% { transform: perspective(80px) rotateY(0deg); opacity: 0.2; }
    35% { transform: perspective(80px) rotateY(-88deg); opacity: 1; }
    55% { transform: perspective(80px) rotateY(18deg); opacity: 0.78; }
    75% { transform: perspective(80px) rotateY(-24deg); opacity: 0.55; }
}

/* ===== RESET & BASE ===== */
.rob-home * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.rob-home {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    color: var(--white);
    overflow-x: hidden;
}

.rob-home a {
    text-decoration: none;
}

/* Section container (used in homepage sections) */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subheading {
    font-size: 1.1rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
    opacity: 0.7;
}

/* Section heading colors */
.rob-about .section-heading,
.rob-howitworks .section-heading {
    color: var(--white);
}

.rob-testimonials .section-heading {
    color: var(--white);
}

/* ===== SIDEBAR NAVIGATION ===== */
.rob-sidebar-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 68px;
    height: 100vh;
    z-index: 1000;
    background: rgba(6, 15, 29, 0.9);
    backdrop-filter: blur(20px);
    border-right: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.2rem 0 1.2rem 0;
    transition: width 0.3s ease;
    overflow: visible;
}

.rob-sidebar-nav::after {
    content: '';
    position: absolute;
    top: 0;
    right: -8px;
    width: 8px;
    height: 100%;
    background: linear-gradient(180deg, #4a90d9, #63e0f7, #a78bfa, #4ade80, #4a90d9);
    background-size: 100% 300%;
    animation: sidebar-gradient 4s ease-in-out infinite;
    border-radius: 0 3px 3px 0;
}

@keyframes sidebar-gradient {
    0% { background-position: 0% 0%; }
    50% { background-position: 0% 100%; }
    100% { background-position: 0% 0%; }
}

.rob-sidebar-nav:hover {
    width: 190px;
}

.sidebar-brand {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none;
    margin-bottom: 2rem;
    flex-shrink: 0;
    width: 68px;
    text-align: center;
}

.sidebar-brand.rob-brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.sidebar-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    width: 100%;
    flex: 1;
}

.sidebar-links li a {
    display: flex;
    align-items: center;
    padding: 0.7rem 0 0.7rem 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.82rem;
    font-weight: 500;
    transition: all 0.3s;
    text-decoration: none;
    white-space: nowrap;
    border-left: 3px solid transparent;
}

.sidebar-links li a i {
    font-size: 1.15rem;
    width: 65px;
    text-align: center;
    flex-shrink: 0;
}

.sidebar-links li a span {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.rob-sidebar-nav:hover .sidebar-links li a span {
    opacity: 1;
}

.sidebar-links li a:hover,
.sidebar-links li a.active {
    color: var(--gold);
    border-left-color: var(--gold);
    background: rgba(74, 144, 217, 0.08);
}

.sidebar-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 1.1rem;
    text-decoration: none;
    margin-top: auto;
    flex-shrink: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
}

.rob-sidebar-nav:hover .sidebar-login {
    width: calc(100% - 1.6rem);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.82rem;
}

.sidebar-login span {
    display: none;
}

.rob-sidebar-nav:hover .sidebar-login span {
    display: inline;
}

/* Mobile top bar */
.rob-mobile-bar {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(6, 15, 29, 0.95);
    backdrop-filter: blur(20px);
    padding: 0.7rem 1.2rem;
    align-items: center;
    justify-content: space-between;
}

.rob-mobile-bar .nav-brand {
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
}

.mobile-toggle {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.btn-rob-gold {
    background: var(--gold);
    color: var(--navy);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-rob-gold:hover {
    background: var(--gold-light);
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 144, 217, 0.4);
}

/* ===== HERO SECTION ===== */
.rob-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
    overflow: hidden;
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.rob-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 860px;
    padding: 0 2rem;
    transform: translateY(-3rem);
}

.rob-hero h1 {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
    color: #ffffff;
    line-height: 1.1;
}

.rob-hero .hero-subtitle {
    font-size: 1.9rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-shadow: 0 0 30px rgba(99, 224, 247, 0.3), 0 0 60px rgba(74, 144, 217, 0.15);
    position: relative;
    display: inline-block;
}

.rob-hero .hero-year-range {
    font-size: 1.05rem;
    font-weight: 500;
    color: rgba(99, 224, 247, 0.9);
    letter-spacing: 1.5px;
    margin-bottom: 1.6rem;
}

.hero-taglines {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-width: 700px;
    margin: 0 auto;
}

.rob-hero .hero-subtitle::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: red;
    transform: scaleX(0);
    transform-origin: left;
    animation: redline-sweep 3s ease-in-out infinite;
}

@keyframes redline-sweep {
    0% { transform: scaleX(0); transform-origin: left; }
    50% { transform: scaleX(1); transform-origin: left; }
    51% { transform-origin: right; }
    100% { transform: scaleX(0); transform-origin: right; }
}

.rob-hero .hero-tagline {
    font-size: 1.05rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.7;
    letter-spacing: 0.3px;
    border-left: 3px solid var(--gold);
    padding-left: 1.2rem;
    text-align: left;
    margin: 0;
    opacity: 0;
    animation: tagline-slide-in 0.7s ease forwards;
}

.hero-taglines .hero-tagline:nth-child(1) { animation-delay: 0.4s; }
.hero-taglines .hero-tagline:nth-child(2) { animation-delay: 1.0s; }
.hero-taglines .hero-tagline:nth-child(3) { animation-delay: 1.6s; }

@keyframes tagline-slide-in {
    0%   { opacity: 0; transform: translateX(-30px); }
    60%  { opacity: 1; transform: translateX(4px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* Keep old classes for backwards compat */
.rob-hero .subtitle { font-size: 1.5rem; font-weight: 300; color: rgba(255,255,255,0.9); margin-bottom: 1rem; letter-spacing: 2px; text-transform: uppercase; }
.rob-hero .tagline { font-size: 1.1rem; color: rgba(255,255,255,0.7); max-width: 600px; margin: 0 auto 2.5rem; line-height: 1.6; }

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

.btn-rob-primary {
    background: #ffffff;
    color: var(--navy);
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid #ffffff;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 200px;
}

.btn-rob-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    color: var(--navy);
}

.btn-rob-outline {
    background: transparent;
    color: var(--gold);
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--gold);
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 200px;
}

.btn-rob-outline:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 144, 217, 0.3);
}

.scroll-arrow {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-arrow,
.scroll-arrow a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 2rem;
    transition: color 0.3s;
}

.scroll-arrow:hover,
.scroll-arrow a:hover {
    color: var(--gold);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-15px); }
    60% { transform: translateX(-50%) translateY(-7px); }
}

/* ===== SECTION BASE ===== */
.rob-section {
    padding: 6rem 2rem;
}

.rob-section:last-of-type {
}

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

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== ABOUT SECTION ===== */
.rob-about {
    background: linear-gradient(135deg, var(--navy) 0%, #0e1f3a 100%);
    color: var(--white);
}

.rob-about .section-header h2 {
    color: var(--white);
}

.rob-about .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

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

.about-card {
    background: var(--glass-bg);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    transform-style: preserve-3d;
    will-change: transform;
    transition: box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.12),
        0 4px 0 rgba(4,10,20,0.9),
        0 8px 0 rgba(3,8,16,0.7),
        0 12px 0 rgba(2,6,12,0.5),
        0 18px 30px rgba(0,0,0,0.5);
}

.about-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--gold);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.18),
        0 6px 0 rgba(4,10,20,0.9),
        0 12px 0 rgba(3,8,16,0.7),
        0 18px 0 rgba(2,6,12,0.5),
        0 28px 40px rgba(0,0,0,0.6);
}

.about-card .card-icon,
.about-card > i {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--gold);
}

.about-card > .icon-box { margin: 0 auto 1.5rem; }

.about-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 1rem;
}

.about-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ===== SUBJECTS SECTION ===== */
.rob-subjects {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy));
    color: var(--white);
}

.subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.subject-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transform-style: preserve-3d;
    will-change: transform;
    transition: box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.1),
        0 4px 0 rgba(4,10,20,0.9),
        0 8px 0 rgba(3,8,16,0.7),
        0 12px 0 rgba(2,6,12,0.5),
        0 16px 25px rgba(0,0,0,0.45);
}

.subject-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--gold);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.18),
        0 6px 0 rgba(4,10,20,0.9),
        0 12px 0 rgba(3,8,16,0.7),
        0 18px 0 rgba(2,6,12,0.5),
        0 26px 35px rgba(0,0,0,0.55);
}

.subject-card .subj-icon,
.subject-card > i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    color: var(--gold);
}

.subject-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gold);
}

.subject-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.year-badge {
    position: relative;
    background: var(--glass-bg);
    border: 1px solid transparent;
    border-radius: 50px;
    padding: 1rem 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    font-size: 1.1rem;
    font-weight: 500;
    color: #ffffff;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
}

.year-badge::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50px;
    padding: 1px;
    background: linear-gradient(90deg, #1d4ed8, #38bdf8, #60a5fa, #1d4ed8);
    background-size: 260% 100%;
    animation: year-badge-border 3.5s ease-in-out infinite;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

@keyframes year-badge-border {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ===== HOW IT WORKS ===== */
.rob-howitworks {
    background: linear-gradient(135deg, #0e1f3a 0%, var(--navy-dark) 100%);
    color: var(--white);
}

/* White icons for Why Rob Academy & How It Works sections */
.rob-about .icon-box i,
.rob-howitworks .icon-box-navy i {
    color: #ffffff;
}

.rob-about .about-card:hover .icon-box i,
.rob-howitworks .step-card:hover .icon-box-navy i {
    color: #ffffff;
}

.rob-howitworks .section-header h2 {
    color: var(--white);
}

.rob-howitworks .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step-card {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(74, 144, 217, 0.3);
}

.step-card .step-icon,
.step-card > i {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1rem;
    display: block;
}

.step-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.8rem;
}

.step-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===== FEATURES SECTION ===== */
.rob-features {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    transform-style: preserve-3d;
    will-change: transform;
    transition: box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.1),
        0 3px 0 rgba(4,10,20,0.9),
        0 6px 0 rgba(3,8,16,0.7),
        0 9px 0 rgba(2,6,12,0.5),
        0 14px 22px rgba(0,0,0,0.4);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--gold);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.18),
        0 5px 0 rgba(4,10,20,0.9),
        0 10px 0 rgba(3,8,16,0.7),
        0 15px 0 rgba(2,6,12,0.5),
        0 22px 32px rgba(0,0,0,0.5);
}

.feature-card .feat-icon,
.feature-card > i {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--navy);
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--white);
}

.feature-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* ===== TESTIMONIALS ===== */
.rob-testimonials {
    background: linear-gradient(135deg, var(--navy) 0%, #0e1f3a 100%);
    color: var(--white);
}

.rob-testimonials .section-header h2 {
    color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--glass-bg);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    transform-style: preserve-3d;
    will-change: transform;
    transition: box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.12),
        0 4px 0 rgba(4,10,20,0.9),
        0 8px 0 rgba(3,8,16,0.7),
        0 12px 0 rgba(2,6,12,0.5),
        0 18px 30px rgba(0,0,0,0.5);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--gold);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.18),
        0 6px 0 rgba(4,10,20,0.9),
        0 12px 0 rgba(3,8,16,0.7),
        0 18px 0 rgba(2,6,12,0.5),
        0 28px 40px rgba(0,0,0,0.6);
}

.testimonial-card .quote-icon {
    font-size: 3rem;
    color: var(--gold);
    opacity: 0.3;
    position: absolute;
    top: 1.5rem;
    right: 2rem;
}

.testimonial-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-card .author {
    font-style: normal;
    font-weight: 600;
    color: var(--gold);
    font-size: 0.9rem;
}

.testimonial-stars,
.stars-row {
    color: var(--gold);
    margin-bottom: 1rem;
}

.quote-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ===== CTA BANNER ===== */
.rob-cta {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 5rem 2rem;
}

.rob-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.rob-cta p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

/* ===== FOOTER ===== */
.rob-footer {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 2rem 1.5rem;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    color: var(--gold);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: var(--gold);
}

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-bottom p {
    font-size: 0.8rem;
}

.footer-credit {
    text-align: center;
    padding-top: 1.2rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.5px;
}

.credit-link {
    display: inline-block;
    margin-left: 0.3rem;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-decoration: none;
    background: linear-gradient(90deg, #4a90d9, #63e0f7, #a78bfa, #4ade80, #4a90d9);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: credit-shimmer 4s ease-in-out infinite;
    transition: filter 0.3s;
}

.credit-link:hover {
    filter: brightness(1.3);
}

.credit-link i {
    background: linear-gradient(90deg, #4a90d9, #63e0f7, #a78bfa, #4ade80, #4a90d9);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: credit-shimmer 4s ease-in-out infinite;
}

.credit-url {
    display: inline-block;
    margin-top: 0.3rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    background: linear-gradient(90deg, #4a90d9, #63e0f7, #a78bfa, #4ade80, #4a90d9);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: credit-shimmer 4s ease-in-out infinite;
    transition: filter 0.3s;
}

.credit-url:hover {
    filter: brightness(1.3);
}

@keyframes credit-shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ===== STYLISH ICON BOXES ===== */
.icon-box {
    width: 80px;
    height: 80px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(74, 144, 217, 0.15), rgba(99, 224, 247, 0.1));
    border: 1px solid rgba(74, 144, 217, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.icon-box i {
    font-size: 2rem;
    color: var(--gold);
    transition: transform 0.4s;
}

.icon-box::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--gold), rgba(99, 224, 247, 0.5), var(--gold-dark));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s;
}

.about-card:hover .icon-box::after,
.step-card:hover .icon-box::after,
.subject-card:hover .icon-box::after,
.feature-card:hover .icon-box::after {
    opacity: 1;
}

.about-card:hover .icon-box i,
.step-card:hover .icon-box i,
.subject-card:hover .icon-box i,
.feature-card:hover .icon-box i {
    transform: scale(1.15);
}

/* Glowing variant for subjects */
.icon-box-glow {
    background: linear-gradient(135deg, rgba(99, 224, 247, 0.12), rgba(167, 139, 250, 0.12));
    border: 1px solid rgba(99, 224, 247, 0.25);
    box-shadow: 0 0 20px rgba(99, 224, 247, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.icon-box-glow i {
    color: #63e0f7;
}

.icon-box-glow::after {
    background: linear-gradient(135deg, #63e0f7, transparent, var(--gold));
}

.subject-card:hover .icon-box-glow {
    box-shadow: 0 0 35px rgba(99, 224, 247, 0.3);
}

.subject-card:hover .icon-box-glow i {
    color: var(--gold);
}

/* Navy variant for How It Works */
.icon-box-navy {
    background: linear-gradient(135deg, rgba(74, 144, 217, 0.15), rgba(167, 139, 250, 0.1));
    border: 1px solid rgba(74, 144, 217, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.icon-box-navy i {
    color: #4a90d9;
}

.step-card:hover .icon-box-navy i {
    color: var(--gold);
}

/* Gold variant for features */
.icon-box-gold {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border: none;
    box-shadow: 0 6px 20px rgba(74, 144, 217, 0.3);
    margin: 0;
}

.icon-box-gold i {
    font-size: 1.4rem;
    color: var(--navy);
}

.icon-box-gold::after {
    border-radius: 16px;
    background: linear-gradient(135deg, var(--gold-light), transparent, var(--gold));
}

.feature-card:hover .icon-box-gold {
    box-shadow: 0 8px 30px rgba(74, 144, 217, 0.5);
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Animation delays for staggered effects */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .rob-sidebar-nav {
        display: none;
        position: fixed;
        top: 56px;
        left: 0;
        width: 100%;
        height: auto;
        max-height: calc(100vh - 56px);
        flex-direction: column;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 1rem 0;
        overflow-y: auto;
    }

    .rob-sidebar-nav.mobile-open {
        display: flex;
    }

    .rob-sidebar-nav .sidebar-brand {
        display: none;
    }

    .rob-sidebar-nav .sidebar-links li a {
        justify-content: flex-start;
        padding-left: 1.5rem;
    }

    .rob-sidebar-nav .sidebar-links li a span {
        opacity: 1;
    }

    .rob-sidebar-nav .sidebar-login {
        width: calc(100% - 2rem);
        margin: 0.8rem auto 0;
        padding: 0.6rem 1rem;
        border-radius: 50px;
        font-size: 0.85rem;
    }

    .rob-sidebar-nav .sidebar-login span {
        display: inline;
    }

    .rob-mobile-bar {
        display: flex;
    }

    .rob-hero h1 {
        font-size: 2.4rem;
    }

    .rob-hero .hero-subtitle {
        font-size: 1.05rem;
        letter-spacing: 2px;
    }

    .rob-hero .hero-tagline {
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand,
    .footer-links,
    .footer-contact {
        text-align: center;
    }

    .footer-brand h3 {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

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

    .subjects-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .subjects-grid .subject-card {
        width: min(260px, calc(50% - 0.5rem));
    }

    .rob-cta h2 {
        font-size: 1.8rem;
    }
}

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

    .rob-hero .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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

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

    .icon-box {
        width: 64px;
        height: 64px;
        border-radius: 18px;
    }

    .icon-box i {
        font-size: 1.6rem;
    }
}

/* ===== TIMETABLE TABLE ===== */
.timetable-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.8rem;
    min-width: 900px;
    border: 2px solid var(--navy);
    border-radius: 10px;
    overflow: hidden;
}

/* Header row - hours across the top */
.timetable-table thead th {
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--gold);
    text-align: center;
    padding: 0.7rem 0.4rem;
    font-weight: 600;
    font-size: 0.7rem;
    border-bottom: 2px solid var(--gold);
    border-right: 1px solid rgba(74, 144, 217, 0.25);
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.timetable-table thead th:last-child {
    border-right: none;
}

/* "Day" column header */
.tt-day-col-header {
    width: 80px;
    min-width: 80px;
    font-size: 0.8rem !important;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Hour column headers */
.tt-hour-header {
    min-width: 100px;
}

/* Day label cells - left column */
.tt-day-cell {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: #fff;
    text-align: center;
    padding: 0.6rem 0.5rem;
    border-bottom: 1px solid rgba(74, 144, 217, 0.2);
    border-right: 2px solid var(--gold);
    width: 80px;
    min-width: 80px;
    vertical-align: middle;
}

.tt-day-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tt-day-date {
    font-size: 0.6rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2px;
}

/* Content cells */
.tt-cell {
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    padding: 0.4rem;
    vertical-align: top;
    min-height: 60px;
    background: #fff;
    transition: background 0.2s ease;
}

.tt-cell:last-child {
    border-right: none;
}

.timetable-table tbody tr:last-child .tt-cell,
.timetable-table tbody tr:last-child .tt-day-cell {
    border-bottom: none;
}

.tt-cell:hover {
    background: #fdf9ef;
}

.tt-cell-filled {
    background: rgba(74, 144, 217, 0.05);
}

.tt-cell-filled:hover {
    background: rgba(74, 144, 217, 0.12);
}

/* Entry card inside a cell */
.tt-entry {
    background: linear-gradient(135deg, var(--navy) 0%, #1a2a4a 100%);
    color: #fff;
    border-radius: 8px;
    padding: 0.5rem 0.6rem;
    margin-bottom: 0.3rem;
    border-left: 4px solid var(--gold);
    box-shadow: 0 2px 6px rgba(10, 22, 40, 0.15);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tt-entry:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(10, 22, 40, 0.25);
}

.tt-entry:last-child {
    margin-bottom: 0;
}

.tt-subject {
    font-weight: 700;
    font-size: 0.78rem;
    color: var(--gold);
    margin-bottom: 2px;
}

.tt-topic {
    font-size: 0.65rem;
    color: #bbb;
    font-style: italic;
    margin-bottom: 2px;
}

.tt-tutor {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 2px;
}

.tt-students {
    margin-top: 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.tt-student-badge {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--navy);
    font-size: 0.62rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    white-space: nowrap;
    letter-spacing: 0.2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Timetable mobile */
@media (max-width: 768px) {
    .timetable-table {
        font-size: 0.7rem;
        min-width: 600px;
    }
    .tt-day-col-header {
        width: 60px;
        min-width: 60px;
    }
    .tt-day-cell {
        width: 60px;
        min-width: 60px;
        padding: 0.4rem 0.3rem;
    }
    .tt-hour-header {
        min-width: 75px;
        font-size: 0.6rem !important;
    }
    .tt-day-name {
        font-size: 0.75rem;
    }
    .tt-entry {
        padding: 0.35rem 0.4rem;
        border-radius: 6px;
    }
    .tt-subject {
        font-size: 0.68rem;
    }
    .tt-student-badge {
        font-size: 0.55rem;
        padding: 1px 5px;
    }
}
    .subjects-grid .subject-card {
        width: min(320px, 100%);
    }
