@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700&display=swap');

:root {
    --primary: #1e3a5f;
    --accent: #f4a261;
    --light: #fafbfc;
    --dark: #0d1b2a;
    --white: #ffffff;
    --font-body: 'Outfit', sans-serif;
    --font-heading: 'Fraunces', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.6;
    color: var(--dark);
    background: var(--light);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.3;
    color: var(--primary);
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.15rem; }

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 10px 22px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--accent);
    color: var(--dark);
}

.btn-primary:hover {
    background: #e8944f;
    color: var(--dark);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 14px 0;
    transition: transform 0.4s ease, background 0.3s ease;
}

header.scrolled {
    position: fixed;
    background: #ff8c00; 
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(13, 27, 42, 0.1);
}

header.hidden {
    transform: translateY(-100%);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo:hover {
    color: white;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--primary);
    cursor: pointer;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 26px;
    align-items: center;
}

nav a {
    font-size: 13px;
    font-weight: 500;
    color: white;
    position: relative;
}

nav a:hover {
    color: white;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}



.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background: var(--accent);
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border: 40px solid rgba(244, 162, 97, 0.15);
    border-radius: 50%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    color: var(--white);
}

.hero-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: 2.6rem;
    color: var(--white);
    margin-bottom: 18px;
    line-height: 1.2;
}

.hero-text h1 span {
    color: var(--accent);
}

.hero-text p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
    font-size: 15px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-buttons .btn-secondary {
    border-color: var(--white);
    color: var(--white);
}

.hero-buttons .btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
}

.hero-visual {
    position: relative;
}

.hero-visual img {
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 2;
}

.hero-card {
    position: absolute;
    background: var(--white);
    padding: 14px 18px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 3;
}

.hero-card-top {
    top: -20px;
    right: -20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-card-top .number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.hero-card-top .label {
    font-size: 11px;
    color: var(--dark);
    opacity: 0.7;
}

.hero-card-bottom {
    bottom: 30px;
    left: -30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-card-bottom .icon-wrap {
    width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card-bottom .icon-wrap i {
    color: var(--dark);
    font-size: 1rem;
}

.hero-card-bottom .text span {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
}

.hero-card-bottom .text small {
    font-size: 10px;
    color: var(--dark);
    opacity: 0.6;
}

section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 36px;
}

.section-header h2 {
    margin-bottom: 10px;
}

.section-header p {
    color: var(--dark);
    opacity: 0.7;
    max-width: 480px;
    margin: 0 auto;
    font-size: 14px;
}

.intro {
    background: var(--white);
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.intro-item {
    text-align: center;
    padding: 28px 20px;
    background: var(--light);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.intro-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(30, 58, 95, 0.08);
}

.intro-item .icon-box {
    width: 50px;
    height: 50px;
    margin: 0 auto 14px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-item .icon-box i {
    color: var(--accent);
    font-size: 1.2rem;
}

.intro-item h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.intro-item p {
    font-size: 12px;
    color: var(--dark);
    opacity: 0.7;
}

.pathways {
    background: var(--light);
}

.pathways-content {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
    align-items: center;
}

.pathways-text h2 {
    margin-bottom: 16px;
}

.pathways-text > p {
    color: var(--dark);
    opacity: 0.75;
    margin-bottom: 24px;
    font-size: 14px;
}

.pathway-list {
    list-style: none;
}

.pathway-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    padding: 14px;
    background: var(--white);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pathway-list li:hover {
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.08);
}

.pathway-list .num {
    width: 28px;
    height: 28px;
    background: var(--accent);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 12px;
    color: var(--dark);
    flex-shrink: 0;
}

.pathway-list .content h4 {
    font-size: 13px;
    margin-bottom: 4px;
}

.pathway-list .content p {
    font-size: 12px;
    color: var(--dark);
    opacity: 0.65;
}

.pathways-image img {
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(30, 58, 95, 0.12);
}

.courses {
    background: var(--white);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.course-card {
    background: var(--light);
    border-radius: 10px;
    padding: 24px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.course-card:hover {
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(30, 58, 95, 0.08);
}

.course-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.course-level {
    display: inline-block;
    background: var(--primary);
    color: var(--accent);
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
}

.course-price {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.course-price span {
    font-size: 0.7rem;
    color: var(--dark);
    opacity: 0.5;
    font-weight: 400;
}

.course-card h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.course-card > p {
    font-size: 12px;
    color: var(--dark);
    opacity: 0.7;
    margin-bottom: 18px;
    line-height: 1.6;
}

.course-features {
    list-style: none;
    margin-bottom: 18px;
}

.course-features li {
    font-size: 12px;
    color: var(--dark);
    padding: 6px 0;
    border-bottom: 1px solid rgba(30, 58, 95, 0.08);
    display: flex;
    align-items: center;
    gap: 8px;
}

.course-features li:last-child {
    border-bottom: none;
}

.course-features i {
    color: var(--accent);
    font-size: 10px;
}

.stats {
    background: var(--primary);
    padding: 50px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-box h3 {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 6px;
}

.stat-box p {
    font-size: 12px;
    color: var(--white);
    opacity: 0.75;
}

.methodology {
    background: var(--light);
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.method-card {
    background: var(--white);
    padding: 26px;
    border-radius: 10px;
    border-left: 3px solid var(--accent);
}

.method-card h3 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.method-card p {
    font-size: 12px;
    color: var(--dark);
    opacity: 0.7;
    line-height: 1.6;
}

.testimonials {
    background: var(--white);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.testimonial-card {
    background: var(--light);
    padding: 26px;
    border-radius: 10px;
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 3.5rem;
    font-family: var(--font-heading);
    color: var(--accent);
    opacity: 0.3;
    line-height: 1;
}

.testimonial-content p {
    font-size: 13px;
    color: var(--dark);
    opacity: 0.8;
    margin-bottom: 18px;
    line-height: 1.7;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 42px;
    height: 42px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
}

.testimonial-author h4 {
    font-size: 13px;
    margin-bottom: 2px;
}

.testimonial-author span {
    font-size: 11px;
    color: var(--dark);
    opacity: 0.6;
}

.join-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.join-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    border: 60px solid rgba(244, 162, 97, 0.08);
    border-radius: 50%;
}

.join-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.join-text h2 {
    color: var(--white);
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.join-text p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    max-width: 500px;
}

.join-actions {
    display: flex;
    gap: 12px;
}

footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 30px 0 18px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 10px;
}

.footer-brand p {
    font-size: 12px;
    max-width: 240px;
}

.footer-links h4 {
    color: var(--white);
    font-size: 13px;
    margin-bottom: 12px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 6px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-contact p {
    font-size: 12px;
    margin-bottom: 6px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    font-size: 11px;
}

.policy-links {
    display: flex;
    gap: 14px;
}

.policy-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
}

.policy-links a:hover {
    color: var(--accent);
}

.page-hero {
    padding: 110px 0 45px;
    background: var(--primary);
    text-align: center;
    position: relative;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--light);
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 50% 100%, 0 0);
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: 10px;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.75);
    max-width: 460px;
    margin: 0 auto;
    font-size: 14px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 12px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb span {
    color: var(--accent);
}

.content-section {
    padding: 50px 0;
    background: var(--light);
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 36px;
}

.content-main h2 {
    margin-bottom: 14px;
}

.content-main p {
    color: var(--dark);
    opacity: 0.75;
    margin-bottom: 14px;
    font-size: 13px;
}

.content-main ul {
    margin: 14px 0;
    padding-left: 18px;
}

.content-main li {
    color: var(--dark);
    opacity: 0.75;
    font-size: 13px;
    margin-bottom: 6px;
}

.sidebar-card {
    background: var(--white);
    padding: 22px;
    border-radius: 10px;
    margin-bottom: 18px;
}

.sidebar-card h3 {
    margin-bottom: 12px;
    font-size: 1rem;
}

.sidebar-card ul {
    list-style: none;
}

.sidebar-card li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(30, 58, 95, 0.08);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-card li:last-child {
    border-bottom: none;
}

.sidebar-card li .bullet {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.lesson-card {
    background: var(--white);
    padding: 22px;
    border-radius: 10px;
    margin-bottom: 18px;
    border-left: 3px solid var(--accent);
}

.lesson-card h3 {
    margin-bottom: 8px;
    font-size: 1rem;
}

.lesson-card p {
    color: var(--dark);
    opacity: 0.7;
    font-size: 12px;
    margin-bottom: 12px;
}

.lesson-meta {
    display: flex;
    gap: 16px;
    font-size: 11px;
    color: var(--dark);
    opacity: 0.6;
}

.contact-section {
    padding: 50px 0;
    background: var(--light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(30, 58, 95, 0.08);
}

.contact-info {
    background: var(--primary);
    padding: 36px;
    color: var(--white);
}

.contact-info h2 {
    color: var(--white);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.contact-info > p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 28px;
    font-size: 13px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.info-item .icon-wrap {
    width: 36px;
    height: 36px;
    background: rgba(244, 162, 97, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-item .icon-wrap i {
    color: var(--accent);
    font-size: 0.9rem;
}

.info-item h4 {
    color: var(--white);
    font-size: 12px;
    margin-bottom: 3px;
}

.info-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

.contact-form {
    padding: 36px;
}

.contact-form h3 {
    margin-bottom: 18px;
    font-size: 1.15rem;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid rgba(30, 58, 95, 0.15);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 13px;
    transition: all 0.3s ease;
    background: var(--light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
}

.form-group textarea {
    min-height: 90px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: var(--accent);
}

.checkbox-group label {
    font-size: 11px;
    color: var(--dark);
    opacity: 0.7;
    margin-bottom: 0;
}

.checkbox-group a {
    color: var(--primary);
}

.map-section {
    padding: 0 0 50px;
    background: var(--light);
}

.map-wrapper {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(30, 58, 95, 0.08);
}

.map-wrapper iframe {
    width: 100%;
    height: 280px;
    border: none;
}

.error-page,
.thankyou-page {
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
    background: var(--light);
}

.error-content,
.thankyou-content {
    max-width: 440px;
}

.error-icon,
.thankyou-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-icon i,
.thankyou-icon i {
    font-size: 2rem;
    color: var(--accent);
}

.error-content h1 {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.thankyou-content h1 {
    margin-bottom: 12px;
}

.error-content p,
.thankyou-content p {
    color: var(--dark);
    opacity: 0.7;
    margin-bottom: 22px;
    font-size: 14px;
}

.policy-page {
    padding: 45px 0;
    background: var(--light);
}

.policy-content {
    max-width: 760px;
    margin: 0 auto;
    background: var(--white);
    padding: 36px;
    border-radius: 10px;
}

.policy-content h2 {
    margin: 26px 0 12px;
    font-size: 1.2rem;
}

.policy-content h3 {
    margin: 20px 0 10px;
    font-size: 1.05rem;
}

.policy-content p {
    color: var(--dark);
    opacity: 0.75;
    margin-bottom: 12px;
    font-size: 13px;
}

.policy-content ul {
    margin: 12px 0;
    padding-left: 22px;
}

.policy-content li {
    color: var(--dark);
    opacity: 0.75;
    font-size: 13px;
    margin-bottom: 6px;
}

.privacy-popup {
    position: fixed;
    bottom: 18px;
    left: 18px;
    right: 18px;
    max-width: 380px;
    background: var(--white);
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(13, 27, 42, 0.18);
    z-index: 9999;
    transform: translateY(150%);
    transition: transform 0.4s ease;
}

.privacy-popup.show {
    transform: translateY(0);
}

.privacy-popup h4 {
    margin-bottom: 8px;
    font-size: 1rem;
}

.privacy-popup p {
    font-size: 12px;
    color: var(--dark);
    opacity: 0.7;
    margin-bottom: 14px;
}

.privacy-popup a {
    color: var(--primary);
}

.popup-buttons {
    display: flex;
    gap: 10px;
}

.popup-buttons .btn {
    padding: 8px 16px;
    font-size: 12px;
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero::before {
        width: 100%;
        height: 45%;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 70%);
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
        max-width: 380px;
        margin: 0 auto;
    }
    
    .hero-card-top {
        right: 0;
    }
    
    .hero-card-bottom {
        left: 0;
    }
    
    .intro-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pathways-content {
        grid-template-columns: 1fr;
    }
    
    .pathways-image {
        order: -1;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .method-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .join-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .join-actions {
        justify-content: center;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.3rem; }

    nav a {
    color: black;
   
}

nav a:hover {
    color: black;
}

    
    .nav-toggle {
        display: block;
        z-index: 999;
        position: relative;

    }
    
    nav {
        position: fixed;
        top: 0;
        right: -260px;
        width: 260px;
        height: 100vh;
        background: var(--white);
        padding: 50px 26px;
        transition: right 0.3s ease;
        box-shadow: -8px 0 30px rgba(13, 27, 42, 0.1);
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }
    
    .hero {
        min-height: auto;
        padding: 90px 0 50px;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .intro-grid {
        grid-template-columns: 1fr;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 14px;
    }
    
    section {
        padding: 45px 0;
    }
    
    .hero-text h1 {
        font-size: 1.6rem;
    }
    
    .hero-visual {
        max-width: 300px;
    }
    
    .hero-card {
        padding: 10px 14px;
    }
    
    .hero-card-top .number {
        font-size: 1.2rem;
    }
    
    .btn {
        padding: 9px 18px;
        font-size: 12px;
    }
    
    .contact-info,
    .contact-form {
        padding: 24px;
    }
    
    .privacy-popup {
        left: 12px;
        right: 12px;
        padding: 16px;
    }
    
    .popup-buttons {
        flex-direction: column;
    }
    
    .policy-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .stat-box h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 360px) {
    body {
        font-size: 13px;
    }
    
    .container {
        padding: 0 12px;
    }
    
    .logo {
        font-size: 1rem;
    }
    
    h1 { font-size: 1.4rem; }
    h2 { font-size: 1.15rem; }
    
    .hero-text h1 {
        font-size: 1.4rem;
    }
    
    .hero-visual {
        max-width: 260px;
    }
    
    .hero-card-bottom {
        display: none;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .policy-content {
        padding: 24px 18px;
    }
}

@media (max-width: 320px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-text h1 {
        font-size: 1.3rem;
    }
    
    .hero-label {
        font-size: 10px;
        padding: 5px 12px;
    }
    
    .hero-visual {
        max-width: 240px;
    }
    
    .hero-card-top {
        top: -15px;
        right: -5px;
        padding: 8px 12px;
    }
    
    .btn {
        padding: 8px 14px;
        font-size: 11px;
    }
    
    .intro-item {
        padding: 20px 16px;
    }
    
    .course-card {
        padding: 20px;
    }
    
    .contact-info,
    .contact-form {
        padding: 20px;
    }
    
    .footer-brand p {
        max-width: 200px;
    }
}
