:root {
    --primary-color: #4A90E2;
    --primary-dark: #357ABD;
    --secondary-color: #50C878;
    --text-color: #333333;
    --light-gray: #F5F7FA;
    --white: #FFFFFF;
    --max-width: 1200px;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

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

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

.nav-list a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--primary-color);
}

.cta-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

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

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

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.benefits h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

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

.benefit-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

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

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

.benefit-card h4 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    position: relative;
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.step-card {
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

/* Step number styling */
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

/* Connecting lines */
.step-card:nth-child(1)::after,
.step-card:nth-child(2)::after {
    content: '';
    position: absolute;
    top: 45px; /* Aligned with the middle of step numbers */
    right: -1rem;
    width: calc(50% + 1rem);
    height: 2px;
    background: var(--primary-color);
    z-index: 1;
}

.step-card:nth-child(2)::before {
    content: '';
    position: absolute;
    top: 45px;
    left: -1rem;
    width: calc(50% + 1rem);
    height: 2px;
    background: var(--primary-color);
    z-index: 1;
}

.step-card:nth-child(3)::before {
    content: '';
    position: absolute;
    top: 45px;
    left: -1rem;
    width: calc(50% + 1rem);
    height: 2px;
    background: var(--primary-color);
    z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .step-card:nth-child(1)::after,
    .step-card:nth-child(2)::after,
    .step-card:nth-child(2)::before,
    .step-card:nth-child(3)::before {
        display: none;
    }

    .step-card::after {
        content: '';
        position: absolute;
        width: 2px;
        height: 30px;
        background: var(--primary-color);
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1;
    }

    .step-card:last-child::after {
        display: none;
    }
}

/* Footer Styles */
.footer {
    background-color: #2C3E50;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.contact-info li {
    color: var(--white);
    font-size: 0.95rem;
    line-height: 1.4;
}

.contact-info a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.contact-info a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-section {
        text-align: center;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        height: auto;
        padding: 1rem;
    }

    .nav-list {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        margin: 1rem 0;
    }

    .hero {
        padding: 140px 0 60px;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .benefits-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Form Styles */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

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

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

/* About Page Styles */
.about-section {
    padding: 80px 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text h2 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    font-size: 2rem;
}

.about-text h2:first-child {
    margin-top: 0;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-text ul {
    list-style: none;
    margin: 1rem 0 2rem;
    padding-left: 1.5rem;
}

.about-text ul li {
    position: relative;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
}

.about-text ul li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.about-text blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #666;
}

/* Legal Pages Styles */
.legal-section {
    padding: 80px 0;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.legal-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.legal-content h3 {
    color: var(--text-color);
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.legal-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.legal-content .last-updated {
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
}

.legal-content ul {
    list-style: none;
    margin: 1rem 0 2rem;
    padding-left: 1.5rem;
}

.legal-content ul li {
    position: relative;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
}

.legal-content ul li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* Service Sections Styles */
.service-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.service-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(45deg, rgba(74, 144, 226, 0.05) 0%, rgba(80, 200, 120, 0.05) 100%);
    z-index: 0;
}

.service-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.service-header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInDown 0.8s ease-out;
}

.service-icon {
    font-size: 3.5rem;
    display: inline-block;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

.service-content h2 {
    color: var(--primary-color);
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 0.8s ease-out;
}

.service-content h3 {
    color: var(--text-color);
    font-size: 1.6rem;
    margin-bottom: 2rem;
    font-weight: 500;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

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

.feature-icon {
    font-size: 2.5rem;
    display: inline-block;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

.feature-item h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Specific section styles with enhanced gradients */
.one-on-one {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
}

.expert-tutors {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
}

.flexible-scheduling {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive adjustments for service sections */
@media (max-width: 992px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .service-content h2 {
        font-size: 2.2rem;
    }

    .service-content h3 {
        font-size: 1.4rem;
    }

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

    .service-icon {
        font-size: 3rem;
    }

    .feature-item {
        padding: 1.5rem;
    }
}

/* Service Description Styles */
.service-description {
    margin-top: 4rem;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.service-description h4 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.service-description h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.service-description > p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #444;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

.description-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.description-item {
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    transition: transform 0.3s ease;
}

.description-item:hover {
    transform: translateY(-5px);
}

.description-item h5 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.description-item p {
    color: #555;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Responsive adjustments for service description */
@media (max-width: 992px) {
    .description-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-description {
        margin-top: 3rem;
        padding: 1.5rem;
    }

    .service-description h4 {
        font-size: 1.6rem;
    }

    .service-description > p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .service-description {
        margin-top: 2rem;
        padding: 1.25rem;
    }

    .service-description h4 {
        font-size: 1.4rem;
    }

    .service-description > p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .description-item {
        padding: 1.25rem;
    }

    .description-item h5 {
        font-size: 1.2rem;
    }

    .description-item p {
        font-size: 1rem;
    }
}

.service-icon-img {
    width: 70px;
    height: 70px;
    display: inline-block;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
    object-fit: contain;
}

/* Testimonials Section Styles */
.testimonials {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.testimonials-list {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-item {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    position: relative;
}

.quote-icon {
    font-size: 2.5rem;
    color: #3498db;
    position: absolute;
    top: -1rem;
    left: -1rem;
    opacity: 0.2;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
}

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

.testimonial-author h4 {
    color: #2c3e50;
    margin: 0;
    font-size: 1.1rem;
}

.testimonial-author p {
    color: #666;
    margin: 0.25rem 0 0;
    font-size: 0.9rem;
}

/* Tutor Images Section Styles */
.tutor-images {
    padding: 2rem 0;
    background-color: var(--light-gray);
    text-align: center;
}

.tutor-image {
    width: 600px;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .tutor-image {
        width: 400px;
    }
} 