:root {
    --primary: #1a73e8;
    --primary-light: #e8f0fe;
    --secondary: #4285f4;
    --dark: #202124;
    --light: #ffffff;
    --gray: #f8f9fa;
    --gray-dark: #dadce0;
    --text: #3c4043;
    --text-light: #5f6368;
    --success: #34a853;
    --warning: #fbbc05;
    --error: #ea4335;
    --radius: 12px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--text);
    background-color: var(--light);
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--light);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a.active {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.btn {
    display: inline-block;
    background-color: var(--primary);
    color: var(--light);
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.btn:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--light);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--light) 100%);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    flex: 1;
    padding-right: 40px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--dark);
    line-height: 1.2;
}

.subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-cta {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 30px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
}

/* Page Hero */
.page-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--light) 100%);
    text-align: center;
}

.page-hero h1 {
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Image Carousel */
.carousel-section {
    padding: 80px 0;
    background-color: var(--light);
}

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.carousel {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
    height: 400px;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 20px;
    text-align: center;
}

.carousel-caption h3 {
    margin-bottom: 5px;
    font-size: 20px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.carousel-btn:hover {
    background: var(--primary);
    color: white;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background: var(--gray-dark);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* Categories */
.categories {
    padding: 100px 0;
    background-color: var(--gray);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    background-color: var(--light);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.category-icon {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 20px;
}

.category-card h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

.category-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Courses */
.courses {
    padding: 100px 0;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.course-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background-color: var(--light);
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.course-image {
    height: 180px;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-image i {
    font-size: 60px;
    color: var(--primary);
}

.course-info {
    padding: 20px;
    background-color: var(--light);
}

.course-category {
    background-color: var(--primary-light);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.course-info h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.course-info p {
    color: var(--text-light);
    margin-bottom: 20px;
    min-height: 70px;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.course-duration, .course-level {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 14px;
}

.course-duration i, .course-level i {
    margin-right: 5px;
    color: var(--primary);
}

.course-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.original-price {
    font-size: 16px;
    color: var(--text-light);
    text-decoration: line-through;
    margin-left: 10px;
}

.course-rating {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.course-rating i {
    color: var(--warning);
    margin-right: 3px;
}

.course-rating span {
    color: var(--text-light);
    font-size: 14px;
    margin-left: 5px;
}

/* Courses Filter */
.courses-filter {
    padding: 40px 0;
    background-color: var(--gray);
}

.courses-filter .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 8px 16px;
    background: var(--light);
    border: 1px solid var(--gray-dark);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary);
    color: var(--light);
    border-color: var(--primary);
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--light);
    border-radius: 50px;
    padding: 5px 15px;
    box-shadow: var(--shadow);
}

.search-box input {
    border: none;
    padding: 8px;
    outline: none;
    width: 200px;
}

.search-box button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
}

/* All Courses */
.all-courses {
    padding: 80px 0;
}

.course-category span {
    margin-bottom: 20px;
}

.category-title {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--dark);
    display: flex;
    align-items: center;
}

.course-count {
    font-size: 16px;
    color: var(--text-light);
    margin-left: 15px;
    font-weight: normal;
}

.view-more {
    text-align: center;
    margin-top: 30px;
}

/* Learning Paths */
.learning-paths {
    padding: 80px 0;
    background-color: var(--gray);
}

.paths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.path-card {
    background: var(--light);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.path-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.path-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary);
}

.path-card > p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.path-card ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.path-card li {
    margin-bottom: 8px;
    color: var(--text-light);
}

.path-duration {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Benefits */
.benefits {
    padding: 100px 0;
    background-color: var(--gray);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    text-align: center;
    padding: 30px;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: var(--primary);
}

.benefit-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.benefit-card p {
    color: var(--text-light);
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--light);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.testimonial-rating {
    color: var(--warning);
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-light);
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: bold;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    color: var(--text-light);
    font-size: 14px;
}

/* Contact */
.contact {
    padding: 100px 0;
    background-color: var(--gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info h3 {
    margin-bottom: 20px;
    font-size: 24px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-details p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-details i {
    margin-right: 10px;
    color: var(--primary);
    width: 20px;
}

.contact-extra {
    margin-top: 40px;
}

.contact-extra h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

.contact-extra ul {
    padding-left: 20px;
}

.contact-extra li {
    margin-bottom: 8px;
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.1);
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary);
    color: white;
}

.contact-form h3 {
    margin-bottom: 20px;
    font-size: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--gray-dark);
    border-radius: var(--radius);
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-light);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-label input {
    width: auto;
    margin-right: 10px;
}

/* Map Section */
.map-section {
    padding: 80px 0;
}

.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 400px;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.map-placeholder {
    text-align: center;
    color: var(--primary);
}

.map-placeholder i {
    font-size: 60px;
    margin-bottom: 15px;
}

/* Team Section */
.team {
    padding: 80px 0;
    background-color: var(--gray);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background: var(--light);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.member-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 40px;
    color: var(--primary);
}

.team-member h3 {
    margin-bottom: 10px;
}

.member-role {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
}

.team-member p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.member-email {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.member-email:hover {
    text-decoration: underline;
}

/* FAQ */
.faq {
    padding: 80px 0;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-dark);
    padding: 20px 0;
}

.faq-item h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
}

.faq-item h3 i {
    transition: var(--transition);
}

.faq-item.active h3 i {
    transform: rotate(180deg);
}

.faq-answer {
    padding-top: 15px;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    color: var(--text-light);
}

.contact-faq {
    background-color: var(--gray);
}

/* Newsletter */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
}

.newsletter-content h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.newsletter-content > p {
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 50px 0 0 50px;
    font-size: 16px;
}

.newsletter-form button {
    border-radius: 0 50px 50px 0;
    border: none;
    padding: 0 25px;
    cursor: pointer;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--light) 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-content > p {
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--light);
}

.footer-column p {
    color: var(--gray-dark);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--gray-dark);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.footer-links a i {
    margin-right: 10px;
    width: 20px;
}

.footer-links a:hover {
    color: var(--light);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-dark);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .carousel-item {
        height: 350px;
    }
    
    h1 {
        font-size: 36px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--light);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        margin: 10px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .header-container {
        padding: 15px 0;
    }
    
    .hero {
        padding: 130px 0 80px;
    }
    
    .carousel-item {
        height: 300px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .categories, .courses, .benefits, .testimonials, .contact, .carousel-section {
        padding: 80px 0;
    }
    
    .courses-filter .container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-options {
        justify-content: center;
    }
    
    .search-box {
        width: 100%;
    }
    
    .search-box input {
        width: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .carousel-item {
        height: 250px;
    }
    
    .carousel-caption {
        padding: 10px;
        font-size: 14px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
}