* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a2332;
    --secondary-color: #3d5a80;
    --accent-color: #ee6c4d;
    --light-bg: #f8f9fa;
    --dark-bg: #0d1b2a;
    --text-color: #2b2d42;
    --light-text: #8d99ae;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.2rem; }

p {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 10px 26px;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    background: #d85838;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 108, 77, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-outline:hover {
    background: var(--accent-color);
    color: var(--white);
}

header {
    background: rgba(26, 35, 50, 0.98);
    backdrop-filter: blur(10px);
    padding: 0;
    position: relative;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent-color);
}

nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 26px;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 400;
    position: relative;
    padding: 6px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(3px, -3px);
}

.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-color) 100%);
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(45deg, rgba(238, 108, 77, 0.1), rgba(61, 90, 128, 0.2));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.hero h1 {
    color: var(--white);
    font-size: 2.8rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 1.8rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 0.6rem;
}

.section-header p {
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto;
}

.features {
    background: var(--light-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.feature-card {
    background: var(--white);
    padding: 28px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 2.4rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.6rem;
    font-size: 1.2rem;
}

.feature-card p {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.course-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.course-card:hover .course-icon {
    background: linear-gradient(135deg, var(--accent-color) 0%, #d85838 100%);
    transform: scale(1.05);
}

.course-icon {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    transition: var(--transition);
}

.course-icon i {
    font-size: 4rem;
    color: var(--white);
}

.course-content {
    padding: 24px;
}

.course-content h3 {
    margin-bottom: 0.6rem;
    font-size: 1.3rem;
}

.course-content p {
    color: var(--light-text);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.course-meta {
    display: flex;
    gap: 5px;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid #eee;
}

.course-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-color);
}

.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content h2 {
    margin-bottom: 1rem;
}

.about-content p {
    margin-bottom: 1rem;
    color: var(--light-text);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 24px;
    background: var(--light-bg);
    border-radius: 8px;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.4rem;
}

.stat-label {
    color: var(--light-text);
    font-size: 0.9rem;
}

.cta-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    text-align: center;
    padding: 70px 20px;
}

.cta-section h2 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-section {
    padding: 60px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    background: var(--light-bg);
    padding: 35px;
    border-radius: 8px;
}

.contact-info h3 {
    margin-bottom: 1.2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
    padding: 14px;
    background: var(--white);
    border-radius: 6px;
}

.info-icon {
    font-size: 1.4rem;
    color: var(--accent-color);
    margin-top: 2px;
}

.info-text h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.info-text p {
    color: var(--light-text);
    font-size: 0.9rem;
    margin: 0;
}

.contact-form {
    background: var(--white);
}

.contact-form h3 {
    margin-bottom: 1.2rem;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(238, 108, 77, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 18px;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 4px;
    width: auto;
}

.checkbox-group label {
    font-size: 0.85rem;
    color: var(--light-text);
    margin: 0;
}

.checkbox-group label a {
    color: var(--accent-color);
    text-decoration: underline;
}

.map-container {
    margin-top: 50px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

footer {
    background: var(--dark-bg);
    color: rgba(255, 255, 255, 0.8);
    padding: 35px 0 20px;
    font-size: 0.85rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 35px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 8px;
}

.footer-bottom a:hover {
    color: var(--accent-color);
}

.privacy-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 500px;
    background: var(--white);
    padding: 22px;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    transform: translateY(120%);
    transition: transform 0.4s ease;
}

.privacy-popup.show {
    transform: translateY(0);
}

.privacy-popup p {
    font-size: 0.85rem;
    margin-bottom: 14px;
    color: var(--text-color);
}

.privacy-popup a {
    color: var(--accent-color);
    text-decoration: underline;
}

.privacy-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.privacy-buttons button {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.error-page,
.thankyou-page {
    min-height: calc(100vh - 60px - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.error-content,
.thankyou-content {
    max-width: 500px;
}

.error-content h1,
.thankyou-content h1 {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.error-content h2,
.thankyou-content h2 {
    margin-bottom: 1rem;
}

.error-content p,
.thankyou-content p {
    color: var(--light-text);
    margin-bottom: 2rem;
}

.policy-page {
    padding: 60px 0;
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
}

.policy-content h1 {
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
}

.policy-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

.policy-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.policy-content p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.policy-content ul,
.policy-content ol {
    margin-bottom: 1.2rem;
    padding-left: 30px;
}

.policy-content li {
    margin-bottom: 0.6rem;
    line-height: 1.8;
}

.page-header {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-color) 100%);
    padding: 70px 0;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
}

.page-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto;
}

.content-section {
    padding: 60px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 50px;
}

.content-grid.reverse {
    direction: rtl;
}

.content-grid.reverse > * {
    direction: ltr;
}

.content-text h2 {
    margin-bottom: 1rem;
}

.content-text p {
    color: var(--light-text);
    margin-bottom: 1.2rem;
}

.content-text ul {
    list-style: none;
    padding: 0;
}

.content-text li {
    padding: 8px 0;
    padding-left: 26px;
    position: relative;
    color: var(--light-text);
}

.content-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

.content-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.highlights {
    background: var(--light-bg);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 28px;
}

.highlight-card {
    background: var(--white);
    padding: 28px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
}

.highlight-icon {
    font-size: 2.2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.highlight-card h3 {
    margin-bottom: 0.6rem;
    font-size: 1.2rem;
}

.highlight-card p {
    color: var(--light-text);
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(26, 35, 50, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .menu-toggle {
        display: flex;
    }

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }

    .hero {
        min-height: 70vh;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .about-section,
    .contact-container,
    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .features-grid,
    .courses-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 40px 0;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .page-header {
        padding: 50px 0;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .error-content h1,
    .thankyou-content h1 {
        font-size: 3rem;
    }

    .privacy-popup {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .container {
        padding: 0 16px;
    }

    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.3rem; }
    h3 { font-size: 1.1rem; }

    .hero h1 {
        font-size: 1.7rem;
    }

    .section-header h2 {
        font-size: 1.4rem;
    }

    .page-header h1 {
        font-size: 1.6rem;
    }

    .btn {
        padding: 9px 20px;
        font-size: 0.85rem;
    }

    .feature-card,
    .highlight-card {
        padding: 20px;
    }

    .course-content {
        padding: 18px;
    }

    .contact-info {
        padding: 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 320px) {
    body {
        font-size: 13px;
    }

    .container {
        padding: 0 12px;
    }

    h1 { font-size: 1.4rem; }
    h2 { font-size: 1.2rem; }

    .logo {
        font-size: 1.1rem;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}
