/* ==========================================================================
   GLOBAL VARIABLES & CONFIGURATION
   ========================================================================== */
:root {
    --primary-color: #0f172a;       
    --secondary-color: #2563eb;     
    --accent-color: #dc2626;        
    --success-color: #16a34a;       
    --text-dark: #1e293b;           
    --text-light: #64748b;          
    --bg-light: #f8fafc;            
    --bg-white: #ffffff;
    
    --font-main: 'Inter', sans-serif;
    --max-width: 1200px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 25px -5px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 25px -5px rgba(37, 99, 235, 0.1);
}

/* ==========================================================================
   RESET & SYSTEM BASICS
   ========================================================================== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); color: var(--text-dark); background-color: var(--bg-white); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button, .btn { font-family: var(--font-main); cursor: pointer; border: none; outline: none; transition: var(--transition); display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; border-radius: var(--radius-sm); }

.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.25rem; font-weight: 800; color: var(--primary-color); margin-bottom: 12px; }
.section-header p { color: var(--text-light); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* Buttons UI */
.btn-primary { background-color: var(--secondary-color); color: white; padding: 12px 24px; box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-1px); background-color: #1d4ed8; }
.btn-whatsapp { background-color: var(--success-color); color: white; padding: 12px 24px; }
.btn-whatsapp:hover { background-color: #15803d; }
.btn-outline { background-color: transparent; border: 2px solid var(--primary-color); color: var(--primary-color); padding: 10px 22px; }
.btn-outline:hover { background-color: var(--primary-color); color: white; }

/* ==========================================================================
   HEADER & RESPONSIVE MENUS (PREVENTS OVERFLOW)
   ========================================================================== */
.site-header { background-color: var(--bg-white); box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 1000; padding: 16px 0; }
.header-container { display: flex; justify-content: space-between; align-items: center; position: relative; }
.logo { font-size: 1.35rem; font-weight: 800; color: var(--primary-color); display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.logo i { color: var(--secondary-color); }
.logo-img { height: 42px; width: auto; display: block; }

/* Desktop-Only Row configuration */
.header-actions.desktop-only { display: flex; align-items: center; gap: 20px; }
.nav-phone { font-weight: 700; color: var(--primary-color); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }

.social-icon-btn { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background-color: var(--bg-light); color: var(--primary-color); font-size: 1rem; }
.social-icon-btn.insta-btn:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%,#d6249f 60%,#285AEB 90%); color: white; }
.header-btn { padding: 10px 18px; font-size: 0.9rem; }

/* Mobile Menu System Layout */
.mobile-header-controls { display: none; align-items: center; gap: 12px; }
.mobile-direct-call { width: 38px; height: 38px; border-radius: var(--radius-sm); border: 1px solid #e2e8f0; display: flex; align-items: center; justify-content: center; color: var(--primary-color); font-size: 1.1rem; }
.insta-mobile-btn { border-color: #e2e8f0; color: var(--primary-color); transition: var(--transition); }
.insta-mobile-btn:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%,#d6249f 60%,#285AEB 90%); color: white; border-color: transparent; }

.three-dot-menu-btn { width: 38px; height: 38px; border-radius: var(--radius-sm); background-color: var(--bg-light); color: var(--primary-color); font-size: 1.2rem; transition: var(--transition); }
.three-dot-menu-btn:hover, .three-dot-menu-btn.active { background-color: #e2e8f0; }

/* Hidden Dropdown Wrapper Container */
.mobile-dropdown-menu { position: absolute; top: calc(100% + 12px); right: 0; width: 240px; background-color: var(--bg-white); border-radius: var(--radius-sm); box-shadow: 0 10px 30px rgba(0,0,0,0.15); border: 1px solid #e2e8f0; padding: 8px; display: none; flex-direction: column; gap: 4px; z-index: 1010; transform-origin: top right; }
.mobile-dropdown-menu.show { display: flex; animation: menuScaleOpen 0.15s ease-out forwards; }

.dropdown-item { padding: 12px 14px; font-size: 0.95rem; font-weight: 600; color: var(--text-dark); border-radius: 6px; display: flex; align-items: center; gap: 10px; }
.dropdown-item:hover { background-color: var(--bg-light); color: var(--secondary-color); }
.dropdown-divider { height: 1px; background-color: #e2e8f0; margin: 6px 0; }
.dropdown-footer-text { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; text-align: center; color: var(--text-light); padding: 4px 0; }

@keyframes menuScaleOpen {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   HERO CALL TO ACTION REGION
   ========================================================================== */
.hero { background: linear-gradient(135deg, var(--primary-color) 0%, #1e3a8a 100%); color: white; padding: 80px 0; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero-content h1 { font-size: 3rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.hero-content h1 span { color: #60a5fa; }
.hero-content p { font-size: 1.15rem; opacity: 0.9; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-form-container { background-color: var(--bg-white); padding: 24px; border-radius: var(--radius-md); color: var(--text-dark); box-shadow: var(--shadow-lg); }
.hero-form-container h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 4px; color: var(--primary-color); }
.hero-form-container p { font-size: 0.85rem; color: var(--text-light); margin-bottom: 16px; }
.form-group { margin-bottom: 12px; }
.form-group input, .form-group select { width: 100%; padding: 12px; border: 1px solid #e2e8f0; border-radius: var(--radius-sm); font-size: 0.95rem; font-family: var(--font-main); }
.submit-btn { width: 100%; padding: 12px; background-color: var(--secondary-color); color: white; font-size: 1rem; }

/* ==========================================================================
   STATS AND SELECTION METRICS
   ========================================================================== */
.achievements { background-color: var(--bg-white); margin-top: -30px; position: relative; z-index: 10; padding-bottom: 30px; }
.achievements-card { background-color: var(--bg-white); border-radius: var(--radius-md); padding: 30px; box-shadow: var(--shadow-lg); display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.stat-item:not(:last-child) { border-right: 1px solid #e2e8f0; }
.stat-number { font-size: 2.25rem; font-weight: 800; color: var(--secondary-color); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 0.9rem; font-weight: 600; color: var(--primary-color); }

/* ==========================================================================
   GRID MATRIX LAYOUTS (COURSES, RESULTS, CHOOSE US)
   ========================================================================== */
.courses, .results, .faq { background-color: var(--bg-light); }
.courses-grid, .results-grid, .features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.course-card, .feature-card, .result-card { background-color: var(--bg-white); border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-sm); border: 1px solid #e2e8f0; display: flex; flex-direction: column; }
.course-icon { width: 50px; height: 50px; background-color: rgba(37, 99, 235, 0.1); color: var(--secondary-color); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; border-radius: var(--radius-sm); margin-bottom: 16px; }
.course-card h3, .feature-card h4 { font-size: 1.25rem; font-weight: 700; color: var(--primary-color); margin-bottom: 12px; }
.course-features { margin-bottom: 20px; flex-grow: 1; }
.course-features li { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--text-light); margin-bottom: 8px; }
.course-features li i { color: var(--success-color); }

.feature-card i { font-size: 1.75rem; color: var(--secondary-color); margin-bottom: 16px; }
.feature-card p { font-size: 0.9rem; color: var(--text-light); }

/* Result Components */
.result-card { text-align: center; align-items: center; border-top: 4px solid var(--secondary-color); }
.result-avatar { width: 80px; height: 80px; border-radius: 50%; overflow: hidden; margin-bottom: 12px; border: 2px solid #e2e8f0; }
.result-avatar img { width: 100%; height: 100%; object-fit: cover; }
.rank-badge { background-color: var(--accent-color); color: white; padding: 3px 12px; border-radius: 50px; font-size: 0.8rem; font-weight: 700; margin-bottom: 8px; }
.result-name { font-size: 1.05rem; font-weight: 700; color: var(--primary-color); }
.result-course { font-size: 0.85rem; color: var(--text-light); }

/* ==========================================================================
   FAQ ACCORDION COMPONENT
   ========================================================================== */
.faq-max-width { max-width: 750px; margin: 0 auto; }
.faq-item { background-color: var(--bg-white); border-radius: var(--radius-sm); margin-bottom: 12px; box-shadow: var(--shadow-sm); border: 1px solid #e2e8f0; overflow: hidden; }
.faq-trigger { width: 100%; padding: 16px 20px; background: none; text-align: left; display: flex; justify-content: space-between; align-items: center; font-size: 1rem; font-weight: 600; color: var(--primary-color); }
.faq-icon { transition: var(--transition); font-size: 0.85rem; }
.faq-content { max-height: 0; overflow: hidden; transition: max-height 0.25s ease-out; padding: 0 20px; color: var(--text-light); font-size: 0.9rem; }
.faq-item.active .faq-content { padding-bottom: 16px; }
.faq-item.active .faq-icon { transform: rotate(180deg); }

/* ==========================================================================
   CONTACT WORKSPACE
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 30px; }
.contact-info-panel { display: flex; flex-direction: column; gap: 20px; }
.contact-meta-item { display: flex; gap: 12px; }
.contact-meta-item i { width: 40px; height: 40px; border-radius: 50%; background-color: rgba(37, 99, 235, 0.1); color: var(--secondary-color); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-meta-item h5 { font-size: 1rem; font-weight: 700; color: var(--primary-color); }
.contact-meta-item p { font-size: 0.9rem; color: var(--text-light); }
.map-wrapper { border-radius: var(--radius-md); overflow: hidden; border: 1px solid #e2e8f0; height: 300px; }
.map-wrapper iframe { width: 100%; height: 100%; border: none; }

/* ==========================================================================
   FOOTER UTILITIES
   ========================================================================== */
.site-footer { background-color: var(--primary-color); color: #94a3b8; padding: 40px 0 100px 0; font-size: 0.85rem; border-top: 1px solid #1e293b; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }

/* Floating Support Element */
.floating-whatsapp { position: fixed; bottom: 80px; right: 20px; background-color: var(--success-color); color: white; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.75rem; box-shadow: 0 4px 12px rgba(0,0,0,0.25); z-index: 999; }

/* Mobile Sticky Action Bar Footer Element */
.sticky-mobile-cta { position: fixed; bottom: 0; left: 0; width: 100%; background-color: var(--bg-white); box-shadow: 0 -3px 12px rgba(0,0,0,0.08); display: none; grid-template-columns: repeat(3, 1fr); z-index: 1000; border-top: 1px solid #e2e8f0; }
.sticky-cta-item { padding: 12px 4px; font-size: 0.8rem; font-weight: 700; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.sticky-cta-item i { font-size: 1.15rem; }
.sticky-cta-item.cta-call { background-color: var(--primary-color); color: white; }
.sticky-cta-item.cta-whatsapp { background-color: var(--success-color); color: white; }
.sticky-cta-item.cta-apply { background-color: var(--secondary-color); color: white; }

/* ==========================================================================
   MEDIA QUERIES (TRUE MOBILE RE-LAYOUT PANELS)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .courses-grid, .results-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .section-padding { padding: 50px 0; }
    .section-header h2 { font-size: 1.85rem; }
    
    /* Swap Navigation Display Engines */
    .header-actions.desktop-only { display: none; }
    .mobile-header-controls { display: flex; }
    
    .hero-content h1 { font-size: 2.25rem; }
    .courses-grid, .results-grid, .features-grid { grid-template-columns: 1fr; }
    
    .achievements-card { grid-template-columns: repeat(2, 1fr); gap: 20px 10px; padding: 20px; }
    .stat-item:nth-child(2) { border-right: none; }
    
    .sticky-mobile-cta { display: grid; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
}

/* Course card improvements */
.course-tagline { font-size: 0.82rem; color: var(--secondary-color); font-weight: 600; margin-bottom: 14px; background: rgba(37,99,235,0.07); padding: 4px 10px; border-radius: 50px; display: inline-block; }
.course-features { margin-bottom: 20px; flex-grow: 1; }
.course-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.88rem; color: var(--text-light); margin-bottom: 9px; line-height: 1.4; }
.course-features li i { color: var(--success-color); font-size: 0.85rem; margin-top: 2px; flex-shrink: 0; }
.course-cta { width: 100%; justify-content: center; margin-top: auto; }

/* Form status feedback */
.form-status { margin-top: 12px; padding: 10px 14px; border-radius: var(--radius-sm); font-size: 0.88rem; font-weight: 600; text-align: center; }
.form-status.success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.form-status.error   { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.form-status.loading { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.submit-btn:disabled { opacity: 0.65; cursor: not-allowed; }

@media (max-width: 480px) {
    .achievements-card { grid-template-columns: 1fr; }
    .stat-item { border-right: none !important; border-bottom: 1px solid #e2e8f0; padding-bottom: 12px; }
    .stat-item:last-child { border-bottom: none; padding-bottom: 0; }
}
/* ==========================================================================
   FEATURES SECTION (replaces stats bar)
   ========================================================================== */
.features-section { background-color: var(--bg-white); margin-top: -30px; position: relative; z-index: 10; padding: 30px 0 40px; }
.features-card { background-color: var(--bg-white); border-radius: var(--radius-md); padding: 30px; box-shadow: var(--shadow-lg); display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-item { display: flex; align-items: flex-start; gap: 14px; }
.feature-item i { font-size: 1.5rem; color: var(--secondary-color); background: rgba(37,99,235,0.1); width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.feature-item h4 { font-size: 1rem; font-weight: 700; color: var(--primary-color); margin-bottom: 4px; }
.feature-item p { font-size: 0.85rem; color: var(--text-light); line-height: 1.5; }

@media (max-width: 1024px) {
  .features-card { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .features-card { grid-template-columns: 1fr; padding: 20px; gap: 18px; }
}

/* ==========================================================================
   IMAGE SLIDER GALLERY
   ========================================================================== */
.gallery-slider {
  position: relative;
  width: 100%;
  max-width: var(--max-width);
  margin: 16px auto 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.slide {
  flex: 0 0 100%;
  width: 100%;
}
.slide img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 5;
}
.slider-arrow:hover { background: rgba(15, 23, 42, 0.8); }
.slider-prev { left: 12px; }
.slider-next { right: 12px; }
.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 5;
}
.slider-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  border: none;
  padding: 0;
}
.slider-dot.active { background: white; }

@media (max-width: 768px) {
  .gallery-slider { margin-top: 0; border-radius: 0; }
  .slide img { max-height: 240px; }
  .slider-arrow { width: 32px; height: 32px; font-size: 0.9rem; }
}

/* ==========================================================================
   FACULTY / TEACHERS SECTION
   ========================================================================== */
.faculty { background-color: var(--bg-light); }
.faculty-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.faculty-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
  text-align: center;
}
.faculty-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 14px;
  border: 3px solid var(--secondary-color);
}
.faculty-photo img { width: 100%; height: 100%; object-fit: cover; }
.faculty-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--primary-color); margin-bottom: 4px; }
.faculty-subject { font-size: 0.85rem; color: var(--secondary-color); font-weight: 600; margin-bottom: 6px; }
.faculty-achievement { font-size: 0.82rem; color: var(--text-light); line-height: 1.4; }

@media (max-width: 1024px) {
  .faculty-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .faculty-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   DESKTOP + RESPONSIVE POLISH PATCH
   Keeps existing HTML/JS intact; only adjusts sizing, grids and desktop layout.
   ========================================================================== */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

.container {
  width: min(100% - 32px, var(--max-width));
  padding-left: 0;
  padding-right: 0;
}

.course-card,
.feature-card,
.result-card,
.faculty-card,
.hero-form-container,
.features-card,
.achievements-card,
.faq-item,
.map-wrapper {
  max-width: 100%;
}

@media (min-width: 769px) {
  body {
    background: var(--bg-light);
    padding-bottom: 0;
  }

  .site-header {
    padding: 12px 0;
  }

  .header-container {
    min-height: 48px;
  }

  .logo-img {
    height: clamp(42px, 4vw, 58px);
  }

  .gallery-slider {
    width: min(calc(100% - 40px), 1120px);
    height: clamp(260px, 27vw, 380px);
    max-width: 1120px;
    margin: 22px auto 0;
    border-radius: 22px;
    background: #020617;
  }

  .slider-track,
  .slide {
    height: 100%;
  }

  .slide img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
  }

  .slider-arrow {
    width: 46px;
    height: 46px;
    font-size: 1rem;
  }

  .slider-prev {
    left: 18px;
  }

  .slider-next {
    right: 18px;
  }

  .hero {
    padding: clamp(64px, 6vw, 92px) 0;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 430px);
    gap: clamp(40px, 6vw, 88px);
    align-items: center;
  }

  .hero-content h1 {
    font-size: clamp(2.7rem, 4.3vw, 4rem);
    line-height: 1.05;
    max-width: 780px;
  }

  .hero-content p {
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    max-width: 720px;
  }

  .hero-form-container {
    justify-self: end;
    width: 100%;
    max-width: 430px;
    padding: 28px;
  }

  .features-section {
    margin-top: -24px;
    padding: 36px 0 52px;
  }

  .features-card {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: clamp(28px, 3vw, 42px);
    gap: 26px;
  }

  .achievements {
    padding: 18px 0 44px;
  }

  .achievements-card {
    padding: 30px 36px;
  }

  .section-padding {
    padding: clamp(72px, 6vw, 96px) 0;
  }

  .section-header {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 44px;
  }

  .section-header h2 {
    font-size: clamp(2rem, 3vw, 2.65rem);
  }

  .courses-grid,
  .results-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
  }

  .course-card,
  .feature-card,
  .result-card,
  .faculty-card {
    height: 100%;
  }

  .course-card {
    padding: 28px;
  }

  .faculty-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }

  .contact-grid {
    grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
    align-items: stretch;
    gap: 34px;
  }

  .contact-info-panel {
    background: var(--bg-white);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 26px;
    box-shadow: var(--shadow-sm);
  }

  .map-wrapper {
    height: 380px;
  }

  .site-footer {
    padding: 30px 0;
  }

  .floating-whatsapp {
    right: 24px;
    bottom: 24px;
  }

  .sticky-mobile-cta {
    display: none !important;
  }
}

@media (min-width: 769px) and (max-width: 1100px) {
  .gallery-slider {
    width: min(calc(100% - 32px), 960px);
    height: clamp(230px, 31vw, 340px);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-form-container {
    justify-self: start;
    max-width: 560px;
  }

  .courses-grid,
  .results-grid,
  .features-card,
  .faculty-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(100% - 28px, 100%);
  }

  .gallery-slider {
    width: 100%;
    max-width: 100%;
  }

  .slide img {
    width: 100%;
    height: clamp(190px, 56vw, 250px);
    object-fit: cover;
  }

  .hero {
    padding: 50px 0 56px;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .contact-meta-item {
    min-width: 0;
  }
}
