/* Media Queries - Improved Mobile Design */

/* Extra Large Devices */
@media (max-width: 1400px) {
    .container {
        max-width: 1140px;
    }
}

/* Large Devices (Desktops) */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
        padding: 0 15px;
    }

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

    .main-nav ul {
        gap: 15px;
    }

    .main-nav ul li a {
        font-size: 0.85rem;
    }

    .register-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .growth-text h2 {
        font-size: 3rem;
    }

    .speaker-info h2 {
        font-size: 2.2rem;
    }
}

/* Medium Devices (Tablets) */
@media (max-width: 992px) {
    .container {
        max-width: 720px;
        padding: 0 15px;
    }

    /* Header */
    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

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

    /* Hero */
    .hero h1 {
        font-size: 3.8rem;
        margin-bottom: 15px;
    }

    .hero .subtitle {
        font-size: 1.3rem;
        margin-bottom: 25px;
    }

    .hero-content {
        padding: 100px 15px 40px;
    }

    /* Sections */
    .video-section,
    .why-section,
    .growth-section,
    .event-info-section,
    .departments-section,
    .speaker-section,
    .books-section,
    .success-stories-section,
    .register-section {
        padding: 80px 0;
    }

    .video-section h2,
    .why-section h2,
    .event-info-section h2,
    .departments-section h2,
    .speaker-section h2,
    .books-section h2,
    .success-stories-section h2 {
        font-size: 2.2rem;
        margin-bottom: 50px;
    }

    .video-container iframe {
        height: 400px;
    }

    /* Growth Section */
    .growth-content,
    .speaker-content,
    .books-content {
        flex-direction: column;
        gap: 40px;
    }

    .growth-text,
    .growth-image,
    .speaker-image,
    .speaker-info,
    .books-image,
    .books-info {
        flex: none;
        width: 100%;
    }

    .growth-text h2 {
        font-size: 2.8rem;
        text-align: center;
    }

    .growth-image img {
        max-height: 500px;
    }

    .speaker-image img,
    .books-image img {
        max-width: 70%;
    }

    .speaker-info h2 {
        font-size: 2rem;
        text-align: center;
    }

    .speaker-info h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Grid adjustments */
    .why-grid,
    .departments-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    .success-stories-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .why-item,
    .department-item {
        padding: 25px 20px;
    }

    .why-number,
    .event-number {
        font-size: 2.5rem;
    }

    /* Event items */
    .event-item {
        flex-direction: column;
        padding: 25px;
    }

    .event-image {
        padding-left: 0;
        margin-top: 20px;
    }

    /* Students section */
    .student-logo {
        width: 100px;
        height: 100px;
    }

    .student-logo img {
        width: 70px;
        height: 70px;
    }
}

/* Event Info Section - Improved Mobile Design */
@media (max-width: 992px) {
    .event-info-section {
        padding: 80px 0;
    }

    .event-info-section h2 {
        font-size: 2.2rem;
        margin-bottom: 50px;
    }

    .event-grid {
        gap: 40px;
    }

    .event-item {
        flex-direction: column;
        padding: 30px 25px;
        gap: 25px;
    }

    .event-number {
        font-size: 2.8rem;
        margin-bottom: 15px;
        text-align: center;
    }

    .event-content {
        flex: none;
        width: 100%;
        text-align: center;
    }

    .event-content h3 {
        font-size: 1.3rem;
        margin-bottom: 20px;
        line-height: 1.4;
    }

    .event-content ul {
        text-align: left;
        max-width: 500px;
        margin: 20px auto 0;
    }

    .event-image {
        flex: none;
        width: 100%;
        padding-left: 0;
        margin-top: 0;
        text-align: center;
    }

    .event-image img {
        max-width: 90%;
        height: auto;
        max-height: 400px;
        object-fit: cover;
    }
}

@media (max-width: 768px) {
    .event-info-section {
        padding: 70px 0;
    }

    .event-info-section h2 {
        font-size: 2rem;
        margin-bottom: 40px;
        padding: 0 10px;
    }

    .event-grid {
        gap: 35px;
    }

    .event-item {
        padding: 25px 20px;
        gap: 20px;
        margin: 0 5px;
    }

    .event-number {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }

    .event-content h3 {
        font-size: 1.2rem;
        margin-bottom: 18px;
        line-height: 1.3;
        padding: 0 5px;
    }

    .event-content ul {
        margin: 18px auto 0;
        padding: 0 10px;
    }

    .event-content ul li {
        font-size: 0.95rem;
        margin-bottom: 12px;
        padding-left: 25px;
        line-height: 1.5;
    }

    .event-image img {
        max-width: 95%;
        max-height: 350px;
        border-radius: 12px;
    }
}

@media (max-width: 576px) {
    .event-info-section {
        padding: 60px 0;
    }

    .event-info-section h2 {
        font-size: 1.8rem;
        margin-bottom: 35px;
        padding: 0 15px;
        line-height: 1.2;
    }

    .event-grid {
        gap: 30px;
    }

    .event-item {
        padding: 20px 15px;
        gap: 18px;
        margin: 0 3px;
        border-radius: 12px;
    }

    .event-number {
        font-size: 2.2rem;
        margin-bottom: 10px;
    }

    .event-content h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
        line-height: 1.3;
        padding: 0 3px;
    }

    .event-content ul {
        margin: 15px auto 0;
        padding: 0 5px;
    }

    .event-content ul li {
        font-size: 0.9rem;
        margin-bottom: 10px;
        padding-left: 22px;
        line-height: 1.4;
    }

    .event-content ul li:before {
        font-size: 1rem;
    }

    .event-image img {
        max-width: 100%;
        max-height: 300px;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .event-info-section {
        padding: 50px 0;
    }

    .event-info-section h2 {
        font-size: 1.7rem;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .event-grid {
        gap: 25px;
    }

    .event-item {
        padding: 18px 12px;
        gap: 15px;
        margin: 0 2px;
    }

    .event-number {
        font-size: 2rem;
        margin-bottom: 8px;
    }

    .event-content h3 {
        font-size: 1rem;
        margin-bottom: 12px;
        line-height: 1.2;
        padding: 0 2px;
    }

    .event-content ul {
        margin: 12px auto 0;
        padding: 0 3px;
    }

    .event-content ul li {
        font-size: 0.85rem;
        margin-bottom: 8px;
        padding-left: 20px;
        line-height: 1.3;
    }

    .event-image img {
        max-width: 100%;
        max-height: 280px;
        border-radius: 8px;
    }
}

@media (max-width: 320px) {
    .event-info-section {
        padding: 45px 0;
    }

    .event-info-section h2 {
        font-size: 1.6rem;
        margin-bottom: 25px;
        padding: 0 8px;
        line-height: 1.1;
    }

    .event-grid {
        gap: 20px;
    }

    .event-item {
        padding: 15px 10px;
        gap: 12px;
        margin: 0 1px;
    }

    .event-number {
        font-size: 1.8rem;
        margin-bottom: 6px;
    }

    .event-content h3 {
        font-size: 0.95rem;
        margin-bottom: 10px;
        line-height: 1.2;
        padding: 0 1px;
    }

    .event-content ul {
        margin: 10px auto 0;
        padding: 0 2px;
    }

    .event-content ul li {
        font-size: 0.8rem;
        margin-bottom: 6px;
        padding-left: 18px;
        line-height: 1.3;
    }

    .event-content ul li:before {
        font-size: 0.9rem;
    }

    .event-image img {
        max-width: 100%;
        max-height: 250px;
        border-radius: 6px;
    }
}

@media (max-width: 280px) {
    .event-info-section {
        padding: 40px 0;
    }

    .event-info-section h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
        padding: 0 5px;
    }

    .event-item {
        padding: 12px 8px;
        gap: 10px;
    }

    .event-number {
        font-size: 1.6rem;
        margin-bottom: 5px;
    }

    .event-content h3 {
        font-size: 0.9rem;
        margin-bottom: 8px;
        line-height: 1.1;
    }

    .event-content ul li {
        font-size: 0.75rem;
        margin-bottom: 5px;
        padding-left: 16px;
    }

    .event-image img {
        max-height: 220px;
        border-radius: 5px;
    }
}

/* Small Devices (Landscape Phones) */
@media (max-width: 768px) {
    .container {
        max-width: 540px;
        padding: 0 15px;
    }

    /* Header */
    .header-content {
        padding: 0 10px;
    }

    .logo img {
        height: 35px;
    }

    .mobile-menu {
        padding: 15px;
    }

    .mobile-menu ul li a {
        padding: 12px 8px;
        font-size: 0.95rem;
    }

    /* Hero */
    .hero h1 {
        font-size: 3.2rem;
        letter-spacing: 1px;
    }

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

    .hero-content {
        padding: 90px 10px 30px;
    }

    /* Sections */
    .video-section,
    .why-section,
    .growth-section,
    .event-info-section,
    .departments-section,
    .speaker-section,
    .books-section,
    .success-stories-section,
    .register-section {
        padding: 70px 0;
    }

    .video-section h2,
    .why-section h2,
    .event-info-section h2,
    .departments-section h2,
    .speaker-section h2,
    .books-section h2,
    .success-stories-section h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .video-container iframe {
        height: 350px;
    }

    /* Growth Section */
    .growth-text h2 {
        font-size: 2.5rem;
    }

    .growth-text p {
        font-size: 1.1rem;
    }

    .growth-image img {
        max-height: 400px;
    }

    /* Speaker */
    .speaker-info h2 {
        font-size: 1.8rem;
    }

    .speaker-title {
        font-size: 1.1rem;
    }

    .speaker-bio p {
        font-size: 0.95rem;
    }

    /* Grid adjustments */
    .why-grid,
    .departments-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .why-item,
    .department-item {
        padding: 20px 15px;
    }

    .why-content h3,
    .department-item h3 {
        font-size: 1.2rem;
    }

    .why-content p,
    .department-item p {
        font-size: 0.95rem;
    }

    .department-icon {
        font-size: 3rem;
    }

    /* Event items */
    .event-content h3 {
        font-size: 1.2rem;
    }

    /* Books */
    .book-item {
        padding: 20px 15px;
    }

    .book-item h3 {
        font-size: 1.2rem;
    }

    .book-description {
        font-size: 0.95rem;
    }

    .books-cta {
        padding: 20px 15px;
    }

    /* Success Stories */
    .success-story-item {
        padding: 25px 20px;
    }

    .story-header {
        gap: 15px;
    }

    .story-image img {
        width: 70px;
        height: 70px;
    }

    .story-info h3 {
        font-size: 1.3rem;
    }

    .before-after {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .before,
    .after {
        padding: 15px;
    }

    /* Register */
    .register-form-container,
    .contact-info-container {
        padding: 30px 20px;
    }

    .register-section h2 {
        font-size: 2rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 0.95rem;
    }

    .btn-register {
        padding: 12px 25px;
        font-size: 0.95rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .copyright,
    .developer {
        font-size: 0.85rem;
    }

    /* Students */
    .student-logo {
        width: 90px;
        height: 90px;
    }

    .student-logo img {
        width: 100%;
        height: 100%;
    }
}

/* Extra Small Devices (Portrait Phones) */
@media (max-width: 576px) {
    .container {
        padding: 0 10px;
    }

    /* Header */
    .header-content {
        padding: 0 5px;
    }

    .logo img {
        height: 32px;
    }

    .btn-contact {
        padding: 6px 15px;
        font-size: 0.8rem;
    }

    .mobile-menu {
        padding: 10px;
        top: 65px;
    }

    .mobile-menu ul li a {
        padding: 10px 5px;
        font-size: 0.9rem;
    }

    /* Hero */
    .hero h1 {
        font-size: 2.8rem;
        letter-spacing: 0.5px;
        line-height: 1;
    }

    .hero .subtitle {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .hero-content {
        padding: 80px 5px 25px;
    }

    /* Sections */
    .video-section,
    .why-section,
    .growth-section,
    .event-info-section,
    .departments-section,
    .speaker-section,
    .books-section,
    .success-stories-section,
    .register-section {
        padding: 60px 0;
    }

    .video-section h2,
    .why-section h2,
    .event-info-section h2,
    .departments-section h2,
    .speaker-section h2,
    .books-section h2,
    .success-stories-section h2 {
        font-size: 1.8rem;
        margin-bottom: 35px;
        line-height: 1.2;
    }

    .video-container iframe {
        height: 280px;
    }

    /* Growth Section */
    .growth-text h2 {
        font-size: 2.2rem;
        line-height: 1.1;
    }

    .growth-text p {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .growth-text ul li {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }

    .growth-image img {
        max-height: 350px;
    }

    /* Speaker */
    .speaker-info h2 {
        font-size: 1.6rem;
        line-height: 1.1;
    }

    .speaker-title {
        font-size: 1rem;
    }

    .speaker-bio p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .speaker-achievements li {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }

    /* Grid items */
    .why-item,
    .department-item {
        padding: 18px 12px;
    }

    .why-number,
    .event-number {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    .why-content h3,
    .department-item h3 {
        font-size: 1.1rem;
        line-height: 1.3;
        margin-bottom: 12px;
    }

    .why-content p,
    .department-item p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .department-icon {
        font-size: 2.8rem;
        margin-bottom: 20px;
    }

    /* Event items */
    .event-item {
        padding: 20px 15px;
    }

    .event-content h3 {
        font-size: 1.1rem;
        line-height: 1.3;
    }

    .event-content ul li {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    /* Books */
    .book-item {
        padding: 18px 12px;
    }

    .book-item h3 {
        font-size: 1.1rem;
        line-height: 1.3;
    }

    .book-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .book-details {
        flex-direction: column;
        gap: 8px;
        font-size: 0.85rem;
    }

    .books-cta {
        padding: 18px 12px;
    }

    .books-cta p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .btn-books {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    /* Success Stories */
    .success-story-item {
        padding: 20px 15px;
    }

    .story-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .story-image img {
        width: 60px;
        height: 60px;
    }

    .story-info h3 {
        font-size: 1.2rem;
        line-height: 1.2;
    }

    .story-info .location,
    .story-info .business {
        font-size: 0.9rem;
    }

    .story-info .age,
    .story-info .business-type {
        font-size: 0.85rem;
    }

    .before,
    .after {
        padding: 12px;
    }

    .before h4,
    .after h4 {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .before ul li,
    .after ul li {
        font-size: 0.85rem;
        margin-bottom: 8px;
        line-height: 1.4;
    }

    /* Register */
    .register-form-container,
    .contact-info-container {
        padding: 25px 15px;
    }

    .register-section h2 {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }

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

    .form-group input,
    .form-group textarea {
        padding: 10px;
        font-size: 0.9rem;
    }

    .btn-register {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .register-info p {
        font-size: 0.9rem;
    }

    .contact-text h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .contact-text p {
        font-size: 0.9rem;
    }

    /* Students */
    .students-title h2 {
        font-size: 2rem;
    }

    .carousel-track {
        gap: 25px;
    }

    .student-logo {
        width: 80px;
        height: 80px;
    }

    .student-logo img {
        width: 100%;
        height: 100%;
    }

    /* Footer */
    .copyright,
    .developer {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

/* Very Small Devices (280px - 320px) */
@media (max-width: 320px) {
    .container {
        padding: 0 8px;
    }

    /* Header */
    .header-content {
        padding: 0 3px;
    }

    .logo img {
        height: 28px;
    }

    .btn-contact {
        padding: 5px 12px;
        font-size: 0.75rem;
    }

    .mobile-menu {
        padding: 8px;
    }

    .mobile-menu ul li a {
        padding: 8px 3px;
        font-size: 0.85rem;
    }

    /* Hero */
    .hero h1 {
        font-size: 2.4rem;
        letter-spacing: 0px;
        line-height: 0.95;
        margin-bottom: 15px;
    }

    .hero .subtitle {
        font-size: 1rem;
        margin-bottom: 18px;
        line-height: 1.4;
    }

    .hero-content {
        padding: 75px 3px 20px;
    }

    /* Sections */
    .video-section,
    .why-section,
    .growth-section,
    .event-info-section,
    .departments-section,
    .speaker-section,
    .books-section,
    .success-stories-section,
    .register-section {
        padding: 50px 0;
    }

    .video-section h2,
    .why-section h2,
    .event-info-section h2,
    .departments-section h2,
    .speaker-section h2,
    .books-section h2,
    .success-stories-section h2 {
        font-size: 1.6rem;
        margin-bottom: 30px;
        line-height: 1.1;
        padding: 0 5px;
    }

    .video-container iframe {
        height: 250px;
    }

    /* Growth Section */
    .growth-text h2 {
        font-size: 2rem;
        line-height: 1;
        margin-bottom: 15px;
    }

    .growth-text p {
        font-size: 0.95rem;
        margin-bottom: 20px;
        line-height: 1.5;
    }

    .growth-text ul li {
        font-size: 0.85rem;
        margin-bottom: 10px;
        padding-left: 25px;
    }

    .growth-image img {
        max-height: 300px;
    }

    /* Speaker */
    .speaker-info h2 {
        font-size: 1.4rem;
        line-height: 1;
        margin-bottom: 10px;
    }

    .speaker-title {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

    .speaker-bio p {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 12px;
    }

    .speaker-achievements li {
        font-size: 0.85rem;
        margin-bottom: 10px;
        padding-left: 25px;
    }

    /* Grid items */
    .why-item,
    .department-item {
        padding: 15px 10px;
    }

    .why-number,
    .event-number {
        font-size: 2rem;
        margin-bottom: 12px;
    }

    .why-content h3,
    .department-item h3 {
        font-size: 1rem;
        line-height: 1.2;
        margin-bottom: 10px;
    }

    .why-content p,
    .department-item p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .department-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    /* Event items */
    .event-item {
        padding: 18px 12px;
    }

    .event-content h3 {
        font-size: 1rem;
        line-height: 1.2;
        margin-bottom: 12px;
    }

    .event-content ul li {
        font-size: 0.85rem;
        margin-bottom: 6px;
        padding-left: 20px;
    }

    /* Books */
    .book-item {
        padding: 15px 10px;
    }

    .book-item h3 {
        font-size: 1rem;
        line-height: 1.2;
        margin-bottom: 10px;
    }

    .book-description {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 12px;
    }

    .book-details {
        font-size: 0.8rem;
        gap: 6px;
    }

    .books-cta {
        padding: 15px 10px;
    }

    .books-cta p {
        font-size: 0.85rem;
        margin-bottom: 12px;
        line-height: 1.4;
    }

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

    /* Success Stories */
    .success-story-item {
        padding: 18px 12px;
    }

    .story-header {
        gap: 10px;
        margin-bottom: 20px;
        padding-bottom: 15px;
    }

    .story-image img {
        width: 50px;
        height: 50px;
    }

    .story-info h3 {
        font-size: 1.1rem;
        line-height: 1.1;
        margin-bottom: 6px;
    }

    .story-info .location,
    .story-info .business {
        font-size: 0.85rem;
        margin-bottom: 3px;
    }

    .story-info .age,
    .story-info .business-type {
        font-size: 0.8rem;
        margin-bottom: 2px;
    }

    .before-after {
        gap: 15px;
    }

    .before,
    .after {
        padding: 10px;
    }

    .before h4,
    .after h4 {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }

    .before ul li,
    .after ul li {
        font-size: 0.8rem;
        margin-bottom: 6px;
        line-height: 1.3;
        padding-left: 18px;
    }

    /* Register */
    .register-wrapper {
        gap: 25px;
    }

    .register-form-container,
    .contact-info-container {
        padding: 20px 12px;
    }

    .register-section h2 {
        font-size: 1.6rem;
        margin-bottom: 20px;
        line-height: 1.1;
    }

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

    .form-group input,
    .form-group textarea {
        padding: 8px;
        font-size: 0.85rem;
    }

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

    .register-info p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .contact-item {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    .contact-icon {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }

    .contact-text h3 {
        font-size: 1rem;
        margin-bottom: 6px;
    }

    .contact-text p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    /* Students */
    .students-title h2 {
        font-size: 1.8rem;
        line-height: 1.1;
    }

    .carousel-track {
        gap: 20px;
    }

    .student-logo {
        width: 70px;
        height: 70px;
    }

    .student-logo img {
        width: 100%;
        height: 100%;
    }

    /* Footer */
    .footer-content {
        padding: 0 5px;
    }

    .copyright,
    .developer {
        font-size: 0.75rem;
        line-height: 1.3;
    }
}

/* Ultra Small Devices (280px and below) */
@media (max-width: 280px) {
    .container {
        padding: 0 5px;
    }

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

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

    .hero-content {
        padding: 70px 2px 18px;
    }

    .video-section h2,
    .why-section h2,
    .event-info-section h2,
    .departments-section h2,
    .speaker-section h2,
    .books-section h2,
    .success-stories-section h2 {
        font-size: 1.5rem;
        padding: 0 3px;
    }

    .video-container iframe {
        height: 220px;
    }

    .growth-text h2 {
        font-size: 1.8rem;
    }

    .speaker-info h2 {
        font-size: 1.3rem;
    }

    .why-number,
    .event-number {
        font-size: 1.8rem;
    }

    .department-icon {
        font-size: 2.2rem;
    }

    .register-section h2 {
        font-size: 1.5rem;
    }

    .students-title h2 {
        font-size: 1.6rem;
    }

    .student-logo {
        width: 60px;
        height: 60px;
    }

    .student-logo img {
        width: 100%;
        height: 100%;
    }
}

/* Animation Adjustments for Mobile */
@media (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0s !important;
    }

    [data-aos] {
        transition-duration: 0.6s !important;
    }
}

/* Performance optimizations for small screens */
@media (max-width: 576px) {

    .hero::before,
    .video-section::before,
    .why-section::before,
    .growth-section::before,
    .event-info-section::before,
    .departments-section::before,
    .speaker-section::before,
    .books-section::before,
    .success-stories-section::before,
    .register-section::before {
        display: none;
    }

    .why-item::before,
    .department-item::after,
    .event-item::before,
    .book-item::before,
    .success-story-item::before {
        display: none;
    }

    .why-item:hover,
    .department-item:hover,
    .event-item:hover,
    .book-item:hover,
    .success-story-item:hover {
        transform: none;
    }
}

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

    .carousel-track {
        animation: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --accent-color: #ffff00;
        --accent-color2: #ff0080;
        --text-color: #ffffff;
        --text-secondary: #ffffff;
    }

    .why-item,
    .department-item,
    .event-item,
    .book-item,
    .success-story-item,
    .register-form-container,
    .contact-info-container {
        border: 2px solid var(--accent-color);
    }
}