@import url('global-font.css');
@import url('responsive.css');

/* 1. Base Reset & Global Styles */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #fafbfc;
  color: #333;
  line-height: 1.6;
}

video {
  width: 100%;
  height: 65vh;
  object-fit: cover;
  position: static;
  top: 0;
  left: 0;
  z-index: 1;
}

/* 2. Responsive Utility Classes */
img {
  max-width: 100%;
  height: auto;
}

.hidden-mobile {
  display: initial;
}

.visible-mobile {
  display: none;
}

@media (max-width: 767px) {
  .hidden-mobile {
    display: none;
  }

  .visible-mobile {
    display: initial;
  }
}

/* 3. Buttons */
#whatsapp-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  cursor: pointer;
  padding: 8px;
  transition: box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

#whatsapp-btn img {
  width: 40px;
  height: 40px;
  display: block;
}

@media (min-width: 768px) {
  #whatsapp-btn {
    bottom: 30px;
    left: 30px;
    padding: 10px;
  }

  #whatsapp-btn img {
    width: 50px;
    height: 50px;
  }
}

#chatbot-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background: #ff0000;
  padding: 5px;
  padding-bottom: 0;
  border-radius: 10px;
}


.see-all-blogs-btn {
  display: inline-block;
  background: linear-gradient(90deg, #f33434 0%, #ff7e5f 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 12px 36px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(243, 52, 52, 0.13);
  transition: 0.2s, transform 0.15s, box-shadow 0.2s;
  margin: 0 auto;
  letter-spacing: 0.03em;
}

.register-btn {
  margin: 16px 0 0 0;
  padding: 12px 24px;
  background: #f33434;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  height: 48px;
  display: block;
  width: calc(100% - 32px);
  margin: 0 16px 16px;
}

.register-btn:hover {
  transform: translateY(-2px);
}

/* 4. Layout Containers */
.product-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 30px 2%;
  gap: 30px;
  position: relative;
}

.articles-grid,
.testimonials-grid,
.events-container {
  display: grid;
}

.articles-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.testimonials-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  max-width: 1300px;
  margin: 0 auto;
}

.events-container {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
}

@media (min-width: 768px) {
  .events-container {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
}

/* 5. Component Sections */
.tagline {
  background-color: #fff;
  text-align: center;
  color: #585858;
  padding: 15px 5%;
  font-size: clamp(1.2rem, 4vw, 2rem);
  font-weight: bold;
  line-height: 1.5em;
}

.company-description {
  background: #fff;
  color: #585858;
  text-align: center;
  padding: 20px 5%;
  font-size: clamp(1.1rem, 3vw, 1.65rem);
  font-weight: bolder;
  margin-bottom: 20px;
}

.homepage-hero {
  background: #fff;
  padding: 116px 5% 96px;
}

.hero-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 86px;
  max-width: 1351px;
  margin: 0 auto;
}

.hero-copy {
  flex: 0 0 497px;
  min-width: 320px;
}

.hero-label {
  color: #ff0000;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 7px;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 800;
}

.hero-title {
  margin: 0;
  color: #17181b;
  font-size: clamp(38px, 3.2vw, 48px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -2.2px;
}

.hero-title span {
  display: block;
}

.hero-title br {
  display: none;
}

.hero-underline {
  width: 64px;
  height: 3px;
  background: #ff0000;
  margin-top: 15px;
}

.hero-description {
  flex: 1 1 0;
  min-width: 320px;
  max-width: 685px;
  padding-top: 43px;
  color: #434d5a;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
}

.hero-description p {
  margin: 0 0 23px;
}

.hero-description p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .hero-grid {
    flex-direction: column;
    gap: 0;
  }

  .hero-copy,
  .hero-description {
    flex: 1 1 100%;
    width: 100%;
  }

  .hero-description {
    padding-top: 36px;
    max-width: none;
  }
}

@media (max-width: 680px) {
  .homepage-hero {
    padding: 50px 4% 40px;
  }

  .hero-title {
    font-size: clamp(2rem, 7.5vw, 3.2rem);
    letter-spacing: -1.2px;
  }

  .hero-label {
    letter-spacing: 4px;
  }
}

/* 6. Individual Components */
.category {
  flex: 1 1 350px;
  max-width: 500px;
  min-width: 300px;
  background: #fff;
  border-radius: 0;
  padding: 20px;
  text-align: left;
  box-shadow: none;
  position: relative;
  overflow: hidden;
  border: 1px solid #dddddd;
  margin: 0 0 30px 0;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s ease;
  min-height: 520px;
}

.category:hover {
  border-color: #ff0000;
  transform: translateY(-4px);
}

.category-header-image {
  width: 100%;
  height: 225px;
  padding: 0;
  border-radius: 0;
  box-sizing: border-box;
  overflow: hidden;
  margin-bottom: 15px;
  position: relative;
  box-shadow: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-header-image:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.category-header-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.category-header-image:hover img {
  transform: scale(1.05);
}

.category-header-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
  pointer-events: none;
}

.category h3 {
  margin-top: 0;
  margin-bottom: 12px;
  padding: 0 10px;
  font-size: 1.1rem;
  font-weight: 800;
  color: #050505;
  position: relative;
  padding-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.category h3 a {
  font-weight: inherit;
  color: inherit;
}

.category-description {
  margin: 0 10px 14px;
  padding: 0 10px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #4b5562;
  font-weight: 400;
  text-align: center;
}

.category-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 4px;
  flex-grow: 1;
}

.img-container {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 15px 10px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 180px;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  text-align: center;
  line-height: 1.3;
  text-decoration: none;
}

.img-container::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f33434, #ff7e5f);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.img-container:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(255, 0, 0, 0.15);
  border-color: #ff0000;
  color: #ff0000;
  text-decoration: none;
}

.img-container:hover::before {
  opacity: 0;
}

.img-container img {
  aspect-ratio: 1 / 1;
  width: 110px;
  height: 110px;
  object-fit: contain;
  margin-bottom: 12px;
  border-radius: 8px;
  background: #f8f9fa;
  padding: 10px;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.img-container p {
  margin-top: auto;
}

.img-container:hover img {
  transform: scale(1.1);
}

/* Section Title Styling */
.section-title {
  color: #343434;
  width: min(90%, 1351px);
  margin: 0 auto;
  font-size: clamp(1.3rem, 4vw, 2rem);
  font-weight: 700;
}

.section-title h2 {
  margin: 0;
  color: #17181b;
  font-size: clamp(34px, 3vw, 48px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -1.7px;
}

.section-title--feature {
  padding-top: 12px;
}

.section-eyebrow {
  margin: 0 0 14px;
  color: #ff0000;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 7px;
  text-transform: uppercase;
  font-weight: 800;
}

.section-title--feature h2 {
  font-size: clamp(34px, 3vw, 46px);
  letter-spacing: -2px;
}

.section-title-underline {
  width: 64px;
  height: 3px;
  background: #ff0000;
  margin-top: 15px;
}

.article {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  height: auto;
  min-height: 340px;
  margin-bottom: 0;
  flex: 0 0 calc(33.333% - 16px);
  text-decoration: none;
  color: inherit;
}

.article:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 32px rgba(243, 52, 52, 0.12);
  border-color: #f33434;
}

.article-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.5s ease;
}

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

.article h3 {
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  margin: 0;
  color: #1a1a1a;
  line-height: 1.4;
  flex-grow: 1;
  padding: 16px 0 0 0;
  height: auto;
}

.event {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  height: auto;
  min-height: 340px;
  margin-bottom: 0;
  flex: 0 0 calc(33.333% - 16px);
  text-decoration: none;
  color: inherit;
}

.event:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 32px rgba(243, 52, 52, 0.12);
  border-color: #f33434;
}

.event-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.5s ease;
}

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

.event h3 {
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  margin: 0;
  color: #1a1a1a;
  line-height: 1.4;
  flex-grow: 1;
  padding: 16px 0 0 0;
  height: auto;
}

.event-date {
  background: none;
  color: #f33434;
  padding: 0;
  font-size: 0.9rem;
  position: static;
  margin: 0 0 8px 0;
  border-radius: 0;
  z-index: auto;
  display: block;
  text-align: left;
}

.view-all-blogs,
.view-all-events {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 30px;
}

.view-all-btn {
  display: inline-block;
  align-self: flex-end;
  margin-left: auto;
  margin-right: 10px;
  padding: 12px 30px;

  background: transparent;
  color: #f33434;
  border: 1px solid #f33434;
  border-radius: 6px;

  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;

  cursor: pointer;
  transition: all 0.3s ease;
}

.view-all-btn:hover {
  background: #f33434;
  color: white;
}

.testimonial {
  background: #fff;
  border: #91919a 1px solid;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 1.5px 4px rgba(0, 0, 0, 0.04);
  padding: 24px;
  margin: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.18s, box-shadow 0.18s;
  position: relative;
  min-height: 100px;
}

.testimonial:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.13), 0 2px 8px rgba(0, 0, 0, 0.06);
}

.profile {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}

.profile-img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 16px;
  border: 2px solid #e0e7ef;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.profile-info h4 {
  margin: 0 0 2px 0;
  font-size: 1.rem;
  font-weight: 600;
  color: #1a2340;
}

.profile-info p {
  font-size: 0.8rem;
  color: #6c7a92;
}

.testimonial-text {
  font-size: 1rem;
  color: #2a3147;
  margin-bottom: 18px;
  margin-top: 0;
  font-style: italic;
  line-height: 1;
  flex: 1;
}

.rating {
  font-size: 1.5rem;
  color: #f7b32b;
  letter-spacing: 3px;
  margin-top: 0;
}

.testimonial-title {
  width: min(90%, 1351px);
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 900;
  color: #17181b;
  text-align: left;
  margin: 70px auto 32px;
  line-height: 1.05;
  letter-spacing: -1.7px;
}

.testimonials {
  background: #ffffff;
  padding: 110px 0 78px;
}

.testimonial-heading {
  margin-bottom: 47px;
}

.testimonials-grid {
  width: min(90%, 1351px);
  max-width: none;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.testimonial {
  position: relative;
  min-height: 322px;
  margin: 0;
  padding: 40px 40px 38px;
  background: #f5f5f5;
  border: 1px solid #dddddd;
  border-top: 2px solid #ff0000;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: none;
  border: 2px solid #ff0000;
}

.testimonial-stars {
  color: #e92721;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 3px;
  margin-bottom: 22px;
  font-weight: 900;
}

.testimonial-text {
  margin: 0;
  color: #050505;
  font-size: 20px;
  line-height: 1.4;
  font-style: normal;
  font-weight: 600;
  letter-spacing: -0.25px;
  flex: 1;
}

.testimonial-divider {
  width: 100%;
  height: 1px;
  background: #dddddd;
  margin: 25px 0 25px;
}

.testimonial-author h4 {
  margin: 0 0 5px;
  color: #050505;
  font-size: 16px;
  line-height: 1.1;
  font-weight: 900;
}

.testimonial-author p {
  margin: 0;
  color: #4d5560;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 400;
}

.testimonial-quote-mark {
  position: absolute;
  top: -23px;
  right: 26px;
  color: rgba(255, 0, 0, 0.16);
  font-size: 78px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -18px;
}

/* 7. Carousels */
.latest-articles {
  background: #fff;
  padding: 70px 0 36px;
}

.events {
  background: #f8f8f8;
  padding: 70px 0 36px;
}

.blogs-carousel-container,
.events-carousel-container,
.categories-carousel-container,
.testimonials-carousel-container {
  position: relative;
  width: min(90%, 1351px);
  margin: 0 auto;
  overflow: hidden;
  padding: 42px 0 72px;
}

@media (min-width: 768px) {

  .blogs-carousel-container,
  .events-carousel-container,
  .categories-carousel-container,
  .testimonials-carousel-container {
    padding: 42px 0 72px;
  }
}

.carousel-track,
.events-carousel-track,
.testimonials-carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}
.categories-carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  will-change: transform;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

@media (min-width: 768px) {
  .carousel-arrow {
    width: 48px;
    height: 48px;
    font-size: 16px;
  }
}

.carousel-arrow:hover {
  background: #f33434;
  color: #fff;
  box-shadow: 0 6px 20px rgba(243, 52, 52, 0.2);
}

.carousel-arrow.left {
  left: 0;
}

.carousel-arrow.right {
  right: 0;
}

.carousel-arrow::before {
  content: none;
}

.carousel-arrow.left::before {
  transform: rotate(-135deg);
  margin-left: 4px;
}

.carousel-arrow.right::before {
  transform: rotate(45deg);
  margin-right: 4px;
}

/* 8. Media Queries — Centralized */
@media (max-width: 1024px) {
  .product-categories {
    flex-direction: column;
  }

  .category-images {
    grid-template-columns: repeat(2, 1fr);
  }

  .articles-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .event {
    flex: 0 0 48%;
  }
}

@media (max-width: 768px) {
  .category-images {
    grid-template-columns: 1fr;
  }

  .img-container img {
    width: 80px;
    height: 80px;
  }

  .event {
    flex: 0 0 100%;
    height: auto;
  }

  .testimonials-grid,
  .articles-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-title {
    font-size: 1.3rem;
    text-align: center;
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .category-images {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 4px;
  }

  .img-container {
    max-width: 50%;
    min-height: 120px;
    padding: 10px 4px;
    font-size: 0.95rem;
    max-width: unset;
  }

  .img-container img {
    width: 60px;
    height: 60px;
    padding: 6px;
  }
}

.blog-carousel-item {
  flex: 0 0 calc((100% - 48px) / 3);
}

/* Homepage testimonials carousel — uniform card size */
.testimonials-carousel-track {
  align-items: stretch;
}

.testimonials-carousel-track .blog-carousel-item {
  display: flex;
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  box-sizing: border-box;
}

.testimonials-carousel-track .blog-carousel-item .testimonial {
  width: 100%;
  flex: 1;
  margin: 0;
  height: 340px;
  min-height: 340px;
  max-height: 340px;
  box-sizing: border-box;
}

.testimonials-carousel-track .blog-carousel-item .testimonial-text {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
}

@media (max-width: 899px) {
  .testimonials-carousel-track .blog-carousel-item {
    flex: 0 0 calc((100% - 24px) / 2);
  }
}

@media (max-width: 599px) {
  .testimonials-carousel-track .blog-carousel-item {
    flex: 0 0 100%;
  }
}

.latest-articles .carousel-arrow,
.categories-carousel-container .carousel-arrow {
  top: auto;
  bottom: 0;
  transform: none;
  width: 40px;
  height: 40px;
  border: 1px solid #dddddd;
  border-radius: 0;
  box-shadow: none;
  color: #111111;
  background: #ffffff;
  font-size: 21px;
}

.latest-articles .carousel-arrow.left,
.categories-carousel-container .carousel-arrow.left {
  left: auto;
  right: 48px;
}

.latest-articles .carousel-arrow.right,
.categories-carousel-container .carousel-arrow.right {
  right: 0;
}

.latest-articles .carousel-arrow:hover,
.categories-carousel-container .carousel-arrow:hover {
  background: #ffffff;
  color: #ff0000;
  border-color: #ff0000;
  box-shadow: none;
}

.event-carousel-item {
  flex: 0 0 calc((100% - 48px) / 3);
}
.category-carousel-item {
  flex: 0 0 calc((100% - 48px) / 3);
  max-width: calc((100% - 48px) / 3);
}

.events .carousel-arrow,
.testimonials .carousel-arrow {
  top: auto;
  bottom: 0;
  transform: none;
  width: 40px;
  height: 40px;
  border: 1px solid #dddddd;
  border-radius: 0;
  box-shadow: none;
  color: #111111;
  background: #ffffff;
  font-size: 21px;
}

.events .carousel-arrow.left,
.testimonials .carousel-arrow.left {
  left: auto;
  right: 48px;
}

.events .carousel-arrow.right,
.testimonials .carousel-arrow.right {
  right: 0;
}

.events .carousel-arrow:hover,
.testimonials .carousel-arrow:hover {
  background: #ffffff;
  color: #ff0000;
  border-color: #ff0000;
  box-shadow: none;
}

.blog-card {
  background: #fff;
  border-radius: 0;
  box-shadow: none;
  border: 1px solid #dddddd;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  transition: border-color 0.25s ease, transform 0.25s ease;
  text-align: left;
  min-height: 504px;
  height: 100%;
  box-sizing: border-box;
}

.event-card {
  background: #fff;
  border-radius: 0;
  box-shadow: none;
  border: 1px solid #dddddd;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  transition: border-color 0.25s ease, transform 0.25s ease;
  text-align: left;
  min-height: 512px;
  height: 100%;
  box-sizing: border-box;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: #ff0000;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: none;
  border-color: #ff0000;
}

.blog-image {
  width: 100%;
  height: 262px;
  object-fit: cover;
  margin: 0;
  border-radius: 0;
  background: #f8f9fa;
  box-shadow: none;
}

.event-image-wrap {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: #ddd;
}

.event-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  border-radius: 0;
  background: #f8f9fa;
  box-shadow: none;
}

.event-tag {
  position: absolute;
  top: 17px;
  left: 16px;
  background: #ff0000;
  color: #ffffff;
  padding: 9px 13px 8px;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.event-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 24px 34px;
}

.blog-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 23px 24px 28px;
}

.blog-title {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
  color: #050505;
  margin: 0 0 17px 0;
  text-align: left;
  letter-spacing: -0.6px;
}

.event-title {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
  color: #050505;
  margin: 0 0 16px 0;
  text-align: left;
  letter-spacing: -0.6px;
}

.blog-date {
  font-size: 12px;
  line-height: 1;
  color: #525b66;
  margin: 0 0 17px;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 800;
}

.event-date {
  font-size: 12px;
  line-height: 1;
  color: #525b66;
  margin: 0 0 20px;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-body {
  font-size: 15px;
  line-height: 1.55;
  color: #4b5562;
  margin: 0 0 23px;
  text-align: left;
}

.event-body {
  font-size: 15px;
  line-height: 1.55;
  color: #4b5562;
  margin: 0 0 24px;
  text-align: left;
}

.read-more {
  color: #f33434;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  line-height: 1;
  margin-top: auto;
  align-self: flex-start;
  transition: color 0.2s;
}

.read-more span {
  display: inline-block;
  margin-left: 8px;
  font-size: 18px;
  line-height: 0;
}

.see-more {
  color: #e32626;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  line-height: 1;
  margin-top: auto;
  align-self: flex-start;
  padding: 12px 0 4px;
  transition: color 0.2s;
}

.see-more span {
  display: inline-block;
  margin-left: 8px;
  font-size: 18px;
  line-height: 0;
}

.see-more:hover {
  color: #c62828;
}


/* Video Container & Controls */
.video-container {
  position: relative;
  width: 100%;
  height: 65vh;
  /* Fill header/viewport */
  overflow: hidden;
  background: #000;
}

.video-container video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

/* On mobile, same full screen behavior */
@media (max-width: 768px) {
  .video-container video {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    object-position: center center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

.audio-control-btn {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s;
  z-index: 10;
}

@media (min-width: 768px) {
  .audio-control-btn {
    right: 50px;
    bottom: 50px;
  }
}

.audio-control-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.read-more:hover {
  color: #ff7e5f;
}

/* --- Unified Carousel Styles --- */
