/* --- Variables & Global Resets --- */

/* Floating Language Switch Button */
.lang-switch {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 55px;
    height: 55px;
    background-color: var(--color-primary, #19C1B6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
}

.lang-switch:hover {
    transform: scale(1.1);
    background-color: var(--color-secondary, #FFC064);
}

.lang-switch span {
    user-select: none;
}

:root {
    --color-primary: #19C1B6; /* Bright Green/Teal */
    --color-secondary: #FFC064; /* Orange/Gold */
    --color-text-dark: #333333;
    --color-text-light: #555555;
    --color-background-light: #fefeff; /* Still white for areas outside hero */
    --color-button-hover: #F9A825; /* Darker orange for hover */
    --font-body: 'Pacifico';
    --color-teal: #4ac9b5;
    --color-dark-text: #333333;
    --color-white: #ffffff;
    --color-shadow: rgba(0, 0, 0, 0.1);
    --color-light-gray: #f3f4f6;
    --section-padding: 3rem 1rem;

    --gradient-start: #EDFEFC;
    --gradient-end: #FEF6EC;
}

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

body {
    font-family: sans-serif;
    line-height: 1.6;
    color: var(--color-text-light);
    background-color: var(--color-background-light); /* Still white for areas outside hero */
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1950px;
    margin: 0 auto;
    padding: 0 20px;
}

.icon-colored-yellow {
    color: var(--color-secondary);
}

.icon-colored-blue {
    color: #3498db;
}

/* --- Buttons --- */
.btn-primary,
.btn-apply-now {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-secondary);
    color: white;
    font-size: 1.1rem;
    box-shadow: 0 8px 15px rgba(255, 192, 100, 0.4); /* Shadow like in the image */
}

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

.btn-apply-now {
    padding: 8px 20px;
    background-color: white;
    color: var(--color-secondary);
    border: 1px solid var(--color-secondary);
    font-size: 1.5rem;
}

/* --- Announcement Bar --- */
.announcement-bar {
    background-color: var(--color-primary);
    color: white;
    text-align: center;
    padding: 8px 0;
    font-size: 0.9rem;
    font-weight: 600;
}

/* --- Header / Navbar --- */
.navbar {
    background-color: white;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 100; /* HIGH Z-INDEX: Ensures the header content is on top */
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3rem;
}

/* Logo Styling */
.logo {
    display: flex;
    align-items: center;
    line-height: 1;
    gap: 1rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
    color: var(--color-primary);
}

.logo-name {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.logo-tagline {
    font-size: 0.6rem;
    font-weight: 500;
}

.logo span{
    font-family: Fredoka, cursive;
    font-weight: 700;
    font-size: 2rem;
    color: var(--color-primary);
}

/* Navigation Links */
.nav-links a {
    text-decoration: none;
    color: var(--color-text-light);
    font-weight: 600;
    margin-left: 25px;
    font-size: 1.5rem;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-secondary);
}

/* Navigation Actions */
.nav-actions {
    display: flex;
    align-items: center;
}

.menu-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-text-dark);
    cursor: pointer;
    margin-left: 20px;
    padding: 0;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding: 70px 0 100px;
    background: linear-gradient(to bottom, var(--gradient-start) 0%, var(--gradient-end) 100%);
    overflow: hidden;
    z-index: 1;
}

/* Layout */
.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 45px 125px;
    flex-wrap: wrap;
    gap: 2rem;
}

.spiral {
    width: 100vw;
    height: 30px;
    background: url("assets/spiral.svg") repeat-x;
    background-size: auto 100%;
    z-index: 90;
    pointer-events: none;
}

/* --- Hero Text Content --- */
.hero-content {
    max-width: 45%;
    z-index: 20;
}

.hero-subtitle {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 33px;
    letter-spacing: 1px;
}

.hero-title {
    color: var(--color-text-dark);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-admission-date {
    color: var(--color-text-light);
    text-decoration: underline;
    font-weight: 500;
    text-decoration-color: var(--color-text-light);
    margin-bottom: 30px;
    letter-spacing: 1px;
}


.hero-image-container {
    position: relative;
    max-width: 40%;
    flex-shrink: 0;
    z-index: 1;
}

.hero-image {
    display: block;
    width: 100%;
    /* Reverting to a simpler clip-path that resembles the blob effect better */
    clip-path: polygon(
            20% -5%, 80% 10%, 100% 30%, 100% 70%, 80% 100%, 20% 100%, 0 70%, 0 5%
    );
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    filter: brightness(1.05);
}

/* Decorative SVG images */
.deco-element {
    position: absolute;
    opacity: 0.8; /* Slightly transparent */
    pointer-events: none; /* Make them ignore mouse events */
    z-index: 5; /* Place them between hero content and image */
}

.deco-smile {
    width: 110px; /* Adjust size as needed */
    height: auto;
    top: -10%; /* Position relative to hero-image-container */
    left: 80%;
    transform: rotate(-10deg);
    position: absolute;
}

.deco-smile-yellow {

}

.deco-face {
    height: auto;
    margin-bottom: 10px;
    transform: rotate(-10deg);
}

.deco-spiral-yellow {
    width: 110px; /* Adjust size as needed */
    height: auto;
    top: 10%; /* Position relative to hero-image-container */
    right: 120%;
    transform: rotate(-10deg);
}

.deco-cyan-blob {
    width: 90px; /* Adjust size */
    height: auto;
    bottom: -20px; /* Position relative to hero-image-container */
    right: 100%;
    transform: rotate(20deg);
}

.deco-sand-blob {
    width: 90px; /* Adjust size */
    height: auto;
    top: 100%;
    right: -20px; /* Position relative to hero-image-container */
    transform: rotate(30deg);
}


.program-card-photo {
    /* The actual image element inside the dark card wrapper */
    position: absolute;
    z-index: -1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image fills the container without distortion */
    border-radius: 5px; /* Add slight rounding to the photo itself */
    opacity: 0.5;
}

/*!* --- Icon Circle Styling --- *!*/
.icon-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2; /* Ensures it's above the dark background elements */
}

/*!* Light Card Icon *!*/
.icon-circle-light {
    background-color: #fff2e3; /* Light orange-beige background */
    border: 2px solid #ffcc80; /* Orange border */
    color: #f7a738; /* Orange icon color */
}

/* Dark Card Icon */
.icon-circle-dark {
    background-color: white;
    border: 3px solid #3498db;
    color: #3498db; /* Matching the background color */
}

/*!* --- View Details Button Styling --- *!*/
.view-details-btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s;
    margin-top: 20px;
    font-size: 0.9em;
}

/*!* Light Button Style *!*/
.btn-light {
    border: 2px solid #ffcc80; /* Orange border */
    color: #f7a738;
}

.btn-light:hover {
    background-color: #fff2e3;
}

/* Dark Button Style */
.btn-dark {
    background-color: white;
    color: #3498db; /* Matching the card color */
    border: 2px solid #3498db;
}

.btn-dark:hover {
    background-color: #e0f7fa;
}

.mugs-section {
    margin: 0 auto;
    padding: 6rem;
    max-width: 1200px;
}

.mugs-header {
    text-align: center;
    margin-bottom: 3rem;
}

.mugs-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-dark-text);
    margin-bottom: 0.5rem;
}

.mugs-header p {
    color: var(--color-text-medium);
    max-width: 32rem;
    margin: 0 auto;
    font-size: 1rem;
}

/* --- SLIDER STRUCTURE --- */
.mugs-slider-wrapper {
    position: relative;
    margin: 3rem 3rem;
}

.mugs-slider-container {
    overflow: hidden;
    touch-action: pan-y;
    border-radius: 1.5rem;
    padding: 2rem;
}

.mugs-slider-wrapper-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
    padding: 0.75rem 0;
}

/* --- CARD STYLES --- */
.mug-slide-card {
    flex-shrink: 0;
    width: calc(100% / 3);
    padding: 0 0.75rem;
    box-sizing: border-box;
}

.mug-card {
    background-color: var(--color-white);
    border-radius: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: space-between;
    height: 450px;
    padding: 50px 40px;
    border: 1px dashed var(--color-secondary);
}

.mug-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.mug-card img {
    border-radius: 1rem;
    height: 10rem;
    width: 100%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.mug-card h3, .mug-card h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
}

.mug-card p {
    color: var(--color-text-medium);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* --- Arrows --- */
.mugs-arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-primary);
    border: none;
    color: white;
    border-radius: 50%;
    padding: 0.75rem;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 2;
}

.mugs-arrow-btn:hover {
    background: var(--color-secondary);
}

.mugs-arrow-btn.prev { left: 0; }
.mugs-arrow-btn.next { right: 0; }

/* --- Pagination --- */
.mugs-pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    gap: 0.5rem;
}

.mugs-pagination-container .dot {
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    background: var(--color-border);
    cursor: pointer;
}

.mugs-pagination-container .dot.active {
    background: var(--color-primary);
}

/* --- INFO BOXES --- */
.info-grid {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    border-radius: 1.5rem;
}

.info-grid.teal {
    background-color: var(--color-teal);
}

.info-grid.orange {
    background-color: #e68900;
}

.info-grid.pink {
    background-color: pink;
}

.info-box {
    flex: 1;
    text-align: center;
    padding: 0.75rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.info-box span {
    display: block;
    font-weight: 400;
    font-size: 0.75rem;
}

.info-box {
    background-color: var(--color-teal-bg);
    color: white;
}



.program-section-container {
    display: flex;
    max-width: 1200px;
    width: 90%;
    margin: 50px auto;
    padding: 50px;
    border-radius: 10px;
    gap: 50px;
}

/* Image Section Styling */
.image-container {
    flex: 1; /* Takes up approximately half the space */
    position: relative;
    /* Center the image within its container for better positioning */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 7rem;

}

.program-image {
    width: 90%; /* увеличиваем ширину изображения больше, чем контейнер */
    max-width: none; /* убираем ограничение по ширине */
    height: auto;
    object-fit: cover;
    display: block;
    position: relative;
    transform: scale(1.2); /* можно дополнительно увеличить через масштаб */
}

/* Abstract Shape 1 (Orange/Brown Border Effect) */
.abstract-shape-1 {
    position: absolute;
    width: 100%;
    max-width: 460px; /* Slightly larger than the image */
    height: 100%;
    max-height: 500px;
    background: transparent;
    border: 5px solid #ffbc65; /* The orange/brown color */
    /* Same border radius as the image to serve as the background border */
    border-radius: 50% 50% 0 50% / 10% 70% 30% 90%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

/* Abstract Shape 2 (Wavy Lines) */
.abstract-shape-2 {
    position: absolute;
    bottom: 20px;
    right: 50px;
    width: 60px;
    height: 40px;
    z-index: 10;
    /* Create the wavy lines using a background gradient or multiple boxes */
    background: linear-gradient(to right, #6bb9b7 100%, transparent 100%) 0 0 / 100% 5px no-repeat,
    linear-gradient(to right, #6bb9b7 100%, transparent 100%) 0 15px / 100% 5px no-repeat,
    linear-gradient(to right, #6bb9b7 100%, transparent 100%) 0 30px / 100% 5px no-repeat;
    /* Apply a slight rotation/skew to mimic the hand-drawn feel */
    transform: rotate(10deg);
    opacity: 0.8;
}

/* Content Section Styling */
.content-container {
    flex: 1; /* Takes up the other half of the space */
    padding: 20px;
    padding-top: 50px;
}

.title {
    font-size: 2.5em;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.description {
    font-size: 1.05em;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
}

/* Statistics Grid Styling */
.stats-grid {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.stat-box {
    flex: 1;
    background-color: var(--color-teal); /* Teal/Aqua color */
    color: white;
    padding: 15px 10px;
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 600;
}

.stat-number {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-text {
    font-size: 0.85em;
    line-height: 1.2;
}

/* Features List Styling */
.features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1em;
    color: #555;
}

.icon {
    color: var(--color-teal); /* Teal/Aqua color for the icon */
    font-weight: 900;
    font-size: 1.2em;
    margin-right: 10px;
    /* Create the circular background */
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-teal);
    border-radius: 50%;
    line-height: 1;
    transform: rotate(90deg); /* Rotate the '>' to look like the arrow in the image */
}

/* Buttons Styling */
.buttons-container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.btn {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-primary {
    background-color: #ffbc65; /* Orange/Brown color */
    color: white;
    box-shadow: 0 4px 8px rgba(255, 188, 101, 0.4);
}

.btn-primary:hover {
    background-color: #e6a75a;
}

.btn-secondary {
    color: #555;
    display: flex;
    align-items: center;
    background-color: transparent;
    padding: 0;
    /* Mimic the play icon using a span/pseudo-element */
    position: relative;
    font-size: 1em;
}

.btn-secondary::before {
    content: '';
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    border: 2px solid #ffbc65; /* Orange ring */
    margin-right: 10px;
    position: relative;
    box-shadow: 0 0 0 5px rgba(255, 188, 101, 0.2); /* Subtle glow/shadow effect */
}

.btn-secondary::after {
    content: '▶'; /* Play icon */
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%) scale(0.7);
    color: #ffbc65;
    font-size: 1.2em;
}


/* Utility Container for Centering and Max-Width */
.page-content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;

}

.programs-section {
    margin: 0 auto;
    padding: 6rem;
    background: linear-gradient(to right, #f8eee6, #deeaf8);
}


/* --- HEADER STYLES --- */
.programs-header {
    text-align: center;
    margin-bottom: 3rem;
}

.programs-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
}

.programs-header p {
    color: var(--color-text-medium);
    max-width: 32rem;
    margin: 0 auto;
}

/* --- SLIDER STRUCTURE --- */
.programs-slider-wrapper {
    position: relative;
    margin: 3rem 3rem;
}

.slider-container {
    overflow: hidden;
    touch-action: pan-y;
    border-radius: 1.5rem;
    padding: 2rem
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    padding: 0.75rem 0;
}

/* --- CARD STYLES --- */
.slide-card {
    flex-shrink: 0;
    width: 100%;
    padding: 0 0.75rem;
    box-sizing: border-box;
}



.program-card {
    background-color: var(--color-white);
    padding: 1.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.program-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-4px);
}

.program-card img {
    border-radius: 1rem;
    height: 10rem;
    width: 100%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.program-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
}

.program-card p {
    color: var(--color-text-medium);
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

/* --- INFO BOXES --- */
.info-grid {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    border-radius: 1.5rem;
}

.info-grid.teal {
    background-color: var(--color-teal); /* запасной цвет, если картинка не загрузится */
}

.info-grid.orange {
    background-color: #e68900; /* запасной цвет, если картинка не загрузится */
}

.info-grid.pink {
    background-color: pink; /* запасной цвет, если картинка не загрузится */
}

.info-box {
    flex: 1;
    text-align: center;
    padding: 0.75rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.info-box span {
    display: block;
    font-weight: 400;
    font-size: 0.75rem;
}

.info-box {
    background-color: var(--color-teal-bg);
    color: white;
}

/* --- ARROWS --- */
.arrow-btn {
    position: absolute;
    z-index: 10;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--color-white);
    border: none;
    border-radius: 50%;
    padding: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background-color 0.15s, opacity 0.3s;
}

.arrow-btn:hover:not(:disabled) {
    background-color: #f3f4f6;
}

.arrow-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.arrow-btn.prev {
    left: -1rem;
}

.arrow-btn.next {
    right: -1rem;
}

.arrow-btn i {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-text-medium);
}

/* --- PAGINATION --- */
.pagination-container {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.pagination-dot {
    width: 10px;
    height: 10px;
    background: #d1d5db;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.pagination-dot.active {
    background: #e68900;
}


/* --- PAGINATION DOTS --- */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem; /* mt-8 */
    gap: 0.5rem; /* space-x-2 */
}

.pagination-dot {
    width: 0.75rem; /* w-3 */
    height: 0.75rem; /* h-3 */
    border-radius: 50%;
    background-color: #d1d5db; /* bg-gray-300 */
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
    outline: none;
}

.pagination-dot:hover {
    background-color: #9ca3af; /* hover:bg-gray-400 */
}

.pagination-dot.active {
    background-color: black; /* bg-gray-800 */
}

.faq-section {
    padding: var(--section-padding);
}

.faq-grid {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.faq-content-column {
    flex: 1 1 400px;
}

.faq-image-column {
    flex: 1 1 400px;
    display: flex;
    justify-content: center;
    position: relative;
}

.faq-image-container {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 5 / 4; /* keeps proportion */
    overflow: hidden;
    position: relative;
}

.faq-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-top: 3rem;
    border-radius: 12px;
    transition: transform 0.3s ease;
    clip-path: polygon(
            20% -5%, 80% 10%, 100% 30%, 100% 70%, 80% 100%, 20% 100%, 0 70%, 0 5%
    );
}

.faq-image:hover {
    transform: scale(1.03);
}

.image-decoration {
    position: absolute;
    bottom: 20px;
    left: -20px;
    z-index: 10;
    color: var(--color-teal);
}

.faq-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    line-height: 1.2;
}

/* ---- Accordion ---- */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px var(--color-shadow);
}

.accordion-header {
    color: var(--color-white);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}


.accordion-header-active {
    background-color: #e68900;
    color: var(--color-white);
    border: none;
}

.accordion-header-active .toggle-icon {
    color: var(--color-white);
}


.accordion-header-inactive {
    background-color: var(--color-white);
    color: var(--color-dark-text);
    border: 1px solid #e5e7eb;
    box-shadow: none;
}

.accordion-header-inactive:hover {
    background-color: var(--color-light-gray);
}

.accordion-header-inactive .toggle-icon {
    color: var(--color-teal);
}

.accordion-header-inactive .toggle-icon path {
    stroke: var(--color-teal);
}

.toggle-icon {
    transition: transform 0.3s ease;
}

.hidden {
    display: none !important;
}

/* ---- Content Panel ---- */
.accordion-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-top: none;
    color: #6b7280;
    transition: max-height 0.35s ease, padding 0.25s ease;
}

.accordion-content.active {

    padding: 1.5rem;
}

/* ---- Image ---- */
.faq-image-container {
    width: 500px;
    height: 400px;
    overflow: hidden;
    position: relative;
}


.faq-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-top: 3rem;
}

.image-decoration {
    position: absolute;
    bottom: 20px;
    left: -20px;
    z-index: 10;
    color: var(--color-teal);
}


.session-banner {
    position: relative;
    background-color: var(--color-teal); /* запасной цвет, если картинка не загрузится */
    background-size: cover;
    background-position: center;
    padding: 6rem 1rem;
    text-align: center;
    color: var(--color-white);
    margin-top: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden; /* чтобы before не выходил за границы */
}

.session-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("/assets/session-banner.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom 40%;
    opacity: 0.3; /* лёгкая прозрачность, как у newsletter */
    z-index: 0;
}

.session-banner::after {
    /* добавим градиент поверх фото для контраста текста */
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(74, 201, 181, 0.3); /* ещё меньше opacity */
    z-index: 0;
}

.session-banner * {
    position: relative;
    z-index: 1; /* чтобы текст был поверх фона */
}


.session-banner-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(74, 201, 181, 0.8); /* Teal with opacity */
    opacity: 0.2%;

}

.session-banner-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
}

.session-banner-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.session-banner-text {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.session-banner-button {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    border: none;
    border-radius: 30px;
    background-color: #e68900;
    color: var(--color-white);
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.session-banner-button:hover {
    background-color: #e68900;
    transform: translateY(-2px);
}

.teacher-section {
    padding: var(--section-padding);
    padding-top: 0;
}

.teacher-header {
    text-align: center;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.teacher-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.teacher-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    line-height: 1.6;
}

/* Teacher Cards Wrapper - Enables horizontal scroll */
.teacher-cards-wrapper {
    display: flex;
    gap: 1.5rem;
    padding-bottom: 1rem; /* Space for scrollbar */
    overflow-x: auto; /* MANDATORY for horizontal swiping */
    scroll-snap-type: x mandatory; /* Optional smooth snapping */
    -webkit-overflow-scrolling: touch; /* iOS smooth scrolling */
}

/* Hide scrollbar visually but keep function */
.teacher-cards-wrapper::-webkit-scrollbar {
    height: 8px;
}

.teacher-cards-wrapper::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.teacher-cards-wrapper::-webkit-scrollbar-track {
    background: var(--color-light-gray);
}


.teacher-card {
    flex-shrink: 0; /* Prevents cards from shrinking */
    width: 280px; /* Fixed width for each card */
    scroll-snap-align: start; /* Snap to the start of the card */
    background-color: var(--color-white);
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px var(--color-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.teacher-image-container {
    height: 300px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    position: relative;
    z-index: 1;
}

.teacher-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.3s ease;
}

.teacher-card:hover .teacher-image {
    transform: scale(1.05);
}

.teacher-info {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    text-align: center;
    /* Mimics the gradient fade up from the image */
    background: linear-gradient(to top, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
    margin-top: -50px; /* Overlap image slightly */
    position: relative;
    z-index: 2;
    border-radius: 0 0 16px 16px;
    padding-top: 50px;
}

.teacher-name {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--color-dark-text);
}

.teacher-role {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 500;
}

/* --- Custom Orange Footer (for Edith Nekesa card) --- */
.orange-footer {
    background-color: var(--color-orange);
    padding: 0.75rem 1.5rem;
    text-align: center;
    margin-top: 0.75rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-links a {
    color: var(--color-white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.8;
}


.testimonial-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.testimonial-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px var(--color-shadow);
    background-color: var(--color-white);
}

/* Left */
.media-column {
    position: relative;
    width: 50%;
    height: 450px;
    overflow: hidden;
}

.media-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%) brightness(75%);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.2);
}

/* Right */
.content-column {
    position: relative;
    width: 50%;
    padding: 3rem;
    color: var(--color-white);
    background-color: var(--color-teal);
    z-index: 1;
    overflow: hidden;
}

.quote-mark {
    font-size: 15rem;
    line-height: 1;
    opacity: 0.1;
    font-weight: 900;
    user-select: none;
    position: absolute;
    bottom: -3rem;
    right: 0rem;
    z-index: 0;
}

/* Slides */
.testimonial-slides {
    position: relative;
}

.testimonial-slide {
    display: none;
    transition: opacity 0.6s ease;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Text */
.testimonial-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.625;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--color-white);
}

.author-name {
    font-weight: 600;
    font-size: 1.125rem;
}

/* Controls */
.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.pagination-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: var(--color-white);
    border-radius: 50%;
    opacity: 0.4;
    cursor: pointer;
    transition: opacity 0.3s;
}

.dot.active {
    opacity: 1;
}

.arrow {
    background: none;
    border: 2px solid var(--color-white);
    color: var(--color-white);
    font-size: 1.25rem;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

.arrow:hover {
    background: var(--color-white);
    color: var(--color-teal);
}


/* --- NEWS / BLOG SECTION STYLES --- */
.news-section {
    padding: var(--section-padding);
    padding-bottom: 200px;
    position: relative;
}

.news-header {
    margin-bottom: 2rem;
}

.news-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.news-subtitle {
    font-size: 1rem;
    color: #6b7280;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.news-card {
    background-color: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.news-card-image-placeholder {
    height: 180px;
    overflow: hidden;
    border-bottom: 1px solid #e5e7eb;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.news-card-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}




.news-card-content {
    padding: 1rem;
}

.news-card-meta {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.news-card-meta span {
    margin-right: 1rem;
}

.news-card-link {
    text-decoration: none;
    color: var(--color-dark-text);
}

.news-card-link:hover .news-card-title {
    color: var(--color-teal);
}

.news-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s ease;
}

/* --- NEWSLETTER SECTION STYLES (UPDATED) --- */
.newsletter-section-wrapper {
    /* This wrapper is added to handle the spacing around the rounded card */
    margin-top: 1rem;
    background-color: var(--color-light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 13%;
    height: 1%;
}

.newsletter-section {
    background-color: var(--color-teal);

    padding: 5rem 15rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 16px; /* Added large border radius */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); /* Added subtle shadow */
}

/* Background image with fun illustration */
.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("/assets/newsletter.jpg");
    /* Placeholder SVG for the animal/nature illustration */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom 45%;
    opacity: 0.1;
    z-index: 0;
}

.newsletter-content {
    position: relative;
    z-index: 1;
    color: var(--color-white);
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-heading {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.newsletter-text {
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    align-items: center; /* Center items vertically */
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Added input label for the clean look */
.input-label {
    color: var(--color-white);
    font-weight: 500;
    /* Hide visually but keep accessible for simple form */
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.newsletter-input {
    padding: 0.75rem 1.5rem; /* Increased padding */
    border-radius: 25px; /* Rounded pill shape */
    border: none;
    width: 70%;
    max-width: 300px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.newsletter-button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px; /* Rounded pill shape */
    background-color: #ff9800; /* Orange color from image */
    color: var(--color-white);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.newsletter-button:hover {
    background-color: #e68900;
    transform: translateY(-1px);
}

/* --- FOOTER STYLES --- */
.footer {
    padding: 15rem 6rem 2rem 2rem;
    background: linear-gradient(to right, #f8eee6, #deeaf8);

}

/* === Grid layout === */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: flex-start;
    gap: 3rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 2.5rem;
}

/* === Logo section === */
.footer-logo {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-teal);
    margin-bottom: 1rem;
}

.logo-icon {
    background-color: var(--color-teal);
    color: var(--color-white);
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    font-size: 1rem;
    margin-right: 0.5rem;
}

.footer-text {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
    max-width: 320px;
}

/* === Headings === */
.footer-links h4,
.footer-contact h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-dark-text);
    margin-bottom: 1rem;
}

/* === Links === */
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: #6b7280;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-teal);
}

/* === Contact section === */
.footer-contact {
    display: flex;
    flex-direction: column;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #6b7280;
    font-size: 0.95rem;
}

.footer-contact-item svg {
    width: 1.1rem;
    height: 1.1rem;
    color: var(--color-teal);
    flex-shrink: 0;
    transition: transform 0.2s ease, color 0.3s ease;
}

.footer-contact-item p {
    margin: 0.5rem;
}

.footer-contact-item:hover svg {
    transform: scale(1.15);
    color: var(--color-dark-text);
}

/* === Bottom line === */
.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    font-size: 0.875rem;
    color: #9ca3af;
}

/* ==============================
   ✅ 1. DESKTOP FIRST (Default)
   ============================== */
/* Base styles go here (no media query) */

@media (max-width: 1300px) {
    .faq-grid {
        flex-wrap: wrap;
        gap: 3rem;
        justify-content: center;
    }

    .faq-image-container {

        aspect-ratio: 4 / 3;
    }

    .faq-image {
        margin-top: 2rem;
    }
}

/* ==============================
   ✅ 2. LARGE SCREENS (1200px ↓)
   ============================== */


/* ==============================
   ✅ 3. LAPTOP / TABLET LANDSCAPE (1024px ↓)
   ============================== */
@media (max-width: 1200px) {

    :root { --section-padding: 2rem 1rem; }
    /* Navigation */
    .navbar .container { flex-wrap: wrap; }
    .nav-links {
        display: none;
        width: 100%;
        order: 3;
        flex-direction: column;
        text-align: center;
        padding: 10px 0;
    }
    .nav-links.open { display: flex; }
    .nav-links a { margin: 10px 0; }
    .menu-toggle { display: block; }
    .nav-actions { order: 2; }
    .nav-actions a { display: none; }

    .deco-spiral-yellow { top: -20px; left: -20px; width: 80px; }
    .deco-cyan-blob { bottom: -10px; left: 5%; width: 50px; }
    .deco-sand-blob { top: 15%; right: -10px; width: 70px; }

    /* Testimonials */
    .testimonial-container { flex-direction: column; }
    .media-column, .content-column { width: 100%; }
    .content-column { padding: 2rem; }

    /* Footer: Two columns */
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-logo-section { grid-column: span 2; }
    .mugs-section {
        padding: 4rem 2rem;
    }

    .mug-slide-card {
        width: calc(100% / 2); /* 2 per row */
    }

    .mug-card {
        height: auto;
        padding: 40px 30px;
    }

    .mugs-header h2 {
        font-size: 2rem;
    }

    .hero-section .container {
        padding: 40px 60px;
    }
    .hero-content {
        max-width: 50%;
    }
    .hero-title {
        font-size: clamp(2rem, 3vw, 2.8rem);
    }
    .hero-subtitle {
        font-size: clamp(1rem, 1.5vw, 1.3rem);
    }

    .slide-card { width: 100%; padding: 0 0.5rem; }
    .program-card img { height: 8rem; }
    .program-card h3 { font-size: 1.1rem; }
    .program-card p { font-size: 0.8rem; }

    .info-grid { flex-direction: column; gap: 0.25rem; }
    .info-box { font-size: 0.75rem; padding: 0.5rem; }
    .arrow-btn { padding: 0.5rem; }
    .pagination-dot { width: 0.6rem; height: 0.6rem; }


}


/* ==============================
   ✅ 4. TABLET (992px ↓)
   ============================== */
@media (max-width: 992px) {
    /* Program Cards */
    .program-cards-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .program-card,
    .program-card-dark {
        max-width: 80%;
        width: 100%;
        min-height: auto;
        padding: 40px 30px;
    }

    /* Program Section Layout */
    .program-section-container {
        flex-direction: column;
        padding: 30px;
    }

    .image-container {
        margin-bottom: 30px;
        padding-left: 0;
    }

    .program-image,
    .abstract-shape-1 {
        max-width: 100%;
        height: auto;
    }

    .content-container { padding-top: 0; }

    /* Statistics Grid */
    .stats-grid { flex-wrap: wrap; }
    .stat-box { flex-basis: calc(50% - 7.5px); }
    .stat-box:last-child { flex-basis: 100%; }

    .buttons-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .btn-primary {
        width: 100%;
        text-align: center;
    }

    .faq-grid {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .faq-image-container {
        width: 100%;
        margin: 0 auto;
        aspect-ratio: 4 / 3;
    }

    .faq-image {
        margin-top: 1.5rem;
    }

    .image-decoration {
        display: none; /* hide decoration for cleaner mobile look */
    }
}


/* ==============================
   ✅ 5. TABLET PORTRAIT / SMALL TABLET (768px ↓)
   ============================== */
@media (max-width: 768px) {

    /* Hero Section */
    .hero-section .container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content,
    .hero-image-container { max-width: 100%; }
    .hero-content { margin-bottom: 40px; }
    .hero-title { font-size: 2.5rem; }
    .hero-image-container {
        width: 80%;
        margin-top: 20px;
    }
    .deco-element { display: none; }

    /* Teachers */
    .teacher-header { margin-bottom: 1.5rem; }
    .teacher-title { font-size: 1.75rem; }
    .teacher-subtitle { font-size: 1rem; }
    .teacher-cards-wrapper {
        flex-wrap: wrap;
        justify-content: center;
        overflow-x: visible;
    }
    .teacher-card { width: 100%; max-width: 320px; }

    /* Testimonials */
    .testimonial-section { padding: 1rem; }
    .testimonial-container { box-shadow: none; }
    .media-column { height: 250px; }
    .testimonial-title { font-size: 1.5rem; }
    .testimonial-text { font-size: 1rem; }

    /* News */
    .news-section { padding-bottom: 4rem; }
    .news-title { font-size: 1.5rem; }
    .news-subtitle { font-size: 1rem; }

    /* Newsletter */
    .newsletter-section-wrapper {
        position: static;
        margin: 2rem 1rem;
        height: auto;
    }
    .newsletter-section { padding: 2rem 1.5rem; }
    .newsletter-heading { font-size: 1.25rem; }
    .newsletter-text { font-size: 0.95rem; }

    /* Footer */
    .footer { padding: 4rem 1.5rem 2rem; }
    .footer-logo { justify-content: center; }
    .footer-text { text-align: center; margin: 0 auto; }
    .footer-links, .footer-contact { text-align: center; }
    .footer-contact-item { justify-content: center; }
    .footer-bottom { font-size: 0.8rem; padding-top: 1rem; }

    .mugs-section {
        padding: 3rem 1.5rem;
    }

    .mugs-slider-wrapper {
        margin: 2rem 0;
    }

    .mug-slide-card {
        width: 100%; /* 1 per row */
    }

    .mug-card {
        padding: 2.5rem 2rem;
        max-width: 360px;
        margin: 0 auto;
    }

    .mugs-header h2 {
        font-size: 1.8rem;
    }

    .mugs-header p {
        font-size: 0.95rem;
        padding: 0 1rem;
    }

    .mugs-arrow-btn {
        padding: 0.6rem;
    }

    .hero-section .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 2rem 1.5rem;
    }
    .hero-content,
    .hero-image-container {
        max-width: 100%;
    }
    .hero-content {
        margin-bottom: 2rem;
    }
    .hero-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }
    .hero-subtitle {
        font-size: clamp(1rem, 3vw, 1.3rem);
    }
    .hero-admission-date {
        font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    }
    .deco-element {
        display: none;
    }

    .slide-card {
        flex: 0 0 100%; /* 1 per row */
        max-width: 480px;
        margin: 0 auto 1.25rem;
        padding: 1.5rem 1.25rem;
    }
}


/* ==============================
   ✅ 6. LARGE PHONE / SMALL TABLET (640px ↓)
   ============================== */
@media (max-width: 640px) {
    .programs-section { padding: 2rem 1rem; }
    .programs-slider-wrapper { margin: 1.5rem 0; }

    .slide-card { width: 100%; padding: 0 0.5rem; }
    .program-card img { height: 8rem; }
    .program-card h3 { font-size: 1.1rem; }
    .program-card p { font-size: 0.8rem; }

    .info-grid { flex-direction: column; gap: 0.25rem; }
    .info-box { font-size: 0.75rem; padding: 0.5rem; }
    .arrow-btn { padding: 0.5rem; }
    .pagination-dot { width: 0.6rem; height: 0.6rem; }

    /* Footer single column */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-logo-section { grid-column: span 1; }

    .mugs-section {
        padding: 2.5rem 1rem;
    }

    .mugs-header h2 {
        font-size: 1.6rem;
    }

    .mugs-header p {
        font-size: 0.9rem;
    }

    .mug-card {
        height: auto;
        padding: 2rem 1.5rem;
    }

    .mug-card p {
        font-size: 0.85rem;
    }

    .mugs-arrow-btn {
        display: none; /* hide arrows, use swipe or dots */
    }
}


/* ==============================
   ✅ 7. MEDIUM PHONE (500px ↓)
   ============================== */
@media (max-width: 500px) {
    .newsletter-form {
        flex-direction: column;
        gap: 0.5rem;
    }
    .newsletter-input {
        width: 100%;
        max-width: none;
    }
    .newsletter-button {
        width: 100%;
        justify-content: center;
    }

    .hero-section {
        padding: 60px 0 80px;
    }
    .hero-section .container {
        padding: 1.5rem 1rem;
    }
    .hero-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        line-height: 1.25;
    }
    .hero-subtitle {
        font-size: clamp(0.95rem, 4vw, 1.2rem);
    }
    .hero-admission-date {
        font-size: clamp(0.9rem, 3.5vw, 1rem);
    }
    .btn-primary {
        width: 100%;
        font-size: 1rem;
    }
    .hero-image-container {
        width: 90%;
        margin: 1rem auto 0;
    }

    .faq-image-column{
        display: none;
    }
}


/* ==============================
   ✅ 8. SMALL PHONE (430px ↓)
   ============================== */
@media (max-width: 430px) {
    /* Typography */
    h1 { font-size: 1.8rem; line-height: 1.2; text-align: center; }
    h2 { font-size: 1.4rem; line-height: 1.3; text-align: center; }
    h3 { font-size: 1.2rem; }

    .teacher-title,
    .testimonial-title,
    .news-title { font-size: 1.25rem; }

    .teacher-card { max-width: 280px; }

    /* Newsletter */
    .newsletter-section { padding: 1.5rem; }
    .newsletter-button { padding: 0.6rem 1rem; width: 100%; }

    /* Layout fixes */
    .row, .grid, .cards {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    button, .btn {
        width: 100%;
        padding: 14px;
        font-size: 1rem;
        border-radius: 8px;
    }

    form input, form select, form textarea {
        width: 100%;
        font-size: 1rem;
        padding: 12px;
    }

    .mugs-section {
        padding: 2rem 1rem;
    }

    .mugs-header h2 {
        font-size: 1.4rem;
        line-height: 1.3;
    }

    .mugs-header p {
        font-size: 0.85rem;
    }

    .mug-card {
        padding: 1.5rem;
        border-radius: 1rem;
    }

    .mug-card h2 {
        font-size: 1.1rem;
    }

    .mug-card p {
        font-size: 0.8rem;
    }

    .view-details-btn {
        width: 100%;
        font-size: 0.9rem;
        padding: 0.75rem;
    }

    .arrow-btn{
        display: none;
    }
}


/* ==============================
   ✅ 9. WIDTH-BASED LAYOUTS (MIN WIDTH)
   ============================== */
@media (min-width: 640px) and (max-width: 1023px) {
    .mug-slide-card, .slide-card { width: calc(100% / 2); }
}

@media (min-width: 1024px) {
    .mug-slide-card, .slide-card { width: calc(100% / 3); }
}

/* Hide toggle button on large screens */
@media (min-width: 1025px) {
    .menu-toggle { display: none; }
}
