﻿/* IELTS HoC Classes Landing Page Styles */

:root {
    --primary: #2c5f7d;
    --secondary: #4a9aba;
    --accent: #f4a261;
    --text-dark: #2d3748;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --white: #ffffff;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

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

/* Header */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

    .logo h1 {
        color: var(--primary);
        font-size: 1.8rem;
    }

.tagline {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
}

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

nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

    nav a:hover {
        color: var(--secondary);
    }

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

    .hero h2 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        line-height: 1.3;
        color: black;
    }

    .hero p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        opacity: 0.95;
        color: black;
    }

.cta-button {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

    .cta-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    }

/* Section Styles */
section {
    padding: 4rem 0;
}

    section:nth-child(even) {
        background: var(--bg-light);
    }

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 3rem;
}

/* Classes Overview */
.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.class-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

    .class-card h3 {
        color: var(--primary);
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

.class-badge {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.class-features {
    list-style: none;
    margin-top: 1.5rem;
}

    .class-features li {
        padding: 0.5rem 0;
        padding-left: 1.5rem;
        position: relative;
    }

        .class-features li:before {
            content: "✓";
            position: absolute;
            left: 0;
            color: var(--accent);
            font-weight: bold;
        }

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-card {
    background: var(--white);
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

    .pricing-card.featured {
        border-color: var(--accent);
        transform: scale(1.05);
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    }

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

.price {
    font-size: 2.5rem;
    color: var(--secondary);
    font-weight: bold;
    margin: 1rem 0;
}

.price-period {
    color: var(--text-light);
    font-size: 1rem;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

    .pricing-features li {
        padding: 0.5rem 0;
        border-bottom: 1px solid #e2e8f0;
    }

/* Assessment Showcase */
.assessment-showcase {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 3rem;
    border-radius: 20px;
    margin: 2rem 0;
}

    .assessment-showcase h3 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

.assessment-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.assessment-feature {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

    .assessment-feature h4 {
        margin-bottom: 0.5rem;
    }

/* About Teacher */
.teacher-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.teacher-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

    .teacher-image img {
        width: 100%;
        height: auto;
        display: block;
    }

/* FAQ */
.faq-item {
    background: var(--white);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-question {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        color: var(--text-dark);
        font-weight: 500;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 0.8rem;
        border: 2px solid #e2e8f0;
        border-radius: 8px;
        font-size: 1rem;
        transition: border-color 0.3s;
    }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--secondary);
        }

.submit-btn {
    background: var(--secondary);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

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

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

    footer a {
        color: var(--accent);
        text-decoration: none;
    }

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

/* Responsive */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2rem;
    }

    .teacher-section {
        grid-template-columns: 1fr;
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }
}
