/* Responsive Design */

/* Large screens */
@media (max-width: 1200px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
}

/* Medium screens */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Hero Section */
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 0;
    }

    .hero-content {
        margin-right: 0;
        margin-bottom: 2rem;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .stat-item {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        text-align: left;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 250px;
        justify-content: center;
    }

    .floating-card {
        position: static;
        margin-top: 1rem;
        width: 100%;
    }

    .image-overlay {
        position: static;
    }

    /* Page Header */
    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1.1rem;
    }

    /* Sections */
    .section-title {
        font-size: 2rem;
    }

    .features,
    .about-preview,
    .courses-preview,
    .course-overview,
    .course-levels,
    .specialized-courses,
    .course-features,
    .pricing-info,
    .why-choose,
    .our-approach,
    .company-info,
    .contact-section,
    .faq-section,
    .cta-section {
        padding: 60px 0;
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* About Content */
    .about-content {
        flex-direction: column;
        gap: 2rem;
    }

    .about-text {
        order: 2;
    }

    .about-image {
        order: 1;
    }

    .overview-content,
    .approach-content,
    .pricing-content {
        flex-direction: column;
        gap: 2rem;
    }

    /* Courses Grid */
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .levels-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .specialized-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Contact Section */
    .contact-content {
        flex-direction: column;
        gap: 2rem;
    }

    .contact-form {
        order: 1;
    }

    .contact-info {
        order: 2;
    }

    /* FAQ Grid */
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Cookie Consent */
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cookie-buttons .btn {
        width: 100%;
    }

    /* CTA Buttons */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 200px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    /* Course Features */
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    /* Level Cards */
    .level-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    /* Company Info */
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Reasons Grid */
    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Small screens */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    /* Typography */
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    /* Buttons */
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* Cards */
    .feature-card,
    .course-card,
    .level-card,
    .specialized-card {
        padding: 1.5rem;
    }

    /* Forms */
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
    }

    /* Contact Items */
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    /* Hero Buttons */
    .hero-buttons .btn {
        width: 100%;
    }

    /* CTA Buttons */
    .cta-buttons .btn {
        width: 100%;
    }

    /* Cookie Consent */
    .cookie-consent {
        padding: 0.5rem;
    }

    /* Legal Content */
    .legal-text {
        padding: 0 10px;
    }

    /* Course Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Level Cards */
    .level-content {
        padding: 1.5rem;
    }

    /* Navbar Brand */
    .nav-brand {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .brand-name {
        font-size: 1.25rem;
    }

    .logo {
        height: 35px;
    }

    /* Hamburger Menu */
    .nav-menu {
        top: 90px;
    }

    /* Sections Padding */
    .features,
    .about-preview,
    .courses-preview,
    .course-overview,
    .course-levels,
    .specialized-courses,
    .course-features,
    .pricing-info,
    .why-choose,
    .our-approach,
    .company-info,
    .contact-section,
    .faq-section,
    .cta-section {
        padding: 40px 0;
    }

    /* Page Header */
    .page-header {
        padding: 100px 0 40px;
    }

    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }
}

/* Extra small screens */
@media (max-width: 320px) {
    .container {
        padding: 0 8px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .feature-card,
    .course-card,
    .level-card,
    .specialized-card {
        padding: 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .legal-text {
        font-size: 0.9rem;
    }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 0 40px;
    }

    .page-header {
        padding: 80px 0 40px;
    }

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

/* Print styles */
@media print {
    .header,
    .footer,
    .cookie-consent,
    .cta-section,
    .hero-buttons,
    .btn {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .page-header {
        padding: 20px 0;
    }

    .section-title {
        font-size: 18pt;
    }

    .legal-text {
        font-size: 10pt;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .btn-primary {
        background-color: #000;
        color: #fff;
        border: 2px solid #000;
    }

    .btn-outline {
        border-color: #000;
        color: #000;
    }

    .nav-link:hover,
    .nav-link.active {
        color: #000;
    }

    .feature-icon {
        color: #000;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    /* Note: This is a basic implementation */
    /* You may want to add more comprehensive dark mode styles */
    
    body {
        background-color: #1a1a1a;
        color: #e0e0e0;
    }

    .header {
        background-color: #2d2d2d;
    }

    .feature-card,
    .course-card,
    .level-card {
        background-color: #2d2d2d;
        color: #e0e0e0;
    }

    .contact-form {
        background-color: #2d2d2d;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        background-color: #3a3a3a;
        color: #e0e0e0;
        border-color: #555;
    }
}
