/* ==================== home.css ==================== */
:root {
  --color-primary-green: #9bffa0;
  --color-bg-dark: #000;
  --color-white: #ffffff;
  --color-black: #000;
  --color-place: rgba(0, 195, 255, 1);
  --color-orange: rgba(255, 171, 102, 1);
  --color-text-secondary: rgba(255, 255, 255, 0.8);
  --color-text-muted: rgba(255, 255, 255, 0.7);
  --font-main: "Castledown", sans-serif;
}

/* ==================== Global Reset & Fonts ==================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: "Castledown";
  src: url("../assests/fonts/castledown-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
}

body {
  background-color: var(--color-bg-dark);
  color: var(--color-white);
  font-family: var(--font-main);
  margin: 0;
  position: relative;
}

/* Gradient Shape */
.home-hero-gradient {
  position: absolute;
  top: 800px;
  right: -2%;
  width: 50%;
  max-width: 1100px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.8;
}

.olx-highlight {
  background: linear-gradient(90deg, var(--color-white) 0%, #64f56b 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header Styles overrides for home.html based on header.html structure */
.site-navbar {
  padding: 12px 0;
  background: rgba(0, 0, 0, 0.8) !important;
  backdrop-filter: blur(10px);
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.site-navbar .navbar-brand img {
  height: 35px;
}

.custom-header-nav {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.custom-header-nav .nav-link {
  color: var(--color-white) !important;
  text-decoration: none;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.3s ease;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
  padding: 8px 0 !important;
  margin: 0 10px;
}

.custom-header-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: var(--color-white);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.custom-header-nav .nav-link:hover::after,
.custom-header-nav .nav-link.active::after {
  transform: scaleX(1);
}

.custom-header-nav .nav-link:hover,
.custom-header-nav .nav-link.active {
  color: var(--color-white) !important;
}

/* Dropdown Styles */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

.custom-header-nav .dropdown-menu {
  background-color: rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px 0;
  backdrop-filter: blur(10px);
}

.custom-header-nav .dropdown-item {
  color: var(--color-white);
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 500;
  padding: 8px 20px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.custom-header-nav .dropdown-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  padding-left: 25px;
}

.dropdown-toggle::after {
  display: inline-block;
  vertical-align: middle;
  border-top: .3em solid;
  border-right: .3em solid transparent;
  border-bottom: 0;
  border-left: .3em solid transparent;
  transition: transform 0.3s ease;
}

.nav-item.dropdown:hover .dropdown-toggle::after,
.dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 50px 20px 40px;
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  font-size: 56px;
  font-weight: 300;
  margin-bottom: 15px;
  line-height: 1.3;
}

.hero-section .subtitle {
  font-size: 24px;
  margin-bottom: 15px;
}

.hero-stats {
  margin-bottom: 25px;
  color: var(--color-white);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 60px;
}

.btn-custom,
.btn-custom-video {
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 0.5px;
  border: 1px solid transparent;
  text-decoration: none;
  display: inline-block;
}

.btn-custom-video:hover {
  border-color: var(--color-orange) !important;
  /* background: var(--color-orange) !important; */
}

.btn-outline,
.btn-outline-video {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-outline:hover {
  border-color: var(--color-primary-green);
  color: var(--color-primary-green);
}

.btn-solid {
  background: var(--color-primary-green);
  color: var(--color-bg-dark);
}

.btn-solid:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.hero-main-image {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
}

.hero-video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.video-mute-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--color-primary-green);
  color: var(--color-white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.video-mute-btn:hover {
  background: var(--color-primary-green);
  color: var(--color-bg-dark);
}

.video-mute-btn i {
  font-size: 16px;
}

/* Features Section */
.features-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.features-grid {
  display: flex;
  gap: 60px;
}

.feature-content {
  flex: 1;
}

.feature-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-white);
  font-size: 12px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feature-label img {
  width: 15px;
}

.feature-content h2 {
  font-size: 42px;
  line-height: 1.1;
  font-weight: 300;
  margin-bottom: 25px;
  background: linear-gradient(90deg, var(--color-white) 0%, #64f56b 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-content p {
  color: var(--color-white);
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 35px;
  max-width: 450px;
  opacity: 0.9;
}

.feature-card {
  flex: 1.2;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.keynote-note {
  position: absolute;
  bottom: 0px;
  left: 15px;
  font-size: 40px;
  padding-bottom: 10px;
  color: var(--color-primary-green);
  line-height: 1.2;
}

.feature-card img {
  width: 100%;
  display: block;
  height: auto;
}

.section-seprator {
  position: relative;
  width: 100%;
  height: 1px;
}

.separator-line {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 1px;
  /* border thickness */
  background: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(255, 255, 255, 0.5), rgba(0, 0, 0, 0));
}

/* Event Highlights Section */
.gallery-section {
  padding: 80px 0 0;
  position: relative;
  z-index: 1;
}

.gallery-header {
  margin-bottom: 40px;
  padding: 0 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-header h2 {
  font-size: 42px;
  font-weight: 300;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--color-white) 0%, #64f56b 32%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.3;
}

.gallery-header p {
  color: var(--color-white);
  opacity: 0.9;
  max-width: 500px;
  line-height: 1.5;
  font-size: 15px;
}

.gallery-swiper {
  width: 100%;
  padding: 10px 0;
}

.gallery-swiper .swiper-slide {
  background: #000;
}

.gallery-swiper .swiper-slide img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.gallery-swiper .swiper-slide-active img {
  transform: scale(1.02);
  /* Slight pop for active slide */
  z-index: 2;
  position: relative;
}

.gallery-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  /* Tighter gap to match design */
  margin: 30px auto;
  width: 200px;
}

.swiper-pagination-custom {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.swiper-pagination-custom .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  background: var(--color-white);
  border-radius: 50%;
  opacity: 0.5;
  margin: 0 !important;
  transition: all 0.3s;
}

.swiper-pagination-custom .swiper-pagination-bullet-active {
  background: var(--color-primary-green);
  opacity: 1;
  transform: scale(1.2);
}

.gallery-nav-btn {
  width: 42px;
  height: 28px;
  border: 1.5px solid var(--color-primary-green);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-primary-green);
  cursor: pointer;
  background: transparent;
  transition: all 0.3s;
  font-size: 11px;
}

.gallery-nav-btn:hover {
  background: rgba(155, 255, 160, 0.1);
}

.gallery-action {
  text-align: center;
  margin-top: 25px;
}

/* News Section */
.news-section {
  padding: 0 40px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.news-bg-gradient {
  position: absolute;
  top: -510px;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  min-width: 1600px;
  /* Full coverage for 1440px+ screens */
  max-width: none;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}

.news-grid {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  gap: 60px;
}

.news-image {
  flex: 1.2;
}

.news-image img {
  width: 100%;
  display: block;
}

/* 3x3 News Logo Grid */
.news-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 120px;
  /* Fixed equal row height — all 9 cells identical */
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 0;
  overflow: hidden;
  width: 100%;
  background: transparent;
}

.news-logo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  border-right: 2px solid rgba(255, 255, 255, 0.7);
  border-bottom: 2px solid rgba(255, 255, 255, 0.7);
  /* No aspect-ratio — grid-auto-rows controls height uniformly */
}

/* Remove right border on last cell of each row */
.news-logo-cell:nth-child(3n) {
  border-right: none;
}

/* Remove bottom border on last row */
.news-logo-cell:nth-child(n+7) {
  border-bottom: none;
}

.news-logo-cell img {
  max-width: 120px;
  width: 80%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* News section responsive */
@media (max-width: 991px) {
  .news-grid {
    flex-direction: column;
    gap: 30px;
  }

  .news-image {
    width: 100%;
    flex: none;
    padding-left: 15px;
    /* align with Bootstrap navbar container */
    padding-right: 15px;
  }

  .news-section {
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  .news-logo-grid {
    grid-auto-rows: 90px;
  }

  .news-logo-cell {
    padding: 10px 8px;
  }

  .news-logo-cell img {
    max-width: 80px;
    width: 75%;
  }
}

@media (max-width: 480px) {
  .news-logo-grid {
    grid-auto-rows: 70px;
  }

  .news-logo-cell {
    padding: 6px 4px;
  }

  .news-logo-cell img {
    max-width: 55px;
    width: 70%;
  }
}

.news-content {
  flex: 1;
}

.news-content h2 {
  font-size: 48px;
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 20px;
}

.news-highlight {
  color: var(--color-primary-green);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  font-weight: 600;
}

.news-content p {
  color: var(--color-white);
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 20px;
  opacity: 0.9;
}

/* ================== OVERLAY SECTIONS ================== */
.gradient {
  background-image: url('../assests/images/bg-end.webp');
  background-size: cover !important;
  background-position: center !important;
  background-attachment: fixed !important;
  background-repeat: no-repeat !important;
}

/* Testimonials Section */
.testimonials-section {
  padding: 100px 0px 30px 0px;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonials-title {
  font-size: 52px;
  font-weight: 300;
  line-height: 1.1;
  text-align: left;
  max-width: 1200px;
  margin: 0 auto 50px auto;
  padding: 0 40px;
  position: relative;
  z-index: 999;

}

.testimonials-slider-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

.testimonials-swiper {
  width: 100%;
  max-width: 1100px;
  /* enough to show 3 cards */
  padding: 30px 0;
}

.testimonials-swiper .swiper-slide {
  width: 280px;
  height: auto;
  transition: all 0.4s ease;
}

.testimonial-card {
  background: transparent;
  border: 0.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  color: var(--color-white);
  opacity: 0.5;
  transform: scale(0.85);
  /* Default shrunk state */
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.9;
  font-style: italic;
  font-weight: 400;
  margin: 0;
}

/* Active center card styling popup */
.testimonials-swiper .swiper-slide-active .testimonial-card {
  opacity: 1;
  transform: scale(1.15);
  /* Scale up active */
  border-color: var(--color-primary-green);
}

.testimonials-swiper .swiper-slide-active .testimonial-card .testimonial-text {
  color: var(--color-primary-green);
}

.ts-nav-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-primary-green);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-primary-green);
  cursor: pointer;
  background: transparent;
  transition: all 0.3s;
  font-size: 14px;
  flex-shrink: 0;
}

.ts-nav-btn:hover {
  background: rgba(155, 255, 160, 0.1);
}

/* Brands Marquee */
.brands-marquee-section {
  padding: 60px 0;
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.brands-label {
  font-size: 10px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
}

.brands-label img {
  height: 8px;
}

.brands-marquee {
  display: flex;
  gap: 60px;
  width: max-content;
  align-items: center;
  animation: scrollLogos 20s linear infinite;
}

.brands-marquee .logo-item img {
  height: 35px;
  /* Adjust based on size */
  opacity: 1;
  /* Ensure logos are white */
  transition: opacity 0.3s;
}

.brands-marquee .logo-item:hover img {
  opacity: 0.7;
  filter: brightness(0) invert(1);
}

@keyframes scrollLogos {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Footer Section */
.home-footer {
  padding: 60px 0;
  font-family: var(--font-main);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-claim-logo {
  height: 35px;
}

.sponsor-label {
  font-size: 16px;
  color: var(--color-white);
}

.sponsor-olx {
  font-size: 16px;
  color: var(--color-white);
  font-weight: bold;
}

.h-20 {
  height: 18px;
}

.footer-col-text {
  font-size: 16px;
  color: var(--color-white);
}

.footer-label {
  display: block;
  font-size: 16px;
  color: var(--color-white);
  margin-bottom: 10px;
}

.social-icons {
  display: flex;
  justify-content: start;
  gap: 18px;
}

.social-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s;
}

.social-icon:hover {
  transform: translateY(-2px);
}

.footer-btn {
  background: var(--color-white);
  color: var(--color-bg-dark);
  border: 1px solid var(--color-white);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.3s;
}

.footer-btn:hover {
  background: transparent;
  color: var(--color-white);
}

.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-col-links a {
  color: var(--color-white);
  text-decoration: none;
  font-size: 16px;
  transition: color 0.2s;
}

.footer-col-links a:hover {
  color: var(--color-primary-green);
}

/* photo gallery page */
.photo-gallery {
  background-image: url("../assests/images/photo-gallery-olxclaimai.webp");
}

.photo-gallery .navbar {
  border-bottom: 0.77px solid !important;
  border-image-source: linear-gradient(111.17deg, #7c7c7c -1.87%, #ff99ff 103.65%);
  border-image-slice: 1;
  background-color: #00000000;
}

/* === Photo Gallery Grid Styles === */
.gallery-page-main {
  padding-top: 60px;
  padding-bottom: 80px;
}

.gallery-main-title {
  font-size: 52px;
  font-weight: 300;
  margin-bottom: 40px;
  text-align: center;
  color: var(--color-white);
}

.gallery-main-title {
  background: linear-gradient(90deg, #FFFFFF 50%, #FF99FF 60%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.photo-masonry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 16px;
  width: 100%;
  grid-auto-flow: dense;
}

.photo-masonry-grid .grid-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  transform: translateZ(0);
}

.photo-masonry-grid .grid-item {
  height: 100%;
}

.photo-masonry-grid .grid-item.h2 {
  grid-row: span 2;
}

.photo-masonry-grid .grid-item.w2 {
  grid-column: span 2;
}



.photo-masonry-grid .grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.photo-masonry-grid .grid-item:hover img {
  transform: scale(1.05);
}

.photo-masonry-grid .grid-item .download-btn {
  pointer-events: auto;
  position: absolute;
  bottom: 16px;
  right: 16px;
  border-radius: 30px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 1);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.photo-masonry-grid .grid-item:hover .download-btn {
  opacity: 1;
  transform: translateY(0);
}

.photo-masonry-grid .grid-item .download-btn:hover {
  background: rgba(255, 255, 255, 0.4);
  color: var(--color-white);
}

/* news page */
.news {
  background-image: url('../assests/images/news-bg.webp');
  background-position: bottom;
}

.news .navbar {
  border-bottom: 0.77px solid !important;
  border-image-source: linear-gradient(111.17deg, #7c7c7c -1.87%, #00c3ff 103.65%);
  border-image-slice: 1;
  background-color: #00000000;
}

/* === News Cards Grid === */
.news-page-main {
  padding-top: 60px;
  padding-bottom: 80px;
}

.news-title {
  font-size: 42px;
  font-weight: 300;
  margin-bottom: 30px;
  text-align: center;
  background: linear-gradient(90deg, #FFFFFF 30%, #00C3FF 80%);
  background-clip: text;
  -webkit-text-fill-color: transparent;

}

.custom-news-card {
  background: #2a2a2a;
  border-radius: 0;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-img-top-custom {
  background-color: #cc0000;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 180px;
}

.card-img-top-custom img {
  height: 100%;
  width: 100%;
}

.card-body-custom {
  padding: 30px 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  background-color: #292929;
}

.custom-news-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
  line-height: 1.5;
}

.custom-news-title a {
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.custom-news-title a:hover {
  color: #00C3FF;
}

.custom-news-text {
  font-size: 12px;
  color: #d1d1d1;
  line-height: 1.5;
  margin-bottom: 30px;
  font-weight: 300;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more-btn {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-white);
  text-decoration: none;
}

.read-more-btn:hover {
  color: #00C3FF;
}

.read-more-text {
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 13px;
  font-weight: 300;
}

.read-more-btn:hover .read-more-text {
  color: #00C3FF;
}

.circle-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--color-white);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.read-more-btn:hover .circle-arrow {
  border-color: #00C3FF;
  ;
}

.circle-arrow i {
  font-size: 12px;
  color: var(--color-white);
  transition: color 0.3s ease;
}

.read-more-btn:hover .circle-arrow i {
  color: #00C3FF;
}

/* video gallery page */
.olxcliam-video-gallery {
  background-color: #080808;
  background-image: url('../assests/images/talk-page-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.olxcliam-video-gallery .navbar {
  border-bottom: 0.77px solid !important;
  border-image-source: linear-gradient(111.17deg, #7C7C7C -1.87%, #FFAB66 103.65%);
  border-image-slice: 1;
  background-color: #00000000;
  flex-shrink: 0;
}

.video-gallery-main {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 60px;
  padding-bottom: 0;
  position: relative;
  z-index: 2;
}

.video-gallery-title {
  font-size: 52px;
  font-weight: 300;
  margin-bottom: 15px;
  color: var(--color-white);
}

.video-gallery-title span {
  background: linear-gradient(90deg, #FFFFFF 10%, #FFAB66 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.video-gallery-subtitle {
  font-size: 14px;
  color: #dfdfdf;
  font-weight: 300;
  line-height: 1.6;
}

.password-form-wrapper {
  margin-top: 30px;
}

.password-form {
  background: #181818;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  max-width: 340px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.password-input {
  background: transparent;
  border: none;
  color: var(--color-white);
  box-shadow: none !important;
  padding-left: 15px;
  padding-right: 15px;
  flex-grow: 1;
}

.password-input:focus {
  background: transparent;
  color: var(--color-white);
  box-shadow: none;
  outline: none;
}

.password-input::placeholder {
  color: #999;
  font-size: 13px;
  font-weight: 300;
}

.password-submit-btn {
  background: #FFAB66;
  color: #000;
  border: none;
  border-radius: 6px;
  width: 44px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.password-submit-btn i {
  font-size: 16px;
}

.password-submit-btn:hover {
  background: #ff9844;
  color: #000;
}

/* === Video Grid Styles === */
.video-grid {
  grid-template-columns: repeat(3, 1fr);
  padding-bottom: 40px;
  grid-auto-rows: 1fr; /* Force rows to have equal height */
}

@media (max-width: 991px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
    gap: 20px !important;
  }
}

.video-item {
  display: flex;
  flex-direction: column;
  height: 100%; /* Ensure link fills grid cell height */
}

.video-card {
  background: #121212;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  width: 100%; /* Ensure card fills grid cell width */
  position: relative;
}

.video-card:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
  z-index: 5; /* Ensure hovered card pops over others */
}

.video-thumbnail {
  height: 220px;
  width: 100%;
  position: relative;
  background: #000;
  overflow: hidden; /* Ensure image scaling doesn't overflow */
}

.video-thumbnail img {
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.5s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card:hover .video-thumbnail img {
  opacity: 1;
  transform: scale(1.05);
}

.video-duration {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-white);
  font-size: 10px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 2;
  letter-spacing: 0.5px;
}

.video-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between; /* Better vertical distribution */
}

.video-speaker {
  font-size: 16px;
  font-weight: 700;
  color: #FFAB66;
  margin-bottom: 4px;
  text-transform: capitalize;
}

.video-role {
  font-size: 11px;
  color: #909090;
  margin-bottom: 12px;
  line-height: 1.4;
  font-weight: 400;
}

.video-topic {
  font-size: 15px;
  font-weight: 400;
  color: #FFFFFF;
  line-height: 1.4;
  margin-bottom: 0;
  opacity: 0.95;
  word-wrap: break-word; /* Fix for long underscore-connected strings */
  word-break: break-all;
  overflow-wrap: break-word;
}

.video-gallery-footer.authenticated {
  padding-top: 100px;
  background-image: none;
}

.video-gallery-footer {
  background-image: url('../assests/images/olxclaim-vg-bg.webp');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  margin-top: auto;
  padding-top: 250px;
  position: relative;
  z-index: 1;
}

/* ============================================
   Success Popup Styles
   ============================================ */

.success-popup-container {
  text-align: center;
  padding: 40px 30px;
  max-width: 500px;
}

.success-icon {
  margin: 0 auto 20px;
  animation: successScale 0.5s ease-out;
}

.success-icon svg {
  filter: drop-shadow(0 4px 12px rgba(92, 184, 92, 0.3));
}

.success-title {
  color: #5cb85c;
  margin-bottom: 15px;
  font-size: 28px;
}

.success-message {
  color: #666;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.success-popup-container .btn-sucess-group {
  display: flex !important;
  justify-content: center;
  align-items: center;
}

.success-popup-container .popup-submit-btn {
  min-width: 150px;
  background: #5cb85c;
  transition: all 0.3s ease;
}

.success-popup-container .popup-submit-btn:hover {
  background: #4cae4c;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(92, 184, 92, 0.3);
}

/* Animation for success icon */
@keyframes successScale {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Fade in animation for success popup */
.popup-overlay#successPopup.active {
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.popup-overlay#successPopup.active .popup-container {
  animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Popup Modal Overlay */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(1px);
  z-index: 9999;
  overflow-y: auto;
  padding: 20px;
}

.popup-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Popup Container */
.popup-container {
  background: linear-gradient(180deg, #253125 0%, #1a2a1af2 50%, #0f1f0f 100%);
  border: 0.81px solid #9bffa0;
  border-radius: 20px;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
  animation: slideUp 0.4s ease-out;
  padding: 2rem 0rem;
}

.theme-about .popup-container {
  background: linear-gradient(360deg,
      #3d135b,
      #381553,
      #34164b,
      #2f1644,
      #2a163c,
      #261635,
      #21152d,
      #1d1426,
      #18131e,
      #141117,
      #0f0f0f);
  border: 1px solid #3d135b;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ============================================================
   Contact Popup — shared across media pages
   ============================================================ */

/* Overlay */
.contact-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 9999;
  overflow-y: auto;
  padding: 20px;
}

.contact-popup-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Container */
.contact-popup-container {
  background: linear-gradient(180deg, #253125 0%, #1a2a1a 50%, #0f1f0f 100%);
  border: 0.9px solid #9bffa0;
  border-radius: 20px;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(155, 255, 160, 0.08);
  animation: cpSlideUp 0.35s ease-out;
  padding: 2rem 0;
}

@keyframes cpSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Title & subtitle */
.contact-popup-title {
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.4px;
  margin-bottom: 5px;
  font-family: var(--font-main, 'Castledown', sans-serif);
}

.contact-popup-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 11px;
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.45;
  padding: 0 2rem;
}

/* Form */
.contact-popup-container form {
  width: 80%;
  margin: 0 auto;
  padding-top: 10px;
}

.contact-popup-container .cp-label {
  display: block;
  color: #ffffff;
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 4px;
}

.contact-popup-container .cp-input,
.contact-popup-container .cp-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #e8f0e8;
  padding: 8px 11px;
  font-size: 12px;
  font-family: inherit;
  transition: border-color 0.25s, box-shadow 0.25s;
  margin-bottom: 10px;
  height: 45px;
  outline: none;
}

.contact-popup-container .cp-textarea {
  height: auto;
  min-height: 80px;
  resize: vertical;
}

.contact-popup-container .cp-input::placeholder,
.contact-popup-container .cp-textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.contact-popup-container .cp-input:focus,
.contact-popup-container .cp-textarea:focus {
  border-color: rgba(155, 255, 160, 0.55);
  box-shadow: 0 0 0 3px rgba(155, 255, 160, 0.11);
}

/* Checkbox */
.contact-popup-container .cp-check-wrap {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 14px;
}

.contact-popup-container .cp-check-input {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  margin-top: 2px;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  transition: background 0.2s, border-color 0.2s;
}

.contact-popup-container .cp-check-input:checked {
  background-color: #5cb85c;
  border-color: #5cb85c;
}

.contact-popup-container .cp-check-input:checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 8px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.contact-popup-container .cp-check-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 10px;
  cursor: pointer;
}

/* Button row */
.contact-popup-container .cp-btn-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}

.cp-cancel-btn {
  background: transparent;
  color: #ffffff;
  border: 1px solid #9bffa0;
  border-radius: 8px;
  padding: 0 16px;
  height: 36px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.25s;
  font-family: inherit;
}

.cp-cancel-btn:hover {
  background: rgba(255, 255, 255, 0.06);
}

.cp-submit-btn {
  background: #9bffa0;
  color: #000000;
  border: none;
  border-radius: 8px;
  height: 36px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  font-family: inherit;
}

.cp-submit-btn:hover {
  background: #7ef085;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(155, 255, 160, 0.35);
}

.cp-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ── Success popup ── */
.contact-success-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 10000;
  padding: 20px;
}

.contact-success-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-success-container {
  background: linear-gradient(180deg, #253125 0%, #1a2a1a 50%, #0f1f0f 100%);
  border: 0.9px solid #9bffa0;
  border-radius: 20px;
  max-width: 440px;
  width: 100%;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  animation: cpSlideUp 0.35s ease-out;
}

.contact-success-icon {
  margin: 0 auto 20px;
}

.contact-success-icon svg {
  filter: drop-shadow(0 4px 12px rgba(92, 184, 92, 0.35));
}

.contact-success-title {
  color: #5cb85c;
  font-size: 26px;
  margin-bottom: 12px;
  font-family: var(--font-main, 'Castledown', sans-serif);
}

.contact-success-message {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.contact-success-close-btn {
  background: #9bffa0;
  color: #000;
  border: none;
  border-radius: 8px;
  padding: 10px 36px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
  font-family: inherit;
}

.contact-success-close-btn:hover {
  background: #7ef085;
  transform: translateY(-1px);
}

/* photo-gallery popup theme */
.photo-gallery .contact-popup-container {
  background: linear-gradient(360deg,
      #3d135b,
      #381553,
      #34164b,
      #2f1644,
      #2a163c,
      #261635,
      #21152d,
      #1d1426,
      #18131e,
      #141117,
      #0f0f0f) !important;
  border: 1px solid #ff99ff !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 153, 255, 0.1);
}

.photo-gallery .contact-popup-container .cp-input:focus,
.photo-gallery .contact-popup-container .cp-textarea:focus {
  border-color: rgba(255, 153, 255, 0.7) !important;
  box-shadow: 0 0 0 3px rgba(238, 80, 238, 0.14) !important;
  outline: none;
}

.photo-gallery .contact-popup-container .cp-check-input:checked {
  background-color: rgba(255, 153, 255, 1);
  border-color: rgba(255, 153, 255, 1);
}

.photo-gallery .cp-cancel-btn {
  border: 1px solid rgba(255, 153, 255, 1);
  color: rgba(255, 153, 255, 1);
}

.photo-gallery .cp-cancel-btn:hover {
  background: rgba(255, 153, 255, 0.08);
}

.photo-gallery .cp-submit-btn {
  background: rgba(255, 153, 255, 1);
  color: #000;
}

.photo-gallery .cp-submit-btn:hover {
  background: rgba(255, 120, 255, 1);
  box-shadow: 0 6px 20px rgba(255, 153, 255, 0.35);
}

.photo-gallery .contact-success-container {
  border-color: rgba(255, 153, 255, 1);
}

.photo-gallery .contact-success-title {
  color: rgba(255, 153, 255, 1);
}

.photo-gallery .contact-success-icon svg {
  stroke: rgba(255, 153, 255, 1);
  filter: drop-shadow(0 4px 12px rgba(255, 153, 255, 0.35));
}

.photo-gallery .contact-success-close-btn {
  background: rgba(255, 153, 255, 1);
  color: #000;
}

.photo-gallery .contact-success-close-btn:hover {
  background: rgba(255, 120, 255, 1);
}

/* video gallery theme popup */
.olxcliam-video-gallery .contact-popup-container {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(45, 36, 22, 0.95) 50%, rgba(61, 46, 31, 0.95) 100%);
  border: 0.77px solid var(--color-orange);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 171, 102, 0.1);
}

.olxcliam-video-gallery .contact-popup-container .cp-input:focus,
.olxcliam-video-gallery .contact-popup-container .cp-textarea:focus {
  border-color: rgba(255, 171, 102, 0.7) !important;
  box-shadow: 0 0 0 3px rgba(255, 171, 102, 0.15) !important;
  outline: none;
}

.olxcliam-video-gallery .contact-popup-container .cp-check-input:checked {
  background-color: rgba(255, 171, 102, 1);
  border-color: rgba(255, 171, 102, 1);
}

.olxcliam-video-gallery .cp-cancel-btn {
  border: 1px solid rgba(255, 171, 102, 1);
  color: rgba(255, 171, 102, 1);
}

.olxcliam-video-gallery .cp-cancel-btn:hover {
  background: rgba(255, 171, 102, 0.08);
}

.olxcliam-video-gallery .cp-submit-btn {
  background: rgba(255, 171, 102, 1);
  color: #000;
}

.olxcliam-video-gallery .cp-submit-btn:hover {
  background: rgba(255, 140, 60, 1);
  box-shadow: 0 6px 20px rgba(255, 171, 102, 0.35);
}

.olxcliam-video-gallery .contact-success-container {
  border-color: rgba(255, 171, 102, 1);
}

.olxcliam-video-gallery .contact-success-title {
  color: rgba(255, 171, 102, 1);
}

.olxcliam-video-gallery .contact-success-icon svg {
  stroke: rgba(255, 171, 102, 1);
  filter: drop-shadow(0 4px 12px rgba(255, 171, 102, 0.35));
}

.olxcliam-video-gallery .contact-success-close-btn {
  background: rgba(255, 171, 102, 1);
  color: #000;
}

.olxcliam-video-gallery .contact-success-close-btn:hover {
  background: rgba(255, 140, 60, 1);
}

/* news page popup theme — cyan (#00c3ff) */
.news .contact-popup-container {
  background: linear-gradient(180deg, #0a1a2a 0%, #0d1f30 50%, #0a1520 100%);
  border: 0.9px solid #00c3ff;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(0, 195, 255, 0.1);
}

.news .contact-popup-container .cp-input:focus,
.news .contact-popup-container .cp-textarea:focus {
  border-color: rgba(0, 195, 255, 0.7) !important;
  box-shadow: 0 0 0 3px rgba(0, 195, 255, 0.14) !important;
  outline: none;
}

.news .contact-popup-container .cp-check-input:checked {
  background-color: rgba(0, 195, 255, 1);
  border-color: rgba(0, 195, 255, 1);
}

.news .cp-cancel-btn {
  border: 1px solid rgba(0, 195, 255, 1);
  color: rgba(0, 195, 255, 1);
}

.news .cp-cancel-btn:hover {
  background: rgba(0, 195, 255, 0.08);
}

.news .cp-submit-btn {
  background: rgba(0, 195, 255, 1);
  color: #000;
}

.news .cp-submit-btn:hover {
  background: rgba(0, 215, 255, 1);
  box-shadow: 0 6px 20px rgba(0, 195, 255, 0.35);
}

.news .contact-success-container {
  border-color: rgba(0, 195, 255, 1);
  background: linear-gradient(180deg, #0a1a2a 0%, #0d1f30 50%, #0a1520 100%);
}

.news .contact-success-title {
  color: rgba(0, 195, 255, 1);
}

.news .contact-success-icon svg {
  stroke: rgba(0, 195, 255, 1);
  filter: drop-shadow(0 4px 12px rgba(0, 195, 255, 0.35));
}

.news .contact-success-close-btn {
  background: rgba(0, 195, 255, 1);
  color: #000;
}

.news .contact-success-close-btn:hover {
  background: rgba(0, 215, 255, 1);
}

@media (max-width: 991px) {
  .news-title {
    font-size: 38px;
  }
}

@media (max-width: 768px) {
  .news-title {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .news-title {
    font-size: 26px;
  }
}

@media (max-width: 991px) {
  .features-grid {
    flex-direction: column;
    text-align: left;
  }

  .hero-section h1 {
    font-size: 42px;
  }

  .news-grid {
    flex-direction: column-reverse;
    /* Stack news correctly on tablet/mobile */
    text-align: left;
    gap: 30px;
  }

  /* Common Navbar Toggler styles for all responsive states */
  .navbar-toggler {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0;
    outline: none !important;
  }

  .navbar-toggler-icon {
    background-image: none !important;
    width: 24px;
    height: 2px;
    background-color: var(--color-white);
    position: relative;
    transition: all 0.3s ease-in-out;
  }

  .navbar-toggler-icon::before,
  .navbar-toggler-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background-color: var(--color-white);
    transition: all 0.3s ease-in-out;
  }

  .navbar-toggler-icon::before {
    top: -7px;
  }

  .navbar-toggler-icon::after {
    top: 7px;
  }

  .navbar-toggler.active .navbar-toggler-icon {
    background-color: transparent !important;
  }

  .navbar-toggler.active .navbar-toggler-icon::before {
    top: 0;
    transform: rotate(45deg);
  }

  .navbar-toggler.active .navbar-toggler-icon::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .news-content h2 {
    font-size: 38px;
  }

  .gallery-header h2 {
    font-size: 38px;
  }

  .custom-header-nav .dropdown-menu {
    background: transparent !important;
    text-align: center;
    border: none !important;
  }

  .home-hero-gradient {
    width: 80%;
    top: 600px;
  }

  .news-bg-gradient {
    top: -520px;
    width: 1000px;
  }

  .testimonials-title {
    font-size: 42px;
    text-align: center;
  }

  .footer-container {
    gap: 40px;
  }

  .video-gallery-footer {
    background-size: contain;
  }

  .custom-header-nav {
    gap: 4px;
  }
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 34px;
    margin-bottom: 20px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero-buttons .btn-custom {
    width: 80%;
    text-align: center;
  }

  .home-hero-gradient {
    width: 100%;
    top: 550px;
    right: -20%;
  }

  .feature-content h2 {
    font-size: 32px;
  }

  .news-content h2 {
    font-size: 32px;
  }

  .gallery-header h2 {
    font-size: 32px;
  }

  .gallery-header,
  .news-section {
    padding: 0 20px;
  }

  .news-bg-gradient {
    top: -530px;
    width: 1000px;
  }

  .navbar-toggler {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0;
  }

  .navbar-toggler-icon {
    background-image: none;
    width: 24px;
    height: 2px;
    background-color: var(--color-white);
    position: relative;
    transition: all 0.3s ease-in-out;
  }

  .navbar-toggler-icon::before,
  .navbar-toggler-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background-color: var(--color-white);
    transition: all 0.3s ease-in-out;
  }

  .navbar-toggler-icon::before {
    top: -7px;
  }

  .navbar-toggler-icon::after {
    top: 7px;
  }

  .navbar-toggler.active .navbar-toggler-icon {
    background-color: transparent !important;
  }

  .navbar-toggler.active .navbar-toggler-icon::before {
    top: 0;
    transform: rotate(45deg);
  }

  .navbar-toggler.active .navbar-toggler-icon::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .testimonials-section {
    padding: 60px 0 20px 0;
  }

  .testimonials-title {
    font-size: 32px;
    padding: 0 20px;
    margin-bottom: 30px;
    text-align: center;
  }

  .testimonial-card {
    padding: 5px 5px;
  }

  .testimonial-card h3 {
    font-size: 18px;
  }

  .ts-nav-btn {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .brands-marquee-section {
    padding: 40px 0;
  }

  /* Toggler and alignment logic already in 991px breakpoint applies here automatically */
  .brands-marquee {
    gap: 40px;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 30px;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .footer-col-logo {
    order: 1;
    align-self: flex-start;
  }

  .footer-col-help {
    order: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
  }

  .footer-col-help .footer-label {
    margin-bottom: 0;
  }

  .footer-col-social {
    order: 3;
  }

  .social-icons {
    justify-content: flex-start;
  }

  .footer-col-links {
    order: 4;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
  }

  .footer-col-text {
    order: 5;
  }

  .home-footer {
    padding: 40px 0;
    background-size: contain;
  }

  .footer-container {
    padding-top: 3rem;
  }
}

@media (max-width: 480px) {
  .testimonials-title {
    font-size: 26px;
  }

  .testimonial-card h3 {
    font-size: 16px;
  }

  .testimonial-card p {
    font-size: 10px;
  }

  .brands-marquee {
    gap: 30px;
  }

  .photo-masonry-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    grid-auto-rows: 130px;
  }

  .photo-masonry-grid .grid-item {
    height: 120px;
  }

  .photo-masonry-grid .grid-item.h2 {
    height: calc(240px + 8px);
  }

  .gallery-main-title {
    font-size: 32px;
  }

  .photo-masonry-grid .grid-item .download-btn {
    padding: 6px 12px;
    font-size: 12px;
    bottom: 8px;
    right: 8px;
  }
}

@media (max-width: 768px) and (min-width: 481px) {
  .photo-masonry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Gallery Modal Overlay */
.gallery-modal {
  display: flex;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.gallery-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.gallery-modal-wrapper {
  position: relative;
  display: inline-block;
  max-width: 80vw;
  max-height: 85vh;
}

.gallery-modal-wrapper img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 6px;
  display: block;
  object-fit: contain;
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10;
}

.modal-nav:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.modal-prev {
  left: -65px;
}

.modal-next {
  right: -65px;
}

.modal-download-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  z-index: 10;
}

.modal-download-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
  border-color: #fff;
}

.modal-close {
  position: absolute;
  top: 25px;
  right: 35px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 28px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s;
}

.modal-close:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .modal-prev {
    left: -45px;
    width: 36px;
    height: 36px;
  }

  .modal-next {
    right: -45px;
    width: 36px;
    height: 36px;
  }

  .gallery-modal-wrapper {
    max-width: 75vw;
  }

  .join-popup-subtitle {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .modal-prev {
    left: 10px;
    background: rgba(0, 0, 0, 0.4);
    border: none;
  }

  .modal-next {
    right: 10px;
    background: rgba(0, 0, 0, 0.4);
    border: none;
  }

  .gallery-modal-wrapper {
    max-width: 100vw;
    max-height: 100vh;
  }

  .gallery-modal-wrapper img {
    max-height: 100vh;
    border-radius: 0;
  }

  .agenda-tab {
    display: flex;
    flex-direction: column;
    align-items: self-start;
  }

  .join-popup-subtitle {
    font-size: 12px !important;
  }

  .join-popup-title {
    font-size: 28px !important;
  }
}

/* video detail page */
.video-detail-page {
  background-image: url('../assests/images/talk-page-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.video-detail-main {
  padding-top: 60px;
}

.video-player-wrapper video {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
}

.more-videos-section {
  margin-top: 80px;
}

.more-videos-title {
  font-size: 32px;
  font-weight: 300;
  color: var(--color-white);
}

.more-videos-title span {
  background: linear-gradient(90deg, #FFFFFF 10%, #FFAB66 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.more-videos-grid {
  grid-template-columns: repeat(4, 1fr) !important;
}

@media (max-width: 1200px) {
  .more-videos-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 991px) {
  .more-videos-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .more-videos-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ================== AGENDA-LIKE HEADER FOR GALLERY ================== */
.agenda-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 40px;
  padding-bottom: 20px;
}

.agenda-header h1 {
  font-size: 3rem;
  font-weight: 400;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #FFFFFF 0%, #FF99FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.agenda-date {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-white);
}

.agenda-nav {
  display: flex;
  gap: 0;
  margin-bottom: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.agenda-tab {
  flex: 1;
  padding: 20px;
  text-align: left;
  background: transparent;
  border: 1px solid #FF99FF;
  color: var(--color-white);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.agenda-tab:last-child {
  border-right: 1px solid #FF99FF;
}

.agenda-tab span:first-child {
  font-weight: 500;
}

.agenda-tab span:last-child {
  font-size: 0.8rem;
  opacity: 0.6;
}

.agenda-tab.active {
  background: #FF99FF;
  color: #000 !important;
}

.agenda-tab.active span:first-child {
  text-decoration: underline;
}

.olxcliam-video-gallery .agenda-tab {
  border: 1px solid #FFAB66 !important;
}

.olxcliam-video-gallery .agenda-tab.active {
  background: #FFAB66;
  color: #000 !important;
}

@media (max-width: 768px) {
  .agenda-header {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .agenda-header h1 {
    font-size: 2.5rem;
    margin-left: -2px;
  }
}

/* ================== SWIPER CAROUSEL FOR VIDEOS ================== */
.swiper-container-wrapper {
  width: 100%;
  overflow: hidden;
}

.more-videos-swiper {
  overflow: visible !important;
  padding: 10px 0 60px;
  /* Shift the whole thing to the right to align with container */
  margin-left: max(15px, calc((100vw - 1320px) / 2));
}

@media (max-width: 1399px) {
  .more-videos-swiper {
    margin-left: max(15px, calc((100vw - 1140px) / 2));
  }
}

@media (max-width: 1199px) {
  .more-videos-swiper {
    margin-left: max(15px, calc((100vw - 960px) / 2));
  }
}

@media (max-width: 991px) {
  .more-videos-swiper {
    margin-left: max(15px, calc((100vw - 720px) / 2));
  }
}

@media (max-width: 767px) {
  .more-videos-swiper {
    margin-left: 15px;
    margin-right: 15px;
  }
}

.more-videos-swiper .swiper-slide {
  height: auto;
}

.swiper-nav-wrapper {
  position: relative;
  z-index: 10;
}

.swiper-btn-prev,
.swiper-btn-next {
  width: 45px;
  height: 45px;
  border: 1px solid rgba(255, 171, 102, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFAB66;
  cursor: pointer;
  transition: all 0.3s ease;
  background: transparent;
}

.swiper-btn-prev:hover,
.swiper-btn-next:hover {
  background: #FFAB66;
  color: #000;
  border-color: #FFAB66;
  transform: translateY(-2px);
}

.swiper-btn-prev.swiper-button-disabled,
.swiper-btn-next.swiper-button-disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.more-videos-title span {
  color: #FFAB66;
}

@media (max-width: 768px) {

  .swiper-btn-prev,
  .swiper-btn-next {
    width: 40px;
    height: 40px;
  }
}

/* Mobile tweaks */
@media (max-width: 480px) {
  .contact-popup-container form {
    width: 90%;
  }

  .contact-popup-subtitle {
    padding: 0 1rem;
  }
}

/* Join Popup Specifics */
.join-popup-container {
  background: linear-gradient(180deg, #253125 0%, #1a2a1a 50%, #0f1f0f 100%) !important;
  border: 0.9px solid #9bffa0 !important;
  max-width: 500px !important;
  padding: 2.5rem 0 !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(155, 255, 160, 0.08) !important;
  position: relative;
}

.join-popup-title {
  color: #fff;
  font-size: 32px;
  text-align: center;
  letter-spacing: -0.4px;
  margin-bottom: 5px;
  font-family: var(--font-main, 'Castledown', sans-serif);
}

.join-popup-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.45;
  padding: 0 2rem;
}

.join-popup-container form {
  width: 80%;
  margin: 0 auto;
  padding-top: 10px;
}

.join-input-group {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.join-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #e8f0e8;
  padding: 8px 11px;
  font-size: 14px;
  font-family: inherit;
  height: 48px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  flex: 1;
}

.join-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.join-input:focus {
  border-color: rgba(155, 255, 160, 0.55);
  box-shadow: 0 0 0 3px rgba(155, 255, 160, 0.11);
}

.join-submit-btn {
  background: var(--color-primary-green);
  color: #000;
  border: none;
  border-radius: 8px;
  padding: 0 16px;
  height: 48px;
  margin-left: 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: opacity 0.2s;
  white-space: nowrap;
  font-family: inherit;
}

.join-submit-btn:hover {
  opacity: 0.85;
}

.join-close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 26px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.join-close-btn:hover {
  color: #fff;
}