html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Navbar Styles */
.navbar {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 80px;
  transition: background 0.3s ease-in-out, backdrop-filter 0.3s ease-in-out;
}

/* Add a class for the frosted effect when scrolling */
.navbar.frosted {
  background: rgba(255, 255, 255, 0.8);
  /* Semi-transparent white for frosted look */
  backdrop-filter: blur(10px);
  /* Frosted glass effect */
  -webkit-backdrop-filter: blur(10px);
  /* For Safari compatibility */
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  flex-shrink: 0;
}

.logo-img {
  height: 40px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-left: auto;
  margin-right: 110px;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-link:hover {
  color: #007bff;
}

.nav-link.active {
  color: #007bff;
}

/* Dropdown Styles */
.nav-dropdown {
  position: relative;
}

.dropdown-trigger {
  cursor: pointer;
}

.chevron {
  transition: transform 0.3s ease;
}

.nav-dropdown:hover .chevron {
  transform: rotate(180deg);
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  margin-top: 10px;
}

.nav-dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 12px 20px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
  color: #007bff;
}

/* Button Styles */
.appointment-btn {
  background: #007bff;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 20px;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.appointment-btn:hover {
  background: #0056b3;
  transform: translateY(-1px);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}

.bar {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.hamburger.active .bar:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100vh;
  background: #ffffff;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 1001;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.mobile-drawer.active {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #f0f0f0;
}

.drawer-logo {
  height: 40px;
  width: auto;
}

.close-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  color: #333;
}

.drawer-content {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: scroll;
}

.drawer-link {
  text-decoration: none;
  color: #3b3b3b;
  font-size: 18px;
  font-weight: 400;
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
  transition: color 0.3s ease;
}

.drawer-link:hover {
  color: #007bff;
}

/* Mobile Dropdown */
.drawer-dropdown-btn {
  font-family: "Montserrat", sans-serif;
  background: none;
  border: none;
  text-align: left;
  font-size: 18px;
  font-weight: 400;
  color: #3b3b3b;
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  transition: color 0.3s ease;
}

.drawer-dropdown-btn:hover {
  color: #007bff;
}

.mobile-chevron {
  transition: transform 0.3s ease;
}

.drawer-dropdown-btn.active .mobile-chevron {
  transform: rotate(180deg);
}

.drawer-dropdown-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #ffffff;
  margin: 0 -10px;
  padding: 0 20px;
}

.drawer-dropdown-content.active {
  max-height: 400px;
  padding: 20px;
}

.drawer-dropdown-item {
  display: block;
  text-decoration: none;
  color: #666;
  font-size: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #e9ecef;
  transition: color 0.3s ease;
}

.drawer-dropdown-item:hover {
  color: #007bff;
}

.drawer-dropdown-item:last-child {
  border-bottom: none;
}

.drawer-appointment-btn {
  font-family: "Montserrat", sans-serif;
  background: #007bff;
  color: white;
  border: none;
  padding: 16px 24px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 20px;
  transition: background 0.3s ease;
}

.drawer-appointment-btn:hover {
  background: #0056b3;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Hero Carousel Styles */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 500px;
  margin-top: 80px;
  overflow: hidden;
  background: #f8f9fa;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slides {
  display: flex;
  width: 700%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  width: calc(100% / 7);
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.carousel-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 10%;
  color: #000000;
  gap: 40px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.carousel-text {
  flex: 1;
  min-width: 300px;
}

.carousel-text .eq {
  padding: 10px 20px;
  border-radius: 20px;
  background: #9cffd9;
  background: linear-gradient(
    143deg,
    rgb(28, 173, 117) 0%,
    rgba(90, 19, 125, 1) 100%
  );
  color: #ffffff;
  font-weight: 500;
  font-style: italic;
  margin-bottom: 20px;
}

.carousel-text .es {
  padding: 10px 20px;
  border-radius: 20px;
  background: #9cffd9;
  background: linear-gradient(
    143deg,
    rgb(34, 130, 255) 0%,
    rgb(1, 75, 160) 100%
  );
  color: #ffffff;
  font-weight: 500;
  font-style: italic;
  margin-bottom: 20px;
}

.carousel-text .hl {
  padding: 10px 20px;
  border-radius: 20px;
  background: #9cffd9;
  background: linear-gradient(
    143deg,
    rgb(34, 130, 255) 0%,
    rgb(137, 192, 255) 100%
  );
  color: #ffffff;
  font-weight: 500;
  font-style: italic;
  margin-bottom: 20px;
}

.carousel-text .ed {
  padding: 10px 20px;
  border-radius: 20px;
  background: #f1f52f;
  background: linear-gradient(
    143deg,
    rgba(241, 245, 47, 1) 0%,
    rgba(247, 179, 119, 1) 63%,
    rgba(224, 9, 138, 1) 100%
  );
  color: #ffffff;
  font-weight: 500;
  font-style: italic;
  margin-bottom: 20px;
}

.carousel-text .va {
  padding: 10px 20px;
  border-radius: 20px;
  background: #fdff96;
  background: linear-gradient(
    143deg,
    rgba(253, 255, 150, 1) 0%,
    rgba(0, 157, 255, 1) 100%
  );
  color: #ffffff;
  font-weight: 500;
  font-style: italic;
  margin-bottom: 20px;
}

.carousel-text .wt {
  padding: 10px 20px;
  border-radius: 20px;
  background: #fdff96;
  background: linear-gradient(
    143deg,
    rgb(255, 150, 246) 0%,
    rgb(111, 0, 255) 100%
  );
  color: #ffffff;
  font-weight: 500;
  font-style: italic;
  margin-bottom: 20px;
}

.carousel-text .yn {
  padding: 10px 20px;
  border-radius: 20px;
  background: #fdff96;
  background: linear-gradient(
    143deg,
    rgb(1, 55, 155) 0%,
    rgb(229, 255, 0) 100%
  );
  color: #ffffff;
  font-weight: 500;
  font-style: italic;
  margin-bottom: 20px;
}

.carousel-text h2 {
  margin: 20px 0;
  line-height: 1.2;
  font-size: 3rem;
  font-weight: 700;
}

.carousel-text p {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 30px;
}

.cta-btn {
  background: transparent;
  color: #0056b3;
  border: solid 1px #0056b3;
  padding: 10px 24px;
  border-radius: 20px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  background-color: transparent;
  color: #0056b3;
  border: 1px solid #0056b3;
  padding: 10px 24px;
  border-radius: 20px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background-color: #0056b3;
  color: #fff;
  transform: translateY(-2px);
}

.cta-btn svg {
  transition: transform 0.3s ease;
}

.cta-btn:hover svg {
  transform: translateX(3px) translateY(-3px);
}

.carousel-img {
  flex: 1;
  max-width: 400px;
  background-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(15px) saturate(180%);
  -webkit-backdrop-filter: blur(15px) saturate(180%);
  object-fit: contain;
  border-radius: 100%;
  padding: 30px;
  box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
}

.carousel-img img {
  width: 100%;
  height: auto;
}

/* Individual slide backgrounds */
.carousel-slide:nth-child(1) {
  background-image: url("../images/empowerqueer.png");
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
}

.carousel-slide:nth-child(2) {
  background-image: url("../images/espasyo.png");
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
}

.carousel-slide:nth-child(3) {
  background-image: url("../images/hivelink.png");
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
}

.carousel-slide:nth-child(4) {
  background-image: url("../images/equalitydesk.png");
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
}

.carousel-slide:nth-child(5) {
  background-image: url("../images/volunteersacad.png");
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
}

.carousel-slide:nth-child(6) {
  background-image: url("../images/wetranspire.png");
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
}

.carousel-slide:nth-child(7) {
  background-image: url("../images/younite.png");
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
}

/* .carousel-slide:nth-child(6) .cta-btn {
            background-color: rgba(0, 0, 0, 0.1);
            color: #333;
            border-color: rgba(0, 0, 0, 0.2);
        }

        .carousel-slide:nth-child(6) .cta-btn:hover {
            background-color: rgba(0, 0, 0, 0.2);
        } */

/* Navigation Buttons */
/* Navigation Buttons - Fixed Positioning */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #ffffff;
  transition: all 0.3s ease;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.carousel-nav.prev {
  left: 20px;
}

.carousel-nav.next {
  right: 20px;
}

/* Dot Indicators */
.carousel-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 10;
}

.carousel-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.carousel-dot.active {
  background: white;
  transform: scale(1.3);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}


/* Responsive Design */
@media (max-width: 1024px) {
  .nav-menu,
  .appointment-btn {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-container {
    padding: 0 15px;
  }

  /* Adjust nav-menu margin for tablets when visible */
  .nav-menu {
    margin-right: 60px;
  }
}

/* Tablet landscape - show desktop nav but with adjustments */
@media (min-width: 1025px) and (max-width: 1200px) {
  .nav-menu {
    gap: 25px;
    margin-right: 80px;
  }
  
  .nav-link {
    font-size: 15px;
  }
  
  .appointment-btn {
    padding: 10px 18px;
    font-size: 13px;
  }
}

/* Tablet portrait specific adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
  .navbar {
    height: 70px;
  }
  
  .hero-carousel {
    margin-top: 70px;
  }
  
  .mobile-drawer {
    width: 60%;
  }
}



@media (max-width: 768px) {
  .nav-menu,
  .nav-button {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-container {
    padding: 0 15px;
  }

  .hero-carousel {
    height: 400px;
    margin-top: 60px;
  }

  .carousel-content {
    flex-direction: column-reverse;
    text-align: center;
    padding: 40px 20px;
    gap: 30px;
  }

  .carousel-text h2 {
    font-size: 2.5rem;
  }

  .carousel-text p {
    font-size: 1.1rem;
  }

  .carousel-img {
    max-width: 280px;
  }

  .carousel-nav {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .carousel-nav.prev {
    left: 15px;
  }

  .carousel-nav.next {
    right: 15px;
  }

  .carousel-indicators {
    bottom: 20px;
    gap: 12px;
  }

  .carousel-dot {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 480px) {
  .navbar {
    height: 60px;
  }

  .hero-carousel {
    height: 95vh;
    margin-top: 60px;
  }

  .carousel-content {
    padding: 30px 15px;
  }

  .carousel-img {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 15px;
    width: 60%;
  }

  .carousel-text h2 {
    font-size: 2rem;
  }

  .carousel-text p {
    font-size: 1rem;
  }

  .drawer-content {
    padding: 20px 15px;
    gap: 5px;
  }

  .drawer-link,
  .drawer-dropdown-btn {
    font-size: 16px;
    padding: 12px 0;
  }

  .drawer-dropdown-item {
    font-size: 14px;
    padding: 8px 0;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.nav-link:focus,
.appointment-btn:focus,
.hamburger:focus,
.close-btn:focus,
.drawer-link:focus,
.drawer-dropdown-btn:focus,
.drawer-appointment-btn:focus,
.carousel-nav:focus,
.carousel-dot:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* Loading animation for images */
.carousel-img {
  opacity: 0;
  animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.section-banner {
  padding: 1rem;
  background: white;
  border-radius: 15px;
}

.section-banner h2 {
  font-size: 1.5em;
  color: #666;
  font-weight: 400;
  margin: 15px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

.card-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.card {
  flex: 0 0 140px;
  text-align: center;
  padding: 1.5rem 1rem;
  transition: none;
}

.card:hover {
  transform: none;
}

.icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin-bottom: 1rem;
}

.icon-wrapper i {
  font-size: 2.2rem;
  color: #ffffff;
}

.card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  line-height: 1.3;
}

.icon-red {
  background-image: linear-gradient(to top right, #ef4444, #dc2626);
}

.icon-orange {
  background-image: linear-gradient(to top right, #f97316, #ea580c);
}

.icon-yellow {
  background-image: linear-gradient(to top right, #eab308, #d97706);
}

.icon-green {
  background-image: linear-gradient(to top right, #22c55e, #16a34a);
}

.icon-blue {
  background-image: linear-gradient(to top right, #3b82f6, #2563eb);
}

.icon-purple {
  background-image: linear-gradient(to top right, #a855f7, #9333ea);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .card {
    flex: 0 0 120px;
    padding: 1rem 0.8rem;
  }

  .icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    margin-bottom: 0.8rem;
  }

  .icon-wrapper i {
    font-size: 1.8rem;
  }

  .card-title {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .section-banner {
    padding: 1.5rem;
  }

  .card-row {
    gap: 1rem;
  }

  .card {
    flex: 1 1 45%;
    max-width: 160px;
    padding: 1.2rem 0.8rem;
  }

  .icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    margin-bottom: 0.7rem;
  }

  .icon-wrapper i {
    font-size: 1.6rem;
  }

  .card-title {
    font-size: 0.8rem;
  }
}

/* about section */
.about-banner {
  padding: 0px 20px;
  background: #fff;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
}

.about-left h2 {
  font-size: 1.2em;
  color: #666;
  font-weight: 400;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-left h1 {
  font-size: 3.5em;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 30px;
  color: #0056b3;
}

.volunteers-text {
  background: linear-gradient(
    45deg,
    #8b5cf6,
    #3b82f6,
    #fbbf24,
    #f97316,
    #8b5cf6,
    #f63b3b,
    #00c559
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 10s ease-in-out infinite;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(139, 92, 246, 0.3);
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.about-right {
  padding-left: 20px;
}

.about-right p {
  font-size: 1.1em;
  line-height: 1.8;
  color: #555;
  margin-bottom: 35px;
  text-align: justify;
}

@media (max-width: 968px) {
  .about-content {
    gap: 40px;
  }

  .about-left h1 {
    font-size: 3em;
  }

  .about-right p {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .about-banner {
    padding: 60px 20px;
    min-height: auto;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .about-left h1 {
    font-size: 2.5em;
    margin-bottom: 40px;
  }

  .about-left h2 {
    font-size: 1.1em;
  }

  .about-right {
    padding-left: 0;
  }

  .about-right p {
    text-align: left;
    font-size: 1em;
  }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
  .about-banner {
    padding: 40px 15px;
  }

  .about-left h1 {
    font-size: 2em;
  }

  .about-left h2 {
    font-size: 1em;
  }

  .about-content {
    gap: 30px;
  }
}

/* Hivelink */
.banner-section {
  background-image: url("../images/espasyo.png");
  background-size: cover;
  background-position: bottom;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  width: 100%;
  /* padding: 10px; */
  box-sizing: border-box;
  color: white;
  text-align: center;
}

.banner-content-wrapper {
  display: flex;
  max-width: 800px;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.banner-logo {
  width: 300px;
  height: auto;
  object-fit: contain;
  margin-bottom: 10px;
}

.banner-description {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 15px;
  font-weight: 500;
  color: #1f1f1f;
}

.highlight {
  color: #2563eb;
  padding: 3px 10px;
  background-color: #fff;
  border-radius: 20px;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(139, 92, 246, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .banner-content-wrapper {
    padding: 30px;
    margin: 0 15px;
  }
  .banner-description {
    font-size: 1rem;
  }
  .book-button {
    padding: 12px 25px;
    font-size: 1rem;
  }
  .banner-section {
    min-height: 500px;
  }
}

@media (max-width: 480px) {
  .banner-content-wrapper {
    padding: 20px;
  }

  .banner-description {
    font-size: 0.9rem;
  }
  .book-button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  .banner-section {
    min-height: 400px;
  }
}

/* Programs */
.programs-showcase-wrapper * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.programs-showcase-wrapper {
  background-color: #ffffff;
  min-height: 100vh;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.programs-showcase-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.programs-showcase-header {
  text-align: center;
}

.programs-showcase-header h2 {
  font-size: 1.5rem;
  color: #666;
  font-weight: 400;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.programs-showcase-header h2 span {
  font-size: 2.5rem;
  color: #0056b3;
  font-weight: 800;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1;
}

.programs-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 20px 0;
}

.programs-showcase-card {
  position: relative;
  width: 100%;
  height: 250px;
  background-color: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  perspective: 1000px;
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px,
    rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}

.programs-showcase-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* Logo styling */
.programs-showcase-logo-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 2;
}

.programs-showcase-logo-container img {
  width: 80%;
  height: auto;
  object-fit: contain;
  /* filter: brightness(0) invert(1);  */
}

.programs-showcase-card:hover .programs-showcase-logo-container {
  transform: scale(0);
  opacity: 0;
}

.programs-showcase-card-content {
  color: #333;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
  background: #f1f52f;
  background: linear-gradient(
    143deg,
    rgb(166, 249, 255) 0%,
    rgba(241, 245, 47, 1) 20%,
    rgba(247, 179, 119, 1) 63%,
    rgba(224, 9, 138, 1) 100%
  );
  transform: rotateX(-90deg);
  transform-origin: bottom;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.programs-showcase-card:hover .programs-showcase-card-content {
  transform: rotateX(0deg); /* Rotate into view on hover */
}

.programs-showcase-card-title {
  margin: 0;
  font-size: 24px;
  color: #333;
  font-weight: 700;
  margin-bottom: 10px;
}

.programs-showcase-card-text {
  margin: 0;
  font-size: 14px;
  color: #333;
  line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .programs-showcase-wrapper {
    padding: 40px 15px;
  }
  .programs-showcase-header h1 {
    font-size: 2.2rem;
  }
  .programs-showcase-header p {
    font-size: 1rem;
  }
  .programs-showcase-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
  }
  .programs-showcase-card {
    height: 220px;
  }
  /* .programs-showcase-logo-container {
    width: 70px;
    height: 70px;
  } */
  .programs-showcase-logo-container img {
    width: 80%;
  }
  .programs-showcase-card-title {
    font-size: 20px;
  }
  .programs-showcase-card-text {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .programs-showcase-wrapper {
    padding: 40px 15px;
  }
  .programs-showcase-header h1 {
    font-size: 1.8rem;
  }
  .programs-showcase-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .programs-showcase-card {
    height: 300px;
  }
  .programs-showcase-logo-container img {
    width: 80%;
  }
  .programs-showcase-card-title {
    font-size: 18px;
  }
  .programs-showcase-card-text {
    font-size: 12px;
  }
}

/* partners */
.partners-section {
  background: white;
  padding: 40px 0;
  overflow: hidden;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 1.5em;
  color: #666;
  font-weight: 400;
  margin: 15px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

.logos-container {
  overflow: hidden;
  white-space: nowrap;
}

.logos-track {
  display: inline-flex;
  animation: scroll 60s linear infinite;
  gap: 60px;
  align-items: center;
}

.logo-item {
  flex-shrink: 0;
  width: 160px;
  height: 130px;
  background: #ffffff;
  /* border: 1px solid #ddd; */
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: contain;
}

/* .partners-logo {
  width: 140px;
  height: 140px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;

} */

.partners-logo img {
  width: 100%;
  height: auto;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

@media (max-width: 768px) {
  .section-title h2 {
    font-size: 1.5rem;
  }

  .logo-item {
    width: 120px;
    height: 60px;
  }

  .logo-placeholder {
    width: 100px;
    height: 40px;
    font-size: 10px;
  }

  .logos-track {
    gap: 40px;
  }
}

/* Contact */
.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.contact-container h2 {
  font-size: 1.8em;
  color: #666;
  font-weight: 400;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

.contact-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  align-items: start;
}

.location-card {
  background: white;
  border-radius: 12px;
}

.map-placeholder {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.map-placeholder iframe {
  width: 100%;
  height: 200px;
  border: none;
  border-radius: 8px;
}

.loc-title {
  font-size: 1rem !important;
  font-weight: 700;
}

.location-card p {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: #292929;
  line-height: 1.5;
}

.location-card i {
  color: #3b82f6;
  width: 18px;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.contact-form {
  background: white;
  border-radius: 12px;
}

.form-subtitle {
  font-size: 1.2rem;
  color: #007bff;
  font-weight: 700;
}

.form-desc {
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 5px;
}

.form-group {
  margin-bottom: 1.1rem;
}

form input,
form textarea,
form select {
  font-family: "Montserrat", sans-serif;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  background: #f8fafc;
  color: #334155;
}

form input:focus,
form textarea:focus,
form select:focus {
  outline: none;
  border-color: #3b82f6;
  background: white;
  box-shadow: 0 0 0 3px rgb(59 130 246 / 0.1);
}

form select {
  cursor: pointer;
}

form textarea {
  resize: vertical;
  min-height: 100px;
}

@media (max-width: 768px) {
  .container {
    padding: 2rem 1rem;
  }

  h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .location-card {
    padding: 1.25rem;
  }
}

/* Optional: Add subtle animation on page load */
.location-card,
.contact-form {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.location-card:nth-child(2) {
  animation-delay: 0.1s;
}

.contact-form {
  animation-delay: 0.2s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer Styles */
.footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: white;
  padding: 60px 0 0;
  font-family: "Montserrat", sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

.footer-about {
  padding-right: 40px;
}

.footer-social {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.footer-about .footer-logo {
  height: 100px;
  width: auto;
  margin-bottom: 20px;
}

.footer-about p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #b0b0b0;
  margin-bottom: 25px;
  text-align: justify;
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-link:hover {
  background: #007bff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.footer-links h3 {
  position: relative;
  padding-bottom: 10px;
}

.footer-links h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: #007bff;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #b0b0b0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: #007bff;
  transform: translateX(5px);
}

.footer-links a i {
  font-size: 0.8rem;
  opacity: 0.7;
}

.footer-contact {
  color: #b0b0b0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.contact-item i {
  color: #007bff;
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-bottom p {
  color: #b0b0b0;
  font-size: 0.85rem;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 25px;
}

.footer-bottom-links a {
  color: #b0b0b0;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #007bff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer {
    padding: 40px 0 0;
  }

  .footer-container {
    padding: 0 15px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer-about {
    padding-right: 0;
    margin-bottom: 30px;
  }

  .footer-about p {
    text-align: left;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 30px 0 0;
  }

  .footer-logo {
    width: 70px;
  }

  .footer-about h2 {
    font-size: 1.2rem;
  }

  .footer-section h3 {
    font-size: 1.2rem;
  }

  .footer-about p {
    font-size: 0.9rem;
    text-align: center;
  }

  .contact-item {
    font-size: 0.85rem;
  }

  .social-link {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .newsletter h3 {
    font-size: 1.1rem;
  }

  .newsletter p {
    font-size: 0.8rem;
  }
}

/* Animation for footer sections */
.footer-section {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
}

.footer-section:nth-child(2) {
  animation-delay: 0.2s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
