/* Responsive Design */

/* Tablets (768px and below) */
@media (max-width: 768px) {
    .header-wrapper {
        padding: 1rem 0;
    }

    .navigation {
        margin-left: 1rem;
        gap: 1rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: #fff;
        width: 100%;
        text-align: left;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        gap: 0;
        padding: 2rem 0;
        z-index: 999;
    }

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

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 1rem 2rem;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        border-radius: 0;
        margin-top: 0;
        background: #f8f9fa;
    }

    .dropdown.active .dropdown-menu {
        display: flex;
    }

    .dropdown-menu a {
        padding: 0.75rem 2rem 0.75rem 3rem;
    }

    .header-contact {
        display: none;
    }

    .logo-text {
        font-size: 20px;
    }

    /* Hero Section */
    .carousel {
        height: 400px;
    }

    .carousel-item {
        flex-direction: column;
        justify-content: flex-end;
    }

    .carousel-content {
        padding: 40px 20px;
        flex: none;
        text-align: center;
        background: rgba(0, 0, 0, 0.5);
        width: 100%;
        order: 2;
    }

    .carousel-content h1 {
        font-size: 32px;
    }

    .carousel-content p {
        font-size: 16px;
    }

    .carousel-image {
        flex: 1;
        height: 100%;
        overflow: hidden;
        order: 1;
        width: 100%;
    }

    .carousel-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }

    /* Sections */
    .section {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .section-title p {
        font-size: 16px;
    }

    /* Career Section */
    .career-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .career-text h3 {
        font-size: 24px;
    }

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

    .course-card {
        padding: 30px;
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .feature-number {
        font-size: 36px;
    }

    /* Centers Grid */
    .centers-grid {
        grid-template-columns: 1fr;
    }

    /* Director Section */
    .director-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .director-text h2 {
        font-size: 28px;
    }

    .director-quote {
        font-size: 20px;
    }

    /* CTA Section */
    .cta-section {
        padding: 60px 0;
    }

    .cta-content h2 {
        font-size: 32px;
    }

    .cta-content p {
        font-size: 18px;
    }

    .cta-buttons {
        gap: 10px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-section h3 {
        font-size: 18px;
    }

    /* CTA Cards */
    .cta-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .cta-modal-content {
        width: 95%;
        padding: 30px 20px;
    }

    .cta-modal-content h2 {
        font-size: 24px;
    }

    .staff-modal-large .cta-modal-content {
        max-height: 85vh;
        padding: 20px;
    }

    .form-section-title {
        font-size: 14px;
    }

    .form-group label {
        font-size: 13px;
    }
}

/* Mobile Phones (480px and below) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .header-wrapper {
        flex-wrap: wrap;
    }

    .logo-text {
        font-size: 18px;
    }

    .navigation {
        width: 100%;
        margin-left: 0;
        gap: 0;
    }

    /* Hero Section */
    .carousel {
        height: 350px;
    }

    .carousel-item {
        flex-direction: column;
        justify-content: flex-end;
    }

    .carousel-content {
        padding: 30px 15px;
        flex: none;
        background: rgba(0, 0, 0, 0.55);
        width: 100%;
        order: 2;
    }

    .carousel-content h1 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .carousel-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .carousel-image {
        flex: 1;
        height: 100%;
        overflow: hidden;
        order: 1;
        width: 100%;
    }

    .carousel-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
        z-index: 10;
    }

    .carousel-btn.prev {
        left: 5px;
    }

    .carousel-btn.next {
        right: 5px;
    }

    /* Sections */
    .section {
        padding: 40px 0;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .section-title h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .section-title p {
        font-size: 14px;
    }

    /* Career Section */
    .career-content {
        gap: 30px;
    }

    .career-text h3 {
        font-size: 20px;
    }

    .career-text p {
        font-size: 14px;
    }

    .benefits-list li {
        padding-left: 30px;
        font-size: 14px;
    }

    /* Courses Grid */
    .course-card {
        padding: 25px;
    }

    .course-icon {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }

    .course-card h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .course-card p {
        font-size: 13px;
        margin-bottom: 20px;
    }

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

    .feature-number {
        font-size: 28px;
    }

    .feature-item h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .feature-item p {
        font-size: 13px;
    }

    /* Centers Grid */
    .center-card {
        padding: 25px;
    }

    .center-card h3 {
        margin-bottom: 12px;
        font-size: 18px;
    }

    .center-card p {
        font-size: 13px;
        margin-bottom: 8px;
    }

    /* Director Section */
    .director-content {
        gap: 30px;
    }

    .director-text h2 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .director-quote {
        font-size: 16px;
        padding: 15px 0;
        padding-left: 15px;
        margin-bottom: 20px;
    }

    .director-text p {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .signature {
        margin-top: 20px;
    }

    /* CTA Section */
    .cta-section {
        padding: 50px 0;
    }

    .cta-content h2 {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .cta-content p {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
    }

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

    .footer-content {
        gap: 25px;
    }

    .footer-section h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .footer-section p {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .social-links {
        gap: 12px;
        margin-top: 15px;
    }

    .social-links a {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .footer-bottom {
        padding-top: 15px;
        font-size: 12px;
    }

    /* Utility Classes */
    .mt-5 {
        margin-top: 30px;
    }

    .mb-5 {
        margin-bottom: 30px;
    }

    .mt-3 {
        margin-top: 20px;
    }

    .mb-3 {
        margin-bottom: 20px;
    }
}
