/* Global Settings */

/* *{
  border: 1px solid #590133;
} */

body,
html {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  background-color: #f1e0ef;
  color: #590133;
  /* Primary color */
  line-height: 1.6;
}

.container {
  margin: 0 auto;
}

.section {
  overflow-x: hidden;
  overflow-y: hidden;
  width: 100% !important;
}

.slider-images {
  width: 40%;
  margin: 10px;
}

h2 {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #590133; /* primary color */
  font-weight: 700;
  font-size: 2.2rem;
  padding-bottom: 8px;
  margin: 12px auto 10px 0px;
  text-align: center;
}

section h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 4px;
  width: 50px;
  background-color: #6298ce; /* secondary color */
  border-radius: 2px;
  transform: translateX(-50%);
}

/* 
.site-header {
  background-color: #e6f8f8;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px;
}

.header-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  width: 1200px;
  margin: 20px;
  
}
.main-nav-left, .main-nav-right, .logo-link{
  flex: 1 1 0;
  display: flex;
  align-items: center;
}

.main-nav-left ul, .main-nav-right ul {
  list-style: none;
  padding: 0;
  margin:0;
  display: flex;
  gap: 25px;
}

.main-nav-left {
  justify-content: flex-end;
}

.main-nav-right {
  justify-content: flex-start;
}

.logo-link {
  justify-content: center; 
}

.logo-gif {
  height: 80px;
  width: auto;
}

.nav a {
  color:#590133; 
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 10px 12px;
  border-radius: 20px;
  transition: background-color 0.3s, color 0.3s;
}

.nav a:hover,
.nav a:focus {
  background-color: #ce8fb2; 
  color: white;
  outline: none;
}

.hamburger {
  display: none !important;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  
}

.logo-gif {
  height: 100px;
  width: 200px;
}

.main-nav ul {
  list-style: none;
  padding: 0;
  margin: 5px;
  display: flex;
  gap: 25px;
  float: right;
  align-items: center;
}
.main-nav a {
  color: #6298ce; 
  text-decoration: none;
  font-weight: 500;
  font-size: 1.2rem;
  padding: 10px;
}
.main-nav a:hover {
  text-decoration: none;
  background-color: #ce8fb2; 
  border-radius: 20px;
  padding: 10px;
  color: white;
} 
.hamburger {
  display: none !important;
  flex-direction: column;
  justify-content: space-around;
  width: 25px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1000;
} */

.site-header {
  background-color: rgba(208, 228, 255, 0.6); /* mild blue with transparency */
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px;
  width: 100% !important;
}

.container {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Navigation container */
.nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-nav-left {
  justify-content: flex-end;
}

.main-nav-right {
  justify-content: flex-start;
}

.logo-link {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 20px;
}

.logo-gif {
  height: 90px;
  width: auto;
}

/* Style nav menus */
.nav ul {
  display: flex;
  gap: 25px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav a {
  color: #590133;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 10px 12px;
  border-radius: 20px;
  transition: background-color 0.3s, color 0.3s;
}

.nav a:hover,
.nav a:focus {
  background-color: #ce8fb2;
  color: white;
  outline: none;
}

.hamburger {
  display: none;
}

/* Popup Overlay */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: none; /* Hidden initially */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  background: #f1f1f1;
  border-radius: 12px;
  width: 80vw;
  height: 80vh;
  display: flex;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  color: #590133;
}

.popup-image {
  flex: 0 0 45%;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.2);
}

.popup-text {
  flex: 1 1 55%;
  padding: 20px;
  overflow-y: auto;
}

.popup-text h3 {
  margin-top: 0;
  font-size: 2rem;
  color: #590133;
}

.popup-text h4 {
  margin: 10px 0 20px 0;
  font-weight: 600;
  font-size: 1.2rem;
  color: #6298ce;
}

.popup-text p {
  font-size: 1rem;
  line-height: 1.4;
  color: #333;
}

.popup-close-btn {
  position: absolute;
  top: 15px;
  right: 25px;
  background: transparent;
  border: none;
  font-size: 2.5rem;
  cursor: pointer;
  color: #590133;
  z-index: 10000;
  transition: color 0.2s ease;
}

.popup-close-btn:hover {
  color: #6298ce;
}
/* ======================================= */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Popup Container */
.popup-content {
  display: flex;
  width: 80vw;
  height: 80vh;
  background: rgba(241, 241, 241, 0.75);
  /* border: 1px solid #cc7000; */
  box-shadow: 0 0 20px #0a0a0a;
  border-radius: 12px;
  overflow: hidden;
  margin: 20px;
}

/* Layout Flex for home section */
.home-flex {
  display: flex;
  gap: 5px;
  margin-top: 20px;
  overflow-x: hidden;
}

/* Slider Styles (70%) */
.slider-container {
  height: 400px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background-color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  color: #590133;
}
/* .slider-images{
  width:70%;
  margin: 10px;
} */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 400px;
  opacity: 0;
  transition: opacity 0.8s ease;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: inset 0 0 6px black;
}
.slide img {
  width: 100%;
  height: 400px;
  object-fit: unset;
  transition: transform 0.6s ease;
}
.slide.active {
  opacity: 1;
  position: relative;
  z-index: 2;
}
.slide:hover img {
  transform: scale(1.05);
  filter: brightness(0.6);
}
/* Overlay text on slider images on hover */
.slide-text-overlay {
  position: absolute;
  bottom: 30px;
  left: 20px;
  right: 20px;
  color: #590133;
  background: rgba(252, 251, 251, 0.7);
  padding: 12px 20px;
  font-weight: 600;
  font-size: 1.2rem;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  user-select: none;
  z-index: 10;
}
.slide:hover .slide-text-overlay {
  opacity: 1;
  pointer-events: auto;
}

.main_text {
  width: 500px;
  padding: 0 20px;
  margin-left: -20px;
  color: #590133;
  /* dark orange accent */
}

.main_text h1 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 4px;
  text-transform: uppercase;
  line-height: 1.1;
}

.main_text p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #333;
  font-weight: 500;
  white-space: pre-line; /* To respect the <br> for line breaks */
}

.main_text1 p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #333;
  font-weight: 500;
  white-space: pre-line; /* To respect the <br> for line breaks */
  text-align: center;
  margin: 10px;
}

/* Slider arrows */

.slider-arrows {
  position: absolute;
  top: 60%;
  width: 95%;
  display: flex;
  justify-content: space-between;
  padding: 0 15px;
  transform: translateY(-50%);
  z-index: 15;
}
.slider-arrows button {
  background: #590133;
  opacity: 2px;
  border: none;
  padding: 6px 14px;
  color: rgb(250, 245, 245);
  font-size: 24px;
  cursor: pointer;
  border-radius: 8px;
  box-shadow: 0 0 8px black;
  transition: background-color 0.3s ease;
}
.slider-arrows button:hover {
  background-color: #590133;
}

/* Vertical Images - Right 30% */
.vertical-images {
  margin: 10px;
  width: 60%;
  height: 600px;
  overflow: hidden;
  position: relative;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
}
.vertical-images .image-list {
  display: flex;
  flex-direction: column;
}
.image-wrapper {
  position: relative;
  width: 100%;
  height: 300px;
  margin-bottom: 10px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid #adadad;
  cursor: default;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}
.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.3s ease;
}
.image-wrapper:hover img {
  transform: scale(1.08);
}
.image-wrapper:hover {
  cursor: pointer;
}

/* Overlay text on vertical images on hover */
.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(245, 241, 241, 0.7);
  opacity: 0;
  color: #590133;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  padding: 10px;
  border-radius: 6px;
  transition: opacity 0.3s ease;
  user-select: none;
  pointer-events: none;
}
.image-wrapper:hover .image-overlay {
  opacity: 1;
}

/* top news  */

.section-light {
  margin-top: 50px;
}
.top-news-container {
  display: flex;
  flex-direction: column;
  gap: 80px;
  position: relative;
}

.top-news-container h2 {
  margin-top: 70px;
}

#top-news {
  position: relative;
  overflow: hidden;
  padding-top: 20px;
}

.background-fixed {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("your-background-image.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh; /* full viewport height */
  z-index: 0;
}

.top-news-container {
  position: relative;
  z-index: 1; /* to sit above background */
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding-bottom: 100px;
}

.news-card {
  position: relative;
  opacity: 0;
  pointer-events: none;
  transform: translateY(50px) scale(0.8);
  transition: transform 0.4s ease, opacity 0.4s ease;
  z-index: 1;
  display: flex;
  align-items: center;
  background: #dde4eb; /* Light grey background */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-radius: 14px;
  overflow: hidden;
  padding: 30px;
  gap: 40px;
  will-change: transform;
  cursor: pointer;
}

.card-left {
  flex-direction: row;
}

.card-right {
  flex-direction: row-reverse;
}

.text-content {
  flex: 1;
  color: #590133;
}

.text-content h3 {
  font-size: 1.8rem;
  margin-bottom: 5px;
  font-weight: 700;
}

.text-content h4 {
  font-size: 1.2rem;
  color: #6298ce;
  margin-bottom: 15px;
  font-weight: 600;
}

.text-content p {
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
}

.image-content {
  flex: 1;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: inset 0 0 28px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-content img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.image-content:hover img {
  transform: scale(1.08);
}

.news-card.on-top {
  position: relative !important;
  /* prevent fixed positioning */
  top: auto !important;
  left: auto !important;
  transform: translateX(0) scale(1) !important;
  width: 80%;
  margin: 0 auto;
  z-index: 10 !important;
  box-shadow: 0 12px 40px #080808;
  border-radius: 18px;
  background: #dde4eb; /* Light grey background */
}

.image-content {
  position: relative;
}

.pdf-link {
  display: inline-block;
  position: relative;
  text-decoration: none;
}

.pdf-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(221, 181, 204, 0.7);
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 6px;
  cursor: pointer;
}

.pdf-link:hover .pdf-overlay {
  opacity: 1;
}

#video-section {
  margin-top: 150px; /* create space above video */
}

/* our works  */

.our-works-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 20px 0;
}

.work_header {
  margin-left: 20px;
}

.scroll-wrapper {
  display: flex;
  width: max-content;
  user-select: none;
  cursor: grab;
}
.scroll-content {
  display: flex;
}
.work-card {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 15px;
  flex: 0 0 320px;
  margin-right: 25px;
  position: relative;
}
  
  .movie_review_head {
    margin: 30px auto 10px 0px;
  }
  .rotating-cards {
    width: 500px;
    height: 500px;
  }
  .rotating-cards .card {
    position: absolute !important;
    width: 80px;
    height: 100px;
    font-size: 0.5rem;
    padding: 10px !important;
  }
  .center-image img {
    width: 140px;
    height: 140px;
    position: relative;
    top: 60px;
    left: 103px;
  }
.media-slider {
  position: relative;
  overflow: hidden;
  height: 280px;
  border-radius: 10px;
}
.media-item {
  display: none;
  width: 100%;
  height: 100%;
}
.media-item.active {
  display: block;
}
.media-item img,
.media-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  color: white;
  border: none;
  padding: 8px 14px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 24px;
  user-select: none;
  z-index: 10;
  transition: background-color 0.3s;
}
.arrow:hover {
  background-color: #590133;
}
.arrow-left {
  left: 10px;
}
.arrow-right {
  right: 10px;
}
.dots {
  margin-top: 8px;
  text-align: center;
}
.dot {
  height: 12px;
  width: 12px;
  margin: 0 6px;
  background-color: #ccc;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s;
}
.dot.active {
  background-color: #590133;
}
.description {
  margin-top: 12px;
  font-size: 1rem;
  color: #333;
}

#worksContainer {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#worksContainer::-webkit-scrollbar {
  display: none;
}

/* what we do */

#whatWeDoSection {
  padding: 20px;
}

#whatWeDoSection .categories-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
}

#whatWeDoSection .category-toggle {
  cursor: pointer;
  font-size: 1.5em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  border-bottom: 1px solid white;
  border-radius: 20px;
  font-weight: bold;
  background-color: #85abd1;
  padding: 25px 54px;
  margin: 5px 0px;
  transition: background-color 0.3s ease;
  flex: 1 1 45%;
  color: #080808;
  width: 85vw;
}

#whatWeDoSection .category-toggle:hover {
  background-color: #ddd;
  color: #590133;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

#whatWeDoSection .category-wrapper {
  margin-bottom: 15px;
}

#whatWeDoSection .category-toggle .plus {
  display: inline-block;
  transition: transform 0.3s ease;
}

#whatWeDoSection .category-toggle.active .plus {
  transform: rotate(45deg);
}

/* Dropdown container */
#whatWeDoSection .dropdown {
  display: none;
  margin-top: 10px;
  width: 95%;
  gap: 15px;
  border: 1px solid #ccc;
  padding: 15px;
  border-radius: 0px 0px 30px 30px;
  background: #fafafa;
  flex-wrap: wrap;
  height: 170px;
  margin-top: -7px;
}

#whatWeDoSection .dropdown.active {
  display: flex;
}

/* .wwd-images-wrapper {
  width: 100%;
} */

.wwd-images {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 10px;
  padding: 10px 0;
}
.wwd-images {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.wwd-images::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  color: white;
  border: none;
  font-size: 24px;
  cursor: pointer;
  z-index: 2;
  padding: 5px 10px;
  user-select: none;
  border-radius: 4px;
}

.left-arrow {
  left: 0;
}

.right-arrow {
  right: 0;
}

.wwd-images-wrapper {
  position: relative;
  overflow: hidden;
  width: 720px;
  margin: 0 auto;
}

.whatwedo-dropdown-flex {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  width: 100%;
  justify-content: space-around;
}

.wwd-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 18px;
}

.wwd-category-desc {
  font-size: 1.15em;
  font-weight: 500;
  color: #242424;
  line-height: 1.4;
}

.wwd-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wwd-tag-btn {
  border: 1.5px solid #590133;
  background: none;
  color: #590133;
  font-size: 1em;
  font-weight: 500;
  padding: 4px 15px;
  border-radius: 18px;
  cursor: pointer;
  transition: color 0.16s, border 0.16s;
}

.wwd-tag-btn:hover {
  border-color: #0c0c0c;
  color: #0f0f0f;
}

.wwd-images {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: flex-start;
}

.wwd-img-wrap {
  position: relative;
  margin-bottom: 5px;
}

.wwd-images img {
  display: block;
  width: 230px;
  height: 170px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.09);
  cursor: pointer;
  transition: box-shadow 0.2s;
}

.wwd-images img:hover {
  box-shadow: 0 4px 18px rgba(35, 98, 209, 0.14);
}

.wwd-img-tooltip {
  pointer-events: none;
  opacity: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 11px;
  min-width: 170px;
  background: black;
  color: #f8f5f5;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 0.97em;
  white-space: pre-line;
  z-index: 12;
  transition: opacity 0.22s;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.18);
}

.wwd-img-wrap:hover .wwd-img-tooltip,
.wwd-img-wrap:focus-within .wwd-img-tooltip {
  opacity: 1;
}

/* movie reviews */

.movie-review-container {
  position: relative;
  width: 700px;
  height: 975px;
  text-align: center;
  margin-top: -150px;
  /* display: flex;
  justify-content: center;
  align-items: center; */
}

.movie_review_head {
  margin: 80px auto 10px 0px;
  text-align: center;
  display: flex;
  justify-content: center;
}

.center-image img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  box-shadow: 0 0 15px #6298ce;
  display: block;
  margin: 0 auto;
  position: relative;
  top: 113px;
  z-index: 10;
  left: 239px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.center-image img.updated {
  transform: scale(1.05);
  opacity: 1;
}

/* Rotating cards container - circle layout */
.rotating-cards {
  position: absolute;
  top: 50%;
  left: 40%;
  width: 800px; /* increased size for bigger radius */
  height: 800px; /* increased size */
  transform: translate(-50%, -50%);
  border-radius: 50%;
  cursor: pointer; /* indicates interactivity */
  transition: box-shadow 0.3s ease;
}

.rotating-cards .card:hover {
  box-shadow: 0 0 15px rgba(14, 14, 14, 0.9);
  z-index: 15;
  transition: box-shadow 0.3s ease;
}

.rotating-cards .card {
  width: 140px;
  height: 200px;
  background: #6298ce;
  color: #fff;
  font-size: 1em;
  border-radius: 12px;
  text-align: center;
  line-height: 1.4;
  font-weight: 700;
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 15px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  pointer-events: auto;
}

/* video section  */

#video-section {
  position: relative;
  width: 100%;
  height: 500px;
  margin: 60px 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 12px 40px #6298ce;
}

.video-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.video-background {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

.video-overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: white;
  text-align: center;
  padding: 10px 20px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.video-overlay-text h1 {
  font-size: 3.2rem;
  font-weight: 600;
}

/* events */
.events-container {
  margin-top: -20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  padding: 40px 20px;
}

.events-card {
  background: #dde4eb;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.events-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}
.events-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.events-content {
  padding: 20px;
  color: #6298ce;
  background-color: #ececec;
  height: 220px;
}
.events-content h3 {
  margin-top: 0;
  font-size: 1.4rem;
}
.events-content p {
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
}
.tags-container {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background-color: transparent; /* no background */
  color: #590133; /* text color same as border */
  border: 1px solid #590133;
  padding: 4px 10px;
  border-radius: 16px;
  user-select: none;
}

/* Contact Form */
#contacts {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  /* flex-wrap: wrap; */
  gap: 100px;
  padding: 20px;
}

.contact_imgs {
  height: 500px;
  width: 100%;
  border-radius: 20px;
  /* margin-top: 20px; */
  flex: 1 1 45%;
  object-fit: cover;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background-color: rgba(208, 228, 255, 0.6);
  padding: 20px;
  box-shadow: rgba(0, 0, 0, 0.35) 0 5px 15px;
  border-radius: 20px;
  flex: 1 1 45%;
  width: 131%;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 1px solid #590133;
  border-radius: 4px;
  font-size: 1rem;
  color: #111111;
  width: 93%;
  background: transparent;
}

.submit {
  padding: 12px;
  border: none;
  width: 100%;
  max-width: 470px;
  background-color: #590133;
  color: #f1eaea;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 0 10px #590133;
}

.submit:hover {
  background-color: #f8f7f8;
  color: #590133;
}

/* Responsive adjustments */

.thank-you-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.thank-you-content {
  background: white;
  padding: 30px;
  color: #000;
  border-radius: 8px;
  text-align: center;
  width: 400px;
  box-shadow: 0 5px 20px #590133;
}

.thank-you-content button {
  position: absolute;
  top: 10px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* cards */

:root {
  --card-height: 40vw;
  --card-margin: 4vw;
  --card-top-offset: 1em;
  --numcards: 5;
  --outline-width: 0px;
}

#cards {
  padding-bottom: calc(var(--numcards) * var(--card-top-offset));
  margin-bottom: var(--card-margin);
  list-style: none;
  outline: calc(var(--outline-width) * 10) solid blue;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(var(--numcards), var(--card-height));
  gap: var(--card-margin);
  width: 80vw;
  margin-left: auto;
  margin-right: auto;
}

.card {
  position: sticky;
  top: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#card_1 {
  --index: 1;
}
#card_2 {
  --index: 2;
}
#card_3 {
  --index: 3;
}
#card_4 {
  --index: 4;
}

@supports (animation-timeline: works) {
  @scroll-timeline cards-element-scrolls-in-body {
    source: selector(body);
    scroll-offsets: selector(#cards) start 1, selector(#cards) start 0;
    start: selector(#cards) start 1;
    end: selector(#cards) start 0;
    time-range: 4s;
  }
  .card {
    --index0: calc(var(--index) - 1);
    --reverse-index: calc(var(--numcards) - var(--index0));
    --reverse-index0: calc(var(--reverse-index) - 1);
  }
  .card__content {
    transform-origin: 50% 0%;
    will-change: transform;
    --duration: calc(var(--reverse-index0) * 1s);
    --delay: calc(var(--index0) * 1s);
    animation: var(--duration) linear scale var(--delay) forwards;
    animation-timeline: cards-element-scrolls-in-body;
  }
  @keyframes scale {
    to {
      transform: scale(calc(1.1 - calc(0.1 * var(--reverse-index))));
    }
  }
}

.card__content {
  box-shadow: 0 0.2em 1em rgba(221, 220, 221, 0.959),
    0 1em 2em rgba(206, 206, 206, 0.884);
  background-color: #dde4eb;
  color: rgb(5, 5, 5);
  border-radius: 1em;
  overflow: hidden;
  display: grid;
  grid-template-areas: "text img";
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  align-items: stretch;
  outline: var(--outline-width) solid lime;
  height: 80%;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.card__content > div {
  grid-area: text;
  width: 80%;
  place-self: center;
  text-align: left;
  display: grid;
  gap: 1em;
  place-items: start;
}

.card__content > figure {
  grid-area: img;
  overflow: hidden;
}

.card__content > figure > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-footer {
  background-color: #cfe0f1;
  padding: 20px 40px 10px 40px;
  overflow: hidden;
  user-select: none;
  height: 250px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.footer-inner {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.acsass {
  color: #590133;
  text-decoration: none;
}

.acsass:hover {
  color: #e29fc5;
  text-decoration: none;
}

.footer-section {
  flex: 1 1 30%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-logo {
  align-items: flex-start;
}
.footer-logo .logo-gif {
  height: 130px;
  width: auto;
  margin-left: -40px;
}

/* Navigation and copyright stacked vertically */
.footer-nav-copy {
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: #590133;
  font-weight: 600;
  text-decoration: none;
}
.footer-nav a:hover {
  text-decoration: underline;
}
.footer-copy {
  font-size: 0.9rem;
  font-weight: 500;
  color: #590133;
}

/* Address aligned right */
.footer-address {
  align-items: flex-end;
  text-align: left;
  font-style: normal;
  font-weight: 600;
  line-height: 1.5;
}

.footer-social-icons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
  justify-content: center; /* center icons horizontally */
  align-items: center;
}

.fab {
  font-size: 25px;
}

.footer-social-icons a {
  color: #590133; /* icon color */
  transition: color 0.3s ease;
  background-color: #81e2e6;
  border-radius: 50%;
  padding: 10px;
}

.footer-social-icons a:hover {
  /* hover color */
  box-shadow: #590133 0px 5px 15px;
}

/* loader */
.loader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: #fff; /* plain background */
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}
.loader::before {
  content: none !important; /* kill blur box */
}
.loader div {
  border-radius: 50%;
  width: 25px;
  height: 25px;
  background: #6298ce;
  margin: 0.2em;
  animation: anim 2s infinite linear;
  animation-delay: calc(-0.3s * var(--i));
}
.loader div:nth-child(2),
.loader div:nth-child(4) {
  background: #590133;
}
@keyframes anim {
  0%,
  100% {
    transform: translateY(5px);
  }
  50% {
    transform: translateY(-65px);
  }
}





@import url("https://fonts.googleapis.com/css?family=Fira+Sans+Condensed:300,400,600i&display=swap");

.reviews-section {
  padding: 30px;
  margin-bottom: 20px;
}

.review-container {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.review-card {
  width: 300px;
  height: 320px;
  perspective: 1200px;
  position: relative;
  cursor: pointer;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
}




.review-face {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  position: absolute;
  backface-visibility: hidden;
  transition: transform 0.6s ease-in-out;
  background: #dde4eb;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}
.review-face1 {
  z-index: 2;
}

.review-face2 {
  transform: rotateY(180deg);
  text-align: center;
  color: #444;
  overflow: auto;
}

.review-card:hover .review-face1 {
  transform: rotateY(180deg);
}

.review-card:hover .review-face2 {
  transform: rotateY(0);
}

.review-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #6298ce;
  box-shadow: 0 0 15px #6298ce;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.review-card:hover .review-img {
  transform: scale(1.1);
}

.review-modal {
  display: none; /* hidden by default */
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.review-modal.review-modal--visible {
  display: flex; /* show modal */
}

.review-stars {
  color: #590133;
  font-size: 22px;
  margin-bottom: 10px;
}

.review-stars i {
  margin: 0 3px;
}

.review-content h3 {
  margin: 0 0 10px 0;
  font-weight: 600;
  color: #590133;
}

.review-face:hover {
  background-color: #7ca5cf;
}

.review-content p {
  font-size: 16px;
  line-height: 1.4;
  font-style: italic;
  color: #555;
  user-select: text;
}

/* Review Button */
.review-button-container {
  text-align: center;
  margin-top: 30px;
}

.review-button {
  background-color: #6298ce;
  border: none;
  padding: 12px 25px;
  color: white;
  font-weight: 700;
  font-size: 18px;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.review-button:hover {
  background-color: #6298ce;
}

/* Modal */
.review-modal {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1050;
}

.review-modal[aria-hidden="false"] {
  display: flex;
}

.review-modal-content {
  background: white;
  padding: 25px;
  border-radius: 15px;
  width: 380px;
  box-sizing: border-box;
  position: relative;
}

.review-modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: bold;
  color: #590133;
}

.review-offcanvas form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-offcanvas form label {
  font-weight: 600;
  color: #6298ce;
}

.review-offcanvas form input[type="text"],
.review-offcanvas form input[type="file"],
.review-offcanvas form select,
.review-offcanvas form textarea {
  padding: 8px;
  border-radius: 7px;
  border: 1px solid #590133;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
  background: transparent;
}

.review-offcanvas form textarea {
  resize: vertical;
  min-height: 80px;
}

.review_submit_button {
  background-color: #6298ce;
  color: white;
  font-weight: 700;
  font-size: 18px;
  border: none;
  border-radius: 40px;
  padding: 12px 0;
  cursor: pointer;
  transition: background-color 0.3s;
}

.review-submit-button:hover {
  background-color: #6298ce;
}

.review-offcanvas {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  height: 100%;
  background: white;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  z-index: 1050;
  overflow-y: auto;
  padding: 25px;
  box-sizing: border-box;
  background-color: #ddedf0;
}

.review-offcanvas.review-offcanvas--visible {
  transform: translateX(0);
}

.review-offcanvas-close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: bold;
  color: #333;
}
video {
  pointer-events: none; /* Disable mouse events on video */
}

/* Hide controls in WebKit browsers (Chrome, Safari) */
video::-webkit-media-controls {
  display: none !important;
}

/* Hide controls panel */
video::-webkit-media-controls-panel {
  display: none !important;
}

/* Hide controls in Firefox */
video::-moz-media-controls {
  display: none !important;
}

/* Hide controls in IE/Edge */
video::-ms-media-controls {
  display: none !important;
}


@media (min-width:320px) and (max-width:374px) {
.footer-copy {
    font-size: 0.6rem;
    font-weight: 700;
    color: #590133;
}
  .popup-content{
    flex-direction: column;
  }
    /* footer */
  .site-footer{
    height: 400px;
    text-align: center;
  }
  .footer-inner {
    flex-direction: column;
    gap: 0px;
    width: 350px;
  }
  .fab {
    font-size: 20px;
  }
  .footer-social-icons a {
    padding: 5px;
  }
  .footer-logo {
    height: 100px;
  }
  .footer-nav-copy {
    font-size: 0.8em;
  }

  .footer-nav {
    gap: 4px;
    font-size: 1em;
    text-align: center;
  }
  .footer-address {
    font-size: 0.7rem;
    color: #000;
    text-align: center;
  }
  .footer-nav ul {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1px;
  }
  .loader {
    width: 100vw;
    height: 100vh;
  }
   .footer-inner {
    margin: 2px;
    flex-wrap: nowrap;
  }
  

  .slider-images {
    width: 76%;
    margin: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
   .home-flex {
    flex-direction: column;
    gap: 30px;
    margin-top: 20px;
  }
    header .container {
    height: 70px !important;
  }
  .main_text h1 {
    font-size: 1rem;
  }
  .main_text {
    width: 290px;
    margin-left: 0px;
  }
  .main_text p {
    font-size: 0.9rem;
  }

  .logo-gif {
    height: 60px !important;
  }

   .vertical-images {
    height: 280px;
  }
  .image-wrapper {
    height: 110px !important;
  }
  /* Navigation menus hidden by default on mobile */
  .main-nav-left ul,
  .main-nav-right ul {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 169px;
    right: 0px;
    background: white;
    width: 200px;
    z-index: 999;
  }

    .main-nav-left ul.active {
        display: block !important;
        position: fixed !important;
        top: 70px !important;
        right: 0% !important;
        background: white !important;
        width: 100% !important;
        z-index: 1000 !important;
        height: 27%;
    }
    .main-nav-right ul.active {
        display: block !important;
        position: fixed !important;
        top: 200px ;
        right: 0% !important;
        background: white !important;
        width: 100% !important;
        z-index: 1000 !important;
    }

  /* Show menu when active */
  .main-nav-left ul.active,
  .main-nav-right ul.active {
    display: block;
  }

  /* Prevent flex grow */
  .nav {
    flex: 0;
  }

  .main-nav ul li {
    margin-bottom: 10px;
  }

  .main-nav a {
    font-size: 1rem !important;
    padding: 10px;
  }
  .nav a {
    display: flex;
    justify-content: center;
}

  /* Hamburger menu styling */
  .hamburger {
    display: flex !important; /* Make hamburger visible */
    flex-direction: column;
    justify-content: space-around;
    width: 25px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1000;
  }

  .hamburger .bar {
    width: 100%;
    height: 3px;
    background-color: #590133;
    border-radius: 2px;
    transition: all 0.3s ease;
  }
.top-news-container {
    gap: 40px !important;
  }
  .news-card {
    flex-direction: column !important;
    padding: 20px !important;
  }
  .card-left,
  .card-right {
    flex-direction: column !important;
  }
  .image-content,
  .text-content {
    width: 100% !important;
  }
  .image-content img {
    width: 100% !important;
    height: auto !important;
  }


  /* OUR WORKS */
    #cards {
    width: 100% !important;
    margin-left: -10%;
    grid-template-rows: repeat(var(--numcards), 103vw) !important;
  }
  .card__content {
    height: 400px !important; /* smaller cards height */
    width: 86%;
    display: flex;
    flex-direction: column;
  }
  .card__content p {
    font-size: 0.8em;
  }
  .media-item img,
  .media-item video {
    width: 100%;
    height: 30%;
    object-fit: contain;
    border-radius: 10px;
  }
  .work_h2 {
    font-size: 0.5em;
  }
  /* movie reviews */
  .movie-review-container {
    width: 300px;
    height: 530px;
    margin-left: 20px;
    margin-top: -50p  x;
  }
  .movie_review_head {
    margin: 30px auto 10px 0px;
  }
  .rotating-cards {
    width: 500px;
    height: 500px;
  }
  .rotating-cards .card {
    position: absolute !important;
    width: 60px;
    height: 80px;
    font-size: 0.5rem;
    padding: 10px !important;
  }
  .center-image img {
    width: 140px;
    height: 140px;
    position: relative;
    top: 47px;
    left: 90px;
  }
    .news-card {
    padding: 10px !important;
  }
    .slide img {
    height: 250px !important;
            margin-top: -95px;
  }
  .image-wrapper {
    height: 120px !important;
  }
  .text-content h3 {
    font-size: 1.5rem;
  }

  /* video */
  #video{
    height:200px;
    margin: 0px;
  }
  .video-overlay-text h1{
    font-size: 1.2em;
  }

  .video-background {
    width: 100%;
    height: 113%;
}

  /* Contact Page */
  #contact {
    margin: 20px 10px !important;
  }
  .contact_imgs {
    height: 220px !important;
    width: 100% !important;
  }
  .contact-form {
    gap: 12px !important;
    width: 85%;
  }
  .contact {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }

  /* What We Do Dropdown */
  /* #whatWeDoSection .category-toggle {
    font-size: 1.1em !important;
    padding: 18px 20px !important;
  }
  #whatWeDoSection .dropdown {
    padding: 10px 5px !important;
  }
  .wwd-images img {
    width: 100px !important;
    height: 80px !important;
  } */

  /* Section Headings h2 */
  h2 {
    font-size: 1.5rem !important;
  }
  .vertical-images {
    height: 220px;
  }
  .image-wrapper {
    height: 90px !important;
  }
    .contact-form input {
    width: 228px !important;
  }
  .contact-form textarea {
    width: 228px !important;
  }
  .contact-map iframe {
    width: 100%;
  }
  /* Contact Page */
  #contact {
    margin: 15px 5px !important;
  }
  .contact_imgs {
    height: 315px !important;
  }

  /* What We Do Dropdown */
  
  /* Section Headings h2 */
  h2 {
    font-size: 1.3rem !important;
  }
  .slide img {
    height: 220px !important;
    margin-top: -178px !important;
  }
  .slider-container {
    margin-top: 30px;
    width: 80% !important;
    height: 220px !important;
    /* align-items: center; */
  }
  .slider-arrows {
    padding: 5px;
  }
  .slide img {
    height: 220px !important;
  }
  .image-wrapper {
    height: 100px !important;
  }
    .hamburger {
    width: 20px !important;
    height: 18px !important;
  }

  .hamburger .bar {
    height: 2px !important;
  }

  html {
    width: 100% !important;
  }

  #whatWeDoSection .category-toggle {
    width: 67% !important;
    font-size: 1em;
  }
  header .container {
    padding: 0 10px;
  }
  

  .category-wrapper {
    width: 300px;
  }
   .events-container {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    padding: 15px 8px;
  }
   #contacts {
    flex-direction: column;
    align-items: center;
    padding: 15px;
  }
  .contact-form input,
  .contact-form textarea {
    font-size: 0.8rem;
  }
  .submit {
    font-size: 0.8rem;
    padding: 8px;
  }
  
 
  #whatWeDoSection .category-toggle{
    width: 73%;
  }
      .wwd-images {
        width: 100%;
    }
    .wwd-images-wrapper {
        width: 260px !important;
    }
        .wwd-images img {
        width: 111px;
        height: 75px;
    }
    #whatWeDoSection .dropdown {
          height: 280px;
    }
    .whatwedo-dropdown-flex{
      flex-direction: column;
    }
    .events-container {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 25px 15px;
  }
  .wwd-images-wrapper{
    width: 375px ;
  }
}

@media (min-width:375px) and (max-width:424px)  {
   .popup-content{
    flex-direction: column;
  }
    /* footer */
  .site-footer{
    height: 400px;
    text-align: center;
  }
  .footer-inner {
    flex-direction: column;
    gap: 0px;
    width: 350px;
  }
  .fab {
    font-size: 20px;
  }
  .footer-social-icons a {
    padding: 5px;
  }
  .footer-logo {
    height: 100px;
  }
  .footer-nav-copy {
    font-size: 0.8em;
  }

  .footer-nav {
    gap: 4px;
    font-size: 1em;
    text-align: center;
  }
  .footer-address {
    font-size: 0.7rem;
    color: #000;
    text-align: center;
  }
  .footer-nav ul {
    flex-direction: column;
    justify-content: center;
    gap: 1px;
  }
  .loader {
    width: 100vw;
    height: 100vh;
  }
   .footer-inner {
    margin: 2px;
    flex-wrap: nowrap;
  }
  
   
  .category-wrapper {
    width: 335px;
  }
  #whatWeDoSection .category-toggle{
    width: 73% !important;
  }
      .wwd-images {
        width: 100%;
    }
    .wwd-images-wrapper {
        width: 325px !important;
    }
        .wwd-images img {
        width: 111px;
        height: 75px;
    }
    #whatWeDoSection .dropdown {
          height: 229px;
    }
    .whatwedo-dropdown-flex{
      flex-direction: column;
    }
    .events-container {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 25px 15px;
  }
  .wwd-images-wrapper{
    width: 375px ;
  }
   .slider-images {
    width: 76%;
    margin: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .popup-content {
    width: 80vw;
    height: 100vh;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .popup-image {
    height: 120px;
    border-radius: 0;
  }
  .popup-text {
    max-height: calc(100vh - 120px);
    padding: 10px;
    font-size: 0.95rem;
  }
  .popup-text h3 {
    font-size: 1.1rem;
  }
  .popup-text h4 {
    font-size: 1rem;
  }
  .popup-close-btn {
    font-size: 1.7rem;
    top: 5px;
    right: 5px;
  }
  header .container {
    height: 70px !important;
  }

  .logo-gif {
    height: 60px !important;
  }

   .vertical-images {
    height: 280px;
  }
  .image-wrapper {
    height: 110px !important;
  }

  /* header */
  /* Navigation menus hidden by default on mobile */
  .main-nav-left ul,
  .main-nav-right ul {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 169px;
    right: 0px;
    background: white;
    width: 200px;
    z-index: 999;
  }

    .main-nav-left ul.active {
        display: block !important;
        position: fixed !important;
        top: 70px !important;
        right: 0% !important;
        background: white !important;
        width: 100% !important;
        z-index: 1000 !important;
        height: 27%;
    }
    .main-nav-right ul.active {
        display: block !important;
        position: fixed !important;
        top: 200px ;
        right: 0% !important;
        background: white !important;
        width: 100% !important;
        z-index: 1000 !important;
    }

  /* Show menu when active */
  .main-nav-left ul.active,
  .main-nav-right ul.active {
    display: block;
  }

  /* Prevent flex grow */
  .nav {
    flex: 0;
  }

  .main-nav ul li {
    margin-bottom: 10px;
  }

  .main-nav a {
    font-size: 1rem !important;
    padding: 10px;
  }
  .nav a {
    display: flex;
    justify-content: center;
}

  .hamburger {
    display: flex !important; 
    flex-direction: column;
    justify-content: space-around;
    width: 25px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1000;
  }

  .hamburger .bar {
    width: 100%;
    height: 3px;
    background-color: #590133;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

    /* video */
  #video{
    height:200px;
    margin: 0px;
  }
  .video-overlay-text h1{
    font-size: 1.2em;
  }

  .video-background {
    width: 100%;
    height: 113%;
}
    .contact {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }
  .vertical-images {
    width: 100%;
    height: 350px;
  }
  .image-wrapper {
    height: 130px !important;
  }
  .movie-review-container {
    width: 300px;
    height: 530px;
    margin-left: 20px;
    margin-top: 30px;
  }
  .movie_review_head {
    margin: 30px auto 10px 0px;
  }
  .rotating-cards {
    width: 500px;
    height: 500px;
  }
  .rotating-cards .card {
    position: absolute !important;
    width: 80px;
    height: 100px;
    font-size: 0.5rem;
    padding: 10px !important;
  }
  .center-image img {
    width: 140px;
    height: 140px;
    position: relative;
    top: 60px;
    left: 103px;
  }
  /* OUR WORKS */
    #cards {
    width: 100% !important;
    margin-left: -10%;
    grid-template-rows: repeat(var(--numcards), 90vw) !important;
  }
  .card__content {
    height: 400px !important; /* smaller cards height */
    width: 86%;
    display: flex;
    flex-direction: column;
  }
  .card__content p {
    font-size: 0.8em;
  }
  .media-item img,
  .media-item video {
    width: 100%;
    height: 50%;
    object-fit: contain;
    border-radius: 10px;
  }
  .work_h2 {
    font-size: 0.5em;
  }
  .top-news-container {
    gap: 40px !important;
  }
  .news-card {
    flex-direction: column !important;
    padding: 20px !important;
  }
  .card-left,
  .card-right {
    flex-direction: column !important;
  }
  .image-content,
  .text-content {
    width: 100% !important;
  }
  .image-content img {
    width: 100% !important;
    height: auto !important;
  }
  .home-flex {
    flex-direction: column;
    gap: 30px;
    margin-top: 20px;
  }
  .slider-container {
    width: 90% !important;
    height: 300px;
  }
  .slide img {
    margin-top: -20px;
  }
  .vertical-images {
    width: 100% !important;
  }
  .image-wrapper {
    height: 150px !important;
  }
  .main_text h1 {
    font-size: 1rem;
  }
  .main_text {
    width: 290px;
  }
  .main_text p {
    font-size: 0.9rem;
  }
  .footer-inner {
    width: 230px;
  }
  .footer-copy {
    font-size: 0.7em;
  }
  .contact-form input {
    width: 270px;
  }

  .arrow {
    font-size: 15px;
    margin-top: -30px;
  }
  .arrow-left {
    left: 0px;
  }
  .arrow-right {
    right: 0px;
  }
  .slide img {
    height: 380px;
  }

  .main_text {
    margin-left: 20px;
  }
      #contacts {
    flex-direction: column;
    align-items: center;
    padding: 15px;
  }
  .contact-form input,
  .contact-form textarea {
    font-size: 0.85rem;
    width: 267px ;
  }
  .submit {
    font-size: 0.85rem;
    padding: 9px;
    width: 93%;
  }
   #contact {
    flex-direction: column !important;
    gap: 20px;
    align-items: flex-start;
  }
  .contact_imgs {
    height: 300px !important;
    width: 100% !important;
    border-radius: 15px;
    margin: 0 auto;
    display: block;
  }
  .contact-form {
    width: 90% !important;
  }



  /* Section Headings h2 */
  h2 {
    font-size: 1.8rem !important;
  }
}

@media (min-width:425px) and (max-width:767px) {
   .popup-content{
    flex-direction: column;
  }
  /* footer */
  .site-footer{
    height: 400px;
  }
  .footer-inner {
    flex-direction: column;
    gap: 0px;
    width: 350px;
  }
  .fab {
    font-size: 20px;
  }
  .footer-social-icons a {
    padding: 5px;
  }
  .footer-logo {
    height: 100px;
  }
  .footer-nav-copy {
    font-size: 0.8em;
  }

  .footer-nav {
    gap: 4px;
    font-size: 1em;
    text-align: center;
  }
  .footer-address {
    font-size: 0.7rem;
    color: #000;
    text-align: center;
  }
  .footer-nav ul {
    flex-direction: column;
    justify-content: center;
    gap: 1px;
  }
  .loader {
    width: 100vw;
    height: 100vh;
  }
   .footer-inner {
    margin: 2px;
    flex-wrap: nowrap;
  }
  
  /* OUR WORKS */
    #cards {
    width: 100% !important;
    margin-left: -10%;
    grid-template-rows: repeat(var(--numcards), 103vw) !important;
  }
  .card__content {
    height: 400px !important; /* smaller cards height */
    width: 86%;
    display: flex;
    flex-direction: column;
  }
  .card__content p {
    font-size: 0.8em;
  }
  .media-item img,
  .media-item video {
    width: 100%;
    height: 50%;
    object-fit: contain;
    border-radius: 10px;
  }
  .work_h2 {
    font-size: 1.5em;
  }
    /* video */
  #video{
    height:200px;
    margin: 0px;
  }
  .video-overlay-text h1{
    font-size: 1.2em;
  }

  .video-background {
    width: 100%;
    height: 113%;
}
  .vertical-images {
    width: 100%;
    height: 450px;
  }
  .main_text h1 {
    font-size: 1rem;
  }
  .main_text {
    width: 290px;
  }
  .main_text p {
    font-size: 0.9rem;
  }
  .image-wrapper {
    height: 160px !important;
  }
   #contacts {
    gap: 20px;
  }
  .top-news-container {
    gap: 40px !important;
  }
  .news-card {
    flex-direction: column !important;
    padding: 20px !important;
  }
  .card-left,
  .card-right {
    flex-direction: column !important;
  }
  .image-content,
  .text-content {
    width: 100% !important;
  }
  .image-content img {
    width: 100% !important;
    height: auto !important;
  }
    .movie-review-container {
    width: 95vw;
    height: 530px;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .movie_review_head {
    margin: 30px auto 10px 0px;
  }
  .rotating-cards {
    width: 500px;
    height: 500px;
  }
  .rotating-cards .card {
    position: absolute !important;
    width: 80px;
    height: 100px;
    font-size: 0.5rem;
    padding: 10px !important;
  }
  .center-image img {
    width: 140px;
    height: 140px;
    position: relative;
    top: 60px;
    left: 10px;
  }
   .popup-content {
    width: 80vw;
    height: 85vh;
    max-height: 90vh;
    flex-direction: column; 
    margin: 10px;
    padding: 0;
  }
  .popup-image {
    flex: 0 0 auto;
    height: 200px;
    width: 100%;
    border-radius: 12px 12px 0 0;
    background-size: cover;
    background-position: center;
    box-shadow: none;
  }
  .popup-text {
    flex: 1 1 auto;
    padding: 15px;
    overflow-y: auto;
    max-height: calc(85vh - 200px);
  }
  .popup-close-btn {
    top: 10px;
    right: 10px;
    font-size: 2rem;
  }
    .home-flex {
    flex-direction: column;
    gap: 30px;
    margin-top: 20px;
    margin-top: 50px;
  }
  .slider-container {
    margin-top: 30px;
    width: 80% !important;
    height: 300px ;
  }
  .slide img {
    height: 400px !important;
  }
  .slider-images {
    width: 76%;
    margin: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .vertical-images {
    width: 100% !important;
  }

  .vertical-images .image-list {
    justify-content: center;
    align-items: center;
  }
  .image-wrapper {
    height: 200px !important;
    width: 80%;
  }
header .container {
    height: 70px !important;
  }

  .logo-gif {
    height: 60px !important;
  }

   .vertical-images {
    height: 280px;
  }
  .image-wrapper {
    height: 110px !important;
  }
  /* Navigation menus hidden by default on mobile */
  .main-nav-left ul,
  .main-nav-right ul {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 169px;
    right: 0px;
    background: white;
    width: 200px;
    z-index: 999;
  }

    .main-nav-left ul.active {
        display: block !important;
        position: fixed !important;
        top: 70px !important;
        right: 0% !important;
        background: white !important;
        width: 100% !important;
        z-index: 1000 !important;
        height: 27%;
    }
    .main-nav-right ul.active {
        display: block !important;
        position: fixed !important;
        top: 200px ;
        right: 0% !important;
        background: white !important;
        width: 100% !important;
        z-index: 1000 !important;
    }

  /* Show menu when active */
  .main-nav-left ul.active,
  .main-nav-right ul.active {
    display: block;
  }

  /* Prevent flex grow */
  .nav {
    flex: 0;
  }

  .main-nav ul li {
    margin-bottom: 10px;
  }

  .main-nav a {
    font-size: 1rem !important;
    padding: 10px;
  }
  .nav a {
    display: flex;
    justify-content: center;
}

  /* Hamburger menu styling */
  .hamburger {
    display: flex !important; /* Make hamburger visible */
    flex-direction: column;
    justify-content: space-around;
    width: 25px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1000;
  }

  .hamburger .bar {
    width: 100%;
    height: 3px;
    background-color: #590133;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .category-wrapper {
    width: 375px;
  }
  #whatWeDoSection .category-toggle{
    width: 73%;
  }
      .wwd-images {
        width: 100%;
    }
    .wwd-images-wrapper {
        width: 365px !important;
    }
        .wwd-images img {
        width: 111px;
        height: 75px;
    }
    #whatWeDoSection .dropdown {
          height: 229px;
    }
    .whatwedo-dropdown-flex{
      flex-direction: column;
    }
    .events-container {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 25px 15px;
  }
  .wwd-images-wrapper{
    width: 375px ;
  }
  #contacts {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
  }
  .contact-form {
    padding: 15px;
    width: 90%;
  }
  .contact-form input,
  .contact-form textarea {
    font-size: 0.9rem;
    padding: 8px;
  }
  .submit {
    font-size: 0.9rem;
    padding: 10px;
  }
  .contact-form input,
  .contact-form textarea {
    padding: 10px;
    border: 1px solid #590133;
    border-radius: 4px;
    font-size: 1rem;
    color: #333;
    width: 237px;
  }
}

@media (min-width:768px) and (max-width:1023px){


  /* header */
/* Navigation menus hidden by default on mobile */
  .main-nav-left ul,
  .main-nav-right ul {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 169px;
    right: 0px;
    background: white;
    width: 200px;
    z-index: 999;
  }

    .main-nav-left ul.active {
        display: block !important;
        position: fixed !important;
        top: 70px !important;
        right: 0% !important;
        background: white !important;
        width: 100% !important;
        z-index: 1000 !important;
        height: 27%;
    }
    .main-nav-right ul.active {
        display: block !important;
        position: fixed !important;
        top: 200px ;
        right: 0% !important;
        background: white !important;
        width: 100% !important;
        z-index: 1000 !important;
    }

  /* Show menu when active */
  .main-nav-left ul.active,
  .main-nav-right ul.active {
    display: block;
  }

  /* Prevent flex grow */
  .nav {
    flex: 0;
  }

  .main-nav ul li {
    margin-bottom: 10px;
  }

  .main-nav a {
    font-size: 1rem !important;
    padding: 10px;
  }
  .nav a {
    display: flex;
    justify-content: center;
}

  /* Hamburger menu styling */
  .hamburger {
    display: flex !important; /* Make hamburger visible */
    flex-direction: column;
    justify-content: space-around;
    width: 25px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1000;
  }

  .hamburger .bar {
    width: 100%;
    height: 3px;
    background-color: #590133;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .site-footer {
    height: 410px;
    padding: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .home-flex{
    flex-direction: column;
  }
  .footer-inner {
    flex-direction: column;
    gap: 0px;
    width: 350px;
  }
  .fab {
    font-size: 20px;
  }
  .footer-social-icons a {
    padding: 5px;
  }
  .footer-logo {
    height: 100px;
  }
  .footer-nav-copy {
    font-size: 0.8em;
  }
.media-item img{
  width:100%;
  height: 70%;
  margin-top: 15px;
}
  .footer-nav {
    gap: 4px;
    font-size: 1em;
    text-align: center;
  }
  .footer-address {
    font-size: 0.7rem;
    color: #000;
    text-align: center;
  }
  .footer-nav ul {
    flex-direction: column;
    justify-content: center;
    gap: 1px;
  }
  .loader {
    width: 100vw;
    height: 100vh;
  }
   .footer-inner {
    margin: 2px;
    flex-wrap: nowrap;
  }
  header .container {
    display: flex; 
    flex-direction: row;
    justify-content: space-between;
    box-sizing: border-box;
  }

  .logo-gif {
    height: 80px !important;
  }

  .footer-logo .logo-gif {
    height: 130px;
    width: auto;
    margin-left: -13px;
  }

    .slider-images {
    width: 76%;
    margin: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
    .review-card {
    width: 250px;
    height: 280px;
  }
   .category-wrapper {
    width: 720px;
  }
    #whatWeDoSection .category-toggle {
    width: 85%;
    flex: 1 1 100%;
  }
  #whatWeDoSection .dropdown {
    flex-direction: column;
  }
  #whatWeDoSection .images img {
    max-width: 100%;
    height: auto;
  }
  .whatwedo-dropdown-flex {
    flex-direction: row;
    gap: 25px;
    width: 100%;
  }
  .wwd-images img {
    width: 110px;
    height: 100px;
  }
  .events-container {
    grid-template-columns: repeat(
      auto-fit,
      minmax(300px, 1fr)
    ); /* smaller min width */
    padding: 30px 15px;
  }
    #contacts {
    flex-direction: row;
    align-items: stretch;
    padding: 15px;
  }
  .contact_imgs,
  .contact-form {
    flex: 1 1 100%;
    width: 90%;
    margin-top: 0;
    height: auto;
  }
  .contact_imgs {
    border-radius: 20px;
  }
  .submit {
    max-width: 100%;
  }
   .contact {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .contact_imgs {
    height: 400px;
    width: 300px;
    border-radius: 20px;
    margin-top: 65px;
  }
  .contact-form input,
  .contact-form textarea {
    padding: 10px;
    border: 1px solid #590133;
    border-radius: 4px;
    font-size: 1rem;
    color: #333;
    width: 300px;
  }
}

@media (min-width:1024px) and (max-width:1439px) {
  .review-card {
    width: 280px;
    height: 300px;
  }
    .section {
    overflow-x: hidden;
    overflow-y: hidden;
    width: 100%;
  }
    .whatwedo-dropdown-flex {
    flex-direction: row;
    gap: 25px;
    width: 100%;
  }

  .wwd-images img {
    width: 180px;
    height: 150px;
  }
}



