:root {

    --primary-color: #0d47a1;
    --primary-dark: #002171;
    --accent-color: #ff6f00;
    --accent-hover: #e65100;


    --text-main: #37474f;
    --text-light: #78909c;
    --bg-light: #f5f7fa;
    --white: #ffffff;


    --border-radius: 12px;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --max-width: 1200px;
}


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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.7;
    color: var(--text-main);
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    line-height: 1.25;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
    letter-spacing: -1px;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

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

ul {
    list-style: none;
}


.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

.text-center {
    text-align: center;
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 111, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white) !important;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}


header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo span {
    color: var(--accent-color);
}

.logo i {
    color: var(--accent-color);
    font-size: 1.8rem;
}

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

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

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

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

.nav-links a.active {
    color: var(--accent-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.6rem;
    color: var(--text-main);
    cursor: pointer;
}


.hero {

    background: linear-gradient(135deg, rgba(0, 33, 113, 0.85) 0%, rgba(13, 71, 161, 0.75) 100%), url('../img/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 160px 0 120px;
    text-align: center;
    position: relative;
}

.hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 24px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}


.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 111, 0, 0.2);
}

.feature-card i {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 25px;
    background: rgba(255, 111, 0, 0.1);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    transition: var(--transition);
}

.feature-card:hover i {
    background: var(--accent-color);
    color: var(--white);
    transform: scale(1.1);
}


.courses-section {
    background-color: var(--white);
}

.course-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    border: 1px solid #eee;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

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

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

.course-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.course-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}


.course-content a {
    margin-top: 25px;
}

.course-meta {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.course-meta i {
    color: var(--accent-color);
    margin-right: 5px;
}

.course-btn {
    margin-top: auto;
    width: 100%;
    background: var(--primary-color);
    color: white;
}

.course-btn:hover {
    background: var(--primary-dark);
}


.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--white);
    padding: 35px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    position: relative;
    font-style: italic;
}

.testimonial-card::before {
    content: '\201C';
    font-size: 5rem;
    color: rgba(13, 71, 161, 0.1);
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: serif;
}

.testimonial-author {
    font-weight: 700;
    margin-top: 20px;
    display: block;
    color: var(--primary-color);
    font-style: normal;
    text-align: right;
    font-family: 'Montserrat', sans-serif;
}


.accordion-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-main);
    transition: background 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.accordion-header:hover {
    background: #f9f9f9;
}

.accordion-header.active {
    color: var(--accent-color);
    background: #fff8e1;
}

.accordion-header i {
    transition: transform 0.3s;
}

.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 25px;
    background: var(--white);
}

.accordion-content p {
    padding: 10px 0 25px;
    color: var(--text-light);
}


.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
}

.contact-info-item i {
    font-size: 1.4rem;
    color: var(--accent-color);
    background: rgba(255, 111, 0, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}


.form-group {
    margin-bottom: 25px;
    position: relative;
}

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

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: #fafafa;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(13, 71, 161, 0.1);
    background-color: var(--white);
    outline: none;
}

.map-placeholder {
    width: 100%;
    height: 300px;
    background: #e0e0e0;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #757575;
    background-image: repeating-linear-gradient(45deg, #e0e0e0 0, #e0e0e0 10px, #eeeeee 10px, #eeeeee 20px);
}


.legal-content {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 60px;
    box-shadow: var(--shadow-sm);
    margin-top: 40px;
    margin-bottom: 40px;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    color: var(--primary-dark);
}

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

.legal-content p {
    margin-bottom: 1rem;
    color: var(--text-light);
}


footer {
    background-color: #1a2332;
    color: #cfd8dc;
    padding: 80px 0 30px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

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

.footer-col a {
    color: #b0bec5;
    font-size: 0.95rem;
    transition: color 0.3s, padding-left 0.3s;
}

.footer-col a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    font-size: 0.9rem;
    color: #78909c;
}


@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 30px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .legal-content {
        padding: 30px;
    }
}

.checkbox-error {
    display: none;
}

.success-message {
    display: none;
    text-align: center;
    color: green;
    margin-top: 10px;
}