/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Social Media Bar */
.social-media-bar {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    padding: 8px 0;
    font-size: 14px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 100%;
}

.social-media-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-media-text {
    font-weight: 500;
    display: flex;
    align-items: center;
}

.social-media-text span {
    margin-right: 0.5rem;
}

.social-media-links {
    display: flex;
    gap: 3rem; /* Increased from 2rem to 3rem */
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 13px;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.social-link.youtube {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link.youtube:hover {
    background: rgba(255, 255, 255, 0.2);
}

.social-link.instagram {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link.instagram:hover {
    background: rgba(255, 255, 255, 0.2);
}

.social-link.whatsapp {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link.whatsapp:hover {
    background: rgba(255, 255, 255, 0.2);
}

.social-link i {
    font-size: 16px;
}

.social-link span {
    font-size: 12px;
}

/* Mobile Responsive for Social Media Bar */
@media (max-width: 768px) {
    .social-media-bar {
        padding: 6px 0; /* Reduced padding for mobile */
    }
    
    .social-media-content {
        flex-direction: row;
        justify-content: center;
        gap: 0.5rem;
        text-align: center;
    }
    
    .social-media-text {
        font-size: 10px;
        display: none; /* Hide text on mobile to save space */
    }
    
    .social-media-links {
        gap: 0.5rem;
    }
    
    .social-link {
        padding: 2px 4px;
        font-size: 10px;
    }
    
    .social-link span {
        display: none;
    }
    
    .social-link i {
        font-size: 12px;
    }
    
    /* Header positioning for mobile - calculated based on actual social bar height */
    .header {
        top: 45px !important;
    }
    
    body:not(.has-social-bar) .header {
        top: 0 !important;
    }
    
    /* Adjust main content margin for mobile */
    .has-fixed-header main {
        margin-top: 155px !important;
    }
    
    /* Adjust slider margin when social bar is enabled */
    .has-social-bar .slider-section {
        margin-top: 115px !important;
    }
}

/* Offset for fixed header */
.has-fixed-header main {
    margin-top: 140px; /* Social media bar (40px) + header (100px) */
}

/* When social media bar is disabled */
body:not(.has-social-bar) .has-fixed-header main {
    margin-top: 100px; /* Only header */
}

body:not(.has-social-bar) .header {
    top: 0; /* No social bar offset */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: #f8f9fa;
    color: #333;
    border: 2px solid #e9ecef;
}

.btn-secondary:hover {
    background: #e9ecef;
    border-color: #dee2e6;
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
}

.btn-full {
    width: 100%;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 40px; /* Social media bar height */
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 1rem 0;
    gap: 2rem;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
}

.logo-img {
    width: 60px;
    height: 60px;
    margin-right: 12px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.nav {
    display: flex;
    justify-content: center;
    width: 100%;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    margin: 0;
    flex-shrink: 0;
}

.nav-item {
    display: flex;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 8px;
    border-radius: 6px;
    white-space: nowrap;
    flex: 1;
    text-align: center;
    font-size: 0.9rem;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-link:hover,
.nav-link.active {
    color: #667eea;
    background-color: rgba(102, 126, 234, 0.1);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: #667eea;
    border-radius: 1px;
}

/* Dropdown Menu Styles */
.nav-item.dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    flex: 1;
}

.dropdown-toggle i.fa-chevron-down {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

/* Dropdown toggle inherits all nav-link styles automatically */

.nav-item.dropdown:hover .dropdown-toggle i.fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    list-style: none;
    margin-top: 5px;
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-item.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-item.dropdown.active .dropdown-toggle i.fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-link {
    display: block;
    padding: 10px 16px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-radius: 6px;
    line-height: 1.6;
    text-align: center;
    white-space: nowrap;
}

.dropdown-link:hover,
.dropdown-link.active {
    color: #667eea;
    background-color: rgba(102, 126, 234, 0.1);
}

.dropdown-link.active {
    font-weight: 600;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    z-index: 1001;
    white-space: nowrap;
}

.live-support-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.live-support-btn:hover {
    background: #218838;
    transform: translateY(-1px);
}

/* User Menu */
.user-menu {
    position: relative;
}

.user-avatar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 16px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #333;
}

.user-avatar:hover {
    background: #e9ecef;
    border-color: #667eea;
}

.user-avatar i.fa-chevron-down {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.user-menu.active .user-avatar i.fa-chevron-down {
    transform: rotate(180deg);
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    margin-top: 0.5rem;
}

.user-menu.active .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-info {
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
    border-radius: 12px 12px 0 0;
}

.user-name-full {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.user-email {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.user-type-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

.user-type-badge.teacher {
    background: #d4edda;
    color: #155724;
}

.user-type-badge.student {
    background: #cce5ff;
    color: #004085;
}

.user-menu-items {
    padding: 0.5rem 0;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.menu-item:hover {
    background: #f8f9fa;
    color: #667eea;
}

.menu-item i {
    width: 20px;
    text-align: center;
    color: #666;
}

.menu-item:hover i {
    color: #667eea;
}

.menu-item.logout {
    color: #dc3545;
}

.menu-item.logout:hover {
    background: #f8d7da;
    color: #721c24;
}

.menu-item.logout i {
    color: #dc3545;
}

.menu-divider {
    height: 1px;
    background: #e9ecef;
    margin: 0.5rem 0;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-content {
    padding: 2rem;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav-list {
    list-style: none;
    margin-bottom: 2rem;
}

.mobile-nav-item {
    margin-bottom: 1rem;
}

.mobile-nav-link {
    text-decoration: none;
    color: #333;
    font-size: 1.1rem;
    font-weight: 500;
    display: block;
    padding: 0.75rem 0;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: #667eea;
}

/* Mobile Submenu Styles */
.has-submenu {
    position: relative;
}

.mobile-nav-link-with-arrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    transition: color 0.3s ease;
}

.mobile-nav-link-with-arrow:hover {
    color: #667eea;
}

.mobile-nav-link-with-arrow i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.has-submenu.active .mobile-nav-link-with-arrow i {
    transform: rotate(180deg);
}

.mobile-submenu {
    list-style: none;
    padding-left: 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.has-submenu.active .mobile-submenu {
    max-height: 500px;
}

.mobile-submenu-item {
    margin-bottom: 0.5rem;
}

.mobile-submenu-item .mobile-nav-link {
    font-size: 1rem;
    padding: 0.5rem 0;
    opacity: 0.8;
}

.mobile-submenu-item .mobile-nav-link:hover {
    opacity: 1;
}

.mobile-menu-divider {
    height: 1px;
    background: #e9ecef;
    margin: 1.5rem 0;
}

.mobile-menu-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.mobile-menu-auth {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Live Support Modal */
.live-support-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.live-support-modal.active {
    display: flex;
}

.live-support-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.live-support-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.support-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.support-option {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.support-option:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.support-option i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

/* Main Content */
.main-content {
    margin-top: 0;
}

/* Slider Section */
.slider-section {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    max-height: 500px;
    overflow: hidden;
    margin: 0;
    z-index: 1;
    background: white;
    margin-top: 80px;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
    background: white;
}

.slider-slide.active {
    opacity: 1;
}

.slider-image {
    width: auto;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    max-width: 100%;
    max-height: 100%;
    border-radius: 0;
    box-shadow: none;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Slider overlay and content removed for clean image display */

/* Slider Navigation - Hidden for single image */
.slider-nav {
    display: none;
}

.slider-dot {
    display: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    z-index: 1;
    margin-top: 0;
    clear: both;
}

.hero h1 {
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.hero .btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Teachers Section */
.teachers-section {
    padding: 5rem 0;
    background: #f8f9fa;
    clear: both;
    position: relative;
    z-index: 2;
    overflow: visible;
    width: 100%;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    color: #333;
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
}

.teachers-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
    margin-bottom: 3rem;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    align-items: start;
    justify-items: center;
    grid-auto-rows: auto;
    grid-auto-flow: row;
}

.teacher-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
    width: 100%;
    max-width: 350px;
    min-width: 280px;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between;
    box-sizing: border-box;
}

.teacher-card:hover {
    transform: translateY(-5px);
}

/* Online Status Styles */
.online-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.online-status.online {
    background: #10b981;
    color: white;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.online-status.offline {
    background: #6b7280;
    color: white;
    box-shadow: 0 2px 8px rgba(107, 114, 128, 0.3);
}

.teacher-card-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.teacher-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

.teacher-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.teacher-subject {
    color: #667eea;
    font-weight: 500;
    margin-bottom: 1rem;
}

.teacher-rating {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.stars {
    color: #ffc107;
    margin-right: 0.5rem;
}

.rating-text {
    color: #666;
    font-size: 0.9rem;
}

.teacher-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.teacher-actions .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background: white;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.step-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.step-description {
    color: #666;
    line-height: 1.6;
}

/* Counter Section */
.counter-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem 0;
    color: white;
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.counter-item {
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.counter-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.counter-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.counter-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
    line-height: 1;
}

.counter-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .counter-item {
        padding: 1.5rem 1rem;
    }
    
    .counter-icon {
        font-size: 2.5rem;
    }
    
    .counter-number {
        font-size: 2.5rem;
    }
    
    .counter-label {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .counter-grid {
        grid-template-columns: 1fr;
    }
}

/* Ücretsiz Ön Görüşme Section */
.on-gorusme-section {
    background: #f8f9fa;
    padding: 5rem 0;
}

.on-gorusme-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.on-gorusme-text h2 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.on-gorusme-text p {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.on-gorusme-benefits {
    display: grid;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(10px);
}

.benefit-item i {
    color: #28a745;
    font-size: 1.5rem;
    min-width: 24px;
}

.benefit-item span {
    color: #333;
    font-weight: 500;
}

.on-gorusme-form {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.on-gorusme-form h3 {
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.8rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.field-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.form-group select[multiple] {
    height: 120px;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.btn-full {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .on-gorusme-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .on-gorusme-text h2 {
        font-size: 2rem;
    }
    
    .on-gorusme-form {
        padding: 1.5rem;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    clear: both;
    position: relative;
    z-index: 2;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}

.testimonials .container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.testimonials .section-title h2,
.testimonials .section-title p {
    color: white;
}

.testimonials-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem !important;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
    padding: 0 20px;
    align-items: start;
    justify-items: stretch;
    grid-auto-rows: auto;
    grid-auto-flow: row;
}

/* Force 3 columns for testimonials */
.testimonials .testimonials-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem !important;
    box-sizing: border-box !important;
    padding: 0 20px !important;
}

.testimonials .testimonial-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(5px);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    flex-grow: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-weight: 700;
    font-size: 1.3rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.author-info h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.3px;
}

.author-info p {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 1);
    margin: 0;
    letter-spacing: 0.2px;
}

/* FAQ Section */
.faq {
    padding: 5rem 0;
    background: #f8f9fa;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.active {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
}

.footer-description {
    color: #bdc3c7;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #34495e;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #667eea;
    transform: translateY(-2px);
}

.footer-title {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #667eea;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    color: #bdc3c7;
}

.contact-item i {
    margin-right: 0.5rem;
    color: #667eea;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-left p {
    color: #bdc3c7;
    margin: 0;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.payment-text {
    color: #bdc3c7;
    font-size: 0.9rem;
}

.payment-icons {
    display: flex;
    gap: 0.5rem;
}

.payment-icons i {
    font-size: 1.5rem;
    color: #bdc3c7;
}

/* Emergency Notice */
.emergency-notice {
    background: #dc3545;
    color: white;
    padding: 1rem 0;
    text-align: center;
    font-size: 0.9rem;
}

.emergency-notice i {
    margin-right: 0.5rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .header-content {
        gap: 1rem;
    }
    
    .nav-link {
        padding: 8px 4px;
        font-size: 0.85rem;
    }
    
    .btn {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .live-support-btn {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    .slider-section {
        height: 50vh;
        min-height: 350px;
        max-height: 450px;
    }
    
    .teachers-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1.5rem !important;
    }
}

@media (max-width: 1024px) {
    .header-content {
        gap: 0.5rem;
    }
    
    .nav-link {
        padding: 6px 2px;
        font-size: 0.8rem;
    }
    
    .btn {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    .live-support-btn {
        padding: 5px 8px;
        font-size: 0.75rem;
    }
    
    .slider-section {
        height: 45vh;
        min-height: 300px;
        max-height: 400px;
    }
    
    .slider-slide {
        padding: 0;
    }
    
    .teachers-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
        padding: 0 1rem;
        justify-items: center;
    }
    
    .online-status {
        top: 0.75rem;
        right: 0.75rem;
        padding: 0.2rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        padding: 0 20px !important;
        box-sizing: border-box !important;
    }
    
    .testimonials .testimonials-grid {
        grid-template-columns: 1fr !important;
        padding: 0 20px !important;
    }
    
    .testimonial-card {
        max-width: 100% !important;
        min-width: 0 !important;
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .header-actions {
        display: none;
    }
    
    .header-content {
        grid-template-columns: 1fr auto !important;
        gap: 0.5rem;
        padding: 0.5rem 15px !important;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .mobile-menu-btn {
        display: flex !important;
        margin-left: auto;
        order: 2;
    }
    
    .logo {
        order: 1;
    }
    
    .slider-section {
        height: 50vh;
        min-height: 300px;
        max-height: 400px;
        margin-top: 0;
    }
    
    .slider-slide {
        padding: 0;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero .btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .teachers-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        padding: 0 1rem;
        justify-items: center;
    }
    
    .teacher-card {
        max-width: 100%;
        width: 100%;
        padding: 1.5rem;
    }
    
    .online-status {
        top: 0.75rem;
        right: 0.75rem;
        padding: 0.2rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .step-card {
        padding: 1.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        padding: 0 20px !important;
        box-sizing: border-box !important;
    }
    
    .testimonials .testimonials-grid {
        grid-template-columns: 1fr !important;
        padding: 0 20px !important;
    }
    
    .testimonial-card {
        max-width: 100% !important;
        min-width: 0 !important;
        width: 100% !important;
        padding: 1.5rem;
        box-sizing: border-box !important;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .section-title p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .payment-methods {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .header-content {
        padding: 0.5rem 10px !important;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .slider-section {
        height: 45vh;
        min-height: 280px;
        max-height: 350px;
        margin-top: 0;
    }
    
    .slider-slide {
        padding: 0;
    }
    
    .hero {
        padding: 1.5rem 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 0.8rem;
    }
    
    .hero p {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }
    
    .hero .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        max-width: 250px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .section-title p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .teachers-grid {
        gap: 1rem !important;
        padding: 0 0.5rem;
    }
    
    .teacher-card {
        padding: 1.25rem;
        max-width: 100%;
    }
    
    .online-status {
        top: 0.5rem;
        right: 0.5rem;
        padding: 0.15rem 0.5rem;
        font-size: 0.6rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
    }
    
    .testimonials .testimonials-grid {
        grid-template-columns: 1fr !important;
        padding: 0 15px !important;
    }
    
    .testimonial-card {
        max-width: 100% !important;
        min-width: 0 !important;
        width: 100% !important;
        padding: 1.25rem;
        box-sizing: border-box !important;
    }
    
    .steps-grid {
        gap: 1rem;
    }
    
    .step-card {
        padding: 1.25rem;
    }
    
    .footer-bottom-content {
        gap: 0.8rem;
    }
}
