/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* General Styles */
body {
    color: #333;
    background-color: #f8f9fa;
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
    /* display: flex;
    gap: 1.5rem; */
}

/* Header */
header {
    background: #6a11cb;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    height: 50px;
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

nav ul li {
    margin-right: 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 12px;
    transition: background 0.3s, color 0.3s;
    border-radius: 5px;
}

nav ul li a:hover {
    background: white;
    color: #6a11cb;
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, #6a11cb, #2575fc);
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.hero h1 {
    font-size: 26px;
    margin-bottom: 15px;
}

.hero p {
    /* font-size: 18px; */
    /* margin-bottom: 20px; */
}

.cta-button {
    display: inline-block;
    background-color: #ff4081;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #ff1f5b;
}

/* Benefits Section */
.benefits {
    padding: 40px 20px;
    background-color: #fff;
    margin: 20px 0;
    border-radius: 8px;
    text-align: center;
}

.benefits h2 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #6a11cb;
}

.benefits ul {
    list-style: none;
    padding: 0;
}

.benefits ul li {
    font-size: 18px;
    margin: 10px 0;
}

/* Enrollment Form */
.enrollment-form {
    background: #f4f4f4;
    padding: 40px 20px;
    text-align: center;
    border-radius: 8px;
    margin: 20px 0;
}

.enrollment-form h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #6a11cb;
}

.enrollment-form input {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 10px auto;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.enrollment-form button {
    background-color: #6a11cb;
    color: white;
    padding: 12px 25px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 18px;
    transition: background-color 0.3s;
}

.enrollment-form button:hover {
    background-color: #5a0f9e;
}

/* Payment Information */
.payment-info {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
}

.payment-info h3 {
    font-size: 20px;
    color: #6a11cb;
    margin-bottom: 15px;
}

/* Footer */
footer {
    background-color: #6a11cb;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}

footer a {
    color: white;
    text-decoration: none;
}

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

form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

/* Style each input group */
.input-group {
    margin-bottom: 20px;
}

/* Style the labels */
label {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    color: #333;
}

/* Style the input fields */
input {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Style the input fields when focused */
input:focus {
    border-color: #007BFF;
    outline: none;
}

/* Style the submit button */
button {
    padding: 12px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #0056b3;
}

/* FAQ Section */
.faq {
    background-color: #ffffff; /* White background */
    padding: 40px 20px;
    text-align: center;
    border-top: 2px solid #008CBA; /* Blue top border for emphasis */
}

.faq h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 30px; /* Space below the title */
}

.faq-item {
    background-color: #f9f9f9; /* Light grey background for each FAQ item */
    margin-bottom: 20px; /* Space between FAQ items */
    padding: 15px;
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for a 3D effect */
    transition: background-color 0.3s ease; /* Smooth background transition on hover */
}

.faq-item:hover {
    background-color: #e6f7ff; /* Light blue background on hover */
}

.faq-item h3 {
    font-size: 1.5rem;
    color: #008CBA; /* Blue color for questions */
    margin-bottom: 10px; /* Space below the question */
}

.faq-item p {
    font-size: 1.1rem;
    color: #555; /* Slightly dark grey text for the answer */
}

/* Testimonials Section */
.testimonials {
    background-color: #ffffff; /* White background */
    padding: 40px 20px;
    text-align: center;
    border-top: 2px solid #008CBA; /* Blue top border for emphasis */
}

.testimonials h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 30px; /* Space below the title */
}

.testimonial {
    background-color: #f9f9f9; /* Light grey background for each testimonial */
    margin-bottom: 20px; /* Space between testimonials */
    padding: 20px;
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for a 3D effect */
    transition: background-color 0.3s ease; /* Smooth background transition on hover */
}

.testimonial:hover {
    background-color: #e6f7ff; /* Light blue background on hover */
}

.testimonial p {
    font-size: 1.2rem;
    color: #555; /* Dark grey text for the testimonial content */
    font-style: italic; /* Italicize the testimonial text */
    margin-bottom: 10px; /* Space below the quote */
}

.testimonial span {
    display: block;
    font-size: 1rem;
    color: #008CBA; /* Blue color for the author */
    font-weight: bold; /* Bold the author's name */
}


/* Tutor Details Section */
.tutor-details {
    background-color: #ffffff; /* White background */
    padding: 40px 20px;
    text-align: center;
}

.tutor-details h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

.tutor {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tutor-image .image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #008CBA; /* Blue border for image */
}

.tutor-info {
    max-width: 400px;
    text-align: left;
}

.tutor-info h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
}

.tutor-info p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}

.tutor-info a {
    color: #008CBA;
    text-decoration: none;
}

.tutor-info a:hover {
    text-decoration: underline;
}


/* Styling the price section */
.price-container {
    margin-top: 20px;
    text-align: center;
}

/* Original price styling */
.original-price {
    font-size: 1.5em;
    font-weight: bold;
    color: #ff4747; /* Red color for the original price */
    text-decoration: line-through;
}

/* Discounted price styling */
.discounted-price {
    font-size: 2.5em;
    font-weight: bold;
    color: #32CD32; /* Green color for discounted price */
    margin-top: 10px;
    animation: scaleUp 1s ease-out;
}

/* Animation for discounted price */
@keyframes scaleUp {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}



/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        padding-top: 10px;
        justify-content: center;
    }

    .hero h1 {
        font-size: 22px;
    }

    .hero p {
        font-size: 16px;
    }

    .cta-button {
        font-size: 16px;
        padding: 10px 20px;
    }

    .benefits ul li {
        font-size: 16px;
    }

    .enrollment-form h2 {
        font-size: 20px;
    }

    .enrollment-form input {
        font-size: 14px;
    }

    .enrollment-form button {
        font-size: 16px;
    }
}
