/* Reset & base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
}

a {
  text-decoration: none;
  color: #0ea5e9;
}

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

/* Header */
.header {
  background: #083249;
  color: #fff;
  padding: 10px 0;
}

.header-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.header .logo img {
  height: 60px;
}

.header .title h1 {
  font-size: 1.6rem;
  text-align: center;
  flex: 1;
}

.header .title p {
  font-size: 1rem;
  text-align: center;
  flex: 1;
}

.header-buttons {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.header-buttons .btn {
  background: #0ea5e9;
  color: #fff;
  padding: 8px 12px;
  border-radius: 5px;
  text-align: center;
  font-weight: bold;
  transition: background 0.3s;
}

.header-buttons .btn:hover {
  background: #083249;
}

/* --- Navbar --- */
.navbar {
  position: relative;
  background: #0ea5e9;
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: center; /* Center menu items on desktop */
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin: 0 15px;
}

.nav-links a {
  color: #fff;
  font-weight: 500;
  padding: 15px 0;
  display: block;
}

.nav-links a:hover {
  color: #083249;
}

/* Hamburger & Close Icon */
.hamburger, .close-menu {
  display: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  position: absolute;
  right: 15px;
  top: 12px;
  z-index: 3001; /* ensure above everything */
}

/* --- Mobile View --- */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* Hidden by default */
    flex-direction: column;
    background: #0ea5e9;
    position: fixed; /* changed to fixed so it overlays slides */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* full height overlay */
    padding: 60px 0 20px;
    text-align: center;
    animation: slideDown 0.3s ease-in-out;
    z-index: 3000; /* sits above slider */
  }

  .nav-links li {
    margin: 10px 0;
  }

  .nav-links.show {
    display: flex; /* Show menu when toggled */
  }

  .hamburger {
    display: block; /* visible in mobile */
    position: fixed;
    top: 15px;
    right: 15px;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    z-index: 4000; /* keep it above menu */
  }

  .close-menu {
    display: none;
    position: fixed;
    top: 15px;
    right: 15px;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    z-index: 4001; /* higher than hamburger */
  }

  .close-menu.show {
    display: block; /* Show close icon when menu is open */
  }
}

/* Animation */
@keyframes slideDown {
  from { transform: translateY(-10px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* --- Submenu --- */
.has-submenu {
  position: relative;
}

.submenu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #0ea5e9;
  display: none;
  min-width: 180px;
  padding: 0;
  margin: 0;
  border-radius: 4px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.1);
  z-index: 2000;
}

.submenu li a {
  padding: 10px 15px;
  color: #fff;
  display: block;
}

.submenu li a:hover {
  background: #083249;
  color: #fff;
}

/* Show submenu on hover (desktop) */
.has-submenu:hover .submenu {
  display: block;
}

/* --- Mobile submenu --- */
@media (max-width: 768px) {
  .has-submenu {
    width: 100%;
  }

  .submenu {
    position: static;
    box-shadow: none;
    background: #0ea5e9;
  }

  .submenu li a {
    padding: 12px 0;
  }

  /* allow expanding submenu on mobile by toggling a class */
  .has-submenu.open .submenu {
    display: block;
  }
}

/* Banner Slider */
.banner {
  position: relative;
  overflow: hidden;
  height: 400px;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

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

.slide-content {
  position: absolute;
  bottom: 30px;
  left: 50px;
  color: #fff;
}

.slide-content h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  text-align: left; /* left alignment */
  color: #fff;      /* white text */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* subtle shadow for readability */
}

.slide-content h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
  text-align: left; /* left alignment */
  color: #fff;      /* white text */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* subtle shadow for readability */
}


.slide-content p {
  font-size: 1rem;
  margin-bottom: 15px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.slide-content .btn {
  background: #083249;
  padding: 10px 15px;
  border-radius: 5px;
  color: #fff;
  font-weight: bold;
}

.slide-content .btn:hover {
  background: #0ea5e9;
  color: #fff;
}

/* Slider arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(8, 50, 73, 0.7);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2;
}

.prev-arrow {
  left: 10px;
}

.next-arrow {
  right: 10px;
}

.slider-arrow:hover {
  background: #2dd4bf;
  color: #083249;
}

/* Slider dots */
.dots-container {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: #2dd4bf;
}

.dot:hover {
  background: #0ea5e9;
}

/* Info Cards Section */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.card {
  background: #ffffff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

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

.card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: #083249;
}

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

.card .btn {
  background: #0ea5e9;
  color: #fff;
  padding: 8px 12px;
  border-radius: 5px;
  font-weight: bold;
}

.card .btn:hover {
  background: #083249;
}

/* Event Section - Fully Adjusted */
/* Full-width background */
.event-section {
  background-color: #abf9a5;  /* green background spans the entire screen */
  padding: 60px 15px;
}

/* Inner container (keeps content centered, like brochures) */
.event-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;

  max-width: 1200px;   /* limits content width */
  margin: 0 auto;      /* centers inside */
  box-sizing: border-box;
}


.event-details {
  flex: 1;
  min-width: 280px;
  padding: 15px;
}

.event-details h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #083249;
}
.event-details h3 {
  font-size: 0.9rem;
  margin-bottom: 15px;
  color: #083249;
}

.event-details p {
  margin-bottom: 15px;
  color: #083249;
  font-size: 1rem;
}

.event-details .btn {
  background: #0ea5e9;
  color: #fff;
  padding: 10px 15px;
  border-radius: 5px;
  margin-right: 10px;
  margin-bottom: 5px;
  display: inline-block;
  transition: background 0.3s;
}

.event-details .btn:hover {
  background: #083249;
  color: #fff;
}

.event-image {
  flex: 1;
  min-width: 280px;
  padding: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.event-image img {
  width: auto;                 /* Keep natural width */
  max-width: 100%;             /* Prevent overflow */
  height: auto;                /* Maintain aspect ratio */
  max-height: 550px;           /* Fits your 448x550 image */
  object-fit: contain;         /* Show the full image without cropping */
  border-radius: 10px;
  display: block;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .event-section {
    flex-direction: column;
    gap: 15px;
  }

  .event-image img {
    max-height: 400px;        /* Slightly smaller on tablets */
  }
}

@media (max-width: 480px) {
  .event-image img {
    max-height: 300px;        /* Smaller for mobiles */
  }
}

.event-details .btn {
  display: inline-block;   /* or inline-flex */
  margin-right: 10px;
  margin-bottom: 5px;
  padding: 10px 20px;      /* adjust for better size */
  background: #0ea5e9;
  color: #fff;
  border-radius: 5px;
  transition: background 0.3s;
  text-decoration: none;   /* make sure links don't get underlined */
  font-size: 1rem;
  font-weight: 500;
}

/* Full-width banner with gradient overlay */
.full-banner {
  position: relative;
  background: url("../images/modi-s.jpg") no-repeat center center/cover;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
  overflow: hidden;
}

.full-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* black overlay with 40% opacity */
  z-index: 1;
}

.full-banner > * {
  position: relative;
  z-index: 2; /* keeps text above the overlay */
}

.full-banner .banner-content {
  max-width: 800px;
  margin: auto;
  animation: fadeIn 1s ease-out;
}

.full-banner .quote-text {
  font-size: 1.8rem;
  font-weight: 500;
  margin: 15px 0;
}

.full-banner .quote-author {
  font-size: 1.2rem;
  font-style: italic;
  margin-top: 10px;
  color: #fff;
}

/* Fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive typography */
@media (max-width: 600px) {
  .full-banner .quote-text {
    font-size: 1.4rem;
  }
  .full-banner .quote-icon {
    font-size: 3rem;
  }
}
/* Full-width about us with gradient overlay */
.about-us {
  background: linear-gradient(135deg, #ffffff, #f8f8f8);
  color: #083249;
  text-align: center;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}

.about-us .banner-content {
  max-width: 800px;
  margin: auto;
  animation: fadeIn 1s ease-out;
}

.about-us .quote-text {
  font-size: 1.8rem;
  font-weight: 500;
  margin: 15px 0;
}

.about-us .quote-author {
  font-size: 1.2rem;
  font-style: italic;
  margin-top: 10px;
  color: #555555;
}

/* Fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive typography */
@media (max-width: 600px) {
  .about-us .quote-text {
    font-size: 1.4rem;
  }
  .about-us .quote-icon {
    font-size: 3rem;
  }
}

.footer {
  background: #002b3d;   /* dark blue background */
  color: #fff;
  padding: 30px 0 0;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
}

.footer-column {
  flex: 1 1 220px;
  margin: 10px;
}

.footer-column h4 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: #fff;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 6px;
}

.footer-column ul li a {
  color: #ddd;
  text-decoration: none;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}

/* ✅ Full-width copyright strip */
.footer-bottom {
  background: #444;
  padding: 12px 0;
  width: 100%;
}

.footer-bottom .copyright {
  text-align: center;
  margin: 0;
  font-size: 0.9rem;
  color: #fff;
}

/* ✅ Responsive footer */
@media (max-width: 992px) {  /* tablets */
  .footer-container {
    flex-wrap: wrap;
  }
  .footer-column {
    flex: 1 1 45%;   /* two columns per row */
  }
}

@media (max-width: 600px) {  /* mobiles */
  .footer-column {
    flex: 1 1 100%;  /* full width each */
    text-align: center;
  }
  .footer-column h4 {
    margin-top: 15px;
  }
}
/* Responsive */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: center;
  }

  .header .title {
    text-align: center;
    margin: 10px 0;
  }

  .header-buttons {
    flex-direction: row;
    gap: 10px;
  }

  .slide-content {
    left: 20px;
    bottom: 20px;
  }

  .slide-content h2 {
    font-size: 1.5rem;
  }

  .event-section {
    flex-direction: column;
  }

  .event-details .btn {
    display: block;
    margin-right: 0;
  }
}
/* Subpage Banner */
.subpage-banner {
  position: relative;
  height: 200px; /* narrower height */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.subpage-banner::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5); /* overlay */
}

.subpage-banner h1 {
  position: relative;
  font-size: 2rem;
  z-index: 1;
  margin: 0;
}

/* Content Section Styling */
.content-section {
  padding: 40px 20px;
  line-height: 1.6;
}

.content-section h2 {
  margin-top: 20px;
  margin-bottom: 10px;
  color: #0b5c78;
}

.content-section h3 {
  margin-top: 30px;
  margin-bottom: 10px;
  color: #0b5c78;
}

.content-section ol,
.content-section ul {
  padding-left: 20px;
}

.content-section li {
  margin-bottom: 8px;
}
.executive-section {
  text-align: center;
  margin: 60px auto;
}

.executive-section h2 {
  font-size: 2rem;
  color: #083249;
  margin-bottom: 40px;
}

.committee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  justify-items: center;
}

.committee-member {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  text-align: center;
}

.committee-member:hover {
  transform: translateY(-5px);
}

.committee-member img {
  width: 100%;
  max-width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.committee-member h3 {
  font-size: 1.2rem;
  color: #083249;
  margin-bottom: 5px;
}

.committee-member p {
  font-size: 1rem;
  color: #555;
  margin: 0;
}

/* Responsive for mobile */
@media (max-width: 768px) {
  .committee-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  
  .committee-member img {
    width: 140px;
    height: 140px;
  }
}
/* Small Journal Card Styles */
.journal-card {
  display: block;
  background: #ffffff;
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  color: inherit;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  max-width: 280px; /* small fixed width */
  margin: 0 auto; /* center inside grid cell */
}

.journal-card img {
  width: 50%;
  max-height: 160px; /* smaller image height */
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 10px;
}

.journal-card h3 {
  font-size: 1rem; /* smaller text */
  color: #083249;
  margin-bottom: 5px;
}

.journal-card p {
  font-size: 0.85rem;
  color: #555;
  margin: 0;
}

.journal-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Grid layout for 3 per row on desktop */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px; /* reduced gap */
}
.section-divider {
  border: none;
  border-top: 2px solid #13ff00; /* line color */
  margin: 0; /* remove extra spacing */
}
.slide-divider {
  border: none;
  border-top: 2px solid #083249; /* line color */
  margin: 0; /* remove extra spacing */
}
/* Button styling */
    #backToTop {
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 99;
      background-color: #ddd;
      color: #000;
      border: none;
      outline: none;
      cursor: pointer;
      padding: 15px 20px;
      border-radius: 50%;
      font-size: 14px;
      text-align: center;
      display: none; /* Hidden by default */
      transition: 0.3s;
    }

    #backToTop:hover {
      background-color: #bbb;
    }

    #backToTop span {
      display: block;
      font-size: 18px;
    }
/* Form styling */
    .form-container {
      max-width: 800px;
      margin: auto;
      background: #fff;
      padding: 25px;
      border-radius: 8px;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
    }
    h2 {
      text-align: center;
      color: #333;
    }
    label {
      font-weight: bold;
      display: block;
      margin-top: 12px;
    }
    input, textarea, select {
      width: 100%;
      padding: 8px;
      margin-top: 6px;
      border: 1px solid #ccc;
      border-radius: 5px;
    }
    .form-section {
      margin-top: 20px;
      padding: 15px;
      border: 1px solid #ddd;
      border-radius: 6px;
      background: #fafafa;
    }
    .inline {
      display: inline-block;
      margin-right: 20px;
    }
    button {
      margin-top: 20px;
      padding: 12px 25px;
      background: #007bff;
      color: #fff;
      border: none;
      border-radius: 6px;
      cursor: pointer;
    }
    button:hover {
      background: #0056b3;
    }
.payment-options {
  display: flex;
  gap: 20px; /* spacing between options */
  margin-top: 8px;
}

.payment-options label {
  font-weight: normal; /* so it doesn’t look bold */
  cursor: pointer;
}
.membership-btn {
  margin-top: 20px;
  text-align: center;   /* Centers the button */
}

.membership-btn .btn {
  background: #0ea5e9;
  color: #fff;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  display: inline-block;
  transition: background 0.3s ease;
}

.membership-btn .btn:hover {
  background: #083249;
}

/* Two-column layout */
.two-column-section {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 40px auto;   /* ✅ keeps it centered */
}

/* make left column not hug the edge */
.left-column {
  flex: 3;
  background: #fff;
  padding: 30px 40px;  /* more breathing room */
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: left;   /* keep text aligned */
}

/* right sidebar */
.right-column {
  flex: 1;
  background: #f4f4f4;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  position: sticky;
  top: 100px;
  height: fit-content;
}

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

.topic-list li {
  margin-bottom: 10px;
}

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

.topic-list a {
  display: block;
  padding: 4px 0;
  color: #0ea5e9;
  text-decoration: none;
  transition: color 0.3s;
}

.topic-list a:hover {
  color: #083249;
  text-decoration: underline;
}

/* style for sub-topics */
.sub-topic {
  display: none;         /* hidden by default */
  margin-left: 15px;     /* indent */
  list-style: none;
  padding: 0;
}

.has-sub .toggle-sub {
  cursor: pointer;
  font-weight: bold;     /* make parent bold */
}

.has-sub.open .sub-topic {
  display: block;        /* show when parent has "open" */
}

.has-sub.open .toggle-sub::after {
  content: " ▼";         /* down arrow when open */
}
.has-sub .toggle-sub::after {
  content: " ▸";         /* right arrow when closed */
}

/* Main section */
    .gallery-album {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;             
      justify-content: center;
      padding: 40px 20px;
      background: #f9f9f9;
    }

    /* Individual card */
    .gallery-album .album-card {
      flex: 1 1 300px;   /* responsive sizing */
      max-width: 370px;  /* don’t exceed 370px */
      border-radius: 12px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      background: #fff;
      overflow: hidden;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

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

    /* Image */
    .gallery-album .album-card img {
      width: 100%;
      height: auto;
      aspect-ratio: 370 / 235;  /* keeps image ratio */
      object-fit: cover;
      border-radius: 12px 12px 0 0;
      display: block;
    }

    /* Content */
    .gallery-album .album-card .content {
      padding: 15px;
      text-align: center;
      border-top: 2px solid #eee;
    }

    .gallery-album .album-card .content h3 {
      margin: 10px 0 5px;
      font-size: 18px;
      font-weight: 600;
      color: #333;
    }

    .gallery-album .album-card .content p {
      margin: 0;
      font-size: 14px;
      color: #666;
    }

    /* Mobile tweaks */
    @media (max-width: 768px) {
      .gallery-album {
        gap: 15px;
      }
      .gallery-album .album-card {
        flex: 1 1 100%;
        max-width: 100%;
      }
    }

/* Brochure section wrapper */
.brochure-section {
  background: #f0f8ff;   /* ✅ light blue background (change as needed) */
  padding: 60px 20px;
}

/* Center content and match layout */
.brochure-section .brochure-heading {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.brochure-section .brochure-heading h2 {
  font-size: 2rem;
  color: #083249;
  margin-bottom: 10px;
}

.brochure-section .brochure-heading p {
  font-size: 1rem;
  color: #555;
  margin: 0;
}

/* Brochure gallery wrapper */
.brochure-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  justify-items: center;

  max-width: 1200px;   /* match other sections */
  margin: 0 auto;      /* center the grid */
  padding: 40px 20px;  /* spacing */
}

/* Overall link */
.brochure-cover-link {
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  outline: none;
  display: inline-block;
  width: 100%;
  max-width: 320px; /* limit card width */
}

/* Card layout */
.brochure-cover {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(12, 24, 40, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease;
  cursor: pointer;
}

/* Image */
.brochure-cover__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px 12px 0 0;
  object-fit: cover;
}

/* Caption under image */
.brochure-cover__caption {
  padding: 12px 15px;
  background: #fff;
  text-align: center;
}

.brochure-cover__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #222;
}

.brochure-cover__subtitle {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: #555;
}

/* Hover effect */
.brochure-cover-link:hover .brochure-cover,
.brochure-cover-link:focus .brochure-cover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 12px 36px rgba(12,24,40,0.16);
}

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

@media (max-width: 600px) {
  .brochure-gallery {
    grid-template-columns: 1fr;
  }
}
