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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.menu-toggle {
    display: none;
}

.logo h2 {
    font-size: 28px;
    margin-bottom: 5px;
}

.tagline {
    font-size: 13px;
    opacity: 0.9;
}

.nav-menu {
    display: flex;
    gap: 25px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-menu a:hover {
    opacity: 0.8;
}

.btn-login {
    background: white !important;
    color: #667eea !important;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
}

.btn-login:hover {
    opacity: 1 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 25px;
    line-height: 1.3;
}

.hero-desc {
    font-size: 18px;
    max-width: 900px;
    margin: 0 auto 40px;
    line-height: 1.8;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary, .btn-predictor {
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: white;
    color: #667eea;
}

.btn-secondary {
    background: #28a745;
    color: white;
}

.btn-predictor {
    background: #ffc107;
    color: #333;
}

.btn-primary:hover, .btn-secondary:hover, .btn-predictor:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* Why Choose Section */
.why-choose {
    padding: 80px 0;
    background: #f8f9fa;
    text-align: center;
}

.why-choose h2 {
    font-size: 36px;
    margin-bottom: 25px;
    color: #333;
}

.section-desc {
    font-size: 18px;
    max-width: 900px;
    margin: 0 auto 30px;
    line-height: 1.8;
    color: #555;
}

/* Services Section */
.services {
    padding: 80px 0;
}

.services h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
    text-align: center;
}

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

.service-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #667eea;
}

.service-card p {
    font-size: 16px;
    line-height: 1.7;
    color: #666;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: #f8f9fa;
}

.pricing h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.price-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

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

.price-card.featured {
    border: 3px solid #667eea;
    transform: scale(1.05);
}

.badge {
    background: #667eea;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    font-weight: 600;
}

.price-card h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #333;
}

.price {
    font-size: 42px;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 30px;
}

.price-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.price-card ul li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 15px;
    color: #555;
}

.btn-plan {
    display: block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-plan:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
}

.testimonials h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    position: relative;
}

.quote {
    font-size: 80px;
    color: #667eea;
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: Georgia, serif;
}

.testimonial-card p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
    font-style: italic;
}

.student-info {
    border-top: 2px solid #667eea;
    padding-top: 20px;
}

.student-info h4 {
    font-size: 20px;
    color: #333;
    margin-bottom: 5px;
}

.student-info p {
    font-size: 14px;
    color: #667eea;
    font-weight: 600;
    font-style: normal;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #f8f9fa;
}

.about h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.expert-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin-top: 50px;
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    align-items: center;
}

.expert-image {
    text-align: center;
}

.image-placeholder {
    font-size: 150px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 250px;
    height: 250px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.expert-info h3 {
    font-size: 28px;
    margin-bottom: 25px;
    color: #333;
}

.expert-info ul {
    list-style: none;
}

.expert-info ul li {
    padding: 15px 0;
    font-size: 17px;
    color: #555;
    border-bottom: 1px solid #eee;
}

/* Contact Section */
.contact {
    padding: 80px 0;
}

.contact h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3, .contact-form h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #667eea;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 16px;
    color: #555;
}

.contact-item .icon {
    font-size: 24px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #667eea;
}

.contact-form button {
    padding: 15px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.contact-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #667eea;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #667eea;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 { font-size: 36px; }
    .expert-card { padding: 30px; gap: 30px; }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: row; /* Keep logo and hamburger on same row */
        padding: 10px 0;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
        z-index: 1001;
    }

    .menu-toggle .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background-color: white;
        border-radius: 2px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        justify-content: center;
        padding: 20px;
        gap: 30px;
        z-index: 1000;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        font-size: 20px;
        width: 100%;
    }

    .btn-login {
        width: auto;
        padding: 15px 40px;
    }

    /* Hamburger Animation */
    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .hero { padding: 60px 0; }
    .hero h1 { font-size: 28px; }
    .hero-desc { font-size: 16px; padding: 0 10px; }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-buttons a {
        width: 100%;
    }

    .services-grid,
    .pricing-grid,
    .testimonials-grid {
        grid-template-columns: 1fr !important;
    }

    .pricing-grid {
        padding: 0 10px;
    }

    .price-card.featured {
        transform: scale(1);
        margin: 20px 0;
    }

    .expert-card {
        grid-template-columns: 1fr;
        padding: 25px;
        text-align: center;
    }

    .image-placeholder, .expert-image img {
        width: 180px;
        height: 180px;
    }

    .expert-info h3 { font-size: 24px; }
    .expert-info ul li { font-size: 15px; }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-desc { font-size: 16px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 24px; }
    .btn-primary, .btn-secondary, .btn-predictor {
        padding: 12px 25px;
        font-size: 14px;
    }
    .price-card { padding: 30px 20px; }
    .price { font-size: 36px; }
}
