/* style.css */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}
:root {
  scroll-padding-top: 100px; /* Adjust this to match your navbar height */
}

/* ...existing code... */
header.hero {
  position: relative;
  top: 64px;
  color: #fff;
  background-image: url('images/avatar1.jpg'), url('images/BTS2.jpg'),url('images/FINAL EDIT 10.jpeg');
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: 0% 50%, 50% 50%, 100% 50%;
  background-size: 33.34% 100%, 33.34% 100%, 33.34% 100%; 
  /* background-image: url('images/avatar1.jpg'), url('images/FINAL EDIT 10.jpeg');
  background-repeat: no-repeat, no-repeat;
  background-position: 0% 50%, 100% 50%;
  background-size: 50% 100%, 50% 100%;  */
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 1;
  pointer-events: none; /* Allow interaction with content above */
}
.hero-title{
  font-family: 'Times New Roman', Times, serif;
  color: red;
  font-weight: bold;
  
  span {
    color: white;

  }
}
.hero-subtitle{
  position: relative;
  top:-10px;
  color: white; 
}
.hero-content {
  position: relative;
  top:-100px;
  z-index: 2;
  padding: 25px 25px 25px 100px;
  font-size: 1.1rem;
  max-width: 750px;
}
/* Ensure SVG overlaps the bottom of the header */
.svg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px; /* Slight overlap */
  width: 100%;
  z-index: 3;
  pointer-events: none;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgb(255,255,255);
  color: black;
}
.logo img{
  height: 100%;
  width: 100px;
}
.topbar .logo {
  font-weight: bold;
  font-size: 1.5rem;
  color: #000;
  margin-left: 2rem;
}
/* Shrink topbar and logo on scroll */
.topbar.shrink {
  padding: 0.3rem 0.5rem !important;
  transition: padding 0.2s;
}
.topbar.shrink .logo img {
  width: 80px !important;
  height: auto !important;
  transition: width 0.2s;
}
.topbar nav a {
  position: relative;
  margin: 0 0.75rem;
  text-decoration: none;
  color: #000;
  font-weight: 500;
}

.btn-red {
  background-color: red;
  color: white;
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}

.btn-white {
  background-color: white;
  color: red;
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 4px;
  margin-right: 0.5rem;
  font-weight: bold;
}


.community {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
    margin-top: 25px;;
    margin-bottom: 50px;
}
.about {

  position: relative;
  z-index: 9;
}
.about-header{
  color: red;;
}
.avatars {
    display: flex;
    align-items: center;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: #fff 2px solid;
    overflow: hidden;
    margin-right: 5px;
    z-index: 4;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.avatar:nth-child(+n + 2) {
    position: relative;
    left: -1rem;
    z-index: 3;
}
.avatar:nth-child(+n + 3) {
    position: relative;
    left: -2rem;
    z-index: 2;
}
.count {
    position: relative;
    left: -3rem;
    background-color: red;
    color: white;
    border-radius: 50%;
    padding: 15px 15px;
    font-size: 14px;
    font-weight: bold;
    z-index: 1;
}

.image-section img {
  max-width: 100%;
  display: block;
  margin: 2rem auto;
  border-radius: 8px;
}

.feature-list {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}
.text-center {
  text-align: center;
}
/* Meet Our Coaches Section */
.coaches-section {
  padding-bottom: 4rem;
  padding-left: 2rem;
  padding-right: 2rem;
  background-color: #fff;
  text-align: center;
}

.coaches-section h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  font-family: "Georgia", serif;
}

.coach-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.coach-icon {
  text-align: center;
  flex: 1 1 120px;
  max-width: 200px;
}

.coach-icon img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.coach-icon h4 {
  color: red;
  font-weight: bold;
  font-size: 1rem;
  margin: 0.25rem 0 0;
}

.coach-icon p {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
}

.coach-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.coach-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  text-align: left;
}

.coach-card h3 {
  color: red;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.coach-card h4 {
  color: #555;
  font-size: 0.95rem;
  font-weight: normal;
  margin-bottom: 1rem;
}

.coach-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  color: #333;
}

.coach-card p strong {
  font-weight: 600;
}

.features {
  background-color: #f8f8f8;
  padding: 2rem;
}
/* Styles for the extended features section */
.extended-features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.extended-feature {
  background-color: #fff;
  border: 1px solid #eee;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  border-radius: 6px;
  padding: 2rem;
  width: 100%;
  max-width: 400px;
  text-align: left;
  position: relative;
}
.extended-feature p {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.4;
    padding-left: 4rem;
    margin-top: -3rem;
}
.extended-feature1 {
  background-color: #fff;
  border: 1px solid #eee;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  border-radius: 6px;
  padding: 2rem;
  width: 100%;
  max-width: 400px;
  text-align: left;
  position: relative;
}
.extended-feature h4 {
  min-height: 60px;
  text-align: center;
}
.extended-feature1 h4 {
  color: red;
  text-align: center;
}
.extended-feature1 p {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.4;
}
/* Course Breakdown Section */
.course-breakdown {
  padding: 60px 20px;
  background-color: #f8f8f8;
  text-align: center;
}

.course-breakdown h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.course-breakdown .course-summary {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.course-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin: 40px auto;
  max-width: 900px;
  text-align: left;
}

.course-image {
  position: relative;
}

.course-image img {
  width: 100%;
  height: auto;
  max-height: 500px;
  display: block;
}

.course-image .label {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background-color: #000;
  color: #fff;
  font-weight: 700;
  padding: 6px 12px;
  font-size: 0.9rem;
  border-radius: 4px;
}

.course-details {
  padding: 30px;
}

.course-details h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.course-details .badge {
  background-color: red;
  color: white;
  padding: 6px 12px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 0.85rem;
}

.course-details p {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.skills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 15px 30px;
  font-size: 0.9rem;
}

.skill {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #222;
}

.skill .dot {
  width: 10px;
  height: 10px;
  background-color: red;
  border-radius: 50%;
  display: inline-block;
}
/* PIE Section */
.pie-education {
  position: relative;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6)), url('../images/pie-bg.jpeg') center/cover no-repeat;
  padding: 40px;
  color: #fff;
  min-height: 900px;
  text-align: center;
}
.pie-education h1 {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 40px;
}
.pie-education h2 {
  color: red;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.pie-education h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #eee;
}

.pie-education .intro {
  color: #ccc;
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto 40px;
}

.pie-education .pie-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.pie-education .programme-details {
  background: rgba(255, 255, 255, 1);
  color: #000;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-align: left;
}

.pie-education .programme-details h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: red;
  margin-bottom: 15px; 
}

.pie-education .programme-point {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.pie-education .programme-details .btn {
  display: inline-block;
  background-color: red;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 20px;
}

/* Process Selector Section */
.process-selector-top {
  background-color: #f8f8f8;
  padding-top: 2rem;;
}
.process-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 60px 20px;
  background-color: #f8f8f8;
  color: #000;
  font-family: 'Arial', sans-serif;
}

.selector-options {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.selector-tab {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.2s, background-color 0.3s;
}

.selector-tab:hover,
.selector-tab.active {
  background-color: red;
  color: #fff;
  transform: scale(1.02);
}

.selector-tab h4 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.selector-tag {
  display: inline-block;
  background-color: #eee;
  color: #333;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 4px;
  margin-right: 5px;
  margin-bottom: 8px;
}

.selector-tab.active .selector-tag {
  background-color: #fff;
  color: red;
}

.selector-tab p {
  font-size: 0.9rem;
  margin-top: 10px;
}

.selector-details {
  flex: 2;
  min-width: 300px;
}

.selector-panel {
  display: none;
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

.selector-panel.active {
  display: block;
}

.selector-panel h3 {
  color: red;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.selector-panel p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.selector-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}
.selector-panel ul {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.selector-panel ul li {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.selector-panel .btn {
  display: inline-block;
  background-color: red;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s;
}

.selector-panel .btn:hover {
  background-color: red;
}
.process-carousel {
  position: relative;
  width: 100%;
  max-height: 400px;
  overflow: hidden;
}

.process-carousel .swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.carousel-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 20px 30px;
  border-radius: 10px;
  text-align: center;
  z-index: 10;
}

.carousel-overlay h2 {
  margin: 0 0 10px;
  font-size: 1.8rem;
}

.carousel-overlay p {
  margin: 0;
  font-size: 1rem;
}
.feature {
  flex: 1;
  min-width: 200px;
  background: #f9f9f9;
  padding: 1rem;
  text-align: center;
  border-radius: 6px;
  border: 1px solid #eee;
}

.course-item {
  background: #f4f4f4;
  margin-bottom: 2rem;
  padding: 1rem;
  border-radius: 8px;
}

.course-item img {
  max-width: 100%;
  border-radius: 4px;
}

.enrol {
  text-align: center;
  background: #eee;
  padding: 4rem 2rem;
}
.contact-section{
  margin-top: 3rem;
  padding-top: 6rem;
  min-height: 80vh;;
}

footer {
  background: #222;
  color: white;
  padding: 2rem;
  text-align: center;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-content div {
  margin: 1rem;
}

/* Sleek & Modern Booking Form Styles */

.booking-form {
  background: rgba(255,255,255,0.97);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  padding: 32px 28px 24px 28px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.booking-form h1.title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #e63946;
  margin-bottom: 10px;
  text-align: center;
  letter-spacing: -1px;
}

.booking-form p.text-center {
  color: #444;
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.booking-form .form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 18px;
}

.booking-form .form-group {
  margin-bottom: 18px;
}

.booking-form .form-group.col-md-3,
.booking-form .form-group.col-md-6,
.booking-form .form-group.col-md-9,
.booking-form .form-group.col-md-12 {
  flex: 1 1 100%;
  min-width: 0;
}

@media (min-width: 600px) {
  .booking-form .form-group.col-md-3 { flex: 0 0 25%; }
  .booking-form .form-group.col-md-6 { flex: 0 0 48%; }
  .booking-form .form-group.col-md-9 { flex: 0 0 73%; }
  .booking-form .form-group.col-md-12 { flex: 0 0 100%; }
}

.booking-form label {
  font-weight: 600;
  color: #222;
  margin-bottom: 6px;
  display: block;
  font-size: 1rem;
}

.booking-form input[type="text"],
.booking-form input[type="email"],
.booking-form input[type="name"],
.booking-form select,
.booking-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid #e0e0e0;
  border-radius: 7px;
  background: #fafbfc;
  font-size: 1rem;
  color: #222;
  transition: border 0.2s;
  margin-bottom: 4px;
}

.booking-form input[type="text"]:focus,
.booking-form input[type="email"]:focus,
.booking-form input[type="name"]:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: #e63946;
  outline: none;
  background: #fff;
}

.booking-form textarea {
  min-height: 80px;
  resize: vertical;
}

.booking-form .custom-file {
  position: relative;
  width: 100%;
}

.booking-form .custom-file-input {
  opacity: 0;
  width: 100%;
  height: 42px;
  position: absolute;
  left: 0;
  top: 0;
  cursor: pointer;
}

.booking-form .custom-file-label {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid #e0e0e0;
  border-radius: 7px;
  background: #fafbfc;
  color: #888;
  font-size: 1rem;
  cursor: pointer;
  transition: border 0.2s;
}

.booking-form .custom-file-input:focus + .custom-file-label {
  border-color: #e63946;
  color: #222;
  background: #fff;
}

.booking-form button.button {
  background: #e63946;
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 12px 36px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(230,57,70,0.08);
}

.booking-form button.button:hover,
.booking-form button.button:focus {
  background: #b71c2b;
  box-shadow: 0 4px 16px rgba(230,57,70,0.13);
}

@media (max-width: 700px) {
  .booking-form {
    padding: 18px 6vw 18px 6vw;
    max-width: 98vw;
  }
  .booking-form .form-row {
    flex-direction: column;
    gap: 0;
  }
}

/* --- Responsive Navbar and Hero/Header --- */

/* Add this at the end of your CSS file */

/* Hamburger menu button hidden on desktop */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  margin-left: 1rem;
  cursor: pointer;
  color: #000;
  z-index: 1100;
}

/* Responsive Navbar */
@media (max-width: 900px) {
  .topbar {
    padding: 1rem;
  }
}

@media (max-width: 900px) {
  .topbar {
    flex-direction: row;
    padding: 1rem 0.5rem;
  }
  .topbar nav {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 1rem 0;
    z-index: 1001;
  }
  .topbar nav.open {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .topbar .logo {
    font-size: 1.2rem;
  }
  .topbar nav a {
  position: relative;
  margin: 0.3rem 1rem;
  text-decoration: none;
  color: #000;
  font-weight: 500;
}

}

@media (max-width: 900px) {
  header.hero{
  background-image: url('images/FINAL EDIT 10.jpeg') !important;
  background-repeat: no-repeat;
  background-size: 100%;
  background: round;
  }
  .hero-content {
  position: relative;
  top:0;
  z-index: 2;
  padding: 25px 25px 25px 100px;
  font-size: 1.1rem;
  max-width: 750px;

  p {
    margin-bottom: 0.5rem;
    margin-top: 1rem;
  }
}
.about{
  padding: 1rem;
  margin-top: 2rem;
  margin-bottom: 0;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  text-align: center;
  position: relative;
  z-index: 9;
}
.carousel-overlay h2{
  font-size: 1rem;
}
.carousel-overlay p{
  font-size: .8rem;
}
}

/* === Mobile Optimizations (added by ChatGPT) === */
@media (max-width: 700px) {
  .hero-content {
    padding: 20px;
    font-size: 1rem;
    text-align: left;
  }

  .hero-content .btn-white,
  .hero-content .btn-red {
    display: inline-block;
    margin-top: 10px;
    text-align: center;
    font-size: 0.9rem;
  }

  .community {
    position: relative;
    align-items: center;
    gap: 10px;
  }

  .avatars {
    justify-content: center;
  }

  .text {
    margin-left: 0;
  }

  .coach-icons {
    align-items: center;
  }

  .coach-cards {
    grid-template-columns: 2fr;
    padding: 0 1rem;
  }

  .course-card {
    margin: 20px 10px;
  }

  .skills {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .pie-education .pie-content {
    flex-direction: column;
    align-items: stretch;
  }

  .pie-education .programme-details,
  .pie-education .benefits {
    padding: 20px;
  }

  .process-selector {
    flex-direction: column;
  }

  .process-selector {
    flex-direction: column;
  }
  .selector-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .selector-tab {
    width: 100%;
    box-sizing: border-box;
  }
  .selector-panel {
    width: 100%;
  }
}
/* === End Mobile Optimizations === */
.dashboard-tabs {
      display: flex;
      border-bottom: 2px solid #eee;
      margin-bottom: 2rem;
      gap: 0.5rem;
      flex-wrap: wrap;
    }
    .dashboard-tab {
      padding: 1rem 2rem;
      cursor: pointer;
      border: none;
      background: none;
      font-weight: bold;
      color: #333;
      border-bottom: 3px solid transparent;
      transition: border 0.2s, color 0.2s;
      border-radius: 0.5rem 0.5rem 0 0;
    }
    .dashboard-tab.active, .dashboard-tab:focus {
      color: #e63946;
      border-bottom: 3px solid #e63946;
      background: #f8f9fa;
    }
    .dashboard-panel { display: none; }
    .dashboard-panel.active { display: block; }
    .edit-news-form, .add-vacancy-form {
      background: #fafbfc;
      border-radius: 8px;
      padding: 1.5rem;
      margin-bottom: 2rem;
      box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    }
    .success-message { color: #28a745; font-weight: bold; margin-bottom: 1rem; }
    .dashboard-panel h4 { margin-bottom: 1.5rem; }
.calendar-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding: 1.5rem;
  margin-bottom: 2rem;
  min-height: 350px;
}
.calendar-month {
  font-weight: bold;
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #e63946;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.25rem;
}
.calendar-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.calendar-date {
  background: #f8f9fa;
  border-radius: 6px;
  padding: 0.5rem 0.9rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: #333;
  border: 1px solid #eaeaea;
  min-width: 110px;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  cursor: pointer;
  transition: background 0.2s;
}
.calendar-date:hover {
  background: #e3f2fd;
}
@media (max-width: 767px) {
  .calendar-card { min-height: unset; }
  .calendar-date { min-width: 90px; font-size: 0.95rem; }
}
/* Timeline container */
.timeline {
  max-width: 1000px;
  min-height: 56vh;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* Each news entry block */
.containers {
  width: 100%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  padding: 1.5rem 2rem;
}

/* Remove alternating timeline layout */
.containers.left,
.containers.right {
  float: none;
  clear: both;
}

/* Headings (Year or Date) */
.content h2 {
  margin-top: 0;
  font-size: 1.5rem;
  color: red;
  border-bottom: 2px solid red;
  padding-bottom: 0.3rem;
  margin-bottom: 1rem;
}

/* Main paragraph */
.content p {
  font-size: 1.1rem;
  margin: 0 0 1rem 0;
}

/* Gallery layout */
.gallery {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1rem;
}

.gallery a {
  flex: 1 1 calc(33.333% - 10px);
  max-width: calc(33.333% - 10px);
  display: block;
}
.warehouse-icon {
  width: 100%;
  height: auto;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.warehouse-icon:hover {
  transform: scale(1.03);
  cursor: pointer;
}
/* Responsive layout */
@media (max-width: 768px) {
  .gallery a {
    flex: 1 1 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }
}

@media (max-width: 480px) {
  .gallery a {
    flex: 1 1 100%;
    max-width: 100%;
  }
}