/* =========================================
   1. Reset & Base Styles
   ========================================= */
:root {
    --primary-color: #0d2c56;
    /* Deep Navy */
    --secondary-color: #0088cc;
    /* Bright Blue */
    --accent-color: #f1c40f;
    /* Gold */
    --success-color: #27ae60;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #ddd;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --font-heading: 'Georgia', serif;
    /* Fallback for Playfair */
    --font-body: 'Arial', sans-serif;
    /* Fallback for Poppins */
    --radius-md: 8px;
    --radius-lg: 12px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   2. Header & Navigation
   ========================================= */
.main-header {
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 15px;
    font-size: 0.85rem;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.top-bar a {
    color: var(--white);
    font-weight: 500;
}

.top-bar a:hover {
    color: var(--accent-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    max-width: 100%;
    margin: 0 auto;
    flex-wrap: nowrap;
    /* Prevent wrapping */
}

.logo {
    flex: 0 1 auto;
    /* Allow shrinking but prioritize content */
    margin-right: 5px;
}

.logo img {
    max-height: 80px;
    /* Constraint height but allow smaller */
    width: auto;
    max-width: 100%;
    /* Ensure it doesn't overflow container */
    object-fit: contain;
    /* Maintain aspect ratio */
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 5px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 15px 8px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    white-space: nowrap;
    color: var(--primary-color);
}

.nav-link:hover,
.nav-item:hover>.nav-link {
    color: var(--secondary-color);
    background-color: var(--bg-light);
    border-radius: 4px;
}

/* Dropdown Menus */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 250px;
    box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--secondary-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.nav-item:hover>.dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item a {
    display: block;
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
    color: var(--text-color);
    font-size: 0.9rem;
}

.dropdown-item a:hover {
    background-color: #f9f9f9;
    color: var(--secondary-color);
    padding-left: 25px;
}

/* Nested Dropdowns */
.dropdown .dropdown {
    top: 0;
    left: 100%;
    margin-top: -3px;
}

/* Mobile Menu Button (Hidden on Desktop) */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
}

/* =========================================
   3. Hero Section (Static Image)
   ========================================= */
.hero-section {
    position: relative;
    width: 100%;
    /* Remove fixed height to allow image to dictate height, or keep it if aspect ratio is important. 
       Let's keep a max-height to prevent it from being too tall on large screens. */
    max-height: 600px;
    overflow: hidden;
    background-color: #000;
}

.hero-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.static-hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    /* Ensures image covers the area nicely */
}

/* =========================================
   4. Notices & Updates Section
   ========================================= */
.notice-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 60px 20px;
    max-width: 1300px;
    margin: 0 auto;
}

.notice-column {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.notice-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 15px;
    text-align: center;
    font-family: var(--font-heading);
    font-weight: bold;
    font-size: 1.2rem;
}

.notice-content {
    padding: 20px;
    flex: 1;
}

.marquee-container {
    height: 350px;
    overflow: hidden;
    position: relative;
}

.marquee-container marquee {
    height: 100%;
}

/* =========================================
   5. Highlights (About & Video)
   ========================================= */
.highlight-section {
    background-color: var(--white);
    padding: 60px 20px;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.highlight-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

/* =========================================
   6. Features Grid (Our AAC)
   ========================================= */
.features-section {
    padding: 60px 20px;
    background-color: #f4f7f6;
    /* Very light slate/gray background from image */
    overflow: hidden;
    /* For scrolling */
    text-align: center;
}

/* Fallback for old design */
/* Horizontal Scroll Container */
.features-scroll-window {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 30px 0;
    /* Soft edge fade horizontal */
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.features-scroll-track {
    display: flex;
    flex-direction: row;
    width: max-content;
    gap: 30px;
    animation: featureHorizontalScroll 40s linear infinite;
}

.features-scroll-track:hover {
    animation-play-state: paused;
}

@keyframes featureHorizontalScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 15px));
        /* -50% for the duplicated content + half the gap */
    }
}

.features-grid {
    display: flex;
    flex-direction: row;
    gap: 30px;
    padding: 0 15px;
}

.feature-card {
    background: #fff;
    width: 280px;
    flex-shrink: 0;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-top: 5px solid var(--secondary-color);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.feature-image {
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-image img {
    transform: scale(1.08);
}

.feature-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-top-color: var(--accent-color);
}

.feature-title {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.feature-link {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-link {
    color: var(--accent-color);
    transform: translateX(5px);
}

/* NEW DESIGN: Header */
.courses-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    max-width: 1200px;
    /* Alumnus/Course container width */
    margin: 0 auto 30px auto;
}

.courses-header-left {
    flex: 1;
}

.courses-subtitle {
    color: #0066cc;
    /* Bright blue uppercase */
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
    font-family: 'Arial', sans-serif;
}

.courses-title {
    color: #1a2a40;
    /* Dark navy */
    font-size: 2.4rem;
    font-weight: 800;
    margin: 0;
    font-family: var(--font-heading);
    line-height: 1.2;
}

.courses-view-btn {
    background-color: #0066cc;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: background-color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.courses-view-btn:hover {
    background-color: #0052a3;
    color: #ffffff;
}

/* NEW DESIGN: Scrolling Track */
.courses-scroll-container {
    width: 100%;
    overflow: hidden;
    padding: 10px 0 40px 0;
}

.courses-scroll-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: slowScroll 40s linear infinite;
}

.courses-scroll-track:hover {
    animation-play-state: paused;
}

@keyframes slowScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 10px));
    }

    /* 10px is half gap */
}

/* NEW DESIGN: Image Cards */
.course-card {
    width: 290px;
    height: 310px;
    /* Slightly taller than square to match image */
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    /* Align title to bottom */
    justify-content: center;
    text-decoration: none;
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-8px);
}

/* Gradient overlay at bottom */
.course-card::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.course-title {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    text-align: center;
    margin: 0;
    padding: 0 20px 25px 20px;
    /* Space from bottom */
    font-family: 'Arial', sans-serif;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* =========================================
   7. Footer
   ========================================= */
.main-footer {
    background-color: #081b36;
    /* Darker navy based on image */
    color: #e0e0e0;
    padding: 60px 0 20px;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 Columns */
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-widget h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.2rem;
    font-weight: 700;
}

/* Identity Widget (Logo/Address) */
.identity-widget p {
    margin-bottom: 5px;
    line-height: 1.4;
    color: #cbd5e1;
}

.identity-widget a {
    color: #64b5f6;
}

.identity-widget a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.footer-logo {
    margin-bottom: 20px;
}

/* Links Lists */
.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b0bec5;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

/* Contact Widget */
.contact-details p {
    margin-bottom: 5px;
    color: #b0bec5;
}

.contact-label {
    color: var(--white) !important;
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 2px !important;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #1e3a5f;
    color: #78909c;
    font-size: 0.85rem;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   8. Components (Buttons, Titles, etc.)
   ========================================= */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    font-family: var(--font-heading);
}

/* Animated Underline for Section Titles */
.animated-underline {
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.animated-underline::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 80px;
    /* Initial width */
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.animated-underline:hover::after {
    width: 100%;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 50px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    width: 100%;
    margin-bottom: 10px;
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-success {
    background: var(--success-color);
    color: var(--white);
}

.btn-accent {
    background: var(--accent-color);
    color: var(--primary-color);
}

.btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
    box-shadow: var(--shadow-md);
}

/* =========================================
   9. Responsive Design
   ========================================= */
@media (max-width: 900px) {
    .highlight-grid {
        grid-template-columns: 1fr;
    }

    .features-header-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

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

    .nav-menu {
        display: none;
        /* Hide default menu */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        border-top: 1px solid #eee;
    }

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

    .nav-list {
        flex-direction: column;
        width: 100%;
    }

    .dropdown {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 20px;
        display: none;
    }

    .nav-item:hover .dropdown {
        display: block;
    }

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

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

/* =========================================
   3. Hero Carousel
   ========================================= */
.hero-section {
    position: relative;
    width: 100%;
    height: 600px;
    max-height: 80vh;
    overflow: hidden;
    background-color: #000;
}

.hero-carousel {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlay for Carousel Images */
.carousel-slide::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Black overlay with 40% opacity */
    z-index: 1;
}

/* Carousel Quote / Caption */
/* Carousel Quote / Caption (Static Bottom Left with Grey Box) */
.carousel-quote {
    position: absolute;
    bottom: 40px;
    left: 40px;
    /* Static position */
    color: #fff;
    background: rgba(80, 100, 85, 0.85);
    /* Greenish-Grey background */
    padding: 15px;
    border-radius: 5px;
    width: 25%;
    /* Fixed width as requested */
    font-size: 1.5rem;
    /* Slightly smaller to fit in box */
    font-weight: 700;
    z-index: 2;
    text-shadow: none;
    /* Remove shadow as we have background */
    white-space: normal;
    /* Allow wrapping */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    animation: none;
    /* No scrolling */
}

/* Scroll Animation Removed */

@media (max-width: 768px) {
    .carousel-quote {
        font-size: 1.2rem;
        bottom: 20px;
        left: 20px;
    }
}


.carousel-nav {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    pointer-events: none;
    z-index: 2;
}

.prev-btn,
.next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 16px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 0 3px 3px 0;
    pointer-events: auto;
    transition: background-color 0.3s;
}

.next-btn {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev-btn:hover,
.next-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: 10px;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 2px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active,
.dot:hover {
    background-color: #fff;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .hero-section {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 250px;
    }
}

/* Blinking New Badge */
@keyframes blink-animation {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.blink-badge {
    animation: blink-animation 1s infinite;
    background-color: #ff0000 !important;
    /* Bright Red */
    color: #fff !important;
    font-weight: bold;
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
    border: 1px solid #fff;
}

@media (max-width: 600px) {
    .feature-card-new {
        width: 280px;
        height: 380px;
    }
}

/* =========================================
   AAC MODERN SECTION
========================================= */

.aac-section {
    padding: 80px 20px;
    background: #f5f8fb;
}

/* Header */
.aac-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    max-width: 1200px;
    margin: 0 auto 40px auto;
}

.aac-subtitle {
    color: #0066cc;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

.aac-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a2a40;
    margin: 0;
}

/* View Button */
.aac-view-btn {
    background-color: #0066cc;
    color: #fff;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: 0.3s;
}

.aac-view-btn:hover {
    background-color: #004c99;
}

/* Scroll Container */
.aac-scroll-container {
    width: 1400px;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    position: relative;

    /* Fog fade effect */
    /* mask-image: linear-gradient(to right,
            transparent 0%,
            black 50%,
            black 500%,
            transparent 100%);

    -webkit-mask-image: linear-gradient(to right,
            transparent 0%,
            black 58%,
            black 500%,
            transparent 100%); */
}

.aac-scroll-track {
    display: flex;
    gap: 25px;
    width: max-content;
    animation: aacScroll 40s linear infinite;
}

.aac-scroll-track:hover {
    animation-play-state: paused;
}

/* Card */
.aac-card {
    width: 300px;
    height: 320px;
    min-width: 300px;
    flex-shrink: 0;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.aac-card:hover {
    transform: translateY(-8px);
}

/* Gradient Overlay */
.aac-card::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
}

.aac-card-title {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    padding: 25px;
    margin: 0;
}

.aac-card {
    position: relative;
    overflow: hidden;
}

.aac-card::after {
    animation: shineMove 30s infinite;
}

/* Shine Effect */
.aac-card:hover::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.5) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    pointer-events: none;
}

.aac-card:hover::after {
    animation: shineMove 1s ease forwards;
}

@keyframes shineMove {
    0% {
        left: -75%;
    }

    100% {
        left: 125%;
    }
}

/* Animation */
@keyframes aacScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50%));
    }
}

/* =========================================
   4. Responsive AAC Section
   ========================================= */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .aac-section {
        padding: 60px 15px;
    }

    .aac-header-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        max-width: 100%;
        margin: 0 auto 30px auto;
    }

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

    .aac-card {
        width: 280px;
        height: 280px;
        min-width: 280px;
    }

    .aac-scroll-track {
        gap: 20px;
    }
}

/* Small Tablet (600px - 767px) */
@media (max-width: 767px) {
    .aac-section {
        padding: 50px 10px;
    }

    .aac-header-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .aac-title {
        font-size: 1.6rem;
    }

    .aac-subtitle {
        font-size: 0.75rem;
    }

    .aac-view-btn {
        padding: 10px 16px;
        font-size: 0.75rem;
    }

    .aac-card {
        width: 240px;
        height: 240px;
        min-width: 240px;
    }

    .aac-card-title {
        font-size: 1.1rem;
        padding: 20px;
    }

    .aac-scroll-track {
        gap: 15px;
    }
}

/* Mobile (480px - 599px) */
@media (max-width: 599px) {
    .aac-section {
        padding: 40px 10px;
    }

    .aac-header-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .aac-title {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }

    .aac-subtitle {
        font-size: 0.7rem;
        margin-bottom: 5px;
    }

    .aac-view-btn {
        padding: 8px 14px;
        font-size: 0.7rem;
        width: 100%;
        text-align: center;
    }

    .aac-card {
        width: 200px;
        height: 200px;
        min-width: 200px;
    }

    .aac-card-title {
        font-size: 0.95rem;
        padding: 15px;
    }

    .aac-scroll-track {
        gap: 12px;
    }

    .aac-card::before {
        height: 50%;
    }
}

/* Small Mobile (320px - 479px) */
@media (max-width: 479px) {
    .aac-section {
        padding: 30px 8px;
    }

    .aac-header-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .aac-title {
        font-size: 1.2rem;
        line-height: 1.3;
    }

    .aac-subtitle {
        font-size: 0.65rem;
    }

    .aac-view-btn {
        padding: 6px 12px;
        font-size: 0.65rem;
        width: 100%;
        text-align: center;
    }

    .aac-card {
        width: 170px;
        height: 170px;
        min-width: 170px;
    }

    .aac-card-title {
        font-size: 0.85rem;
        padding: 12px;
    }

    .aac-scroll-track {
        gap: 10px;
    }

    .aac-card::before {
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    }
}