/* CSS Variables */
:root {
  --primary-color: #1565C0;
  --primary-dark: #0D47A1;
  --accent-yellow: #ffd700;
  --nav-bg: rgba(255,255,255,0.55);
  --nav-border: rgba(255,255,255,0.23);
  --nav-shadow: 0 2px 18px 0 rgba(30,41,60,.12);
  --glass-bg-white: rgba(255,255,255,0.75);
  --glass-border-white: rgba(255,255,255,0.35);
  --section-padding: 80px;
  --content-spacing: 60px;
  --card-radius: 20px;
  --glass-radius: 25px;
  --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Nunito', Arial, sans-serif;
  background: #f4f6fa;
  color: #243048;
  line-height: 1.6;
  font-weight: 600;
}

/* Typography */
h1 {
  font-family: 'Bungee', cursive;
  font-weight: 400;
  margin: 0 0 1rem 0;
  font-size: 4.5rem;
  text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.1);
}

h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  margin: 0 0 1rem 0;
}

h2 { font-size: 3rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.5rem; }

p {
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
  font-weight: 600;
}

li {
  font-weight: 600;
}

/* Content Container - Standard 1250px width for all sections */
.content-container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Button System - Unified styling */
.btn {
  display: inline-block;
  padding: 16px 32px;
  font-size: 1.1rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  border-radius: 15px;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 87, 183, 0.3);
}

.btn-primary {
  background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
  color: white;
  border: 2px solid var(--primary-color);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(21, 101, 192, 0.4);
}

.btn-secondary {
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

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

/* Section Titles */
.section-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 2rem;
}

.section-subtitle {
  font-size: 1.2rem;
  text-align: center;
  margin: 0 auto 3rem auto;
  max-width: 750px;
  color: #243048;
}

/* Hero Header */
.hero-header {
  position: relative;
  min-height: 80vh;
  background-image: url('img/hero_cover.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(118, 118, 118, 0.4) 25%, rgba(0, 30, 60, 0) 100%);
  z-index: 1;
}

/* Navigation */
.nav-glass {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--nav-bg);
  border-radius: 18px;
  box-shadow: var(--nav-shadow);
  border-bottom: 1.5px solid var(--nav-border);
  padding: 16px 24px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  position: relative;
  z-index: 3;
  max-width: 1250px;
  width: calc(100% - 48px);
  margin: 2rem auto 0 auto;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

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

.site-title {
  font-family: 'Permanent Marker', cursive;
  font-weight: 400;
  color: var(--primary-color);
  font-size: 1.4rem;
  text-align: center;
  line-height: 1.3;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  position: relative;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 3px 0;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: #222;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 8px 16px;
  border-radius: 7px;
  transition: var(--transition);
}

.nav-menu a:hover {
  text-decoration: underline;
  text-decoration-color: var(--primary-color);
}

/* Hero Content */
.hero-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 1250px;
  margin: 100px auto 8rem auto;
  width: 100%;
  padding: 0 32px;
  min-height: 480px;
  position: relative;
  z-index: 2;
}

.hero-blurb {
  flex: 1 1 auto;
  max-width: 800px;
}

.hero-blurb h1 {
  color: #ffffff;
  margin-bottom: var(--content-spacing);
}

.hero-blurb p {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: var(--content-spacing);
}

.hero-cta-buttons {
  display: flex;
  gap: 18px;
  margin-top: 10px;
}

/* Mission Section */
.mission-section {
  padding: var(--section-padding) 0;
  background: #f8fafc;
}

.mission-layout {
  display: flex;
  gap: var(--content-spacing);
  align-items: center;
}

.mission-image {
  flex: 1 1 400px;
}

.mission-image img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  max-height: 650px;
  object-fit: cover;
  border-radius: var(--card-radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}

.mission-image:hover img {
  transform: scale(1.02);
}

.mission-content {
  flex: 1 1 500px;
}

.mission-content h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.mission-content h3 {
  color: var(--primary-color);
  margin: 2rem 0 1.5rem 0;
}

.mission-goals {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mission-goals li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding: 4px;
  transition: var(--transition);
  cursor: pointer;
}

.mission-goals li:hover {
  transform: translateX(10px);
}

.goal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2rem;
  flex-shrink: 0;
  color: var(--primary-color);
  font-size: 1.5rem;
}

/* Chairman Section */
.chairman-section {
  padding: var(--section-padding) 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e8f2ff 100%);
}

.chairman-layout {
  display: flex;
  gap: var(--content-spacing);
  align-items: center;
}

.chairman-content {
  flex: 1 1 500px;
}

.chairman-content h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.chairman-content h3 {
  color: #2a3a5a;
  margin-bottom: 0.5rem;
}

.chairman-title {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.chairman-image {
  flex: 1 1 400px;
  position: relative;
  text-align: center;
}

.chairman-image img {
  width: 100%;
  max-width: 400px;
  height: 450px;
  object-fit: cover;
  border-radius: var(--card-radius);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}

.chairman-image:hover img {
  transform: scale(1.02);
}

.image-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(21, 101, 192, 0.95);
  color: white;
  padding: 20px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.image-overlay p {
  margin: 0;
  font-style: italic;
  text-align: center;
}

/* Activities Section */
.activities-section {
  padding: var(--section-padding) 0;
  background-image: url('img/swim_cover.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

/* .activities-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
} */

.activities-section .content-container {
  position: relative;
  z-index: 2;
}

.activities-section .section-title {
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 4rem;
}

.activity-card {
  background: var(--glass-bg-white);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1.5px solid var(--nav-border);
  border-radius: 18px;
  padding: 30px 25px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--nav-shadow);
}

.activity-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
}

.activity-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 20px;
}

.activity-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* Municipalities Section */
.municipalities-section {
  margin: 4rem 0;
}

.glass-card-large {
  background: var(--glass-bg-white);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1.5px solid var(--glass-border-white);
  border-radius: 18px;
  padding: 40px;
  text-align: center;
  box-shadow: var(--nav-shadow);
}

.glass-card-large h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.glass-subtitle {
  color: #243048;
  margin-bottom: 2.5rem;
}

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

.service-card {
  background: rgba(255, 255, 255, 0.9);
  padding: 25px 20px;
  border-radius: 18px;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
  background: var(--primary-color);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px auto;
  font-size: 1.5rem;
}

.service-card h4 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.service-card p {
  color: #2a3a5a;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

/* Events Section */
.events-section {
  margin: 4rem 0;
}

.event-card {
  display: flex;
  align-items: stretch;
  background: var(--glass-bg-white);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 18px;
  box-shadow: var(--nav-shadow);
  margin-bottom: 36px;
  overflow: hidden;
  min-height: 340px;
}

.event-img-side {
  width: 55%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.event-text-side {
  width: 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 38px 36px;
}

.img-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--card-radius);
}

.img-wrapper img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  border: none;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  border: none;
  background: rgba(206, 216, 234, 0.5);
  color: var(--primary-color);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.arrow-left { left: 14px; }
.arrow-right { right: 14px; }

.arrow:hover {
  background: var(--primary-color);
  color: #fff;
}

.event-text-side h3 {
  color: var(--primary-color);
  margin-bottom: 13px;
}

.event-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.event-list li {
  margin-bottom: 7px;
  display: flex;
  align-items: center;
}

.checkmark {
  display: inline-block;
  width: 1.3em;
  height: 1.3em;
  margin-right: 9px;
  background: transparent;
  mask: url('https://fonts.gstatic.com/s/i/materialicons/check/v15/24px.svg') no-repeat center / contain;
  -webkit-mask: url('https://fonts.gstatic.com/s/i/materialicons/check/v15/24px.svg') no-repeat center / contain;
  background-color: var(--primary-color);
  flex-shrink: 0;
}

.event-card.reverse {
  flex-direction: row-reverse !important;
}

/* Partners Section */
.partners-section {
  padding: var(--section-padding) 0;
  background: #ffffff;
}

.partners-logos {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.partner-logo {
  display: flex;
  align-items: center;
}

.partner-logo img {
  max-height: 200px;
  filter: grayscale(0%);
  transition: var(--transition);
}

.partner-logo:first-child img {
  max-height: 120px;
}

.partner-logo:hover img {
  transform: scale(1.05);
}

/* Contact Section */
.contact-section {
  padding: var(--section-padding) 0;
  background-image: url('img/contact.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(69, 69, 69, 0.498) 20%, rgba(0, 30, 60, 0) 100%);
  z-index: 1;
}

.contact-glass-card {
  background: var(--glass-bg-white);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1.5px solid var(--glass-border-white);
  border-radius: 18px;
  padding: 60px 50px;
  box-shadow: var(--nav-shadow);
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.contact-text h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.contact-text p {
  color: #243048;
  margin-bottom: 32px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-row input {
  flex: 1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 15px;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition);
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 20px rgba(21, 101, 192, 0.2);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.main-footer {
  background: linear-gradient(135deg, #f8fafc 0%, #e8f2ff 100%);
  padding: 60px 0 40px 0;
  border-top: 1px solid #ddd;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.footer-logo img {
  width: 60px;
  height: 70px;
  flex-shrink: 0;
}

.footer-logo span {
  font-family: 'Permanent Marker', cursive;
  font-weight: 400;
  color: var(--primary-color);
  font-size: 1.2rem;
  text-align: center;
  line-height: 1.3;
}

.footer-contact {
  flex: 1;
  text-align: right;
  width: 100%;
}

.footer-contact p {
  margin: 0 0 8px 0;
  color: #2a3a5a;
  font-weight: 700;
}

.footer-contact a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-copyright {
  text-align: center;
  border-top: 1px solid #e5e7eb;
  padding-top: 20px;
  margin-top: 10px;
}

.footer-copyright p {
  margin: 0;
  color: #6b7280;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--glass-bg-white);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1.5px solid var(--glass-border-white);
  border-radius: 50%;
  box-shadow: var(--nav-shadow);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.5rem;
  transition: var(--transition);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

.scroll-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(21, 101, 192, 0.4);
}

/* Mobile Responsive Design */
@media (max-width: 1250px) {
  .hero-content {
    padding: 0 32px;
  }
}

@media (max-width: 1024px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 0;
    border-top: 1px solid var(--nav-border);
    flex-direction: column;
    padding: 20px;
    margin-top: 0px;
    box-shadow: var(--nav-shadow);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu li {
    margin-bottom: 10px;
  }

  .nav-menu a {
    display: block;
    padding: 12px 16px;
    text-align: center;
    font-size: 1.2rem;
  }
}

@media (max-width: 900px) {
  .hero-header {
    min-height: unset;
    background-attachment: scroll;
  }
  
  .nav-glass {
    margin: 0;
    max-width: 100%;
    width: 100%;
    border-radius: 0;
    justify-content: space-between;
    padding: 12px 16px;
  }

  .header-logo {
    gap: 12px;
  }

  .header-logo img {
    width: 50px;
    height: 60px;
  }

  .site-title {
    font-size: 1rem;
  }
  
  .hero-content {
    flex-direction: column;
    text-align: center;
    padding: 0 16px;
    margin-top: 30px;
    margin-bottom: 24px;
  }

  .mission-layout,
  .chairman-layout {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .mission-image {
    width: 100%;
  }

  .mission-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: center;
  }
  
  .event-card,
  .event-card.reverse {
    flex-direction: column !important;
  }

  .event-img-side,
  .event-text-side {
    width: 100%;
  }

  .event-text-side {
    padding: 22px 16px;
  }

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

  /* Footer mobile layout */
  .footer-main {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .footer-logo {
    text-align: center;
    justify-content: center;
    width: 100%;
  }

  .footer-contact {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .content-container {
    padding: 0 16px;
  }

  .nav-glass {
    padding: 8px 12px;
    margin: 0;
  }
  
  .header-logo img {
    width: 60px;
    height: 60px;
  }
  
  .site-title {
    font-size: 0.9rem;
  }
  
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.8rem; }
  
  .nav-menu {
    gap: 6px;
  }
  
  .nav-menu a {
    font-size: 0.9rem;
    padding: 3px 8px;
  }

  .contact-section {
    background-attachment: scroll;
  }
  
  .contact-glass-card {
    padding: 40px 25px;
  }
  
  .form-row {
    flex-direction: column;
    gap: 12px;
  }
  
  .partners-logos {
    gap: 30px;
  }

  .partner-logo img {
    max-height: 150px;
  }
  
  .partner-logo:first-child img {
    max-height: 90px;
  }

  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

.btn {
  background-color: #007bff;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}
.btn:disabled {
  background-color: #6c757d;
  cursor: not-allowed;
}
.btn:hover:not(:disabled) {
  background-color: #0056b3;
}
.btn-loading {
  display: none;
}
.hidden {
  display: none !important;
  position: absolute;
  left: -9999px;
}
.form-messages {
  margin-bottom: 20px;
  padding: 15px;
  border-radius: 5px;
  font-weight: 500;
  display: none;
  transition: all 0.3s ease;
}
.form-messages.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  display: block;
}
.form-messages.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  display: block;
}
.chairman__media.-with-overlay {
  flex: 1 1 400px;
  position: relative;
  text-align: center;
}

.chairman__media.-with-overlay img {
  width: 100%;
  max-width: 400px;
  height: 450px;
  object-fit: cover;
  border-radius: var(--card-radius);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}

.chairman__media.-with-overlay:hover img {
  transform: scale(1.02);
}

/* Nový overlay štýl z Variant B */
.overlay-quote {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(15, 39, 71, 0.62); /* tmavšia verzia navy farby */
  color: white;
  padding: 20px;
  border-radius: 15px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.overlay-quote p {
  margin: 0;
  font-style: italic;
  text-align: center;
}

.overlay-quote__author {
  display: block;
  opacity: 0.9;
  font-size: 14px;
  margin-top: 6px;
  text-align: center;
}

/* Mobil – overlay sa presunie pod fotku */
@media (max-width: 640px) {
  .overlay-quote {
    position: static;
    margin-top: 10px;
    background: #eef3fa;
    color: var(--ao-text);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
.chairman-layout {
  display: flex;
  flex-wrap: wrap;
  gap: var(--content-spacing);
  align-items: flex-start;
}

.chairman-content {
  flex: 1 1 400px;
}

.chairman-image {
  flex: 1 1 400px;
  text-align: center;
}

.chairman-image img {
  width: 100%;
  max-width: 400px;
  height: 450px;
  object-fit: cover;
  border-radius: var(--card-radius);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}

.chairman-image:hover img {
  transform: scale(1.02);
}

/* Nový box s citátom pod fotkou */
.quote-box {
  margin-top: 20px;
  background: #eef3fa; /* jemné svetlomodré pozadie (ladiace s webom) */
  color: var(--ao-text);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.quote-box p {
  margin: 0;
  font-style: italic;
  text-align: center;
}

.quote-author {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  opacity: 0.8;
  text-align: center;
}

/* Mobil: všetko pod sebou */
@media (max-width: 768px) {
  .chairman-layout {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
.partnership-section {
  padding: var(--section-padding) 0;
  background: #f8fafc; /* Svetlé pozadie, aby ladilo so zvyškom stránky */
}

.partnership-layout {
  display: flex;
  gap: var(--content-spacing);
  align-items: center;
}

.partnership-content {
  flex: 1 1 500px; /* Text vedľa fotky */
}

.partnership-content h2 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.partnership-content p {
  color: #2a3a5a;
  font-size: 1.1rem;
  line-height: 1.6;
}

.partnership-content strong {
  font-weight: 700;
  color: var(--primary-color);
}

/* Mobilná verzia - fotka a text sa zoradia pod seba */
@media (max-width: 768px) {
  .partnership-layout {
    flex-direction: column;
    text-align: center;
  }
}
/* Efekt na obrázok v novej sekcii */
.partnership-image img {
  width: 100%;  /* Urobí obrázok rovnaký ako v sekcii "Ako pomáhame" */
  height: auto; /* Udržuje správny pomer strán */
  object-fit: cover; /* Udržuje pokrytie bez deformácie */
  border-radius: var(--card-radius);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease; /* Pridanie plynulého prechodu pri hoveri */
}

/* Upravíme rodičovský kontajner, aby sa šírka prispôsobila */
.partnership-section .content-container {
  max-width: 1250px;  /* Toto zabezpečí, že obsah bude mať rovnakú šírku ako sekcia "Ako pomáhame" */
  margin: 0 auto;
  padding: 0 24px;  /* Pridáme padding pre vyvážený vzhľad */
}

/* Efekt pri hoveri - obrázok sa zväčší */
.partnership-image img:hover {
  transform: scale(1.02);
}
/* Nastavíme maximálnu šírku kontajnera pre novú sekciu */
.partnership-section .content-container {
  max-width: 1250px;  /* Rovnaká šírka ako sekcia "Ako pomáhame" */
  margin: 0 auto;
  padding: 0 24px;  /* Pridanie paddingu pre vyvážený vzhľad */
}

/* Nastavíme šírku obrázka, aby sa prispôsobil kontajneru */
.partnership-image img {
  width: 100%;  /* Obrázok bude rovnako široký ako kontajner */
  height: auto; /* Udržuje správny pomer strán */
  object-fit: cover; /* Udržuje pokrytie bez deformácie */
  border-radius: var(--card-radius); /* Rovnaký okraj ako v sekcii "Ako pomáhame" */
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);  /* Rovnaký efekt tieňa */
  transition: transform 0.3s ease; /* Pridanie plynulého prechodu pri hoveri */
}

/* Efekt pri hoveri - obrázok sa zväčší */
.partnership-image img:hover {
  transform: scale(1.02);
}
