:root {
    --primary-color: #FF6347; /* Tomato */
    --secondary-color: #4CAF50; /* Green */
    --background-color: #FDF8F5; /* Light creamy beige */
    --text-color: #333333;
    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Poppins', sans-serif;
    --card-bg: #FFFFFF;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: var(--body-font);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
}

p.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
    font-size: 1.1rem;
    color: #555;
}

/* Header */
header {
    background: var(--card-bg);
    box-shadow: var(--shadow);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 15px;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--text-color);
}

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

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 99, 71, 0.4);
}

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


/* Hero Section */
#hero {
    padding: 60px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h2 {
    font-size: 3rem;
    text-align: left;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

/* Sections */
section {
    padding: 60px 0;
}

section:nth-child(even) {
    background-color: #fff;
}

/* How It Works Section */
.cards-container {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    flex: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card img {
    height: 80px;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--body-font);
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
footer {
    background: var(--text-color);
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 40px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
    text-align: center;
}

.modal-content h2 {
    margin-bottom: 25px;
}

#login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#login-form input {
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 1rem;
}

.form-note {
    font-size: 0.9rem;
    color: #777;
    margin-top: 10px;
}

.close-btn {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
}

/* Student Page */
#student-welcome {
    background-color: var(--secondary-color);
    color: white;
}
#student-welcome h2, #student-welcome .section-subtitle {
    color: white;
}
#plan, #videos {
    background-color: #fff;
}
.plan-content, .videos-grid {
    background: var(--background-color);
    padding: 25px;
    border-radius: 8px;
    margin-top: 20px;
}
#plan h3, #videos h3 {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.8rem;
}
.plan-content ul {
    list-style: none;
    padding-left: 10px;
}
.plan-content li {
    font-size: 1.1rem;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}
.plan-content li input {
    margin-right: 15px;
    transform: scale(1.2);
}
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.video-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.video-card p {
    margin-bottom: 15px;
    font-weight: 600;
}


/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    nav ul {
        padding: 0;
    }
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-text h2 {
        text-align: center;
    }
    .cards-container {
        flex-direction: column;
    }
}

