/* ===== ROOT VARIABLES ===== */
:root {
    --primary: #0c2461;
    --primary-light: #4a69bd;
    --accent: #f39c12;
    --accent-green: #27ae60;
    --free-color: #e74c3c;
    --light: #f8f9fa;
    --dark: #1a1a2e;
    --gray: #6c757d;
    --white: #ffffff;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

section { padding: 90px 0; }

a { text-decoration: none; }

/* ===== SECTION TITLES ===== */
.section-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(12, 36, 97, 0.08);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.section-badge.free-badge {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.section-title {
    font-size: 2.4rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-divider {
    height: 4px;
    width: 60px;
    background: var(--accent);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-alt {
    background-color: #f4f6fb;
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
    border-radius: 8px;
    padding: 10px 24px;
}
.btn-primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
    border-radius: 8px;
}
.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* ===== NAVBAR ===== */
.navbar {
    background: var(--primary);
    padding: 8px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(12, 36, 97, 0.97);
    padding: 5px 0;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}
.navbar-brand:hover img { transform: scale(1.05); }

.nav-link {
    font-weight: 600;
    color: rgba(255,255,255,0.85) !important;
    margin: 0 4px;
    transition: color 0.3s;
    font-size: 0.95rem;
}
.nav-link:hover, .nav-link.active {
    color: var(--accent) !important;
}

.btn-free-cta {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white !important;
    border: none;
    border-radius: 25px;
    padding: 8px 20px;
    font-weight: 700;
    font-size: 0.88rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.35);
}
.btn-free-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.45);
    color: white !important;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, rgba(12,36,97,0.92) 0%, rgba(74,105,189,0.88) 100%),
                url('../assets/img/11.jpg') center/cover no-repeat;
    color: white;
    position: relative;
    padding-top: 90px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, rgba(243,156,18,0.12), transparent 60%);
    pointer-events: none;
}

.hero-badge-wrap .hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    animation: fadeInDown 0.8s ease;
}

.hero-title .highlight {
    color: var(--accent);
    position: relative;
}

.hero-subtitle {
    font-size: 1.7rem;
    font-weight: 500;
    opacity: 0.92;
    animation: fadeInUp 0.9s ease;
    min-height: 2.5rem;
}

.hero-lead {
    font-size: 1.1rem;
    opacity: 0.88;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeIn 1.2s ease;
    line-height: 1.7;
}

.btn-hero-primary {
    background: var(--accent);
    color: var(--dark);
    border: none;
    border-radius: 30px;
    padding: 14px 30px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(243,156,18,0.4);
}
.btn-hero-primary:hover {
    background: #e67e22;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(243,156,18,0.5);
    color: var(--dark);
}

.btn-hero-free {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 14px 30px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(231,76,60,0.4);
}
.btn-hero-free:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(231,76,60,0.5);
    color: white;
}

.btn-hero-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: 30px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.btn-hero-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: white;
    color: white;
    transform: translateY(-3px);
}

/* Hero Stats Pills */
.stat-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    padding: 12px 22px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}
.stat-pill:hover { background: rgba(255,255,255,0.2); }
.stat-pill.free { border-color: rgba(231,76,60,0.5); background: rgba(231,76,60,0.15); }

.stat-icon {
    font-size: 1.5rem;
    color: var(--accent);
}
.stat-pill.free .stat-icon { color: #ff6b6b; }

.stat-pill div { text-align: left; }
.stat-pill strong {
    display: block;
    font-size: 1rem;
    color: white;
    font-weight: 700;
}
.stat-pill span {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.75);
}

/* Typed cursor */
.typed-cursor {
    color: var(--accent);
    font-size: 1.7rem;
    animation: blink 0.7s infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Mouse scroll */
.mouse-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}
.mouse {
    width: 28px;
    height: 46px;
    border: 2px solid rgba(255,255,255,0.7);
    border-radius: 20px;
    position: relative;
}
.wheel {
    width: 5px;
    height: 9px;
    background: rgba(255,255,255,0.8);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
    animation: wheel 1.5s infinite;
}

@keyframes wheel {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(18px); opacity: 0; }
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* ===== ABOUT SECTION ===== */
.about-heading {
    font-size: 1.9rem;
    color: var(--primary);
    margin-bottom: 18px;
}
.about-text {
    color: #555;
    line-height: 1.8;
    margin-bottom: 14px;
    font-size: 1rem;
}
.about-highlights { margin-top: 20px; }
.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.95rem;
    color: #444;
}
.highlight-item i {
    color: var(--primary-light);
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.expertise-grid {
    background: var(--light);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
}
.expertise-heading {
    color: var(--primary);
    font-size: 1.3rem;
}
.expertise-card {
    background: white;
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    box-shadow: 0 3px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    height: 100%;
}
.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.expertise-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
}
.expertise-card h5 {
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 6px;
}
.expertise-card p {
    font-size: 0.78rem;
    color: var(--gray);
    margin: 0;
    line-height: 1.5;
}

/* ===== TUTORING SECTION ===== */
.age-banner {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(12,36,97,0.25);
}

.age-tag {
    display: inline-block;
    background: var(--accent);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tutor-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.04);
}
.tutor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

.tutor-card-icon {
    padding: 28px;
    text-align: center;
    font-size: 2.8rem;
    color: white;
}

.tutor-card-body {
    padding: 20px 22px;
    flex-grow: 1;
}
.tutor-card-body h3 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 10px;
}
.tutor-card-body p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 14px;
}

.tutor-topics {
    list-style: none;
    padding: 0;
    margin: 0;
}
.tutor-topics li {
    font-size: 0.85rem;
    color: #444;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.tutor-topics li i {
    color: var(--accent-green);
    font-size: 0.8rem;
}

.tutor-card-footer {
    padding: 15px 22px 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
}
.btn-tutor {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 9px 20px;
    font-size: 0.88rem;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s;
}
.btn-tutor:hover {
    background: var(--primary-light);
    color: white;
    transform: none;
}

/* How It Works */
.how-it-works {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.06);
    margin-top: 20px;
}
.how-it-works h3 {
    color: var(--primary);
    font-size: 1.5rem;
}
.step-circle {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(12,36,97,0.3);
}

/* ===== PORTFOLIO SECTION ===== */
.project-card {
    border: none;
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    transition: all 0.35s ease;
    border: 1px solid rgba(0,0,0,0.05);
}
.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}
.project-icon {
    font-size: 2.5rem;
    color: var(--primary);
}
.project-card .card-title {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 12px;
    margin-top: 8px;
}
.tech-used {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 16px;
}
.tech-tag {
    padding: 4px 12px;
    background: rgba(12,36,97,0.08);
    color: var(--primary);
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
}

/* ===== CAREER GUIDANCE SECTION ===== */
.career-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 20px;
    padding: 40px 45px;
    color: white;
    box-shadow: 0 10px 35px rgba(12,36,97,0.25);
    position: relative;
    overflow: hidden;
}
.career-banner::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
}
.career-banner-title {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: white;
}
.career-banner-text {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.6;
}
.btn-career-cta {
    background: white;
    color: var(--primary);
    border: none;
    border-radius: 30px;
    padding: 14px 28px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    white-space: nowrap;
}
.btn-career-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    color: var(--primary);
}

.guidance-card {
    background: white;
    border-radius: 14px;
    padding: 28px 24px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.04);
    height: 100%;
}
.guidance-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.11);
}
.guidance-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
}
.guidance-card h4 {
    color: var(--primary);
    font-size: 1.05rem;
    margin-bottom: 10px;
}
.guidance-card p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.personal-note {
    background: linear-gradient(135deg, #fff9f0, #fff3e0);
    border-radius: 16px;
    padding: 40px;
    border-left: 5px solid var(--accent);
    box-shadow: 0 5px 20px rgba(243,156,18,0.12);
    margin-top: 20px;
}
.quote-icon {
    font-size: 2.5rem;
    color: var(--accent);
    opacity: 0.4;
    display: block;
    margin-bottom: 15px;
}
.note-text {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.8;
    font-style: italic;
    max-width: 700px;
    margin: 0 auto 15px;
}
.note-author {
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    font-size: 0.95rem;
}

/* ===== CONTACT SECTION ===== */
.contact-wrapper {
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}
.contact-method {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    padding: 10px;
    border-radius: 12px;
}
.contact-method:hover { transform: translateY(-6px); color: var(--primary); }

.contact-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin: 0 auto 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.18);
    transition: all 0.3s;
}
.contact-method:hover .contact-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.contact-method h5 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 4px;
}
.contact-method p {
    font-size: 0.82rem;
    color: var(--gray);
    margin: 0;
}
.contact-note {
    padding: 18px 0 0;
    border-top: 1px solid rgba(0,0,0,0.07);
    color: #555;
    font-size: 0.95rem;
}

/* ===== FOOTER ===== */
footer {
    background: var(--primary);
    color: rgba(255,255,255,0.85);
}
.footer-copy { font-size: 0.88rem; }
.footer-social {
    color: rgba(255,255,255,0.7);
    font-size: 1.2rem;
    transition: color 0.3s;
}
.footer-social:hover { color: var(--accent); }

/* ===== ANIMATIONS ===== */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-25px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    section { padding: 70px 0; }
    .hero-title { font-size: 2.8rem; }
    .hero-subtitle { font-size: 1.4rem; }
    .section-title { font-size: 2rem; }
    .career-banner { padding: 30px; }
    .career-banner-title { font-size: 1.3rem; }
    .navbar-collapse {
        background: var(--primary);
        padding: 15px;
        border-radius: 8px;
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .hero-lead { font-size: 0.98rem; }
    .how-it-works { padding: 25px 20px; }
    .contact-wrapper { padding: 30px 20px; }
    .personal-note { padding: 25px 20px; }
    .stat-pill { padding: 10px 16px; }
}

@media (max-width: 576px) {
    .hero-title { font-size: 1.9rem; }
    .hero-actions .btn { width: 100%; }
    .career-banner { padding: 25px 20px; }
}
