:root {

    --primary-color: #0f172a;
    --primary-light: #1e293b;
    --secondary-color: #3b82f6;
    --secondary-hover: #2563eb;
    --accent-color: #f59e0b;


    --text-dark: #1e293b;
    --text-body: #475569;
    --text-light: #94a3b8;


    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-input: #f1f5f9;


    --border-color: #e2e8f0;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;


    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);


    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-body);
    line-height: 1.7;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}


.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

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

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


h1,
h2,
h3,
h4 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-body);
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 60px;
}

.section-header h2 {
    position: relative;
    display: inline-block;
}


.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-body);
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-hover));
    color: var(--bg-white);
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.3);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--bg-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background-color: var(--bg-white);
    color: var(--primary-color);
    border-color: var(--bg-white);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--border-color);
    color: var(--secondary-color);
    width: 100%;
}

.btn-outline:hover {
    border-color: var(--secondary-color);
    background-color: var(--secondary-color);
    color: var(--bg-white);
}

.full-width {
    width: 100%;
}


.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--secondary-color);
}

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

.nav-links a {
    font-weight: 600;
    color: var(--text-body);
    font-size: 0.95rem;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary-color);
}


.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

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


.hero {
    display: flex;
    align-items: center;
    background-color: var(--primary-color);
    background: url('../img/hero.png') center center/cover no-repeat;
    color: var(--bg-white);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.hero-content {
    flex: 1;
    z-index: 2;
    padding-right: 40px;
}

.hero-content h1 {
    color: var(--bg-white);
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.hero-sub {
    color: #cbd5e1;
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-trust {
    display: flex;
    gap: 24px;
    color: #94a3b8;
    font-size: 0.95rem;
    font-weight: 500;
}

.hero-trust i {
    color: var(--secondary-color);
    margin-right: 8px;
}

.hero-image {
    flex: 1;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 45%;
    z-index: 1;
}

.hero-image::after {

    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, rgba(15, 23, 42, 0.4) 100%);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 32px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(59, 130, 246, 0.3);
}


.feature-card {
    text-align: left;
}

.feature-card .icon-box {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: var(--secondary-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 24px;
}

.feature-card h3 {
    margin-bottom: 12px;
}


.course-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.course-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-img {
    transform: scale(1.05);
}

.course-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.badge {
    align-self: flex-start;
    background-color: #eff6ff;
    color: var(--secondary-color);
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.course-meta {
    display: flex;
    gap: 20px;
    margin: auto 0 24px;
    font-size: 0.9rem;
    color: var(--text-body);
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.course-meta li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.course-meta i {
    color: var(--text-light);
}


.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.step {
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 auto 24px;
    box-shadow: 0 0 0 8px #f1f5f9;
}


@media (min-width: 900px) {
    .steps-grid::before {
        content: '';
        position: absolute;
        top: 50px;
        left: 50px;
        right: 50px;
        height: 2px;
        background-color: var(--border-color);
        z-index: 1;
    }

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


.testimonial-card {
    text-align: center;
    position: relative;
}

.testimonial-card .stars {
    color: var(--accent-color);
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.05rem;
    color: var(--text-dark);
}

.student-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 24px;
}

.student-info img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
    border: 3px solid var(--bg-white);
    box-shadow: var(--shadow-sm);
}

.student-info strong {
    color: var(--primary-color);
    display: block;
}

.student-info span {
    font-size: 0.85rem;
    color: var(--text-light);
}


.about-layout,
.contact-layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.about-text,
.about-image {
    flex: 1;
}

.about-text {
    padding-top: 20px;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-info,
.contact-form-wrapper {
    flex: 1;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    background: var(--bg-white);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--bg-light);
}

.info-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border-color);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    background: #eff6ff;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.map-placeholder {
    background-color: #f1f5f9;
    height: 280px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-align: center;
    border: 2px dashed var(--border-color);
}


.form-card {
    padding: 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--bg-input);
    transition: all 0.3s ease;
    color: var(--text-dark);
}


.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-group input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.9rem;
    font-weight: 400;
    cursor: pointer;
}

.checkbox-group a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.required {
    color: #ef4444;
}

.error-msg {
    color: #ef4444;
    font-size: 0.85rem;
    display: none;
    margin-top: 6px;
}

.display-block {
    display: block;
}

.input-error {
    border-color: #ef4444 !important;
    background-color: #fef2f2 !important;
}

.form-feedback {
    margin-top: 20px;
    padding: 16px;
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 500;
}

.feedback-success {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.hidden {
    display: none;
}


.page-header {
    background: url('../img/page_bg.png') center center/cover no-repeat;
    color: var(--bg-white);
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    color: white;
}

.small-header {
    padding: 50px 0;
}

.legal-content article {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 0;
}

.legal-content h2 {
    margin-top: 48px;
    font-size: 1.8rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.legal-content h3 {
    margin-top: 32px;
    font-size: 1.3rem;
}

.legal-content ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-body);
}

.legal-content ul li {
    margin-bottom: 8px;
}

.legal-action {
    margin-top: 60px;
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}


footer {
    background-color: var(--primary-color);
    color: #94a3b8;
    padding-top: 80px;
    border-top: 5px solid var(--secondary-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 50px;
    padding-bottom: 60px;
    border-bottom: 1px solid #334155;
}

.footer-col h3 {
    color: var(--bg-white);
    font-size: 1.1rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--bg-white);
    text-decoration: none;
    padding-left: 5px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-list li i {
    margin-top: 4px;
    color: var(--secondary-color);
}

.social-links {
    margin-top: 24px;
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--secondary-color);
    color: var(--bg-white);
    transform: translateY(-3px);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.9rem;
    background-color: #020617;
}

.footer-bottom a {
    color: #cbd5e1;
    margin: 0 10px;
}

.footer-bottom a:hover {
    color: var(--secondary-color);
}


@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        padding-top: 0;
        text-align: center;
    }

    .hero-image {
        position: relative;
        width: 100%;
        height: 350px;
        order: -1;
    }

    .hero-image::after {
        background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, var(--primary-color) 100%);
    }

    .hero-content {
        padding: 40px 20px;
        width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .about-layout,
    .contact-layout {
        flex-direction: column;
    }

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

    .steps-grid::before {
        display: none;
    }

    h1 {
        font-size: 2.75rem;
    }

    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--bg-white);
        padding: 20px 0;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 12px 24px;
        border-bottom: 1px solid var(--bg-light);
    }

    .nav-links a::after {
        display: none;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .contact-layout {
        gap: 40px;
    }
}