/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --dark-color: #0f172a;
    --light-color: #f8fafc;
    --text-color: #334155;
    --text-light: #64748b;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--light-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.logo i {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.btn-login {
    padding: 0.5rem 1.5rem;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-login:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-register {
    padding: 0.5rem 1.5rem;
    background: var(--gradient-primary);
    border: none;
    color: white;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea20 0%, #764ba220 100%);
    z-index: -1;
}

.animated-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--gradient-1);
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--gradient-2);
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--gradient-3);
    bottom: 10%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 150px;
    height: 150px;
    background: var(--gradient-primary);
    top: 30%;
    right: -5%;
    animation-delay: 6s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    text-align: left;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    animation: floatCard 3s infinite ease-in-out;
}

.floating-card i {
    font-size: 1.5rem;
}

.card-1 {
    top: 10%;
    right: -10%;
    color: var(--success-color);
}

.card-2 {
    bottom: 30%;
    left: -10%;
    color: var(--primary-color);
}

.card-3 {
    bottom: 10%;
    right: 10%;
    color: var(--warning-color);
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Section Styles */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: white;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    background: var(--light-color);
    border-radius: 16px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.8rem;
    color: white;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.feature-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* Courses Section */
.courses {
    background: var(--light-color);
}

.course-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid var(--border-color);
    color: var(--text-color);
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.course-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.course-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.course-card:hover .course-image img {
    transform: scale(1.1);
}

.course-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 20px;
}

.course-content {
    padding: 1.5rem;
}

.course-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.course-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.course-description {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.course-instructor {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.course-instructor img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.instructor-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-color);
}

.instructor-title {
    font-size: 0.8rem;
    color: var(--text-light);
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.course-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.course-rating i {
    color: var(--warning-color);
}

.course-rating span {
    font-weight: 600;
}

.rating-count {
    color: var(--text-light);
    font-size: 0.9rem;
}

.course-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-old {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 0.9rem;
}

.price-new {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.btn-course {
    width: 100%;
    padding: 0.75rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-course:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Services Section */
.services {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    padding: 2.5rem;
    background: var(--light-color);
    border-radius: 20px;
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.service-card.featured {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

.featured-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    padding: 0.5rem 1rem;
    background: var(--warning-color);
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-card.featured .service-icon {
    background: rgba(255, 255, 255, 0.2);
}

.service-icon i {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card.featured .service-icon i {
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.service-card.featured .service-title {
    color: white;
}

.service-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-card.featured .service-description {
    color: rgba(255, 255, 255, 0.9);
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
}

.service-card.featured .service-features li {
    color: white;
}

.service-features i {
    color: var(--success-color);
}

.service-card.featured .service-features i {
    color: white;
}

.btn-service {
    width: 100%;
    padding: 0.75rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.service-card.featured .btn-service {
    background: white;
    color: var(--primary-color);
}

.btn-service:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Testimonials Section */
.testimonials {
    background: var(--light-color);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.testimonial-card {
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.testimonial-rating {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.testimonial-rating i {
    color: var(--warning-color);
}

.testimonial-text {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
}

.testimonial-author p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.slider-btn {
    width: 40px;
    height: 40px;
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--primary-color);
    color: white;
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    background: var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 5px;
}

/* Contact Section */
.contact {
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.contact-info-text {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 1.3rem;
}

.contact-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--dark-color);
}

.contact-item p {
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--light-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-submit {
    grid-column: 1 / -1;
    padding: 1rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom i {
    color: var(--accent-color);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
}

/* Page Header Styles */
.page-header {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 4rem;
    overflow: hidden;
}

.page-header-content {
    text-align: center;
    z-index: 10;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.page-description {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--secondary-color);
}

/* Course Stats */
.course-stats {
    background: white;
    padding: 4rem 0;
    margin-top: -3rem;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.stat-icon i {
    font-size: 1.8rem;
    color: white;
}

/* Courses Page */
.courses-page {
    padding: 4rem 0;
    background: var(--light-color);
}

.courses-header {
    margin-bottom: 3rem;
}

.course-level {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.course-highlights {
    margin: 1rem 0;
    padding: 1rem;
    background: var(--light-color);
    border-radius: 8px;
}

.course-highlights h4 {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.course-highlights ul {
    list-style: none;
}

.course-highlights li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.course-highlights i {
    color: var(--success-color);
    font-size: 0.8rem;
}

/* Learning Path */
.learning-path {
    background: white;
    padding: 6rem 0;
}

.path-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.path-timeline::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 1;
}

.path-item {
    position: relative;
    z-index: 2;
    text-align: center;
}

.path-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: var(--shadow-lg);
}

.path-icon i {
    font-size: 2rem;
    color: white;
}

.path-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.path-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    padding: 5rem 0;
    text-align: center;
    color: white;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cta-buttons .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta-buttons .btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

/* Mission & Vision */
.mission-vision {
    padding: 6rem 0;
    background: var(--light-color);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.mv-card {
    padding: 3rem;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.mv-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.mv-icon i {
    font-size: 2.5rem;
    color: white;
}

.mv-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.mv-description {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Our Story */
.our-story {
    padding: 6rem 0;
    background: white;
}

.story-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.story-block {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 3rem;
}

.story-block::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: -3rem;
    width: 3px;
    background: var(--gradient-primary);
}

.story-block:last-child::before {
    bottom: 0;
}

.year-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    color: white;
    font-weight: 700;
    border-radius: 20px;
    margin-bottom: 0.75rem;
}

.story-block h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.story-block p {
    color: var(--text-light);
    line-height: 1.8;
}

.story-image {
    position: sticky;
    top: 100px;
}

.story-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.story-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.story-stat {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.story-stat h4 {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.story-stat p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Why Choose */
.why-choose {
    padding: 6rem 0;
    background: var(--light-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Team Section */
.team-section {
    padding: 6rem 0;
    background: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.team-card {
    background: var(--light-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.team-image {
    position: relative;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.team-card:hover .team-social {
    bottom: 20px;
}

.team-social a {
    width: 35px;
    height: 35px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--gradient-primary);
    color: white;
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--dark-color);
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.team-bio {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Values Section */
.values-section {
    padding: 6rem 0;
    background: var(--light-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.value-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.value-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.value-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact Info Section */
.contact-info-section {
    padding: 6rem 0;
    background: white;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-info-card {
    background: var(--light-color);
    padding: 2.5rem;
    border-radius: 16px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.contact-info-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-info-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.contact-info-text {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.contact-info-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-info-text a:hover {
    text-decoration: underline;
}

.contact-info-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.contact-info-link:hover {
    color: var(--secondary-color);
}

.contact-info-hours {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.social-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.social-links-grid .social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.social-links-grid .social-link:hover {
    background: var(--gradient-primary);
    color: white;
}

.inline-contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--light-color);
    padding: 3rem;
    border-radius: 20px;
}

.form-title {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-image {
        order: -1;
    }

    .about-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-slider {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .path-timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .path-timeline::before {
        display: none;
    }

    .mv-grid {
        grid-template-columns: 1fr;
    }

    .story-content {
        grid-template-columns: 1fr;
    }

    .story-image {
        position: static;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-buttons {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .path-timeline {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .inline-contact-form {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .floating-card {
        font-size: 0.85rem;
        padding: 0.75rem 1rem;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .hero-buttons {
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* Additional Mobile Responsiveness */
@media (max-width: 768px) {
    /* Bundle Section Responsive */
    .learning-path [style*="grid-template-columns: 1.5fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    .learning-path [style*="grid-template-columns: 1fr 2fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* Story Content Responsive */
    .story-content[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    /* Course Card Buttons */
    .btn-course {
        font-size: 0.95rem;
        padding: 0.65rem;
    }

    /* Course Meta */
    .course-meta {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .course-meta span {
        font-size: 0.85rem;
    }

    /* Hide floating cards on mobile */
    .floating-card {
        display: none;
    }

    /* Hero Content */
    .hero-content {
        padding: 2rem 0;
    }

    .hero-description {
        font-size: 1rem;
    }

    /* Stats Grid */
    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .stat {
        width: 100%;
    }

    /* Section Padding */
    section {
        padding: 3rem 0;
    }

    /* Page Header */
    .page-header {
        min-height: 40vh;
        padding-top: 80px;
        padding-bottom: 2rem;
    }

    /* Service Cards */
    .service-card,
    .feature-card {
        padding: 1.5rem;
    }

    /* Course Highlights */
    .course-highlights {
        padding: 0.75rem;
    }

    .course-highlights ul li {
        font-size: 0.85rem;
        padding: 0.3rem 0;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-text {
        font-size: 0.95rem;
    }

    /* CTA Section */
    .cta-title {
        font-size: 1.75rem;
    }

    .cta-description {
        font-size: 1rem;
    }

    /* Footer */
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-content {
        gap: 2rem;
    }

    /* Breadcrumb */
    .breadcrumb {
        font-size: 0.9rem;
        flex-wrap: wrap;
    }

    /* Scroll to Top Button */
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    /* Course Stats */
    .stats-grid {
        gap: 1rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    /* Path Timeline */
    .path-content h3 {
        font-size: 1rem;
    }

    .path-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    /* Container Padding */
    .container {
        padding: 0 15px;
    }

    /* Hero Title */
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    /* Section Titles */
    .section-title {
        font-size: 1.5rem;
    }

    .section-description {
        font-size: 0.95rem;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .page-description {
        font-size: 1rem;
    }

    /* Buttons */
    .btn-primary,
    .btn-secondary {
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
    }

    /* Course Cards */
    .course-title {
        font-size: 1.1rem;
    }

    .course-description {
        font-size: 0.9rem;
    }

    .course-price .price-new {
        font-size: 1.1rem;
    }

    .course-price .price-old {
        font-size: 0.85rem;
    }

    /* Nav Logo */
    .logo {
        font-size: 1.3rem;
    }

    .logo i {
        font-size: 1.5rem;
    }

    /* Stats */
    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    /* Feature Cards */
    .feature-icon {
        width: 50px;
        height: 50px;
    }

    .feature-icon i {
        font-size: 1.5rem;
    }

    .feature-title {
        font-size: 1.1rem;
    }

    .feature-description {
        font-size: 0.9rem;
    }

    /* Service Cards */
    .service-icon {
        width: 60px;
        height: 60px;
    }

    .service-icon i {
        font-size: 1.75rem;
    }

    .service-title {
        font-size: 1.25rem;
    }

    /* Footer */
    .footer-logo {
        font-size: 1.3rem;
    }

    .footer-title {
        font-size: 1.1rem;
    }

    /* CTA Section */
    .cta-title {
        font-size: 1.5rem;
    }

    .cta-description {
        font-size: 0.95rem;
    }

    /* Contact Form */
    .contact-form {
        gap: 1rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.65rem 0.85rem;
        font-size: 0.95rem;
    }

    /* Testimonial */
    .testimonial-card {
        padding: 1.25rem;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }

    .testimonial-author h4 {
        font-size: 0.95rem;
    }

    .testimonial-author p {
        font-size: 0.85rem;
    }

    /* Instructor */
    .instructor-name {
        font-size: 0.85rem;
    }

    .instructor-title {
        font-size: 0.75rem;
    }

    /* Course Meta */
    .course-meta {
        font-size: 0.8rem;
    }

    /* Section Padding */
    section {
        padding: 2.5rem 0;
    }

    /* Page Header */
    .page-header {
        min-height: 35vh;
        padding-top: 70px;
        padding-bottom: 1.5rem;
    }

    /* Stat Card */
    .stat-card {
        padding: 1.25rem;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
    }

    .stat-icon i {
        font-size: 1.5rem;
    }

    /* Path Item */
    .path-icon {
        width: 60px;
        height: 60px;
    }

    .path-icon i {
        font-size: 1.75rem;
    }

    /* Bundle Section Mobile */
    .learning-path [style*="padding: 2.5rem"] {
        padding: 1.5rem !important;
    }

    .learning-path [style*="font-size: 2.5rem"] {
        font-size: 1.75rem !important;
    }

    .learning-path [style*="font-size: 1.8rem"] {
        font-size: 1.25rem !important;
    }

    .learning-path [style*="gap: 2rem"] {
        gap: 1rem !important;
    }

    /* Hide certain decorative elements on small screens */
    .shape {
        opacity: 0.05;
    }

    /* Adjust inline styles for mobile */
    [style*="padding: 3rem"] {
        padding: 1.5rem !important;
    }

    [style*="padding: 2rem"] {
        padding: 1.25rem !important;
    }

    [style*="gap: 3rem"] {
        gap: 1.5rem !important;
    }

    /* Mobile Navigation Fix */
    .nav-menu {
        z-index: 1001;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    /* Mobile Image Adjustments */
    .course-image {
        height: 180px;
    }

    .hero-image img,
    .story-image img {
        border-radius: 12px;
    }

    /* Mobile Table/Grid Adjustments */
    [style*="display: grid"][style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    [style*="display: flex"][style*="gap"] {
        flex-wrap: wrap;
        gap: 0.75rem !important;
    }

    /* Bundle Pricing Mobile */
    .learning-path [style*="max-width: 900px"] {
        max-width: 100% !important;
    }

    /* Course Instructor */
    .course-instructor {
        flex-direction: column;
        text-align: center;
    }

    .course-instructor img {
        margin: 0 auto;
    }

    /* Social Links */
    .footer-social,
    .social-links {
        justify-content: center;
    }

    /* Contact Info */
    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    /* Slider Controls */
    .slider-controls {
        flex-wrap: wrap;
    }

    /* Breadcrumb Mobile */
    .breadcrumb {
        justify-content: center;
    }
}

/* Tablet Specific (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 6rem 0 3rem;
    }

    .page-header {
        min-height: auto;
        padding: 6rem 0 2rem;
    }

    .hero-stats {
        flex-direction: row;
    }

    section {
        padding: 2rem 0;
    }
}

/* ========================================
   ENHANCED MOBILE OPTIMIZATION
   ======================================== */

/* Extra Small Devices (phones, 375px and down) */
@media (max-width: 375px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .course-title {
        font-size: 1.1rem;
    }

    .btn-primary,
    .btn-secondary,
    .btn-course {
        padding: 0.65rem 1rem;
        font-size: 0.9rem;
    }
}

/* Improved Touch Targets for Mobile */
@media (max-width: 768px) {
    /* Larger touch areas */
    .nav-link,
    .btn-primary,
    .btn-secondary,
    .btn-course,
    .btn-service {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Better spacing for readability */
    p,
    .course-description,
    .service-description,
    .testimonial-text {
        font-size: 1rem;
        line-height: 1.7;
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Testimonials */
    .testimonials-slider {
        padding: 0 10px;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    /* Contact Section */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Contact Cards Responsive */
    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    /* Course Highlights */
    .course-highlights ul {
        padding-left: 1rem;
    }

    .course-highlights li {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    /* Footer Social */
    .footer-social a {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    /* Slider Controls */
    .slider-btn {
        width: 40px;
        height: 40px;
    }

    /* Images */
    .hero-image img,
    .story-image img,
    .course-image img {
        width: 100%;
        height: auto;
    }

    /* Hide large images on very small screens */
    .hero-image {
        display: none;
    }

    /* Full width hero content */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    /* Better card spacing */
    .feature-card,
    .service-card,
    .course-card {
        margin-bottom: 1.5rem;
    }

    /* Price display */
    .course-price {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }

    /* Bundle section better mobile */
    div[style*="padding: 2.5rem"] {
        padding: 1.5rem !important;
    }

    div[style*="font-size: 2.5rem"] {
        font-size: 1.8rem !important;
    }

    div[style*="font-size: 1.8rem"] {
        font-size: 1.3rem !important;
    }

    div[style*="font-size: 1.5rem"] {
        font-size: 1.2rem !important;
    }

    /* Better menu spacing */
    .nav-menu li {
        margin: 1rem 0;
    }

    .nav-link {
        padding: 0.75rem 1rem;
        width: 100%;
        display: block;
    }

    /* Logo size */
    .logo {
        font-size: 1.3rem;
    }

    /* Page header mobile */
    .page-header-content {
        text-align: center;
    }

    .page-description {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    /* Better breadcrumb */
    .breadcrumb {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* Section headers */
    .section-header {
        text-align: center;
    }

    .section-tag {
        font-size: 0.9rem;
    }

    .section-description {
        font-size: 1rem;
    }

    /* Form improvements */
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.75rem;
    }

    /* Bundle better mobile */
    .learning-path > div > div[style*="background"] {
        padding: 1.5rem !important;
    }

    /* Contact info mobile */
    div[style*="padding: 3rem 2rem"] {
        padding: 2rem 1.5rem !important;
    }

    div[style*="width: 80px; height: 80px"] {
        width: 60px !important;
        height: 60px !important;
    }

    /* Footer better spacing */
    .footer-col {
        margin-bottom: 2rem;
    }

    .footer-links li {
        margin-bottom: 0.75rem;
    }

    /* Scroll to top button */
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

/* Landscape mode optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    .page-header {
        min-height: auto;
        padding: 2rem 0;
    }

    .nav-menu {
        height: auto;
        max-height: 60vh;
        overflow-y: auto;
    }
}

/* Performance optimizations */
@media (max-width: 768px) {
    /* Disable animations on mobile for better performance */
    .animated-shapes,
    .shape {
        animation: none !important;
    }

    /* Simpler transitions */
    * {
        transition-duration: 0.2s !important;
    }

    /* Reduce shadows */
    .course-card,
    .service-card,
    .feature-card {
        box-shadow: var(--shadow-sm);
    }

    .course-card:hover,
    .service-card:hover {
        box-shadow: var(--shadow-md);
        transform: translateY(-3px);
    }
}

/* Accessibility improvements for mobile */
@media (max-width: 768px) {
    /* Better focus states */
    a:focus,
    button:focus,
    input:focus,
    textarea:focus,
    select:focus {
        outline: 3px solid var(--primary-color);
        outline-offset: 2px;
    }

    /* Better link visibility */
    a {
        text-decoration: underline;
        text-decoration-color: transparent;
        transition: text-decoration-color 0.3s;
    }

    a:hover,
    a:focus {
        text-decoration-color: currentColor;
    }

    /* Skip to main content */
    .skip-to-main {
        position: absolute;
        left: -9999px;
        z-index: 999;
    }

    .skip-to-main:focus {
        left: 0;
        top: 0;
        padding: 1rem;
        background: var(--primary-color);
        color: white;
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) and (max-width: 768px) {
    /* Add dark mode styles if needed */
}

/* Print styles */
@media print {
    .navbar,
    .hamburger,
    .nav-buttons,
    .scroll-to-top,
    .footer-social,
    .cta-section {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    a {
        text-decoration: underline;
    }
}

/* ========================================
   COMPREHENSIVE MOBILE OPTIMIZATION v2.0
   ======================================== */

/* Safe Area Support for Modern Devices (iPhone X+) */
@supports (padding: max(0px)) {
    .navbar {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }
    
    .footer {
        padding-bottom: max(2rem, env(safe-area-inset-bottom));
    }
    
    .scroll-to-top {
        right: max(1.5rem, env(safe-area-inset-right));
        bottom: max(1.5rem, env(safe-area-inset-bottom));
    }
}

/* Mobile First Base - 320px+ */
@media (max-width: 992px) {
    /* Typography Scale */
    html {
        font-size: 15px;
    }
    
    /* Container */
    .container {
        padding: 0 1rem;
        max-width: 100%;
    }
    
    /* Hero Section Improvements */
    .hero {
        min-height: auto;
        padding: 5rem 0 3rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
    
    .hero-description {
        font-size: clamp(0.95rem, 3vw, 1.1rem);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .hero-buttons a,
    .hero-buttons button {
        width: 100%;
        max-width: 300px;
    }
    
    /* Section Improvements */
    section {
        padding: 3rem 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    
    .section-description {
        font-size: clamp(0.9rem, 3vw, 1rem);
        padding: 0 1rem;
    }
    
    /* Courses Grid */
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .course-card {
        max-width: 100%;
    }
    
    .course-image {
        height: 200px;
    }
    
    .course-content {
        padding: 1.25rem;
    }
    
    .course-title {
        font-size: 1.15rem;
    }
    
    .course-description {
        font-size: 0.9rem;
        -webkit-line-clamp: 3;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.75rem;
    }
    
    .service-title {
        font-size: 1.25rem;
    }
    
    /* Features Grid */
    .about-features,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        width: 55px;
        height: 55px;
    }
    
    /* Testimonials */
    .testimonials-slider {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-bottom {
        font-size: 0.9rem;
    }
    
    .footer-bottom p {
        margin-bottom: 0.5rem;
    }
    
    /* Page Header */
    .page-header {
        min-height: auto;
        padding: 5rem 0 2rem;
    }
    
    .page-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    
    .page-description {
        font-size: clamp(0.9rem, 3vw, 1rem);
        padding: 0 0.5rem;
    }
    
    /* Stats Grid */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.25rem;
    }
    
    /* Path Timeline */
    .path-timeline {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .path-timeline::before {
        display: none;
    }
    
    /* Values Grid */
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Team Grid */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .team-image img {
        height: 220px;
    }
    
    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 3rem 1rem;
    }
    
    .cta-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
        max-width: 280px;
    }
    
    /* Mission Vision */
    .mv-grid {
        grid-template-columns: 1fr;
    }
    
    .mv-card {
        padding: 2rem;
    }
    
    .mv-title {
        font-size: 1.5rem;
    }
    
    /* Story */
    .story-content {
        grid-template-columns: 1fr;
    }
    
    .story-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
    
    .story-stat {
        padding: 1rem;
    }
    
    .story-stat h4 {
        font-size: 1.5rem;
    }
}

/* Small Mobile - 576px and below */
@media (max-width: 576px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 0.875rem;
    }
    
    /* Navigation */
    .logo {
        font-size: 1.2rem;
    }
    
    .logo i {
        font-size: 1.4rem;
    }
    
    .hamburger span {
        width: 22px;
        height: 2.5px;
    }
    
    .nav-menu {
        top: 60px;
        height: calc(100vh - 60px);
        padding: 1.5rem;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 0.875rem 0;
    }
    
    /* Hero */
    .hero {
        padding: 4rem 0 2rem;
    }
    
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.25;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    /* Buttons */
    .btn-primary,
    .btn-secondary {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        border-radius: 10px;
    }
    
    .btn-course,
    .btn-service {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Cards */
    .course-card,
    .service-card,
    .feature-card,
    .testimonial-card {
        border-radius: 12px;
    }
    
    .course-image {
        height: 180px;
    }
    
    .course-content {
        padding: 1rem;
    }
    
    .course-title {
        font-size: 1.05rem;
    }
    
    .course-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .course-price {
        width: 100%;
        justify-content: space-between;
    }
    
    /* Course Highlights */
    .course-highlights {
        padding: 0.75rem;
        margin: 0.75rem 0;
    }
    
    .course-highlights h4 {
        font-size: 0.85rem;
    }
    
    .course-highlights li {
        font-size: 0.8rem;
        padding: 0.25rem 0;
    }
    
    /* Features */
    .feature-card {
        padding: 1.25rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    
    .feature-icon i {
        font-size: 1.4rem;
    }
    
    .feature-title {
        font-size: 1.05rem;
    }
    
    .feature-description {
        font-size: 0.875rem;
    }
    
    /* Services */
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 1.6rem;
    }
    
    .service-title {
        font-size: 1.15rem;
    }
    
    .service-description {
        font-size: 0.875rem;
    }
    
    .service-features li {
        font-size: 0.875rem;
        padding: 0.4rem 0;
    }
    
    /* Testimonials */
    .testimonial-card {
        padding: 1.25rem;
    }
    
    .testimonial-rating i {
        font-size: 0.9rem;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
        line-height: 1.7;
    }
    
    .testimonial-author img {
        width: 45px;
        height: 45px;
    }
    
    .testimonial-author h4 {
        font-size: 0.9rem;
    }
    
    .testimonial-author p {
        font-size: 0.8rem;
    }
    
    /* Footer */
    .footer {
        padding: 2.5rem 0 1.5rem;
    }
    
    .footer-logo {
        font-size: 1.2rem;
        justify-content: center;
    }
    
    .footer-description {
        font-size: 0.875rem;
    }
    
    .footer-title {
        font-size: 1.05rem;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
    
    .footer-social a {
        width: 38px;
        height: 38px;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.8rem;
    }
    
    /* Scroll to top */
    .scroll-to-top {
        width: 42px;
        height: 42px;
        bottom: 1rem;
        right: 1rem;
    }
    
    /* Page Header */
    .page-header {
        padding: 4rem 0 1.5rem;
    }
    
    .page-title {
        font-size: 1.4rem;
    }
    
    .page-description {
        font-size: 0.9rem;
    }
    
    .breadcrumb {
        font-size: 0.8rem;
    }
    
    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 0.75rem;
    }
    
    .stat-icon i {
        font-size: 1.3rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    /* Team */
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-image img {
        height: 280px;
    }
    
    .team-info {
        padding: 1.25rem;
    }
    
    /* Contact */
    .contact-info-card {
        padding: 1.5rem;
    }
    
    .contact-info-icon {
        width: 50px;
        height: 50px;
    }
    
    .contact-info-title {
        font-size: 1.1rem;
    }
    
    /* Forms */
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 16px; /* Prevents zoom on iOS */
        border-radius: 8px;
    }
    
    .inline-contact-form {
        padding: 1.5rem;
    }
    
    .form-title {
        font-size: 1.25rem;
    }
    
    /* CTA */
    .cta-section {
        padding: 2.5rem 1rem;
    }
    
    .cta-title {
        font-size: 1.3rem;
    }
    
    .cta-description {
        font-size: 0.9rem;
    }
    
    /* Mission Vision */
    .mv-card {
        padding: 1.5rem;
    }
    
    .mv-icon {
        width: 65px;
        height: 65px;
    }
    
    .mv-icon i {
        font-size: 2rem;
    }
    
    .mv-title {
        font-size: 1.25rem;
    }
    
    /* Story */
    .story-block {
        padding-left: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .year-badge {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
    
    .story-block h3 {
        font-size: 1.2rem;
    }
    
    .story-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    /* Values */
    .value-card {
        padding: 1.5rem;
    }
    
    .value-number {
        font-size: 2.25rem;
    }
    
    .value-title {
        font-size: 1.1rem;
    }
    
    /* Path */
    .path-icon {
        width: 55px;
        height: 55px;
    }
    
    .path-icon i {
        font-size: 1.5rem;
    }
    
    .path-content h3 {
        font-size: 1rem;
    }
    
    .path-content p {
        font-size: 0.85rem;
    }
}

/* Extra Small Mobile - 375px and below */
@media (max-width: 375px) {
    html {
        font-size: 13px;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.35rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .course-highlights li {
        font-size: 0.75rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Inline Style Overrides for Mobile */
@media (max-width: 768px) {
    /* Grid overrides */
    [style*="grid-template-columns: 1fr 1fr"],
    [style*="grid-template-columns: 1fr 2fr"],
    [style*="grid-template-columns: 2fr 1fr"],
    [style*="grid-template-columns: repeat(2"],
    [style*="grid-template-columns: repeat(3"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Padding overrides */
    [style*="padding: 3rem"],
    [style*="padding: 2.5rem"] {
        padding: 1.5rem !important;
    }
    
    [style*="padding: 2rem"] {
        padding: 1.25rem !important;
    }
    
    /* Font size overrides */
    [style*="font-size: 3rem"],
    [style*="font-size: 2.5rem"] {
        font-size: 1.75rem !important;
    }
    
    [style*="font-size: 2rem"],
    [style*="font-size: 1.8rem"] {
        font-size: 1.35rem !important;
    }
    
    [style*="font-size: 1.5rem"] {
        font-size: 1.15rem !important;
    }
    
    /* Gap overrides */
    [style*="gap: 3rem"],
    [style*="gap: 2.5rem"] {
        gap: 1.5rem !important;
    }
    
    [style*="gap: 2rem"] {
        gap: 1rem !important;
    }
    
    /* Width overrides for icons */
    [style*="width: 100px"],
    [style*="width: 90px"],
    [style*="width: 80px"] {
        width: 60px !important;
        height: 60px !important;
    }
    
    /* Contact cards specific */
    .contact-info-section [style*="display: grid"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Bundle section specific */
    .learning-path [style*="max-width"] {
        max-width: 100% !important;
    }
    
    /* Flex center for buttons */
    [style*="display: flex"][style*="justify-content: center"] {
        flex-direction: column;
        align-items: center;
    }
    
    /* Text align */
    [style*="text-align: left"] {
        text-align: center !important;
    }
}

/* Fix for horizontal scroll issues */
@media (max-width: 992px) {
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    .hero-background,
    .animated-shapes,
    .shape {
        max-width: 100vw;
        overflow: hidden;
    }
    
    img {
        max-width: 100%;
        height: auto;
    }
}

/* Smooth scrolling with reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
        --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.4);
        --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.5);
    }
    
    .btn-primary,
    .btn-secondary {
        border: 2px solid currentColor;
    }
}


