/* Global Styles */
:root {
    --primary-color: #1a1a4b;
    --secondary-color: #6b6bff;
    --text-color: #333;
    --background-color: #f0f0f0;
}

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

body {
    font-family: "Montserrat", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Button Styles */
.btn {
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: var(--secondary-color);
}

.btn-secondary {
    background-color: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Navigation Styles */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px #0000001a;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.nav-items {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-items a {
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background-color: var(--primary-color);
    margin: 2px 0;
    transition: 0.4s;
}

/* Banner Styles */
.banner {
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 0.75rem;
}

.banner .btn {
    background-color: var(--secondary-color);
    margin-left: 1rem;
}

.banner .btn:hover {
    background-color: #8080ff;
}

/* Hero Styles */
.hero {
    background-image: linear-gradient(#00000080, #00000080), url(./study.png);
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 10rem 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* Content Styles */
.content {
    padding: 4rem 0;
}

.content-section {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 4rem;
}

.content-text {
    flex: 1;
}

.content-text .btn {
    margin-top: 1rem;
}

.content-image {
    flex: 1;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    background-image: url(./logo.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 8px;
}

/* Course Styles */
.courses {
    text-align: center;
    margin-bottom: 4rem;
}

.course-cards {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    margin-top: 2rem;
}

.course-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    flex: 1;
    box-shadow: 0 4px 6px #0000001a;
    transition: transform 0.3s ease;
    margin-bottom: 2.5rem;
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-card p {
    text-align: justify;
}

.course-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin: 0 auto 1rem;
    font-size: 2rem;
    margin-left: auto;
    margin-right: auto;
}

.course-card h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Courses Hero Styles */
.courses-hero {
    background-color: black;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 4rem 0;
}

.courses-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.courses-content {
    padding: 4rem 0;
}

/* Pricing Styles */
.pricing-section {
    padding: 4rem 0;
}

.pricing-section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px #0000001a;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.all-inclusive {
    border: 3px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.all-inclusive-label {
    position: absolute;
    top: 20px;
    right: -35px;
    background-color: var(--secondary-color);
    color: #fff;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 700;
}

.pricing-icon {
    width: 80px;
    height: 80px;
    background-color: var(--secondary-color);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin: 0 auto 1rem;
    font-size: 2rem;
}

.pricing-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.pricing-card p {
    margin-bottom: 0.5rem;
}

.pricing-card .highlight {
    font-weight: 700;
    color: var(--secondary-color);
}

.pricing-tiers {
    margin-top: 1rem;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.pricing-tier {
    margin-bottom: 0.5rem;
}

/* Checkout Styles */
.checkout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    column-gap: 2rem;
    row-gap: 5rem;
}

.checkout-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px #0000001a;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.checkout-card h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.checkout-card-content {
    flex-grow: 1;
}

.checkout-card p {
    margin-bottom: 0.5rem;
}

.checkout-card .highlight {
    font-weight: 700;
    color: var(--secondary-color);
}

.input-group {
    margin-top: auto;
    padding-top: 1rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.checkout-button {
    text-align: right;
    margin-top: 2rem;
}

/* Footer Styles */
footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 2rem 0;
}

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

footer .logo {
    color: #fff;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Media Queries */
@media (max-width: 768px) {
    .nav-items {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background-color: #fff;
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

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

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .content-section {
        flex-direction: column;
        gap: 2rem;
    }

    .course-cards {
        flex-direction: column;
    }

    .hero h1,
    .courses-hero h1 {
        font-size: 2rem;
    }

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

    .content-image {
        width: 100%;
    }

    footer .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .pricing-section h2 {
        font-size: 2rem;
    }

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