body {
    font-family: "Inter", sans-serif;
    background-color: #f8f9fa;
}

.navbar {
    border-bottom: 1px solid #343a79;
}

.customColor {
    color: #343a79;
}

/* Typography - Figma Matching */
.path-text {
    font-size: 24px;
    font-weight: 400;
    line-height: 100%;
}

.door-text {
    font-size: 24px;
    font-weight: 600;
    color: #343a79;
}
.navbar {
    border-bottom: 1px solid #343a79;
}

.navbar-toggler {
    border-color: #343a79;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(52, 58, 121, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23343A79' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ======================= */
/* Language Cards          */
/* ======================= */
.lang-card {
    position: relative;
    width: 439px;
    height: 262px;
    background-color: #2e3374;
    color: #fff;
    border-radius: 48px;
    padding-left: 150px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lang-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

/* Flag */
.flag {
    position: absolute;
    left: -50px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 8px solid #fff;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
}

.flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.lang-name {
    font-size: 40px;
    font-weight: 700;
    margin: 0;
}

/* ====================== */
/* Footer                 */
/* ====================== */
.footer {
    background: #f9f2f2;
    border-top: 1px solid #343a79 !important;
}

.footer-heading {
    font-size: 32px;
    font-weight: 700;
    color: #343a79;
}

.footer-link {
    font-size: 24px;
    font-weight: 400;
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.footer-link:hover {
    color: #343a79;
}

/* ====================== */
/* Responsive Design */
/* ====================== */
@media (max-width: 768px) {
    .lang-card {
        width: 100%;
        height: auto;
        border-radius: 36px;
        padding: 30px 20px;
        flex-direction: column;
        text-align: center;
        justify-content: center;
        padding-left: 20px;
    }

    .flag {
        position: relative;
        left: 0;
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
        border: 5px solid #fff;
    }

    .lang-name {
        font-size: 30px;
    }
}

@media (max-width: 576px) {
    .lang-card {
        border-radius: 28px;
        padding: 25px 15px;
    }

    .flag {
        width: 70px;
        height: 70px;
        margin-bottom: 10px;
    }

    .lang-name {
        font-size: 26px;
    }

    .path-text,
    .door-text {
        font-size: 20px;
    }

    .footer-heading {
        font-size: 28px;
    }

    .footer-link {
        font-size: 18px;
    }
}


.customColor {
    color: #343a79;
}

/* Back Button */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid #343a79;
    border-radius: 12px;
    background-color: #fff;
    color: #343a79;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background-color: #343a79;
    color: #fff;
}

/* Header Section */
.header-section {
    margin: 3rem 0;
}

.pick-join-text {
    font-size: 40px;
    font-weight: 700;
    color: #343a79;
    margin-bottom: 0.5rem;
}

.our-lessons-text {
    font-size: 32px;
    font-weight: 400;
    color: #000;
}

.our-lessons-text .language {
    color: #ff0000;
    font-weight: 700;
}

.flag-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.flag-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Course Cards */
.course-card {
    background-color: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.course-header {
    background-color: #6c6c6c;
    color: #fff;
    /* padding: 2rem; */
    padding: 1rem 0rem 1rem 2rem;
    position: relative;
    /* min-height: 180px; */
    max-height: 185px;
}

.play-btn {
    width: 45px !important;
    height: 45px !important;
    background-color: #d0d0d0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.play-btn:hover {
    background-color: #fff;
}

.play-btn::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 15px solid #6c6c6c;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    margin-left: 4px;
}

.teacher-info {
    display: flex;
    align-items: center;
    gap: 15px;
    /* margin-top: 1rem; */
}

.teacher-avatar {
    width: 75px;
    height: 75px;
    background-color: #fff;
    border-radius: 50%;
}

.teacher-name {
    font-size: 20px;
    font-weight: 500;
    margin: 0;
}

.course-name {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.course-body {
    background-color: #e8e8e8;
    min-height: 200px;
    padding: 2rem;
}

.join-btn {
    background-color: #dc3545;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px 40px;
    font-size: 20px;
    font-weight: 600;
    width: 100%;
    transition: background-color 0.3s ease;
}

.join-btn:hover {
    background-color: #c82333;
}

/* Footer */
.footer {
    background: #f9f2f2;
    border-top: 1px solid #343a79;
    padding: 3rem 0 2rem;
    margin-top: 5rem;
}

.footer-heading {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin-bottom: 1.5rem;
}

.footer-link {
    font-size: 18px;
    font-weight: 400;
    color: #000;
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #343a79;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    margin-bottom: 0.8rem;
}

.contact-icon {
    width: 24px;
    height: 24px;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #ddd;
}

.copyright {
    font-size: 16px;
    color: #000;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 16px;
    color: #000;
}

/* Responsive */
@media (max-width: 991px) {
    .navbar-nav {
        text-align: center;
        padding-top: 1rem;
    }

    .nav-item {
        padding: 0.5rem 0;
    }

    .pick-join-text {
        font-size: 32px;
    }

    .our-lessons-text {
        font-size: 24px;
    }

    .flag-circle {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .pick-join-text {
        font-size: 28px;
    }

    .our-lessons-text {
        font-size: 20px;
    }

    .flag-circle {
        width: 80px;
        height: 80px;
    }

    .course-name {
        font-size: 20px;
    }

    .teacher-name {
        font-size: 18px;
    }

    .footer-heading {
        font-size: 24px;
    }

    .footer-link,
    .contact-item {
        font-size: 16px;
    }
}
