html {
  scroll-behavior: smooth;
}

@font-face {
  font-family: "Pro Racing";
  src: url(./fonts/ProRacing-7BZOD.otf);
}

/* ========== RESET DEFAULT STYLES ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ========== GLOBAL STYLES ========== */
body {
  background-color: #000000;
  font-family: "Saira", sans-serif;
  overflow-x: hidden;
}

.page-wrapper {
  min-height: 100vh; /* full height at least */
  background: url("Images/IMG_9501\ 2.png") top center no-repeat,
    url("Images/IMG_9502\ 2.png") center center no-repeat,
    url("Images/IMG_9504\ 2.png") bottom center no-repeat;
  background-size: 100% auto; /* full width, natural height */
  background-attachment: scroll; /* make them move when you scroll */
}

/* ========== NAVBAR STYLES ========== */
.navbar-container {
  background-color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
  width: 220px;
  object-fit: contain;
  position: relative;
  transition: transform 0.8s ease, filter 0.8s ease;
  animation: logoPulse 3.2s ease-in-out infinite;
}

/* Hover: deeper color glow + lift */
.logo:hover {
  transform: scale(1.12) rotate(3deg);
  filter: drop-shadow(0 0 20px rgba(170, 140, 255, 0.9))
    drop-shadow(0 0 35px rgba(90, 120, 255, 0.6));
}

/* Pulse with purple-blue breathing effect */
@keyframes logoPulse {
  0%,
  100% {
    filter: drop-shadow(0 0 8px rgba(150, 100, 255, 0.3))
      drop-shadow(0 0 16px rgba(80, 110, 255, 0.25));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 18px rgba(180, 120, 255, 0.8))
      drop-shadow(0 0 30px rgba(100, 140, 255, 0.6));
    transform: scale(1.05);
  }
}

/* Shimmer reflection tuned to violet-blue gradient */
.logo::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(180, 140, 255, 0.4) 40%,
    rgba(120, 160, 255, 0.4) 60%,
    transparent 100%
  );
  transform: skewX(-25deg);
  opacity: 0;
}

.logo:hover::after {
  opacity: 1;
  animation: shimmer 1.3s ease forwards;
}

@keyframes shimmer {
  0% {
    left: -75%;
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  100% {
    left: 125%;
    opacity: 0;
  }
}

.navbar-items {
  display: flex;
}

.navbar-items li {
  list-style: none;
  margin: 0px 20px -10px 20px;
  font-size: 1.2rem;
}

.navbar-items a {
  text-decoration: none;
  color: #2d2d2d;
  font-weight: 500;
  font-size: 20px;
}

/* ========== HAMBURGER MENU ========== */
.hamburger {
  display: none;
  font-size: 30px;
  cursor: pointer;
}

/* ========== MOBILE/TABLET IMPROVEMENTS ========== */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
    font-size: 42px; /* bigger for touch */
    padding: 10px;
    z-index: 1001;
  }

  .navbar-items {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background-color: #fff4e1;
    border-top: 2px solid #5a79e9;
    padding: 20px 0;
    z-index: 1000;
  }

  .navbar-items.show {
    display: flex;
  }

  .navbar-items a {
    display: block; /* ensures full width */
    width: 100%; /* stretch to full menu width */
    text-align: center; /* center text horizontally */
    font-size: 36px; /* bigger text for readability */
    font-weight: 600; /* pop more */
    padding: 25px 0; /* taller touch area */
    border-bottom: 1px solid rgba(90, 121, 233, 0.2);
    color: #323257;
    text-decoration: none;
  }

  .navbar-items a:hover {
    background-color: rgba(90, 121, 233, 0.1);
    color: #5a79e9;
  }

  /* Prevent scrolling when menu open */
  body.menu-open {
    overflow: hidden;
  }
}

/* Small mobile tweak */
@media (max-width: 480px) {
  .navbar-items a {
    font-size: 30px;
    padding: 20px 0;
  }

  .hamburger {
    font-size: 38px;
    padding: 8px;
  }
  .navbar-items {
    top: 60px;
    padding: 12px 0;
  }
}

/* ========== HERO SECTION ========== */
.hero {
  position: relative;
  min-height: 90vh;
  margin-top: 85px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
}

.title {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  gap: 15px;
  color: white;
}

.heading {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 50px;
  box-sizing: border-box;
}

.hero-title {
  max-width: 65%;
  height: auto;
  object-fit: contain;
}

/* Hero section arrow icons */
.heading img,
.subheading img {
  filter: brightness(0) invert(1);
  cursor: pointer;
}

/* Chevron decoration */
.subheading {
  position: absolute;
  bottom: 140px;
  left: 60px;
  z-index: 2;
}

.chevron_first,
.chevron_second {
  width: 100px;
  height: 100px;
  border: 23px solid rgba(255, 244, 225, 0.55);
  border-left: none;
  border-bottom: none;
  transform: rotate(45deg);
  background: transparent;
  position: absolute;
}

.chevron_second {
  left: 50px;
  opacity: 0.45;
}

/* ========== RESPONSIVE HERO SECTION ========== */
@media (max-width: 743px) {
  .heading {
    justify-content: center;
  }

  .subheading {
    display: none;
  }

  .hero-title {
    width: 80%;
  }
}

@media (max-width: 576px) {
  .navbar-container {
    padding: 15px 20px;
  }

  .logo {
    width: 160px;
  }

  .navbar-items a {
    font-size: 16px;
  }

  .hero {
    height: 400px;
    margin-top: 70px;
  }

  .heading {
    padding: 0 20px;
  }

  .hero-title {
    max-width: 100%;
  }

  #prevBtn,
  #nextBtn {
    margin: 0 25px;
    width: 24px;
    height: 32px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 50vh;
    background-size: contain;
    background-position: center top;
  }

  .hero-title {
    max-width: 90%;
  }
}

/* ========== CONTENT STYLING ========== */
.content {
  color: #fff4e1;
}

h2 {
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: bold;
  font-style: normal;
  font-size: 35px;
  color: #f5f5dc;
  padding-left: 10px;
  text-align: left;
}

/* ========== ABOUT US SECTION ========== */
.aboutUs {
  padding: 20px 100px 20px 100px; /* keep your left padding */
  margin: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: relative; /* important for absolute child */
}

.aboutUs h4 {
  font-family: "Raleway", sans-serif;
  color: #5548ba;
  font-size: 28px;
  font-weight: bold;
  text-align: left;
  margin-bottom: 30px;
}

.aboutUs p {
  font-size: 20px;
  line-height: 2;
  font-weight: lighter;
  margin: 40px 0;
  text-align: left;
  max-width: 900px;
}

/* Right-side particle canvas */
#sparkle-canvas {
  position: absolute; /* float on top/right of section */
  top: 0;
  right: 0;
  width: 40%; /* adjust width to taste */
  height: 100%; /* match the height of About section */
  pointer-events: none; /* allows text selection / clicks */
  z-index: 0; /* behind text if needed */
}

/* About Us Card Container */
.aboutUs-container {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  flex-wrap: wrap;
  width: 100%;
  gap: 30px;
}

.aboutUs-box {
  position: relative;
  flex: 1 1 280px;
  max-width: 300px;
  background-color: rgba(50, 50, 87, 0.6); /* slightly stronger for contrast */
  border: 2px solid rgba(90, 121, 233, 0.6);
  padding: 25px 20px;
  border-radius: 12px;
  color: #fff;
  font-family: "Raleway", sans-serif;
  box-shadow: 0 0 10px rgba(54, 73, 140, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1),
    box-shadow 0.5s cubic-bezier(0.19, 1, 0.22, 1), background 0.5s ease,
    border-color 0.5s ease;
  overflow: hidden;
  perspective: 1000px;
}

.aboutUs-box:hover {
  transform: translateY(-12px) scale(1.08) rotateX(5deg) rotateY(-5deg);
  box-shadow: 0 0 35px rgba(90, 121, 233, 0.8),
    0 0 100px rgba(90, 121, 233, 0.4);
  border-color: rgba(150, 180, 255, 0.9);
  background: linear-gradient(
    145deg,
    rgba(60, 60, 120, 0.6),
    rgba(80, 100, 200, 0.35)
  );
}

/* Glow animation stays */
.aboutUs-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 2px;
  background: linear-gradient(135deg, #5a79e9, #9aaeff, #5a79e9);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: destination-out;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.aboutUs-box:hover::before {
  opacity: 1;
  animation: border-glow 3s linear infinite;
}

/* Subtle particles floating on hover */
.aboutUs-box::after {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: radial-gradient(
      circle at 30% 30%,
      rgba(255, 255, 255, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 60%,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 50% 90%,
      rgba(255, 255, 255, 0.04) 0%,
      transparent 50%
    );
  background-size: 200% 200%;
  opacity: 0;
  transition: opacity 0.8s ease, transform 8s linear;
  pointer-events: none;
}

.aboutUs-box:hover::after {
  opacity: 1;
  animation: particles-move 12s linear infinite;
}

@keyframes particles-move {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(5px, -5px) rotate(180deg);
  }
  100% {
    transform: translate(0, 0) rotate(360deg);
  }
}

.aboutUs-box h3 {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 0;
  letter-spacing: 1px;
}

.aboutUs-box p {
  margin-top: 4px;
  max-width: 800px;
  margin-bottom: 40px;
  font-size: 20px;
  font-family: "Raleway", sans-serif;
  color: #fff4e1;
  line-height: 35px;
  font-weight: 200;
}

/* Responsive About Us */
@media (max-width: 768px) {
  .aboutUs {
    padding: 30px 20px;
  }

  .aboutUs-box p {
    font-size: 18px;
    text-align: center; /* centers only the paragraph */
    margin: 0 auto;     /* optional: keeps paragraph balanced */
  }
}


/* ========== OUR TEAM SECTION ========== */
.team-section {
  padding: 50px 100px;
}

.team-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 15px;
}

.team-member {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #555;
  padding-bottom: 20px;
}

.team-member:last-child {
  border-bottom: none;
}

.team-member-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.team-member .number {
  font-size: 2rem;
  color: #f5f5dc;
  font-weight: 800;
  font-family: "Raleway", sans-serif;
}

.team-member .name {
  font-size: 1.6rem;
  font-weight: 600;
  color: #22b5c8;
}

.team-member .position {
  font-size: 1.4rem;
  font-weight: 500;
  color: #f5f5dc;
}

.hidden {
  display: none;
}

.view-more-team {
  margin: 20px auto;
  display: block;
  padding: 10px 20px;
  font-size: 16px;
  background-color: #2d2d2d;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: "Saira", sans-serif;
}

/* Responsive Team section */

@media (max-width: 768px) {
  .team-section {
    padding: 30px 20px;
  }

  .team-member {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 25px;
  }

  .team-member-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .team-member .number {
    font-size: 1.5rem;
  }

  .team-member .name {
    font-size: 1.3rem;
  }

  .team-member .position {
    font-size: 1.1rem;
  }
}
/* ===== TEAM CAROUSEL ===== */
.team-carousel {
  text-align: center;
  padding: 50px 10px;
}

.team-carousel h2 {
  font-size: 2.5rem;
  /* font-family: "Saira", sans-serif; */
  margin-bottom: 20px;
  color: #f5f5dc;
  padding: 20px 30px;
}

.carousel-container {
  position: relative;
  max-width: 100%;
  margin: auto;
  border-radius: 12px;
  overflow: hidden;
}

.carousel-container img {
  width: 100%;
  max-height: calc(100vh - 110px); /* viewport height minus navbar height */
  object-fit: contain; /* show full image without cropping */
  display: block;
}

.carousel-track {
  display: flex;
  transition: transform 1s ease-in-out;
}

.carousel-track img {
  width: 100%;
  height: auto;
  flex-shrink: 0;
  border-radius: 12px;
  object-fit: cover;
}

/* Buttons */

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.9);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .team-carousel h2 {
    font-size: 2rem;
  }

  .carousel-btn {
    font-size: 1.8rem;
    padding: 8px 12px;
  }
}

@media (max-width: 768px) {
  .team-carousel h2 {
    font-size: 1.8rem;
  }

  .carousel-container {
    max-width: 95%;
  }

  .carousel-btn {
    font-size: 1.5rem;
    padding: 6px 10px;
  }
}

@media (max-width: 480px) {
  .team-carousel h2 {
    font-size: 1.5rem;
  }

  .carousel-btn {
    font-size: 1.2rem;
    padding: 5px 8px;
  }
}

.description {
  padding: 20px 0 20px 20px;
  max-width: 800px;
  margin: 50px;
  font-size: 20px;
  font-family: "Saira", sans-serif;
  color: #fff4e1;
  line-height: 35px;
  font-weight: 200;
}

.description h4 {
  margin-top: 35px;
  font-weight: bolder;
}
.description p {
  margin-top: 5px;
  font-weight: lighter;
}

.image-powertrain {
  right: 10%;
  width: 300px;
  height: 160px;
}

/* image css */
.unique-slider-section {
  width: 100%;
  overflow: hidden; /* Hide overflowing content */
  position: relative;
  /* Dark background similar to your image */
  padding: 20px 0; /* Add some vertical padding */
}

.unique-slider-container {
  display: flex;
  transition: transform 0.8s ease-in-out; /* Smooth slide transition */
}

.unique-slider-item {
  flex: 0 0 auto;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
}

.unique-slider-item img {
  max-width: 90%;
  height: auto;
  display: block;
  object-fit: contain;
  border: 4px solid #fff;
  border-radius: 8px; /* optional */
  box-shadow: 0 0 6px #fff, 0 0 7px #0f3d87ff, 0 0 15px #134d88ff,
    0 0 25px #0e4a90ff; /* glow effect */
  transition: box-shadow 0.3s ease;
}

/* Responsive adjustments */

/* ================= DEPARTMENTS SECTION STYLES ================= */
/*SECTION STYLING*/

.departments-section {
  padding: 20px 10px 40px;
  position: relative;
}

/*HEADER STYLING */
.section-title {
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: bold;
  font-style: normal;
  font-size: 35px;
  color: #f5f5dc;
  padding-left: 10px;
  text-align: left;
  margin: 30px;
}

.card-internal-image-placeholder {
  position: absolute;
  top: -89px;
  z-index: 1;
  transition: opacity 0.3s, transform 0.3s;
  border-radius: 5px;
}

.department-card img {
  width: 100%;
  max-height: 150px;
  object-fit: contain;
  margin-bottom: 15px;
}

.card-grid-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  padding: 0 40px;
}

/* Scroll wrapper — hides scrollbar and allows smooth scroll */
#cardScrollWrapper {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 90px;
}
.card-scroll-wrapper::-webkit-scrollbar {
  display: none;
}

/* Card container — single row (no wrap) */
.card-container {
  display: flex;
  flex-wrap: nowrap; /* one line, horizontal scrolling */
  gap: 25px;
  justify-content: flex-start;
  align-items: stretch;
}

/* Navigation Buttons */
.slider-nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(50px);
  z-index: 20;
  background: #000000ff;
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  transition: background-color 0.3s;
}

.slider-nav-button:hover {
  background: #5a70a8;
}

.slider-nav-button.left {
  left: 0;
}

.slider-nav-button.right {
  right: 0;
}

/* Department card sizing — 3 per screen on desktop */
/* Department card sizing — 3 per screen on desktop */
.department-card {
  flex: 0 0 calc(33.333% - 20px); /* Show 3 cards on desktop */
  max-width: 350px; /* Keeps card width consistent */
  min-width: 250px; /* Prevents cards from shrinking too much */
  height: 480px; /* Adjusted for better proportions */
  background-color: rgba(50, 50, 87, 0.3); /* Transparent bluish background */
  border: 2px solid rgba(90, 121, 233, 0.6);
  border-radius: 15px;
  padding: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #fff;
  font-family: "Raleway", sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  scroll-snap-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 0px;
}

/* Active Card State */
.department-card.is-active {
  background-color: #425881; /* Brighter, SOLID indigo active color */
  transform: scale(1.08) translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7),
    0 0 15px 5px rgba(66, 88, 129, 0.9);
  border-color: rgba(255, 255, 255, 0.1);
}

/* CARD CONTENT */
.department-card h3 {
  font-family: "Raleway", sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 15px;
  text-align: center;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.department-card p {
  font-family: "Saira", sans-serif;
  color: #ffffff;
  margin-bottom: 10px;
  text-align: left;
  margin-bottom: 15px;
  font-size: 1.3rem;
  line-height: 34px;
}

.view-more-button {
  display: block;
  width: 100%;
  padding: 12px 20px;
  background-color: #fffaf0;
  color: #1a1a1a;
  border: none;
  border-radius: 8px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.1s, box-shadow 0.3s;
  text-align: center;
  text-decoration: none;
  margin-top: auto; /* Ensures button sticks to the bottom */
}

.view-more-button:hover {
  background-color: #e0e0e0;
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.view-more-button:active {
  transform: translateY(0);
}

/* ================= RESPONSIVE FIX (keeps horizontal scroll) ================= */

/* Tablet View (max-width: 1024px) */
@media (max-width: 1024px) {
  .card-grid-wrapper {
    padding: 0 20px;
  }

  #cardScrollWrapper {
    padding: 60px 20px;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
  }

  .department-card {
    flex: 0 0 calc(50% - 15px); /* Show 2 cards */
    min-width: 300px;
    height: auto;
    padding: 35px;
    margin-top: 30px;
  }

  .department-card.is-active {
    transform: scale(1.05) translateY(-5px);
  }

  /* Hide floating images */
  .image-chassis,
  .image-dynamics,
  .image-powertrain {
    display: none;
  }

  .slider-nav-button {
    transform: translateY(20px);
  }
}

/* Mobile View (max-width: 768px) */
@media (max-width: 768px) {
  .departments-section {
    padding: 20px 10px;
  }

  .section-title {
    text-align: center;
    font-size: 26px;
    margin: 20px 0;
  }

  #cardScrollWrapper {
    display: flex;
    flex-direction: row;
    gap: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    padding: 40px 15px;
  }

  .department-card {
    flex: 0 0 85%; /* One big card at a time, swipe horizontally */
    min-width: 260px;
    max-width: 300px;
    height: auto;
    padding: 25px 20px;
    scroll-snap-align: center;
    border-radius: 12px;
  }

  .department-card h3 {
    font-size: 20px;
  }

  .department-card p {
    font-size: 1.1rem;
    text-align: center;
  }

  .view-more-button {
    font-size: 14px;
    padding: 10px;
    margin-top: 15px;
  }

  /* Hide slider arrows on mobile */
  .slider-nav-button {
    display: none;
  }
}

/* Very Small Phones (max-width: 480px) */
@media (max-width: 480px) {
  #cardScrollWrapper {
    gap: 15px;
    padding: 30px 10px;
  }

  .department-card {
    flex: 0 0 90%;
    min-width: 250px;
    padding: 20px 15px;
  }

  .department-card h3 {
    font-size: 18px;
  }

  .department-card p {
    font-size: 1rem;
  }

  .view-more-button {
    font-size: 13px;
    padding: 8px;
  }
}
/* ================= CLEAN + CONSISTENT SPACING FOR SMALL SCREENS ================= */

/* Tablet */
@media (max-width: 1024px) {
  .department-card {
    height: auto;
    padding: 25px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }

  .department-card img {
    width: 100%;
    max-height: 180px;
    object-fit: contain;
    margin: 29px auto 10px; /* top + bottom like your style */
    display: block;
  }

  .department-card h3 {
    margin-top: 45px; /* same spacing consistency */
    text-align: center;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .department-card {
    height: auto;
    padding: 25px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }

  .department-card img {
    width: 100%;
    max-height: 160px;
    object-fit: contain;
    margin: 29px auto 10px;
    display: none;
  }

  .department-card h3 {
    margin-top: 45px;
    text-align: center;
  }
}

/* Very Small Phones */
@media (max-width: 480px) {
  .department-card {
    height: auto;
    padding: 25px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }

  .department-card img {
    width: 100%;
    max-height: 140px;
    object-fit: contain;
    margin: 29px auto 10px;
    display: none;
  }

  .department-card h3 {
    margin-top: 45px;
    text-align: center;
  }
}

/* ===== About IGDTUW Section ===== */
/* SECTION STYLING */
.about-igdtuw-section {
  padding: 60px 80px; /* Generous padding for desktop, smaller for mobile via media query if needed, but 20px horizontal padding is good */
  display: flex;
  justify-content: center; /* Center the main content block */
  width: 100%;
}

.about-igdtuw-content-container {
  width: 100%;
  /* Max width to keep the content readable on very large screens, matching the image's content block width */
  max-width: 1900px;
  text-align: center; /* Center all block-level children (like paragraphs) by default for the image-based layout */
}

/* HEADING STYLING */
.about-igdtuw-heading {
  /* ================= DEPARTMENTS CAROUSEL JS =================*/
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: bold;
  font-style: normal;
  font-size: 35px;
  color: #f5f5dc;
  padding-left: 10px;
  text-align: left;
  margin: 30px;
}

.about-igdtuw-image-wrapper {
  margin-bottom: 30px;
  display: inline-block;
  max-width: 100%;
  overflow: hidden; /* ensures the image doesn’t spill during hover */
  border-radius: 12px; /* soft rounded corners */
  transition: transform 0.8s ease, box-shadow 0.8s ease, filter 0.8s ease;
}

.igdtuw-main-image {
  width: 100%;
  height: auto;
  display: block;

  border-radius: 12px;
  box-shadow: 0 0 8px #ffffff, 0 0 15px #6ecbff, 0 0 30px #219eff,
    0 0 45px #007bff;
  transition: box-shadow 0.3s ease;
  filter: 0.8s ease;
}

/* Hover effect */
.about-igdtuw-image-wrapper:hover .igdtuw-main-image {
  transform: scale(1.05) translateY(-5px); /* lift & slight zoom */
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.7); /* stronger depth */
  filter: brightness(1.1); /* subtle lightening */
}

/* PARAGRAPH STYLING */
.about-igdtuw-paragraph {
  /* Color: Lighter than the heading, slightly off-white/gray */

  margin: 30px;
  font-size: 20px;
  font-family: "Saira", sans-serif;
  color: #fff4e1;
  line-height: 35px;
  font-weight: 200;
  text-align: center;
}

/* Specific styling for the bolded text within paragraphs */
.highlight-bold {
  font-weight: 700;
  /* Slightly lighter color for emphasis, but keeping it white for contrast */
  color: #ffffff;
}

/* RESPONSIVENESS (Mobile and Tablet Adjustments) */

/* Tablet and Smaller Desktop (e.g., up to 768px) */
@media (max-width: 768px) {
  .about-igdtuw-section {
    padding: 40px 15px; /* Reduce vertical padding */
  }

  .about-igdtuw-content-container {
    /* Allow content to take a bit more width on tablets */
    max-width: 700px;
  }

  .about-igdtuw-heading {
    font-size: 1.8rem; /* Smaller heading */
    margin-bottom: 25px;
    letter-spacing: 0.12em;
  }

  .about-igdtuw-paragraph {
    font-size: 1rem; /* Slightly smaller text */
    margin-bottom: 20px;
  }
}

/* Mobile (e.g., up to 480px) */
@media (max-width: 480px) {
  .about-igdtuw-heading {
    font-size: 1.5rem; /* Even smaller heading for small screens */
    margin-bottom: 20px;
    letter-spacing: 0.1em;
  }

  .about-igdtuw-paragraph {
    font-size: 0.95rem;
    margin-bottom: 15px;
  }
}

/* ========== About Formula Student Section ========== */
/* ====== NEW HERO ABOUT FS DESIGN ====== */
.fsx-hero-wrapper {
  width: 100%;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 8%;
  background: linear-gradient(135deg, #000000ff 0%, #080c0cff 100%);
  position: relative;
  overflow: hidden;
}

.fsx-hero-content {
  width: 55%;
  color: #fff;
  z-index: 2;
}

.fsx-hero-tag {
  color: #003b8e;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.fsx-hero-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.fsx-hero-title span {
  font-weight: 800;
  font-size: 48px;
  color: #fff;
}

.fsx-hero-text {
  font-size: 16px;
  opacity: 0.85;
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 90%;
}

.fsx-hero-btn {
  display: inline-block;
  padding: 14px 32px;
  background: #003b8e; /* dark royal blue */
  color: #ffffff;
  border-radius: 50px;
  font-weight: 600;
  transition: 0.3s ease-in-out;
  border: 2px solid #00c9ff; /* neon edge */
  text-shadow: 0 0 8px rgba(0, 201, 255, 0.6);
  box-shadow: 0 0 8px #003b8e, 0 0 18px rgba(0, 201, 255, 0.7),
    inset 0 0 8px rgba(0, 201, 255, 0.3);
}

.fsx-hero-btn:hover {
  background: #007bff; /* brighter neon blue */
  border-color: #00c9ff;
  box-shadow: 0 0 12px #007bff, 0 0 25px #00c9ff,
    inset 0 0 10px rgba(0, 201, 255, 0.6);
  transform: translateY(-2px); /* subtle lift */
}

/* Car Image */
.fsx-hero-car {
  width: 45%;
  display: flex;
  justify-content: center;
}

.fsx-hero-car img {
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 45px rgba(35, 94, 170, 0.5));
}

/* Mobile View */
@media (max-width: 900px) {
  .fsx-hero-wrapper {
    flex-direction: column;
    text-align: center;
    padding: 60px 6%;
  }
  .fsx-hero-content,
  .fsx-hero-car {
    width: 100%;
  }
  .fsx-hero-car img {
    width: 85%;
    margin-top: 20px;
  }
}
/* ==========================================
   FORMULA STUDENT DETAILS SECTION (AFTER HERO)
========================================== */
.fsx-details-section {
  padding: 10px 8%;
  background: #0b0b0b;
  color: #e8e8e8;
  font-family: "Poppins", sans-serif;
}

.fsx-details-section .afs-container {
  max-width: 1000px;
  margin: auto;
}

/* Headings */
.afs-title {
  font-size: 34px;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 10px;
  text-align: left;
}

.afs-subtitle {
  font-size: 20px;
  font-weight: 500;

  margin-bottom: 10px;
  color: #4aa8ff;
  font-weight: 700;
  text-shadow: 0 0 3px rgba(74, 168, 255, 0.8), 0 0 10px rgba(74, 168, 255, 0.7),
    0 0 20px rgba(74, 168, 255, 0.5), 0 0 40px rgba(0, 153, 255, 0.4);
}

.afs-divider {
  width: 420px;
  height: 4px;
  background: #338abcff;
  border-radius: 5px;
  margin: 15px 0 25px;
}

/* Paragraphs */
.fsx-details-section p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Section Headings */
.afs-heading {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 40px;
  margin-bottom: 12px;
}

.afs-heading.highlight {
  color: #4aa8ff;
  font-weight: 700;
  text-shadow: 0 0 6px rgba(74, 168, 255, 0.8), 0 0 12px rgba(74, 168, 255, 0.7),
    0 0 24px rgba(74, 168, 255, 0.5), 0 0 45px rgba(0, 153, 255, 0.4);
}

/* Subheadings */
.afs-subheading {
  font-size: 18px;
  font-weight: 600;
  margin-top: 25px;
  margin-bottom: 12px;
  color: #4aa8ff;
  font-weight: 700;
  text-shadow: 0 0 6px rgba(74, 168, 255, 0.8), 0 0 12px rgba(74, 168, 255, 0.7),
    0 0 24px rgba(74, 168, 255, 0.5), 0 0 45px rgba(0, 153, 255, 0.4);
}

/* Lists */
.fsx-details-section ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.fsx-details-section ul li {
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 15.5px;
}

.fsx-details-section ul li strong {
  color: #ffffff;
  font-weight: 600;
}

/* ========================== RESPONSIVE ========================== */

@media (max-width: 900px) {
  .fsx-details-section {
    padding: 60px 6%;
  }

  .afs-title {
    font-size: 28px;
    text-align: center;
  }

  .afs-subtitle {
    text-align: center;
  }

  .afs-divider {
    margin: 10px auto 25px;
  }

  .afs-heading {
    font-size: 22px;
  }

  .afs-subheading {
    font-size: 17px;
  }
}

@media (max-width: 600px) {
  .fsx-details-section {
    padding: 50px 5%;
  }

  .afs-title {
    font-size: 24px;
  }

  .afs-heading {
    font-size: 20px;
  }

  .fsx-details-section p,
  .fsx-details-section ul li {
    font-size: 15px;
  }
}

/* ========== SPONSORS SLIDER ========== */
.sponsors h2 {
  padding: 50px 120px 50px;
}

.slider-container {
  width: 100%;
  overflow: hidden;
  perspective: 800px; /* Gives a 3D look */
}

.slider {
  display: flex;
  gap: 20px;
  transform-style: preserve-3d;
  animation: scroll 10s linear infinite;
  /* transform: rotateX(20deg); */ /* Uncomment this for curved effect */
  padding: 20px 0;
}

.slider img {
  width: 170px;
  height: 150px;
  object-fit: contain;
  background: #fff4e1;
  padding: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.slider img:hover {
  transform: scale(1.1) rotateY(0deg);
}

.slider {
  animation: scroll linear infinite;
  animation-duration: 20s; /* adjust as needed */
  gap: 20px; /* match JS imgGap */
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-1 * var(--scroll-width)));
  }
}

/* Animation for horizontal scrolling */
/* @keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
} */

/* Responsive Sponsor Section */
@media (max-width: 768px) {
  .sponsors h2 {
    padding: 30px 40px;
  }

  .slider img {
    width: 150px;
    height: 130px;
  }
}

/* department and footer section css */

.departments-section {
  padding: 50px 100px;
  text-align: center;
}

.departments-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  justify-items: center;
}

.department-card:hover {
  transform: scale(1.03);
}

.view-more {
  background-color: #fef9e7;
  color: #000;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.view-more:hover {
  background-color: #4c4c4a;
}

/* Responsive layout */
/* @media (min-width: 768px) {
  .departments-grid {
    grid-template-columns: repeat(2, 1fr);
  }
} */

@media (min-width: 1024px) {
  .departments-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .departments-section {
    padding: 30px 20px; /* Slightly reduced padding on mobile */
    text-align: left; /* Only on small screens */
  }

  .departments-section h2 {
    text-align: left !important; /* Force override any center */
    font-size: 35px;
    margin: 0 0 20px 0;
    padding: 0;
    display: block;
    width: 100%;
  }

  .departments-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .department-card {
    width: 100%;
    margin: 0 auto;
  }
}

/* ================ Footer ================== */
.footer {
  background-color: #342794;
  color: #b2b2b2;
  padding: 40px 20px 10px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 100%;
  margin: auto;
}

.footer-section {
  flex: 1 1 300px;
  margin: 10px;
}

.logo-section h1 {
  margin-left: 10px;
  font-size: 36px;
  font-weight: bold;
}

.logo-section p {
  margin-left: 10px;
  margin-top: 5px;
  font-size: 17px;
}

.quick-links h3,
.contact-section h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.quick-links ul {
  list-style: none;
  padding: 0;
}

.quick-links ul li {
  margin: 6px 0;
}

.quick-links ul li a {
  text-decoration: none;
  color: #b2b2b2;
}

.contact-section p {
  margin: 8px 0;
  font-size: 14px;
  line-height: 1.5;
}

.contact-section img {
  width: 35px;
  vertical-align: middle;
  margin-right: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 100%;
  margin: 20px auto 0;
  padding-top: 20px;
  border-top: 1px solid #b2b2b2;
  font-size: 14px;
}

.footer h1 {
  font-family: "Pro Racing", sans-serif;
  color: #fff4e1;
}

.social-icons {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.social-icons img {
  max-width: 25px;
  max-height: 25px;
  margin-left: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start; /* top-align text with icon */
  gap: 15px; /* space between image and text */
  margin-bottom: 20px;
}

.contact-item img {
  width: 40px; /* adjust icon size */
  height: 40px;
  object-fit: contain;
}

.contact-text {
  font-size: 14px;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .social-icons {
    margin-top: 10px;
  }
}

/* ========= Achievements ========= */

.timeline {
  position: relative;
  width: 90%;
  margin: 100px auto;
}

/* Two vertical lines - one left, one right */
.timeline::before,
.timeline::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: rgba(90, 121, 233, 1);
}

.timeline::before {
  left: 8%;
  bottom: 200px;
}

.timeline::after {
  right: 8%;
  top: 200px;
}

/* Timeline item */
.timeline-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 100px 0;
}

.achievement-content {
  background-color: rgba(50, 50, 87, 0.3);
  border: 2px solid rgba(90, 121, 233, 0.6);
  border-radius: 10px;
  color: #fff4e1;
  padding: 15px;
  width: 50%;
  margin-left: 254px;
  font-family: "Montserrat", sans-serif;

  /* Add smooth transitions */
  transition: transform 0.5s ease, box-shadow 0.5s ease, background 0.5s ease,
    border-color 0.5s ease;
}

/* Optional hover effect for interactivity */
.achievement-content {
  background-color: rgba(50, 50, 87, 0.3);
  border: 2px solid rgba(90, 121, 233, 0.6);
  border-radius: 10px;
  color: #fff4e1;
  padding: 15px;
  width: 50%;
  margin-left: 254px;
  font-family: "Montserrat", sans-serif;

  /* Add smooth transitions */
  transition: transform 0.5s ease, box-shadow 0.5s ease, background 0.5s ease,
    border-color 0.5s ease;
}

/* Optional hover effect for interactivity */
.achievement-content:hover {
  box-shadow: 0 0 20px rgba(90, 121, 233, 0.8); /* soft glow */
  border-color: rgba(150, 180, 255, 0.8); /* slightly brighter border */
  background: rgba(60, 60, 110, 0.35); /* subtle gradient effect */
}

#contentright {
  margin-left: 325px;
}
/* Circles */
.circle {
  width: 26px;
  height: 26px;
  background: #0c0c0c;
  border-radius: 50%;
  border: 4px solid rgba(90, 121, 233, 1);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

/* Circle positions */
.left-circle {
  left: 22%;
  transform: translate(-50%, -50%);
}

.right-circle {
  right: 22%;
  transform: translate(50%, -50%);
}

/* Connector lines from circle to box */
.timeline-item::before {
  content: "";
  position: absolute;
  top: 50%;
  width: calc(15% - 22px);
  height: 3px;
  background: rgba(90, 121, 233, 1);
  transform: translateY(-50%);
  z-index: 1;
}

.timeline-item:nth-child(odd)::before {
  left: 8%;
}

.timeline-item:nth-child(even)::before {
  right: 8%;
}

/* Year text on side */
.achievement-content h3 {
  position: absolute;
  top: 50%;
  font-weight: bold;
  font-size: 1.4rem;
  color: #eaeaea;
  letter-spacing: 2px;
}

.left-year {
  position: absolute;
  top: 50%;
  left: calc(70% + 13px);
  transform: translateY(-50%) rotate(90deg);
  transform-origin: left center;
  font-family: "Pro Racing";
}

.right-year {
  position: absolute;
  top: 50%;
  right: calc(70% + 13px);
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: right center;
  font-family: "Pro Racing";
}


/* Responsive Achievement / Timeline */
@media (max-width: 1024px) {
  .timeline {
    width: 95%;
    margin: 50px auto;
  }

  /* Hide vertical lines */
  .timeline::before,
  .timeline::after {
    display: none;
  }

  .timeline-item {
    flex-direction: column;
    align-items: flex-start;
    margin: 60px 0;
  }

  /* Hide circles */
  .circle,
  .left-circle,
  .right-circle {
    display: none;
  }

  /* Boxes full width */
  .achievement-content {
    width: 100%;
    margin-left: 0;
    padding: 15px 20px;
    font-size: 14px;
  }

  #contentright {
    margin-left: 0;
  }

  /* Connector lines removed */
  .timeline-item::before {
    display: none;
  }

  /* Year text below boxes, centered */
  .left-year,
  .right-year {
    display: none; /* hide years on small screens */
  }
}

/* ========== Gallery ============ */
.Gallery-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 120px 20px 0 20px;
}

.Gallery-container .heading {
  padding-bottom: 50px;
  /* Add flexbox to center content horizontally */
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.Gallery-container .heading h3 {
  width: 50%;
  font-size: 6.5em;
  font-family: "Pro Racing", sans-serif;
  color: #fff4e1;
  text-shadow: -10px 0 4px #1b2446, 10px 0 4px #1b2446, 0 0 40px #1b2446;
}

.Gallery-container .gallery-box {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 70px;
}

.Gallery-container .gallery-box .Gallery-column {
  display: flex;
  flex-direction: column;
  width: 32.5%;
}

.Gallery-container .gallery-box .Gallery-column img {
  width: 100%;
  padding-bottom: 15px;
  border-radius: 5px;
}

@media only screen and (max-width: 769px) {
  .Gallery-container .gallery-box {
    flex-direction: column;
  }

  .Gallery-container .gallery-box .Gallery-column {
    width: 100%;
  }
}

@media only screen and (max-width: 643px) {
  .Gallery-container .heading {
    width: 100%;
  }

  .Gallery-container .heading h3 {
    font-size: 1.8em;
  }

  .Gallery-container {
    margin-top: 80px;
  }

  .Gallery-container .gallery-box {
    margin: 10px;
  }
}
/* get in touch section */
.contact-sectionn {
  background-color: rgba(36, 36, 36, 1);
  color: #eaeaea;
  padding-top: 120px;
  padding-bottom: 20px;
  font-family: "Segoe UI", sans-serif;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
}

.contact-form {
  flex: 1;
  min-width: 320px;
}

.contact-form h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #f8f6ef;
  margin-bottom: 10px;
}

.contact-form p {
  color: #888;
  margin-bottom: 30px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #555;
  color: #fff;
  padding: 10px 5px;
  margin-bottom: 20px;
  font-size: 1rem;
}

.contact-form textarea {
  height: 120px;
  border: 2px solid rgba(90, 121, 233, 0.6);
  resize: none;
}

.submit-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1rem;
  border-bottom: 2px solid rgba(90, 121, 233, 0.6);
  cursor: pointer;
  transition: 0.3s;
}

.submit-btn:hover {
  color: rgba(90, 121, 233, 0.6);
  border-bottom-color: #fff;
}

.brochure-links {
  margin-top: 30px;
}

.brochure-links a {
  display: inline-block;
  margin-right: 15px;
  text-decoration: none;
  color: #fff;
}

.btn-outline {
  padding: 10px 20px;
  border: 1px solid rgba(90, 121, 233, 0.6);
  border-radius: 4px;
  color: #fff;
  transition: 0.3s;
}

.btn-outline:hover {
  background-color: rgba(90, 121, 233, 0.6);
}

.contact-detailss {
  flex: 1;
  min-width: 320px;
}

.contact-detailss h3 {
  color: #f8f6ef;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.contact-detailss ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.contact-detailss li {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
}

.contact-detailss img {
  width: 20px;
  margin-top: 4px;
}

.iconss img {
  width: 24px;
  margin-right: 15px;
  cursor: pointer;
  transition: 0.3s;
}

.iconss img:hover {
  transform: scale(1.1);
}

.map img {
  width: 100%;
  max-width: 300px;
  border-radius: 8px;
}
.map iframe {
  width: 450px;
  height: 250px;
  border-radius: 8px;
}
/* email section in get in touch section */
.email-signup {
  color: #fff4e1;
  padding: 20px 10px;
  text-align: left;
}
.signup-container p2 {
  color: #fff4e1;
  text-align: left;
  font-weight: 600;
  font-size: 30px;
  font-family: "Raleway", sans-serif;
}

.signup-container {
  max-width: 300px;
}

.signup-form {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.signup-form input[type="email"] {
  border-width: 2px;
  border-style: solid;
  border-color: #fff4e1;
  background-color: #5548ba;
  padding: 12px;
  font-size: 16px;
  width: 100%;
}

.signup-form button {
  padding: 12px;
  font-size: 16px;
  border: none;
  background-color: #ffffff;
  color: #5548ba;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.signup-form button:hover {
  background-color: #e0e0e0;
}
/* Responsive Styles for Mobile Devices */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    gap: 40px;
    padding: 0 20px;
  }

  .contact-form,
  .contact-detailss {
    width: 100%;
  }

  .map iframe {
    width: 100%;
    height: 200px;
  }

  .brochure-links a {
    display: block;
    margin-bottom: 10px;
  }

  .footer-container {
    flex-direction: column;
    padding: 20px;
    gap: 30px;
  }

  .footer-section {
    width: 100%;
  }

  .signup-container {
    max-width: 100%;
  }

  .signup-form {
    flex-direction: column;
    gap: 10px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    padding: 20px 10px;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-bottom p {
    margin: 0;
  }
}

/* ============== Team Section =============== */
.teamPage-section {
  padding: 100px 0 20px 100px;
  margin: 20px;
}

.teamPage-section h2 {
  font-family: "Raleway", sans-serif;
  font-size: 35px;
  font-optical-sizing: auto;
  font-weight: bold;
  font-style: normal;
  color: #f5f5dc;
  padding-left: 10px;
  margin-left: 42px;
  margin-top: 50px;
  margin-bottom: 35px;
  text-align: left;
}
.team-description br {
  margin-bottom: 10px;
}
.team-description {
  padding: 20px 0 20px 20px;
  /* max-width: 800px; */
  margin-bottom: 40px;
  font-size: 20px;
  font-family: "Saira", sans-serif;
  color: #fff4e1;
  line-height: 35px;
  font-weight: 200;
}

/* Team Cards */
.team-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  justify-items: center;
  padding: 0 20px;
}

.team-card {
  position: relative;
  background-color: rgba(31, 41, 70, 0.8);
  border: 2px solid rgba(90, 121, 233, 0.6);
  border-radius: 15px;
  padding: 120px 30px 30px; /* Extra top padding for the overlapping image */
  width: 335px;
  text-align: center;
  color: #fff;
  transition: transform 0.3s ease;
  margin-top: 100px; /* Space for the image to overflow at top */
}

.team-card:hover {
  transform: translateY(-7px) scale(1.05); /* slightly higher lift */
  box-shadow: 0 0 25px rgba(90, 121, 255, 0.9),
    /* strong outer glow */ 0 0 50px rgba(120, 180, 255, 0.6),
    /* soft extended glow */ 0 0 80px rgba(150, 200, 255, 0.4); /* subtle halo effect */
  border-color: rgba(180, 220, 255, 1); /* maximum brightness */
}

.image-placeholder {
  position: absolute;
  top: -80px; /* Position image to overlap the card */
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 180px;
  background-color: #999;
  border-radius: 50%;
  overflow: hidden;
  z-index: 2;
}

.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card h3 {
  color: #b98cff;
  margin: 10px 0 5px;
  font-size: 30px;
  font-weight: 500;
}

.team-card p {
  margin: 0 0 10px;
  font-size: 20px;
  color: #ccc;
}

.socialIcons img {
  margin: 20px;
  height: 35px;
  width: 35px;
  transition: transform 0.3s ease;
}

.socialIcons img:hover {
  transform: scale(1.1);
}

@media (max-width: 992px) {
  .teamPage-section {
    padding: 80px 30px 20px;
  }

  .teamPage-section h2 {
    font-size: 30px;
    text-align: left;
    padding-left: 0;
  }

  .team-description {
    font-size: 18px;
    text-align: left;
    line-height: 32px;
    margin: 0 auto 30px;
  }

  .team-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .team-card {
    padding-top: 45px;
    margin-top: 90px;
    width: 100%;
    max-width: 280px;
    height: auto;
    padding-top: 70px;
  }

  .image-placeholder {
    width: 160px;
    height: 160px;
  }

  .team-card h3 {
    font-size: 26px;
  }

  .team-card p {
    font-size: 18px;
  }

  .social-icons img {
    margin: 15px;
    height: 30px;
    width: 30px;
  }
}

@media (max-width: 576px) {
  .team-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .teamPage-section h2 {
    font-size: 28px;
  }

  .team-description {
    font-size: 16px;
    line-height: 30px;
  }

  .team-card {
    padding-top: 45px;
    max-width: 100%;
    margin: 69px auto;
  }

  .image-placeholder {
    width: 140px;
    height: 140px;
  }

  .team-card h3 {
    font-size: 22px;
  }

  .team-card p {
    font-size: 16px;
  }

  .social-icons img {
    margin: 10px;
    height: 28px;
    width: 28px;
  }
}

/* About, Aim, Vision Section */
.content-area {
  padding: 40px 20px;
  background-color: rgba(36, 36, 36, 1);
}

.discreption {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1250px;
  margin: 0 auto;
}

.cont h2 {
  font-family: "Orbitron", sans-serif;
  font-size: 24px;
  color: #f5f5dc;
  text-align: left;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.cont h4 {
  font-weight: bold;
  font-size: 16px;
  color: #ffffff;
  text-align: left;
  margin-bottom: 6px;
}

.cont p {
  font-size: 14px;
  color: #ccc;
  text-align: left;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .cont p {
    text-align: center;
    margin: 0 auto; /* optional – makes it look more balanced */
  }
}


/* ============ Sponsor Page ============ */

.sponsorPageContainer {
  padding: 120px 0 20px 90px;
  margin: 20px;
}

.sponsorPageContainer h2 {
  font-family: "Raleway", sans-serif;
  font-weight: bold;
  font-size: 35px;
  color: #f5f5dc;
  padding-left: 10px;
  text-align: left;
  margin-bottom: 60px;
  margin-top: 50px;
}

/* ========= SPONSORS SECTION ========= */

.sponsor-container {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
  align-items: stretch;
}

.sponsor-box {
  flex: 1 1 280px;
  max-width: 550px;
  height: 500px;
  background-color: rgba(50, 50, 87, 0.3);
  border: 2px solid rgba(90, 121, 233, 0.6);
  padding: 25px 20px;
  border-radius: 10px;
  color: #fff;
  font-family: "Raleway", sans-serif;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

/* Hover effect for sponsor cards */
.sponsor-box:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 25px rgba(90, 121, 233, 0.5);
  border-color: rgba(150, 180, 255, 0.9);
}

/* Logo styling */
.sponsor-logo img {
  width: 220px;
  height: auto;
  margin: 0 auto 10px;
  filter: brightness(1.25) contrast(1.15)
    drop-shadow(0 0 8px rgba(255, 255, 255, 0.6))
    drop-shadow(0 0 16px rgba(90, 121, 233, 0.9));
  transition: all 0.4s ease;
}

.sponsor-logo img:hover {
  transform: scale(1.1);
  filter: brightness(1.45) contrast(1.25)
    drop-shadow(0 0 15px rgba(255, 255, 255, 0.95))
    drop-shadow(0 0 25px rgba(90, 121, 233, 1))
    drop-shadow(0 0 45px rgba(90, 121, 233, 0.9));
}

/* Description text */
.sponsor-desc {
  flex-grow: 1;
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.4;
}

/* View More Button */
.view-more {
  background-color: #fff4e1;
  color: #5a79e9;
  display: block;
  width: 150px;
  margin: 0 auto;
  border: none;
  padding: 10px 16px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.view-more a {
  text-decoration: none;
  color: #5a79e9;
}

.view-more:hover {
  background-color: #1a8fa0;
  transform: translateY(-3px);
}

/* Swiper Container */
.sponsor-swiper {
  width: 95%;
  max-width: 1200px;
  margin: 40px auto;
  padding-bottom: 24px;
}

/* Swiper Slide Settings */
.swiper-slide {
  width: 400px !important;
  display: flex;
  justify-content: center;
  align-items: stretch;
  transition: transform 0.3s ease;
}

.swiper-slide-active {
  transform: scale(1.05);
  z-index: 2;
}

/* Buttons & Pagination */
.swiper-button-next,
.swiper-button-prev {
  color: #ccc;
}

.swiper-button-next::after, .swiper-button-prev::after{
  display: flex;
  justify-content: space-between;
  color: #ccc;
  display: none;
}

.swiper-pagination-bullet {
  background: #5a79e9;
  opacity: 0.85;
}

.swiper-pagination-bullet-active {
  background: #1a8fa0;
  opacity: 1;
}

/* ===== RESPONSIVE: SHOW 1 BOX PER VIEW ONLY ON SMALLER SCREENS ===== */

/* Tablets */
@media (max-width: 1024px) {
  .swiper-wrapper {
    justify-content: center !important;
    align-items: center !important;
  }

  .swiper-slide {
    width: 80% !important; /* one full box per slide */
    display: flex !important;
    justify-content: center;
    align-items: center;
  }

  .sponsor-box {
    width: 80%;
    max-width: 480px;
    padding: 24px;
  }

  .sponsor-logo img {
    width: 200px;
    max-width: 80%;
  }

  .swiper-slide-active .sponsor-box {
    transform: scale(1.05);
    transition: transform 0.3s ease;
  }
}

/* Phones */
@media (max-width: 768px) {
  .swiper-slide {
    width: 90% !important;
  }

  .sponsor-box {
    width: 90%;
    max-width: 420px;
    padding: 18px;
  }

  .sponsor-logo img {
    width: 160px;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .swiper-slide {
    width: 100% !important;
  }

  .sponsor-box {
    width: 95%;
    max-width: 360px;
    padding: 16px;
  }

  .sponsor-logo img {
    width: 140px;
  }
}

.sponsorPageContainer p {
  max-width: auto;
  margin: 40px 40px 40px 0;
  font-size: 20px;
  font-family: "Saira", sans-serif;
  color: #fff4e1;
  line-height: 35px;
  font-weight: 200;
}

.sponsor-text {
  width: 80%; /* or adjust as needed */
  padding-left: 50px;
  padding-right: 100px;
}

.sponsor-category-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  justify-items: space-around;
  padding: 0 20px;
}

.Sponsor-category {
  flex: 1 1 280px;
  max-width: 390px;
  background-color: rgba(50, 50, 87, 0.3); /* 323257 with 50% opacity */
  border: 2px solid rgba(90, 121, 233, 0.6); /* Soft border */
  padding: 25px 20px;
  border-radius: 10px;
  color: #fff;
  font-family: "Raleway", sans-serif;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* subtle shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.Sponsor-category:hover {
  transform: translateY(-5px);
}

.Sponsor-category h3 {
  font-family: "Raleway", sans-serif;
  font-size: 22px;
  font-weight: normal;
  color: #fff;
  margin-bottom: 0;
  letter-spacing: 1px;
}

.Sponsor-category p {
  padding-top: 20px;
  max-width: 800px;
  margin-bottom: 40px;
  font-size: 20px;
  font-family: "Saira", sans-serif;
  color: #fff4e1;
  line-height: 35px;
  font-weight: 200;
}

.title-container {
  display: grid;
  gap: 30px;
}

.sponsor-title {
  flex: 1 1 280px;
  max-width: 1200px;
  background-color: rgba(50, 50, 87, 0.3);
  border: 2px solid rgba(90, 121, 233, 0.6);
  padding: 25px 20px;
  border-radius: 10px;
  color: #fff;
  font-family: "Raleway", sans-serif;
  box-shadow: 0 0 10px rgba(34, 181, 200, 0.3);
  transition: transform 0.3s ease;

  /* FIXED PART */
  display: flex;
  flex-direction: column; /* stack title & para vertically */
  align-items: flex-start; /* align all text to start (left edge) */
  text-align: left;
}
.sponsor-title h3 {
  font-weight: bold;
  font-size: 22px;
  color: #fff;
  margin-bottom: 10px; /* tighter gap between h3 and p */
  letter-spacing: 1px;
}

.sponsor-title p {
  margin: 0; /* remove extra spacing */
}

.gold-text {
  background: linear-gradient(90deg, #ffd700, #ffb700, #fff1a6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
  font-weight: 700;
}

.silver-text {
  background: linear-gradient(90deg, #e0e0e0, #c0c0c0, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 15px rgba(224, 224, 224, 0.7);
  font-weight: 700;
}

.platinum-text {
  background: linear-gradient(90deg, #e5e4e2, #c9c8c6, #f8f8f8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 18px rgba(229, 228, 226, 0.8);
  font-weight: 700;
}

.gold-bg {
  background: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.3),
    rgba(255, 183, 0, 0.3)
  );
  border: 1px solid rgba(255, 234, 112, 0.5);
}

.silver-bg {
  background: linear-gradient(
    135deg,
    rgba(217, 217, 217, 0.3),
    rgba(168, 168, 168, 0.3)
  );
  border: 1px solid rgba(234, 234, 234, 0.5);
}

.platinum-bg {
  background: linear-gradient(
    135deg,
    rgba(229, 228, 226, 0.3),
    rgba(201, 200, 198, 0.3)
  );
  border: 1px solid rgba(240, 240, 240, 0.5);
}

/* ========== Responsive Sponsor ========= */
@media (max-width: 992px) {
  .sponsorPageContainer {
    padding: 60px 20px;
    margin: 10px;
  }

  .sponsor-box {
    width: 100%;
    flex-direction: column;
    height: auto;
    padding: 30px 20px;
    align-items: center;
    text-align: center;
  }

  .sponsor-text {
    width: 100%;
    padding: 0;
  }

  .sponsor-text p {
    font-size: 18px;
    line-height: 30px;
    text-align: justify;
    padding: 0 10px;
  }

  .sponsor-image {
    width: 100%;
    margin-top: 20px;
    justify-content: center;
  }

  .sponsor-image img {
    max-width: 100%;
    height: auto;
    padding-right: 0;
  }

  .sponsor-text img {
    margin-top: 30px;
    margin-bottom: 20px;
    width: 35px;
    height: 35px;
  }

  .sponsorPageContainer h2 {
    font-size: 28px;
    text-align: center;
    padding: 0;
    margin-bottom: 25px;
  }

  .sponsorPageContainer p {
    font-size: 16px;
    line-height: 28px;
    text-align: justify;
  }

  .sponsor-category-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .sponsor-title {
    flex-direction: column;
    padding: 20px 15px;
    max-width: 100%; /* 🔥 prevent overflow */
    width: 100%; /* take full width of container */
    box-sizing: border-box; /* important for padding to behave right */
    gap: 10px;
  }

  .sponsor-title h3 {
    font-size: 20px;
    margin: 10px 0;
    text-align: left;
  }

  .sponsor-title p {
    font-size: 14px;
    margin: 10px 0;
    text-align: center;
  }
}

.alert,
.success {
  width: 400px;
  text-align: center;
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: whitesmoke;
  padding: 8px 0;
}

.alert {
  background-color: rgb(252, 59, 59);
}
.success {
  background-color: rgb(44, 158, 24);
}

/* SUPPORT US PAGE */
.SupportPage {
  padding: 100px 20px 20px 100px;
  margin: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.SupportPage p {
  font-size: 20px;
  line-height: 2;
  font-weight: lighter;
  color: #fff4e1;
  margin: 40px 0;
  text-align: left;
  max-width: 900px;
}

.supportButton {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  max-width: 500px;
}

.supportButton button {
  background: transparent; /* fully transparent center */
  color: #dcdccc; /* pale gray text */
  border: 2px solid #00e0ff; /* cyan border */
  padding: 3px 28px;
  width: 240px;
  font-size: 16px;
  font-weight: lighter;
  font-family: "Saira", sans-serif;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(0, 224, 255, 0.15); /* faint cyan glow */
  transition: 0.2s ease-in-out;
}

/* optional: hover effect */
.supportButton button:hover {
  color: #ffffff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.65), 0 0 15px rgba(0, 224, 255, 0.25);
}

.SupportPage h2 {
  font-family: "Raleway", sans-serif;
  font-size: 35px;
  color: #f5f5dc;
  font-weight: normal;
  padding-left: 10px;
  margin-top: 60px;
  margin-bottom: 35px;
  letter-spacing: 2px;
  text-align: left;
}

/* ========= RESPONSIVE STYLES ========= */

/* Tablets */
@media (max-width: 1024px) {
  .SupportPage {
    padding: 80px 40px;
    align-items: center;
    text-align: center;
  }

  .SupportPage p {
    font-size: 18px;
    max-width: 700px;
    text-align: center;
  }

  .SupportPage h2 {
    font-size: 30px;
    text-align: center;
    padding-left: 0;
  }

  .supportButton {
    justify-content: center;
  }
}

/* Phones */
@media (max-width: 768px) {
  .SupportPage {
    padding: 60px 30px;
    margin: 10px;
    align-items: center;
  }

  .SupportPage h2 {
    font-size: 26px;
    margin-bottom: 25px;
  }

  .SupportPage p {
    font-size: 16px;
    line-height: 1.8;
    margin: 20px 0;
  }

  .supportButton {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .supportButton button {
    width: 200px;
    font-size: 15px;
    padding: 8px 20px;
  }
}

/* Very small screens */
@media (max-width: 480px) {
  .SupportPage {
    padding: 40px 20px;
  }

  .SupportPage h2 {
    font-size: 22px;
  }

  .SupportPage p {
    font-size: 15px;
  }

  .supportButton button {
    width: 180px;
    font-size: 14px;
    padding: 6px 18px;
  }
}
.AchievementPage {
  padding: 140px 20px 20px 100px;
  margin: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.AchievementPage p {
  font-size: 20px;
  font-weight: 300;
  line-height: 40px;
  color: #fff4e1;
  margin: 40px 0;
  text-align: left;
  max-width: 900px;
}

.AchievementPage p bold {
  font-weight: bolder;
}

.AchievementPage h2 {
  font-family: "Raleway", sans-serif;
  font-weight: bold;
  font-size: 35px;
  color: #f5f5dc;
  padding-left: 10px;
  text-align: left;
}

/* ---------- Responsive Breakpoints ---------- */

/* For tablets (max width: 1024px) */
@media (max-width: 1024px) {
  .AchievementPage {
    padding: 190px 40px 40px 60px;
  }

  .AchievementPage h2 {
    font-size: 30px;
  }

  .AchievementPage p {
    font-size: 18px;
    line-height: 35px;
    max-width: 100%;
  }
}

/* For mobile landscape (max width: 768px) */
@media (max-width: 768px) {
  .AchievementPage {
    padding: 120px 30px;
    align-items: center;
  }

  .AchievementPage h2 {
    font-size: 26px;
    text-align: center;
    padding-left: 0;
  }

  .AchievementPage p {
    font-size: 17px;
    text-align: center;
    line-height: 32px;
  }
}

/* For mobile portrait (max width: 480px) */
@media (max-width: 480px) {
  .AchievementPage {
    padding: 120px 20px;
    margin: 10px;
  }

  .AchievementPage h2 {
    font-size: 22px;
  }

  .AchievementPage p {
    font-size: 16px;
    line-height: 28px;
    margin: 20px 0;
  }
}

/* Force box-edge anchoring + visible overflow so years can't be clipped */
.achievement-content {
  position: relative !important;
  overflow: visible !important;
}

/* Shared year styles */
.left-year, .right-year {
  position: absolute !important;
  top: 50% !important;
  transform-origin: center center !important;
  z-index: 20 !important;
  white-space: nowrap !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: "Pro Racing", sans-serif !important;
  font-size: 1.5rem !important;
}

/* LEFT years: anchored to the RIGHT edge of the box, then pushed outward */
.timeline-item:nth-child(odd) .left-year {
  left: 95% !important;                        /* start exactly at box right edge */
  margin-left: 12px !important;                 /* move outward from edge — tweak this */
  transform: translateY(-50%) rotate(90deg) !important;
}

/* RIGHT years: anchored to the LEFT edge of the box, then pushed outward */
.timeline-item:nth-child(even) .right-year {
  right: 95% !important;                       /* start exactly at box left edge */
  margin-right: 12px !important;                /* move outward from edge — tweak this */
  transform: translateY(-50%) rotate(-90deg) !important;
}