/* =========================
   VARIABLES & RESET
========================= */
:root {
    --primary-color: #d5424d;
    --secondary-color: #f7ac38;
    --tertiary-color: #fbac1b;
    --accent-color: #104499;
    --teal-color: #61bbbf;
    --dark-teal: #0a5e64;
    --navy-color: #01354a;
    --dark-color: #01354a;
    --light-color: #f5f5f5;
    --text-color: #1a1a1a;
    --text-light: #4d4d4d;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 8px;
    --box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
    overflow-x: hidden;
    min-width: 320px;
    scroll-behavior: smooth;
}

/* =========================
   BASE ELEMENTS
========================= */

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}
a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    font-weight: 500;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Subtitle that sits under section titles (used on about page hero) */
.section-subtitle {
    text-align: center;
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 900px;
    margin: 0.5rem auto 2rem auto;
}

p, li, blockquote, .footer-bottom, .testimonial {
    text-align: start;
}

.testimonial-section {
    background-color: var(--light-color);
    padding: 3rem 0;
}

.testimonial {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial blockquote {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    quotes: initial;
  padding-left: 2.2em; /* More space for the opening quote */
    overflow: visible;
}
.testimonial blockquote::before {
    content: open-quote;
    font-size: 3rem;
    color: var(--primary-color);
    position: absolute;
  left: 0.05em; /* Place the quote outside the text */
  top: -0.25em;
    line-height: 1;
    pointer-events: none;
}
.testimonial blockquote::after {
    content: close-quote;
  font-size: 3rem;
  color: var(--primary-color);
  position: absolute;
    right: 1.5em;
    bottom: -0.2em;
  line-height: 1;
}
.testimonial cite {
    font-weight: 600;
    color: var(--dark-color);
}

/* Make testimonial paragraphs slightly smaller and more compact */
.testimonial-text {
  font-size: 0.95rem; /* slightly smaller than body copy */
  line-height: 1.45;
  color: var(--dark-color, #222);
}

/* Testimonial responsive styling moved to main media query section */

/* =========================
   HERO SECTION
========================= */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    color: white;
    padding-top: 80px;
    background-color: rgba(0, 0, 0, 0.3);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
}
.hero-content {
    max-width: 800px;
    margin: 0 auto;
}
.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s ease;
}
.hero-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.3s;
    animation-fill-mode: both;
}
.cta-buttons {
    animation: fadeIn 1s ease 0.6s;
    animation-fill-mode: both;
}

/* Hero-specific button sizing and color overrides */
.hero .btn {
    padding: 14px 28px;
    font-size: 1.05rem;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.hero .btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}

/* Hero buttons use distinct styling for visual hierarchy on hero background */
.hero .btn-primary {
    background-color: var(--primary-color);
    color: white;
}
.hero .btn-primary:hover {
    background-color: #b83849;
}

.hero .btn-secondary {
    background-color: rgba(255,255,255,0.15);
    color: white;
    border: 2px solid rgba(255,255,255,0.15);
}
.hero .btn-secondary:hover {
    background-color: rgba(255,255,255,0.25);
}

.hero .btn-tertiary {
    background-color: var(--tertiary-color);
    color: var(--dark-color);
}
.hero .btn-tertiary:hover {
    background-color: #f6a21a;
}

/* Hero button responsive styling moved to main media query section */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    will-change: transform;
    contain: paint;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(146, 39, 143, 0.8), rgba(244, 91, 105, 0.8), rgba(247, 172, 56, 0.8));
    z-index: -1;
}
/* video controls removed */

/* =========================
   NAVIGATION
========================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1500; /* raised so header controls are above other page elements */
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--primary-color) 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    transition: var(--transition);
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
}
.nav-menu li {
    margin-left: 1.5rem;
}
.nav-menu a {
    color: white;
    font-weight: 500;
    padding: 0.5rem;
    position: relative;
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: var(--transition);
}
.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}
.menu-toggle {
    display: none; /* Hidden by default (desktop) */
    cursor: pointer;
}
.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: white;
    border-radius: 2px;
    transition: var(--transition);
}
.menu-toggle .bar:hover {
    background-color: var(--secondary-color);
}

/* Highlight Hanima navigation link to respect application color variables */
.nav-menu a.nav-hanima,
.nav-menu a.nav-hanima .translatable {
  color: var(--tertiary-color);
  font-weight: 700;
  transition: color 160ms ease, text-shadow 160ms ease;
}

.nav-menu a.nav-hanima:hover,
.nav-menu a.nav-hanima:focus {
  color: var(--secondary-color);
}

/* Ensure high specificity on small screens where nav layout may differ */
@media (max-width: 768px) {
  .nav-menu a.nav-hanima {
    color: var(--tertiary-color);
  }
}

/* =========================
   LANGUAGE SWITCHER
========================= */
.language-switcher {
    display: flex;
    margin-left: 20px;
}
.language-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    user-select: none;
    cursor: pointer;
    position: relative;
    z-index: 1600; /* ensure toggle is above most header items */
}
.language-toggle .label {
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
}
.language-toggle .label.en { color: rgba(255,255,255,0.9); }
.language-toggle .label.fr { color: rgba(255,255,255,0.6); }
.language-toggle .toggle-track {
    width: 56px;
    height: 28px;
    background: rgba(255,255,255,0.2);
    border-radius: 999px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 3px;
    transition: background 0.2s ease;
    pointer-events: none; /* allow parent to receive clicks */
}
.language-toggle .toggle-knob {
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    transform: translateX(0);
    transition: transform 0.2s cubic-bezier(.3,.7,.3,1);
    pointer-events: none; /* allow parent to receive clicks */
}
.language-toggle[aria-checked="true"] .toggle-track {
    background: #f7ac38; /* highlight color when FR is active */
}
.language-toggle[aria-checked="true"] .toggle-knob {
    transform: translateX(28px); /* move right when checked (FR) */
}
.language-toggle[aria-checked="true"] .label.en { color: rgba(255,255,255,0.6); }
.language-toggle[aria-checked="true"] .label.fr { color: rgba(255,255,255,0.95); }

/* =========================
   BUTTONS
========================= */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    margin: 0.5rem;
}
.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}
.btn-primary {
    background-color: var(--primary-color);
    color: white;
}
.btn-primary:hover {
    background-color: #ff5252;
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}
.btn-secondary,
.btn-tertiary {
    /* Match primary CTA styling so all 'Request a Custom Quote' buttons look the same */
    background-color: var(--primary-color);
    color: white;
}
.btn-secondary:hover,
.btn-tertiary:hover {
    background-color: #ff5252;
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

/* =========================
     HANIMA PREVIEW SLIDING SECTION (HANIMA, ETC)
========================= */
.hanima-preview {
    background-color: var(--secondary-color);
    color: white;
    min-height: 150px;
    padding: 0px 0;
}
.hanima-preview .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.sliding-section {
    margin-top: 40px;
    /* make band full-bleed across the viewport */
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
    position: relative;
    background: none;
    display: block;
    height: 160px; /* final band height */
}
.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.hanima-track {
    display: flex;
    gap: 0; /* attached slides */
    align-items: center;
    height: 100%;
    will-change: transform;
}
.slide {
    flex: 0 0 auto;
    height: 100%;
    display: inline-flex; /* anchors will line up horizontally */
    align-items: center;
    text-decoration: none; /* remove link underline */
    color: inherit;
}
.slide img {
    height: 100%;
    width: auto;
    object-fit: cover;
    display: block;
}
/* ensure anchors don't introduce gaps */
.slider-container a.slide { display: inline-flex; }
.nav-btn {
    /* navigation buttons were removed for continuous autoscroll */
    display: none;
}

@media (max-width: 992px) {
    .slide-text { width: 45%; padding: 1.25rem; }
    .slide-image { width: 55%; }
}
@media (max-width: 768px) {
    /* On mobile, stack text over the image so images still fill width and attach */
    .slide { flex-direction: column-reverse; }
    .slide-text { width: 100%; padding: 1rem; background: rgba(0,0,0,0.35); color: white; position: absolute; bottom: 0; left: 0; z-index: 3; }
    .slide-image { width: 100%; }
    .slide-image img { height: 180px !important; }
    .nav-btn { width: 36px; height: 36px; }
}

/* =========================
   FEATURES SECTION
========================= */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.feature-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    border-top: 6px solid transparent;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.12);
}

.features .feature-icon {
    width: 128px;
    height: 128px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.2rem;
    margin: 0 auto 1.25rem;
    color: white; /* icon glyphs will be white on colored backgrounds */
}

/* Alternating accent colors (uses application variables) */
.features .feature-card:nth-child(1) { border-top-color: var(--primary-color); }
.features .feature-card:nth-child(1) .feature-icon { background: linear-gradient(135deg, var(--primary-color), rgba(0,0,0,0.06)); }

.features .feature-card:nth-child(2) { border-top-color: var(--secondary-color); }
.features .feature-card:nth-child(2) .feature-icon { background: linear-gradient(135deg, var(--secondary-color), rgba(0,0,0,0.06)); color: var(--dark-color); }

.features .feature-card:nth-child(3) { border-top-color: var(--tertiary-color); }
.features .feature-card:nth-child(3) .feature-icon { background: linear-gradient(135deg, var(--tertiary-color), rgba(0,0,0,0.06)); color: var(--dark-color); }

.features .feature-card:nth-child(4) { border-top-color: var(--accent-color); }
.features .feature-card:nth-child(4) .feature-icon { background: linear-gradient(135deg, var(--accent-color), rgba(0,0,0,0.06)); }

/* Fallback for more than 4 cards: cycle colors */
.features .feature-card:nth-child(5) { border-top-color: var(--primary-color); }
.features .feature-card:nth-child(5) .feature-icon { background: linear-gradient(135deg, var(--primary-color), rgba(0,0,0,0.06)); }

@media (max-width: 768px) {
    .features .feature-card { padding: 1rem; }
    .features .feature-card .feature-icon { width: 112px; height: 112px; font-size: 2.7rem; }
}

/* Override: use primary red for feature icons and remove colored bands/gradients */
.features .feature-card { border-top-color: transparent !important; }
.features .feature-card .feature-icon {
    background: transparent !important;
    color: var(--primary-color) !important; /* icon glyphs use app red */
    box-shadow: none !important;
}

/* =========================
   PROGRAMS PREVIEW
========================= */
.programs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.program-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}
.program-card:hover {
    transform: translateY(-10px);
}
.program-image {
    height: 200px;
    object-fit: cover;
    width: 100%;
}
.program-content {
    padding: 1.5rem;
}
.program-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}
.program-content p {
    margin-bottom: 1rem;
    color: var(--text-light);
}



/* =========================
   PAGE ABOUT
========================= */


.about-hero {
    background: linear-gradient(rgba(104, 64, 153, 0.75), rgba(104, 64, 153, 0.75)), url('images/about-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 50vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding-top: 80px;
}

.mission-section {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.mission-content h2 {
    margin-bottom: 2rem;
}

.mission-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.passion-section {
    padding: 5rem 0;
}

/* Use the page's .container inside .passion-section so markup doesn't need changes */
.passion-section .container,
.passion-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.passion-image {
    justify-self: end; /* place image on the right column */
}

.passion-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 400px;
    width: 100%;
    height: auto;
    display: block;
    margin-left: 0;
    margin-right: 0;
}
.passion-content h2 {
    margin-bottom: 2rem;
}

.passion-content p {
    margin-bottom: 1.5rem;
}

/* Hanima welcome grid: mirror the .passion-section two-column layout */
.hanima-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hanima-poster {
    justify-self: end; /* place poster on the right column like passion image */
}

.hanima-poster img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 480px;
    width: 100%;
    height: auto;
    display: block;
}

.team-section {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.team-members {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 1rem;
    overflow-x: visible;   /* Remove horizontal scroll bar */
}

.team-member {
    min-width: 0;
    flex: 0 1 250px;       /* Allow shrinking if needed */
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-image {
    height: 250px;
    width: 100%;
    object-fit: cover;
}

.member-info {
    padding: 0.75rem;
}

.member-info h3 {
    margin-bottom: 0.5rem;
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.values-section {
    padding: 5rem 0;
}

.values {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 1rem; /* gap btw cards */
    overflow-x: visible; /* No horizontal scroll bar */
}

.value-card {
    min-width: 0;
    flex: 0 2 220px; 
    background-color: white;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

@media (max-width: 992px) {
    .passion-container {
        grid-template-columns: 1fr;
    }
    .team-members { display: grid; }
}
@media (max-width: 768px) {
    .team-members { display: grid; }
    .values { display: grid; }
}


/* =========================
Style de la page: Nos Offres pour les ecoles
========================= */

/* Logo Styles for Secondary Pages */
.navbar .logo img {
    height: 40px;
    width: auto;
    max-width: 100%;
    display: block;
}

.programs-hero {
    position: relative;
    height: 50vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding-top: 80px;
    overflow: hidden;
}

.programs-hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.programs-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(104, 64, 153, 0.8);
    z-index: -1;
}

.intro-section {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Hanima two-column layout: mirror .passion-section spacing and image sizing */
.hanima-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem; /* increased gap between text and poster */
    align-items: center; /* vertically center to match passion */
}

.hanima-text { text-align: left; }
.hanima-poster { justify-self: end; }

.hanima-poster img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 400px; /* match passion image size */
    width: 100%;
    height: auto;
    display: block;
}

/* Partners & Volunteers boxes */
.partners-volunteers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}
.pv-box {
    background: white;
    padding: 1.25rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}
.pv-box {
    display: flex;
    flex-direction: column;
    height: 100%; /* allow grid to stretch boxes to equal height */
}
.pv-box h3 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}
/* Make pv-box titles use the site's primary accent color */
.pv-box h3 {
    color: var(--primary-color);
}
.pv-box p, .pv-box ul {
    margin-bottom: 0.75rem;
}
.pv-cta {
    margin-top: auto; /* push CTA to bottom so buttons align */
    text-align: center;
}
.pv-box ul { padding-left: 1.25rem; }

/* Optional: give pv-box a matching min-height to equalize differing content lengths */
.partners-volunteers { align-items: stretch; }

@media (max-width: 900px) {
    .partners-volunteers { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .intro-content { max-width: 100%; }
    .hanima-grid { grid-template-columns: 1fr; }
    .hanima-poster { text-align: center; }
}
.intro-content h2 {
    margin-bottom: 2rem;
}

.intro-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.benefits {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 1rem;
    overflow-x: visible;
}

.benefit-card {
    min-width: 0;
    flex: 0 2 220px;
    background-color: white;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.programs-section {
    padding: 5rem 0;
}

.program {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-bottom: 3rem;
}

.program-header {
    background-color: var(--secondary-color);
    color: white;
    padding: 1.5rem;
    text-align: center;
    height: 200px;           /* Increased height */
    display: flex;           /* Center content vertically */
    flex-direction: column;
    justify-content: center;
}

.program-header h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.program-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Ensure the subtitle in program headers is centered for all packages */
.program-header .program-subtitle {
    text-align: center;
    margin: 0 auto;
    display: block;
    max-width: 90%;
}

.program-body {
    padding: 2rem;
}

.program-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.detail-card {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.detail-card h4 {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.detail-card h4 i {
    margin-right: 10px;
}

.program-description {
    margin-bottom: 2rem;
}

.program-description h4 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.program-description ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.program-description ul li {
    margin-bottom: 0.5rem;
}

.program-price {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.program-price h4 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.price-tag {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.price-note {
    font-size: 0.9rem;
    color: var(--text-light);
}

.program-cta {
    text-align: center;
}

.testimonials-section {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
}

/* Fix overlapping testimonial content on small screens */
.testimonials {
  gap: 1.25rem;
}
.testimonial-card {
  position: relative;
  width: 100%;
}
.testimonial-content {
  position: relative;
  z-index: 1; /* ensure content sits above decorative layers */
}
.testimonial-content::after {
  content: "";
  display: table;
  clear: both; /* clear any floated avatar/author elements */
}
.testimonial-text {
  display: block;
  margin-bottom: 1rem;
  word-break: break-word;
  overflow-wrap: anywhere;
}

@media (max-width: 768px) {
  /* Stack testimonial cards vertically and ensure full width */
  .testimonials {
    display: flex;
    flex-direction: column;
  }
  .testimonial-card {
    width: 100%;
    margin-bottom: 0.75rem;
  }
  .testimonial-content {
    padding: 0.75rem 0.5rem;
  }
}

/* Mobile-safe positioning for decorative quote marks to avoid overlap */
@media (max-width: 768px) {
  .testimonial blockquote::after,
  .testimonial-card blockquote::after,
  .testimonial-content blockquote::after {
    /* disable absolute positioning used on desktop */
    position: static !important;
    display: block !important;
    content: close-quote;
    font-size: 2.2rem !important; /* mobile: larger for better visibility */
    color: var(--primary-color) !important;
    line-height: 1 !important;
    margin-top: 0.35rem !important;
    text-align: right !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    z-index: 0 !important;
  }
}

.testimonial-card::before {
    content: '"';
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 10px;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
}

.author-info h4 {
    margin-bottom: 0.2rem;
}

.author-role {
    font-size: 0.9rem;
    color: var(--text-light);
}

.process-section {
    padding: 3rem 0 1rem 0; /* Top, right, bottom, left */
    overflow: visible;
    /* Remove margin-bottom */
}

/* Add this to ensure space for shadow */
.process-section .container {
    padding-bottom: 3rem;
    overflow: visible;
}

.process-steps {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 1rem; /* gap btw cards */
    overflow-x: visible; /* No horizontal scroll bar */
    
}

.step-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    min-width: 0;
    min-height: 200px; /* Add this line to make the card longer from the bottom */
    
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.step-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.contact-section {
    padding: 5rem 0;
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-content h2 {
    margin-bottom: 1.5rem;
}

.contact-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Center contact paragraph text explicitly */
.contact-content p { text-align: center; }

@media (max-width: 768px) {
    .program-details { grid-template-columns: 1fr;}
    .programs-hero { height: 75vh; }
    .benefits { display: grid;}
    .process-steps { display: grid;}
}


/* =========================
SECTION Festival  Hanima
========================= */

.hanima-hero {
    background: linear-gradient(rgba(247, 172, 56, 0.75), rgba(247, 172, 56, 0.75)), url('images/Festival/hanima-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding-top: 80px;
}

/* Navbar with gradient for Hanima page */
.navbar {
    background: linear-gradient(90deg, #92278f, #f45b69, #f7ac38);
}

.event-details {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-top: 3rem;
    text-align: auto;
}

.event-details h3 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    align-items: auto;
}

.detail-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.detail-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.program-section {
    padding: 5rem 0;
}

.program-cards {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 1.5rem; /* slightly larger gap between cards */
    overflow-x: visible;
}

.program-card {
    min-width: 0;
    /* fixed card width to ensure visual prominence */
    flex: 0 0 320px;
    background-color: white;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-10px);
}

.program-header-han {
    background-color: var(--secondary-color);
    color: white;
    padding: 1.5rem;
    text-align: center;
    height: 150px;           /* Increased height */
    display: flex;           /* Center content vertically */
    flex-direction: column;
    justify-content: center;
}

.program-header-han h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.program-body {
    padding: 1.5rem;
}

.program-body p {
    margin-bottom: 1.5rem;
}

.program-time {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.program-time i {
    margin-right: 10px;
}

.participation-section {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.participation-content {
    max-width: 800px;
    margin: 0 auto;
}

.participation-content h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.criteria-list {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 3rem;
}

.criteria-list h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.criteria-list ul {
    list-style: disc;
    margin-left: 1.5rem;
}

.criteria-list ul li {
    margin-bottom: 0.8rem;
}

.why-attend-section {
    padding: 5rem 0;
}

.reasons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.reason-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.reason-card:hover {
    transform: translateY(-10px);
}

.reason-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.reason-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.cta-section {
    padding: 5rem 0;
    background-color: var(--tertiary-color);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #ffffff;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

@media (max-width: 768px) {
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .program-cards {
        grid-template-columns: 1fr; display: grid;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* =========================
   PAGE Gallery
========================= */

.gallery-hero {
    background: linear-gradient(rgba(104, 64, 153, 0.75), rgba(104, 64, 153, 0.75));
    background-size: cover;
    background-position: center;
    height: 40vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding-top: 80px;
}

.gallery-section {
    padding: 5rem 0;
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.gallery-tab {
    padding: 0.8rem 1.5rem;
    background-color: var(--light-color);
    color: var(--dark-color);
    border-radius: 30px;
    margin: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.gallery-tab.active,
.gallery-tab:hover {
    background-color: var(--primary-color);
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.gallery-image {
    height: 200px;
    width: 100%;
    object-fit: cover;
    cursor: pointer;
}

.gallery-item {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    /* make each card a column-flex container so its content can stretch to equal heights */
    display: flex;
    flex-direction: column;
}

.gallery-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    /* allow the content area to grow so cards in the same grid row have equal height */
    flex: 1 1 auto;
}

.gallery-content h3 {
    margin-bottom: 0.5rem;
}

.gallery-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.gallery-description {
    margin-bottom: 1.5rem;
}

/* Ensure action button sticks to bottom of the gallery card */
.gallery-content .btn {
    margin-top: auto;
    align-self: flex-start; /* keep left alignment */
}

/* Small button sizing consistency */
.btn-sm {
    padding: 0.4rem 0.7rem;
    font-size: 0.9rem;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 1rem;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.behind-scenes-section {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.behind-scenes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.behind-scenes-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.behind-scenes-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.behind-scenes-image {
    cursor: zoom-in;
}

.behind-scenes-image:focus {
    outline: 3px solid rgba(213,66,77,0.25);
}

.behind-scenes-item:hover .behind-scenes-image {
    transform: scale(1.1);
}

.behind-scenes-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.behind-scenes-item:hover .behind-scenes-caption {
    transform: translateY(0);
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    z-index: 2001;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.modal-image {
    display: block;
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.modal-video {
    width: 100%;
    height: 80vh;
}

/* Modal navigation arrows */
.modal-prev,
.modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #f1f1f1;
    font-size: 60px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
    z-index: 2001;
    padding: 10px 15px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

.modal-prev:hover,
.modal-next:hover {
    color: var(--primary-color);
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.modal-prev:active,
.modal-next:active {
    transform: translateY(-50%) scale(0.95);
}

@media (max-width: 768px) {
    .modal-prev,
    .modal-next {
        font-size: 40px;
        padding: 8px 12px;
    }
    
    .modal-prev {
        left: 10px;
    }
    
    .modal-next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .behind-scenes-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}


/* =========================
   Style de la page: Contact
========================= */

.contact-hero {
    background: linear-gradient(rgba(104, 64, 153, 0.75), rgba(104, 64, 153, 0.75)), url('images/contact-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 40vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding-top: 80px;
}

.contact-section {
    padding: 5rem 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    min-width: 30px;
}

.contact-text h4 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
    text-align: left;
}

.contact-text p {
    color: var(--text-color);
}

.social-media {
    margin-top: 2rem;
}

.social-media h4 {
    margin-bottom: 1rem;
    color: var(--text-color);
    text-align: left;
}

.social-icons {
    display: flex;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    margin-right: 1rem;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--font-secondary);
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    text-align: right;
}

.map-section {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.map-container {
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.faq-section {
    padding: 5rem 0;
}

.accordion {
    margin-top: 3rem;
}

.accordion-item {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-header {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.accordion-header:hover {
    background-color: #f9f9f9;
}

.accordion-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.accordion-icon {
    font-size: 1.2rem;
    transition: var(--transition);
}

.accordion-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content p {
    padding-bottom: 1.5rem;
}

.accordion-item.active .accordion-header {
    background-color: #f9f9f9;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-item.active .accordion-content {
    max-height: 300px;
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}


/* =========================
   FOOTER & SOCIAL LINKS
========================= */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 4rem 0 1rem;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}
.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}
.footer-links h4,
.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    position: relative;
}
.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}
.footer-links ul li {
    margin-bottom: 0.5rem;
}
.footer-links a {
    color: #ddd;
}
.footer-links a:hover {
    color: var(--primary-color);
}
.footer-contact p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}
.footer-contact i {
    margin-right: 10px;
    color: var(--primary-color);
}
.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 1rem;
}
.social-links a {
    position: relative;
    width: 44px;
    height: 44px;
    background: #fff;
    color: #92278f;
    border-radius: 50%;
    font-size: 22px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.2s, color 0.2s, transform 0.2s;
    text-decoration: none;
    border: 2px solid #92278f;
}
.social-links a:hover {
    background: #92278f;
    color: #fff;
    transform: scale(1.08);
}
.social-links i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 22px;
    line-height: 1;
}
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* =========================
   WHATSAPP BUTTON
========================= */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}
.whatsapp-btn:hover {
    transform: scale(1.1);
}

/* =========================
   FORM SECURITY STYLING
========================= */
.form-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.form-error ul {
    margin: 0;
    padding-left: 20px;
}

.form-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.field-error {
    display: block;
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 5px;
}

.form-control.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-control.success {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Alert Components */
.alert {
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

/* =========================
   ANIMATIONS
========================= */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px);}
    to { opacity: 1; transform: translateY(0);}
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px);}
    to { opacity: 1; transform: translateY(0);}
}

/* =========================
   MEDIA QUERIES
========================= */
/* Consolidated responsive breakpoints */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.5rem; }
    .hanima-preview .container { grid-template-columns: 1fr; }
    .hanima-image { order: -1; }
}

@media (max-width: 768px) {
    /* Navigation */
    .menu-toggle { display: block; }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
    }
    .nav-menu.active { left: 0; }
    .nav-menu li { margin: 1.5rem 0; }
    
    /* Typography and buttons */
    .hero h1 { font-size: 2rem; }
    .hero-text { font-size: 1rem; }
    .btn { padding: 10px 20px; font-size: 0.9rem; }
    .hero .btn { padding: 10px 18px; font-size: 0.95rem; border-radius: 10px; }
    .section-title { font-size: 2rem; }
    
    /* Layout adjustments */
    .program-details { grid-template-columns: 1fr; }
    .programs-hero { height: 75vh; }
    .benefits { display: grid; }
    .process-steps { display: grid; }
    .features .feature-card { padding: 1rem; }
    .features .feature-card .feature-icon { width: 56px; height: 56px; font-size: 1.35rem; }
    
    /* Testimonials */
    .testimonial-section .testimonial blockquote,
    .testimonial-section .testimonial blockquote .translatable {
        font-size: 0.95rem !important;
        line-height: 1.35 !important;
    }
    .testimonial-text {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

/* Index-only testimonial size adjustments (consolidated with main media query above) */
.testimonial-section .testimonial blockquote,
.testimonial-section .testimonial blockquote .translatable {
  font-size: 1rem !important;
  line-height: 1.45 !important;
  font-style: italic !important;
}


