/* 
  Risepath Academy - Premium Dark Theme Styles
  Modern Academy UI with Glassmorphism
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #8b5cf6;
    --primary-glow: rgba(139, 92, 246, 0.4);
    --secondary: #0ea5e9;
    --secondary-glow: rgba(14, 165, 233, 0.4);
    --bg-dark: #1e293b;
    --bg-darker: #0f172a;
    --card-bg: rgba(255, 255, 255, 0.08);
    --card-border: rgba(255, 255, 255, 0.15);
    --text: #f8fafc;
    --text-muted: #cbd5e1;
    --glass-bg: rgba(30, 41, 59, 0.75);
    --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #0ea5e9 100%);
    --font-poppins: 'Poppins', sans-serif;
    --font-inter: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body {
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
}

body {
    background-color: var(--bg-dark);
    color: var(--text);
    font-family: var(--font-inter);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-poppins);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

section {
    padding: 100px 0;
}

/* Glassmorphism utility */
.glass {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    border-radius: 20px;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 15px 0;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--card-border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-poppins);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-img {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    padding: 0; /* Şəklin tam dolması üçün paddingi sildim */
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Şəklin konteyneri tam doldurması üçün */
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

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

.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-socials {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    font-size: 1.1rem;
}

.social-icon:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    width: 30px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
}

.hero-subtitle {
    color: var(--secondary);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
    background: linear-gradient(to right, #fff 30%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    cursor: pointer;
    border: none;
    position: relative; /* Klikləməni təmin etmək üçün */
    z-index: 5; /* Üst qatda olması üçün */
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(124, 58, 237, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary); /* Border rəngli və qalın edildi */
    color: white;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.3); /* Daimi parıltı əlavə edildi */
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.4);
}

/* Hero Section Background Icons Animation */
.hero-bg-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    opacity: 0.15;
}

.floating-icon {
    position: absolute;
    color: var(--secondary);
    font-size: 2rem;
    animation: float-around 20s infinite linear;
    filter: blur(1px);
}

@keyframes float-around {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(100px, 100px) rotate(90deg); }
    50% { transform: translate(200px, 0) rotate(180deg); }
    75% { transform: translate(100px, -100px) rotate(270deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

/* Floating Shapes & Blobs */
.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--primary-glow);
    filter: blur(100px);
    border-radius: 50%;
    z-index: -1;
    animation: move-blob 20s infinite alternate;
}

.blob-1 { top: -100px; right: -100px; background: var(--primary-glow); }
.blob-2 { bottom: -100px; left: -100px; background: var(--secondary-glow); }

@keyframes move-blob {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 100px) scale(1.2); }
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-header p {
    color: var(--text-muted);
}

/* Course Cards */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.course-card {
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.course-card > * {
    position: relative;
    z-index: 2;
}

.course-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, var(--card-border), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.course-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
}

.course-card:hover::before {
    background: var(--gradient-primary);
}

.course-icon {
    width: 60px;
    height: 60px;
    background: var(--card-bg);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 25px;
}

.course-card h3 {
    margin-bottom: 15px;
}

.course-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.course-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.topic-tag {
    font-size: 0.8rem;
    padding: 5px 12px;
    background: var(--card-bg);
    border-radius: 20px;
    color: var(--secondary);
    border: 1px solid var(--card-border);
}

/* Blog Section */
.blog {
    padding: 100px 0;
    background: var(--bg-dark);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* En böyüdüldü */
    gap: 30px;
}

.blog-card {
    background: var(--bg-darker);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    transition: var(--transition);
    height: 500px; /* Hündürlük qısaldıldı */
    display: flex;
    flex-direction: column;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(124, 58, 237, 0.3);
}

.video-info {
    padding: 15px;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    border-top: 1px solid var(--card-border);
}

.video-info h4 {
    margin: 0;
    font-size: 1.1rem;
    color: white;
    font-weight: 600;
}

.mute-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.mute-btn:hover {
    background: var(--gradient-primary);
    transform: scale(1.1);
}

.mute-btn i {
    font-size: 1.2rem;
}

.video-container {
    width: 100%;
    height: 100%;
    position: relative;
    background: #000;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Videonun konteyneri tam doldurması üçün */
    position: absolute;
    top: 0;
    left: 0;
}

.video-container iframe {
    width: 100%;
    height: 160%; 
    border: none;
    position: absolute;
    top: -30%; 
    left: 0;
    transform: scale(1.4); 
    transform-origin: center;
    pointer-events: none; 
}

/* Specific styling for blog page layout */
.blog-page {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .blog-card {
        height: 450px;
    }
}

/* Why Choose Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px;
}

.feature-item i {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

/* Statistics */
.stats-section {
    background: var(--bg-darker);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    margin-bottom: 10px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Teachers Section */
.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.teacher-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.teacher-img {
    height: 280px; /* Hündürlük azaldıldı */
    background: #1e293b;
    position: relative;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.teacher-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Şəkli tam doldurur */
    object-position: center top; /* Üz hissəsinə fokuslanmaq üçün */
    transition: var(--transition);
}

.teacher-card:hover .teacher-img img {
    transform: scale(1.1);
}

.teacher-info {
    padding: 25px;
    text-align: center; /* Yazıları mərkəzə gətirir */
}

.teacher-subject-icon {
    width: 50px;
    height: 50px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px auto 0;
    color: var(--secondary);
    font-size: 1.2rem;
    transition: var(--transition);
}

.teacher-card:hover .teacher-subject-icon {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.3);
}

.teacher-info h4 {
    margin-bottom: 5px;
}

.teacher-info span {
    color: var(--secondary);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 15px;
}

/* FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    padding: 0 25px 25px;
    max-height: 200px;
}

.faq-item.active i {
    transform: rotate(180deg);
}

/* Footer */
footer {
    padding: 80px 0 30px;
    background: var(--bg-darker);
    border-top: 1px solid var(--card-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-about p {
    color: var(--text-muted);
    margin: 20px 0;
    line-height: 1.6;
    max-width: 300px;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-links li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

.footer-links li i {
    color: var(--secondary);
    width: 20px;
    text-align: center;
    margin-top: 3px;
    font-size: 1.1rem;
}

.footer-links a {
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--card-border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Timeline Styles */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 50px auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--gradient-primary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--bg-dark);
    border: 4px solid var(--secondary);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.left { left: 0; }
.right { left: 50%; }

.right::after { left: -10px; }

.timeline-content {
    padding: 20px 30px;
    background: var(--card-bg);
    position: relative;
    border-radius: 15px;
    border: 1px solid var(--card-border);
}

@media (max-width: 768px) {
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item::after { left: 21px; }
    .right { left: 0%; }
}

/* Page Header */
.page-header {
    padding: 150px 0 80px;
    background: var(--bg-darker);
    text-align: center;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Contact Form Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info-card {
    padding: 40px;
}

.contact-method {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-method i {
    width: 50px;
    height: 50px;
    background: var(--card-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.2rem;
}

.contact-form-card {
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 12px 20px;
    background: var(--bg-dark);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    color: white;
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.2);
}

textarea.form-control {
    resize: none;
    height: 150px;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background: var(--bg-darker);
    border-radius: 20px;
    margin-top: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    border: 1px solid var(--card-border);
}

@media (max-width: 991px) {
    .contact-grid { grid-template-columns: 1fr; }
}

/* Custom Language Dropdown */
.lang-switcher {
    position: relative;
    margin-left: 20px;
}

.lang-custom-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid var(--card-border);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
    min-width: 110px;
    justify-content: space-between;
}

.lang-custom-select:hover, .lang-switcher.active .lang-custom-select {
    border-color: var(--secondary);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

.lang-custom-select i.fa-globe {
    color: var(--secondary);
    font-size: 1.1rem;
}

.lang-custom-select i.fa-chevron-down {
    font-size: 0.8rem;
    transition: var(--transition);
}

.lang-switcher.active .fa-chevron-down {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 150px;
    background: #0f172a;
    border: 1px solid var(--card-border);
    border-radius: 15px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1001;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lang-switcher.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    transition: var(--transition);
    color: var(--text-muted);
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.lang-option.selected {
    color: var(--secondary);
}

.lang-option.selected::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--secondary);
}

@media (max-width: 991px) {
    .lang-switcher {
        margin: 20px 0;
        justify-content: center;
    }
}

/* Responsive Styles */
@media (max-width: 991px) {
    .navbar {
        padding: 12px 0;
    }

    .logo {
        font-size: 1.1rem;
        gap: 8px;
        max-width: 160px;
        line-height: 1.2;
    }

    .logo-img {
        width: 42px;
        height: 42px;
        flex-shrink: 0;
        border-radius: 8px;
    }

    .nav-container {
        padding: 0 15px;
    }

    .nav-links { 
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background: var(--bg-darker);
        flex-direction: column;
        align-items: center;
        justify-content: center; /* Center links in menu */
        padding: 40px;
        transition: 0.4s ease-in-out;
        z-index: 999;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    .nav-socials {
        display: none !important; /* Hide socials in mobile */
    }

    .nav-container.mobile-active .nav-links {
        right: 0;
        display: flex;
    }

    .nav-container.mobile-active .nav-socials {
        display: none !important;
    }
    
    .nav-link {
        font-size: 1.3rem;
        margin-bottom: 25px;
    }

    .menu-toggle { 
        display: flex; 
        z-index: 1001;
        margin-left: 10px;
        order: 3;
    }

    .lang-switcher {
        margin: 0 0 0 auto;
        z-index: 1001;
        order: 2;
    }

    .lang-custom-select {
        padding: 8px 12px;
        min-width: 75px;
        font-size: 0.75rem;
        gap: 6px;
    }

    .hero h1 { 
        font-size: 2.5rem; 
        line-height: 1.2;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hero { 
        text-align: center; 
        padding-top: 140px; 
        min-height: auto;
        padding-bottom: 80px;
    }
    
    .hero-content {
        margin: 0 auto;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        margin: 0 auto 30px;
    }

    .hero-btns { 
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .section-header h2 { font-size: 1.8rem; }
    .page-header h1 { font-size: 2rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-title::after { left: 50%; transform: translateX(-50%); }
    .footer-links li { justify-content: center; }
    .footer-about p { margin: 20px auto; }

    .course-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .logo-img {
        width: 35px;
        height: 35px;
    }

    .logo {
        font-size: 1rem;
        max-width: 140px;
    }

    .lang-custom-select {
        padding: 6px 10px;
        min-width: 70px;
        font-size: 0.7rem;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }

    .courses-grid, .features-grid, .teachers-grid {
        grid-template-columns: 1fr;
    }

    .course-card {
        padding: 25px 15px;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }
}
