/* ============================================
   RESPONSIVE DESIGN - Mobile First
   ============================================ */

/* Tablets (768px and below) */
@media (max-width: 768px) {
    .navbar-container {
        padding: 1rem;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #6B2D8C 0%, rgba(107, 45, 140, 0.95) 100%);
        flex-direction: column;
        gap: 0;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link {
        display: block;
        padding: 1rem;
    }

    .dropdown-menu {
        position: static;
        display: none;
        background-color: rgba(0, 0, 0, 0.1);
        box-shadow: none;
        padding: 0;
        min-width: auto;
    }

    .dropdown.active .dropdown-menu {
        display: flex;
        flex-direction: column;
    }

    .dropdown-menu a {
        padding: 0.75rem 1rem;
        border-left: 3px solid var(--secondary);
    }

    .nav-btn {
        width: 90%;
        margin: 0.5rem auto;
    }

    .hamburger {
        display: flex;
    }

    /* Hero Section */
.hero {
    min-height: 500px;
    padding: 3rem 1.5rem;
    align-items: flex-start;

    width: 100%;
    margin: 0;
    box-sizing: border-box;
}
    .hero-content {
        max-width: 100%;
        z-index: 2;
        width: 110%;
min-width: 100vw;
    }

    .hero-main-title {
        font-size: 2.2rem;
        letter-spacing: 1px;
    }

    .hero-sub-title {
        font-size: 1.5rem;
        letter-spacing: 0.5px;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-btn {
        width: 100%;
    }

    .intake-badge {
        padding: 1.5rem;
    }

    .intake-badge h2 {
        font-size: 1.5rem;
    }

    .intake-badge p {
        font-size: 1.1rem;
    }

    /* Features */
    .features-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Courses */
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    /* Contact */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* CTA Section */
    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    /* Modal */
    .modal-content {
        width: 90%;
        margin: 30% auto;
    }

    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 1.5rem;
    }

    .footer-section:last-child {
        border-bottom: none;
    }

    .social-links {
        justify-content: center;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    .navbar-container {
        gap: 1rem;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .hero h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .tagline {
        font-size: 1rem;
    }

    .intake-badge {
        padding: 1rem;
    }

    .intake-badge h2 {
        font-size: 1.5rem;
    }

    .intake-badge p {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .cta-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .cta-btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .course-icon {
        font-size: 2.5rem;
    }

    .course-card h3 {
        font-size: 1.1rem;
    }

    .course-list {
        padding: 0;
    }

    .feature-icon {
        font-size: 2rem;
    }

    .contact-form input,
    .contact-form textarea,
    .contact-section input,
    .contact-section textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .modal-content {
        width: 95%;
        padding: 1.5rem;
        margin: 50% auto;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }

    .cta-content p {
        font-size: 0.95rem;
    }

    .footer-section h4 {
        font-size: 1.1rem;
    }

    .footer-section p,
    .footer-section a {
        font-size: 0.9rem;
    }

    .footer-bottom {
        font-size: 0.85rem;
    }
}

/* Extra Small Devices (320px and below) */
@media (max-width: 320px) {
    .hero h1 {
        font-size: 1.3rem;
    }

    .navbar-logo {
        display: none;
    }

    .course-card {
        padding: 1rem;
    }

    .contact-info,
    .contact-form {
        padding: 1rem;
    }
}

/* Large Screens (1200px and above) */
@media (min-width: 1200px) {
    .navbar-container,
    .hero,
    .courses-section,
    .contact-section,
    .features-container {
        max-width: 1200px;
    }

    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .features-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Print Styles */
@media print {
    .navbar,
    .cta-section,
    .footer,
    .modal {
        display: none;
    }

    body {
        background-color: white;
    }

    .courses-section {
        page-break-inside: avoid;
    }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    :root {
        --light: #2a2a2a;
        --white: #1a1a1a;
        --text: #e0e0e0;
        --border: #404040;
    }

    body {
        background-color: var(--white);
    }

    .course-card,
    .feature-card,
    .contact-form,
    .modal-content {
        background-color: #1a1a1a;
        border-color: #404040;
    }

    .course-list li,
    .contact-info p {
        color: #b0b0b0;
    }
}
