/* ===== VARIABLES CSS ===== */
:root {
  --header-height: 4rem;

  /* Colors */
  --primary-color: #1c3a56;
  --primary-color-light: #2d4a68;
  --secondary-color: #dfbd59;
  --accent-color: #b8a047;
  --text-color: #1c3a56;
  --text-color-light: #5a6b7d;
  --white-color: #ffffff;
  --body-color: #fcf7f2;
  --container-color: #ffffff;
  --border-color: #e8ddd4;
  --shadow-color: rgba(28, 58, 86, 0.1);

  /* Font and typography */
  --body-font: "Inter", sans-serif;
  --biggest-font-size: 2.5rem;
  --h1-font-size: 2.25rem;
  --h2-font-size: 1.875rem;
  --h3-font-size: 1.3rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;
  --smaller-font-size: 0.75rem;

  /* Font weight */
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;

  /* Margins */
  --mb-0-25: 0.25rem;
  --mb-0-5: 0.5rem;
  --mb-0-75: 0.75rem;
  --mb-1: 1rem;
  --mb-1-25: 1.25rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mb-3: 3rem;

  /* Z index */
  --z-tooltip: 10;
  --z-fixed: 100;
}

/* Responsive typography */
@media screen and (max-width: 992px) {
  :root {
    --biggest-font-size: 2rem;
    --h1-font-size: 1.875rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 0.938rem;
    --small-font-size: 0.813rem;
    --smaller-font-size: 0.688rem;
  }
}

/* ===== BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
button,
input,
textarea {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  background-color: var(--body-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  color: var(--text-color);
  font-weight: var(--font-semi-bold);
  line-height: 1.2;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== REUSABLE CSS CLASSES ===== */
.section {
  padding: 6rem 0 2rem;
}

.section__title {
  font-size: var(--h2-font-size);
  color: var(--primary-color);
  text-align: center;
  margin-bottom: var(--mb-0-5);
}

.section__subtitle {
  display: block;
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  text-align: center;
  margin-bottom: var(--mb-3);
}

.scholarship__title1 {
  font-weight: var(--font-semi-bold);
  color: #fff;
}

.section__header {
  margin-bottom: var(--mb-3);
}

.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--mb-1-5);
  padding-right: var(--mb-1-5);
}

.grid {
  display: grid;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: var(--mb-0-5);
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: var(--font-medium);
  transition: all 0.2s ease;
  text-decoration: none;
  border: 2px solid var(--primary-color);
}

.button:hover {
  background-color: var(--primary-color-light);
  border-color: var(--primary-color-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--shadow-color);
}

.button__secondary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.button__secondary:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.button__outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.button__outline:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
}

/* ===== HEADER ===== */
.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: var(--white-color);
  box-shadow: 0 2px 16px var(--shadow-color);
  transition: all 0.2s ease;
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--mb-0-5);
}

.nav__logo img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.nav__logo h3 {
  color: var(--primary-color);
  font-size: var(--normal-font-size);
  font-weight: var(--font-semi-bold);
}

.nav__list {
  display: flex;
  gap: var(--mb-1);
}

.nav__link {
  color: var(--text-color);
  font-weight: var(--font-medium);
  font-size: var(--small-font-size);
  transition: color 0.3s ease;
  position: relative;
}

.nav__link:hover,
.active-link {
  color: var(--primary-color);
}

.nav__link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav__link:hover::after,
.active-link::after {
  width: 100%;
}

/* Dropdown Styles */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none !important;
}

.dropdown-toggle:hover {
  text-decoration: none !important;
}

.dropdown-toggle::after {
  display: none !important;
}

.dropdown-toggle i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.dropdown.active .dropdown-toggle i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white-color);
  min-width: 200px;
  border-radius: 8px;
  box-shadow: 0 4px 20px var(--shadow-color);
  padding: var(--mb-0-5) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  border: 1px solid var(--border-color);
}

.dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-link {
  display: block;
  padding: var(--mb-0-5) var(--mb-1);
  color: var(--text-color);
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  text-decoration: none;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.dropdown-link:hover {
  background-color: var(--border-color);
  border-left-color: var(--primary-color);
  color: var(--primary-color);
}

.nav__toggle,
.nav__close {
  display: none;
}

/* Dropdown Styles */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.dropdown-toggle i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white-color);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border-radius: 0.5rem;
  padding: 0.75rem 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  list-style: none;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 0.5rem 1.25rem;
  color: var(--text-color);
  text-decoration: none;
  font-size: var(--small-font-size);
  transition: all 0.2s ease;
  border-radius: 0.25rem;
  margin: 0 0.5rem;
}

.dropdown-link:hover {
  background-color: rgba(52, 86, 139, 0.1);
  color: var(--primary-color);
}

/* Prevent dropdown toggles from having active-link styles */
.dropdown-toggle.active-link {
  color: var(--text-color) !important;
}

.dropdown-toggle.active-link::after {
  width: 0 !important;
}

.dropdown-toggle:hover {
  color: var(--primary-color);
}

/* Desktop dropdown hover behavior */
@media screen and (min-width: 769px) {
  .dropdown-toggle {
    cursor: pointer;
  }

  .dropdown-toggle:hover {
    color: var(--primary-color);
  }
}

/*=============== SLIDESHOW ===============*/
.slideshow {
  position: relative;
  margin-top: var(--header-height);
  height: 400px;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-color-light) 100%
  );
}

.slideshow__container {
  position: relative;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.slideshow__wrapper {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.6s ease-in-out;
  display: flex;
  align-items: center;
  padding: 0 var(--mb-2);
  overflow-y: auto;
}

.slide--active {
  opacity: 1;
  transform: translateX(0);
}

.slide__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--mb-2);
  align-items: center;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  min-height: 100%;
}

.slide__text {
  color: var(--white-color);
}

.slide__category {
  display: inline-block;
  background: var(--secondary-color);
  color: var(--white-color);
  padding: var(--mb-0-25) var(--mb-0-75);
  border-radius: 2rem;
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb-0-75);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.slide__title {
  font-size: var(--h2-font-size);
  font-weight: var(--font-bold);
  margin-bottom: var(--mb-0-75);
  line-height: 1.2;
  color: var(--white-color);
}

.slide__description {
  font-size: var(--normal-font-size);
  line-height: 1.6;
  margin-bottom: var(--mb-1);
  opacity: 0.9;
}

.slide__date {
  font-size: var(--small-font-size);
  opacity: 0.8;
  font-weight: var(--font-medium);
}

.slide_link {
  margin-top: var(--mb-0-75);
}

.slide_link a {
  display: inline-block;
  background: var(--secondary-color);
  color: var(--white-color);
  padding: var(--mb-0-5) var(--mb-1);
  border-radius: 2rem;
  text-decoration: none;
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  transition: all 0.3s ease;
  border: 2px solid var(--secondary-color);
}

.slide_link a:hover {
  background: transparent;
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.slide__image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide__image img {
  width: 100%;
  max-width: 350px;
  height: 300px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.slide__image img:hover {
  transform: scale(1.05);
}

/* Navigation Dots */
.slideshow__dots {
  position: absolute;
  bottom: var(--mb-1-5);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--mb-0-5);
  z-index: 10;
}

.slideshow__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--white-color);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slideshow__dot--active,
.slideshow__dot:hover {
  background: var(--white-color);
  transform: scale(1.2);
}

/* Navigation Arrows */
.slideshow__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid var(--white-color);
  color: var(--white-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.slideshow__arrow:hover {
  background: var(--white-color);
  color: var(--primary-color);
  transform: translateY(-50%) scale(1.1);
}

.slideshow__arrow--prev {
  left: var(--mb-1);
}

.slideshow__arrow--next {
  right: var(--mb-1);
}

.slideshow__arrow i {
  font-size: 1.2rem;
}

/* ===== HOME ===== */
.home {
  padding-top: calc(var(--header-height) + 2rem);
  background: linear-gradient(135deg, var(--body-color) 0%, #f5f0e8 100%);
}

.home__container {
  gap: 3rem;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
}

.home__title {
  font-size: var(--biggest-font-size);
  color: var(--primary-color);
  margin-bottom: var(--mb-1);
}

.home__description {
  margin-bottom: var(--mb-1);
  color: var(--text-color-light);
  line-height: 1.8;
}

.home__cta {
  color: var(--primary-color);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb-2);
  font-size: 1.1rem;
}

.home__buttons {
  display: flex;
  gap: var(--mb-1);
  flex-wrap: wrap;
}

.home__img {
  display: flex;
  justify-content: center;
  align-items: center;
}

.home__blob {
  width: 200px;
  height: 200px;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-color-light) 100%
  );
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 12px 32px var(--shadow-color);
  animation: float 6s ease-in-out infinite;
}

.home__icon {
  font-size: 4rem;
  color: var(--white-color);
}

.home__logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* ===== ABOUT ===== */
.about {
  background-color: var(--white-color);
}

.about__content {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--mb-3);
}

.about__card {
  background-color: var(--container-color);
  padding: var(--mb-2-5);
  border-radius: 1rem;
  box-shadow: 0 4px 16px var(--shadow-color);
  text-align: center;
  transition: transform 0.3s ease;
}

.about__card:hover {
  transform: translateY(-8px);
}

.about__icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: var(--mb-1);
}

.about__title {
  margin-bottom: var(--mb-1);
  color: var(--primary-color);
}

.about__description {
  color: var(--text-color-light);
  line-height: 1.7;
}

/* ===== CORPORATE ===== */
.corporate {
  background-color: var(--body-color);
}

.corporate__container {
  max-width: 1200px;
}

.corporate__board {
  margin-bottom: var(--mb-3);
}

.corporate__board:last-child {
  margin-bottom: 0;
}

.corporate__board-title {
  font-size: var(--h2-font-size);
  color: var(--primary-color);
  text-align: center;
  margin-bottom: var(--mb-2-5);
  position: relative;
}

.corporate__board-title::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  border-radius: 2px;
}

.corporate__members {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--mb-1-5);
  justify-items: center;
}

.corporate__member {
  background-color: var(--white-color);
  padding: var(--mb-1-5);
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 4px 20px var(--shadow-color);
  transition: all 0.2s ease;
  max-width: 260px;
  width: 100%;
  border-top: 4px solid var(--secondary-color);
  position: relative;
  cursor: pointer;
}

.corporate__member:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 20px var(--shadow-color);
}

.corporate__member-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(28, 58, 86, 0.9);
  color: var(--white-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-weight: var(--font-semi-bold);
  font-size: var(--normal-font-size);
}

.corporate__member:hover .corporate__member-overlay {
  opacity: 1;
}

/* Static member cards - no hover effects or click functionality */
.corporate__member--static {
  cursor: default !important;
}

.corporate__member--static:hover {
  transform: none !important;
  box-shadow: 0 4px 20px var(--shadow-color) !important;
}

.corporate__member--static:hover .corporate__member-img img {
  transform: none !important;
}

.corporate__member-img {
  width: 180px;
  height: 180px;
  margin: 0 auto var(--mb-0-75) auto;
  border-radius: 15%;
  overflow: hidden;
  border: 4px solid var(--secondary-color);
  transition: all 0.2s ease;
}

.corporate__member-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.2s ease;
}

.corporate__member:hover .corporate__member-img img {
  transform: scale(1.01);
}

.corporate__member-info {
  text-align: center;
}

.corporate__member-name {
  font-size: var(--normal-font-size);
  color: var(--primary-color);
  margin-bottom: var(--mb-0-25);
  font-weight: var(--font-semi-bold);
}

.corporate__member-title {
  color: var(--secondary-color);
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  display: block;
}

/* Yönetim Kurulu Başkanı (President) - Larger Style */
.corporate__president {
  display: flex;
  justify-content: center;
  margin-bottom: var(--mb-2);
}

.corporate__member--president {
  max-width: 280px;
  padding: var(--mb-1-5);
  border-top: 4px solid var(--secondary-color);
}

.corporate__member--president .corporate__member-img {
  width: 180px;
  height: 180px;
  margin-bottom: var(--mb-0-75);
  border: 4px solid var(--secondary-color);
}

.corporate__member--president .corporate__member-name {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-5);
}

.corporate__member--president .corporate__member-title {
  font-size: var(--normal-font-size);
  font-weight: var(--font-semi-bold);
}

/* Yönetim Kurulu Üyeleri (Members) - Smaller Style */
.corporate__members--small {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--mb-0-75);
  justify-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.corporate__member--small {
  max-width: 200px;
  padding: var(--mb-0-75);
  border-top: 2px solid var(--secondary-color);
}

.corporate__member--small .corporate__member-img {
  width: 120px;
  height: 120px;
  margin-bottom: var(--mb-0-75);
  border: 2px solid var(--secondary-color);
}

.corporate__member--small .corporate__member-name {
  font-size: var(--medium-font-size);
  margin-bottom: var(--mb-0-25);
}

.corporate__member--small .corporate__member-title {
  font-size: var(--small-font-size);
}

/* Trustee Grid Styles */
.trustee__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--mb-0-75);
  margin-top: var(--mb-1);
}

.trustee__card {
  background: linear-gradient(
    135deg,
    var(--white-color) 0%,
    var(--body-color) 100%
  );
  padding: var(--mb-0-75) var(--mb-1);
  border-radius: 0.5rem;
  text-align: center;
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  color: var(--primary-color);
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(28, 58, 86, 0.1);
  border-left: 3px solid var(--secondary-color);
}

.trustee__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(28, 58, 86, 0.15);
  border-left-color: var(--primary-color);
  background: var(--white-color);
}

/* Corporate Reserves Styles */
.corporate__reserves {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--mb-0-75);
  margin-top: var(--mb-1);
  justify-items: center;
}

.corporate__reserve {
  background: linear-gradient(
    135deg,
    var(--white-color) 0%,
    var(--body-color) 100%
  );
  padding: var(--mb-1) var(--mb-1-5);
  border-radius: 0.5rem;
  text-align: center;
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  color: var(--primary-color);
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(28, 58, 86, 0.1);
  border-left: 3px solid var(--secondary-color);
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 240px;
  width: 100%;
}

.corporate__reserve:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(28, 58, 86, 0.15);
  border-left-color: var(--primary-color);
  background: var(--white-color);
}

/* Trustee Presidents */
.trustee__presidents {
  display: flex;
  justify-content: center;
  gap: var(--mb-2);
  margin-bottom: var(--mb-2);
  flex-wrap: wrap;
}

.corporate__member--trustee-president {
  max-width: 280px;
  padding: var(--mb-2);
  border-top: 5px solid var(--secondary-color);
  box-shadow: 0 6px 24px var(--shadow-color);
}

.corporate__member--trustee-president .corporate__member-img {
  width: 180px;
  height: 180px;
  border: 5px solid var(--secondary-color);
  margin-bottom: var(--mb-1);
}

.corporate__member--trustee-president .corporate__member-name {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-5);
}

.corporate__member--trustee-president .corporate__member-title {
  font-size: var(--normal-font-size);
  font-weight: var(--font-semi-bold);
}

.trustee__members-title {
  color: var(--primary-color);
  font-size: var(--h3-font-size);
  text-align: center;
  margin: var(--mb-2) 0 var(--mb-1-5) 0;
  position: relative;
}

.trustee__members-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--secondary-color) 0%,
    var(--primary-color) 100%
  );
  border-radius: 2px;
}

/* Detail button styles removed - cards now clickable with overlay */

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(28, 58, 86, 0.8);
  backdrop-filter: blur(5px);
}

.modal__container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: var(--white-color);
  max-width: 900px;
  width: 90%;
  max-height: 85vh;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(28, 58, 86, 0.3);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal.active .modal__container {
  transform: translate(-50%, -50%) scale(1);
}

.modal__close {
  position: absolute;
  top: var(--mb-1);
  right: var(--mb-1);
  background: var(--secondary-color);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.modal__close:hover {
  background: var(--secondary-color);
  color: var(--white-color);
  transform: scale(1.1);
}

.modal__close i {
  font-size: 1.1rem;
  color: var(--primary-color);
  transition: color 0.2s ease;
}

.modal__header {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-color-light) 100%
  );
  padding: var(--mb-1-5) var(--mb-3) var(--mb-1);
  text-align: center;
  color: var(--white-color);
  position: relative;
  flex-shrink: 0;
}

.modal__image {
  width: 220px;
  height: 220px;
  margin: 0 auto var(--mb-1);
  border-radius: 15%;
  overflow: hidden;
  border: 4px solid var(--white-color);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.modal__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal__title h2 {
  color: var(--white-color);
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-0-5);
  font-weight: var(--font-semi-bold);
  line-height: 1.3;
  padding: 0 var(--mb-1);
}

.modal__title span {
  color: var(--secondary-color);
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
}

.modal__content {
  padding: var(--mb-2) var(--mb-2) var(--mb-2-5) var(--mb-2);
  max-height: 70vh;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) var(--body-color);
  position: relative;
  overscroll-behavior: contain;
}

.modal__content::-webkit-scrollbar {
  width: 6px;
}

.modal__content::-webkit-scrollbar-track {
  background: var(--body-color);
  border-radius: 3px;
}

.modal__content::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 3px;
}

.modal__content::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color-light);
}

.modal__section {
  margin-bottom: var(--mb-2);
}

.modal__section:last-child {
  margin-bottom: 0;
}

.modal__section-title {
  display: flex;
  align-items: center;
  gap: var(--mb-0-5);
  color: var(--primary-color);
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-75);
  padding-bottom: var(--mb-0-25);
  border-bottom: 2px solid var(--border-color);
}

.modal__section-title i {
  color: var(--secondary-color);
  font-size: 1.1rem;
}

.modal__text {
  color: var(--text-color-light);
  line-height: 1.7;
  font-size: var(--normal-font-size);
  padding-bottom: var(--mb-2);
}

.modal__text p {
  margin-bottom: var(--mb-0-75);
}

.modal__text ul {
  padding-left: var(--mb-1-5);
}

.modal__text li {
  margin-bottom: var(--mb-0-25);
  list-style: disc;
}

.modal__text blockquote {
  background: #f8f9fa;
  padding: 1rem 1.5rem;
  border-left: 4px solid var(--primary-color);
  margin: 1.5rem 0;
  font-style: italic;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.modal__text div[style*="background: #e8f4f8"] {
  background: #e8f4f8 !important;
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem 0;
  border: 1px solid #d1ecf1;
}

.modal__text strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* Modal Social Media Share Styles - Modern & Minimal */
.modal__share {
  margin-bottom: var(--mb-1-5);
  padding: var(--mb-1-5);
  background: var(--white-color);
  border-radius: 16px;
  border: 1px solid rgba(28, 58, 86, 0.08);
  text-align: center;
  box-shadow: 0 2px 12px rgba(28, 58, 86, 0.06);
}

.modal__share-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--mb-0-5);
  margin-bottom: var(--mb-1-5);
  color: var(--text-color);
  font-weight: var(--font-medium);
  font-size: var(--small-font-size);
}

.modal__share-header i {
  font-size: 16px;
  color: var(--secondary-color);
}

.modal__share-buttons {
  display: flex;
  justify-content: center;
  gap: var(--mb-0-75);
  flex-wrap: wrap;
}

.modal__share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.2s ease;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--white-color);
  position: relative;
  overflow: hidden;
}

.modal__share-btn[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(2px);
  background: #2b4764;
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0.01;
  pointer-events: none;
  transition: opacity 0.12s ease, transform 0.12s ease;
  z-index: 30;
}

.modal__share-btn:hover[data-tooltip]::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.modal__share-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity 0.2s ease;
  border-radius: 12px;
}

.modal__share-btn:hover::before {
  opacity: 1;
}

.modal__share-btn i {
  position: relative;
  z-index: 2;
  transition: all 0.2s ease;
}

.modal__share-btn span {
  display: none;
}

.modal__share-btn--facebook {
  color: #1877f2;
  border-color: rgba(24, 119, 242, 0.2);
}

.modal__share-btn--facebook::before {
  background: rgba(24, 119, 242, 0.1);
}

.modal__share-btn--facebook:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.25);
  border-color: #1877f2;
}

.modal__share-btn--x {
  color: #000000;
  border-color: rgba(0, 0, 0, 0.2);
}

.modal__share-btn--x::before {
  background: rgba(0, 0, 0, 0.08);
}

.modal__share-btn--x:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border-color: #000000;
}

.modal__share-btn--whatsapp {
  color: #25d366;
  border-color: rgba(37, 211, 102, 0.2);
}

.modal__share-btn--whatsapp::before {
  background: rgba(37, 211, 102, 0.1);
}

.modal__share-btn--whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
  border-color: #25d366;
}

.modal__share-btn--copy {
  color: var(--secondary-color);
  border-color: rgba(223, 189, 89, 0.2);
}

.modal__share-btn--copy::before {
  background: rgba(223, 189, 89, 0.1);
}

.modal__share-btn--copy:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(223, 189, 89, 0.25);
  border-color: var(--secondary-color);
}

/* News Gallery Slider Styles */
.news-gallery {
  margin: 1.5rem 0;
  position: relative;
}

.news-gallery__container {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.news-gallery__wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.news-gallery__slide {
  min-width: 100%;
  position: relative;
}

.news-gallery__slide img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.news-gallery__navigation {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(28, 58, 86, 0.9);
  border: 2px solid var(--white-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--white-color);
  transition: all 0.3s ease;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.news-gallery__navigation:hover {
  background: var(--primary-color);
  color: var(--white-color);
  transform: translateY(-50%) scale(1.1);
}

.news-gallery__navigation--prev {
  left: 15px;
}

.news-gallery__navigation--next {
  right: 15px;
}

.news-gallery__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1rem;
}

.news-gallery__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.news-gallery__dot.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

/* News Modal Specific Styles */
.modal__category {
  background: var(--first-color);
  color: var(--body-color);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: var(--smaller-font-size);
  font-weight: var(--font-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: var(--mb-0-5);
}

.modal__date {
  color: var(--text-color-light);
  font-size: var(--small-font-size);
  font-style: italic;
  padding-bottom: var(--mb-0-5);
  border-bottom: 1px solid var(--container-color);
}

/* ===== PROJECTS ===== */
.projects {
  background-color: var(--body-color);
}

.projects__content {
  grid-template-columns: 1fr;
  gap: var(--mb-2-5);
}

.project__card {
  background-color: var(--white-color);
  padding: var(--mb-2);
  border-radius: 1rem;
  box-shadow: 0 4px 16px var(--shadow-color);
  transition: all 0.2s ease;
  border-left: 4px solid var(--primary-color);
}

.project__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 32px var(--shadow-color);
}

.project__icon {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-color-light) 100%
  );
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--mb-1);
}

.project__icon i {
  font-size: 1.25rem;
  color: var(--white-color);
}

.project__title {
  color: var(--primary-color);
  margin-bottom: var(--mb-0-75);
  font-size: var(--h3-font-size);
}

.project__description {
  color: var(--text-color-light);
  margin-bottom: var(--mb-1);
  line-height: 1.6;
  font-size: var(--small-font-size);
}

.project__quote {
  font-style: italic;
  color: var(--secondary-color);
  border-left: 3px solid var(--secondary-color);
  padding-left: var(--mb-1);
  font-weight: var(--font-medium);
}

/* ===== FAQ ===== */
.faq {
  background-color: var(--white-color);
}

.faq__content {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  background-color: var(--container-color);
  border-radius: 0.5rem;
  margin-bottom: var(--mb-1);
  box-shadow: 0 2px 8px var(--shadow-color);
  overflow: hidden;
}

.faq__header {
  padding: var(--mb-1-5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq__header:hover {
  background-color: var(--body-color);
}

.faq__question {
  color: var(--primary-color);
  margin: 0;
  font-size: var(--normal-font-size);
}

.faq__toggle {
  background: none;
  color: var(--primary-color);
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.faq__answer {
  padding: 0 var(--mb-1-5);
  max-height: 0;
  overflow: hidden;
  transition: all 0.2s ease;
  background-color: var(--primary-color);
}

.faq__answer p {
  padding-bottom: var(--mb-1-5);
  color: var(--white-color);
  line-height: 1.7;
}

.faq__item.active .faq__answer {
  max-height: 200px;
  padding: var(--mb-1) var(--mb-1-5);
}

.faq__item.active .faq__toggle {
  transform: rotate(180deg);
}

/* ===== VALUES ===== */
.values {
  background-color: var(--body-color);
}

.values__content {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--mb-2);
}

.value__card {
  background-color: var(--white-color);
  padding: var(--mb-1-5);
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 4px 16px var(--shadow-color);
  transition: all 0.2s ease;
}

.value__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 32px var(--shadow-color);
}

.value__icon {
  background: linear-gradient(
    135deg,
    var(--secondary-color) 0%,
    var(--accent-color) 100%
  );
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto var(--mb-0-75) auto;
}

.value__icon i {
  font-size: 1rem;
  color: var(--white-color);
}

.value__title {
  color: var(--primary-color);
  margin-bottom: var(--mb-0-25);
  font-size: var(--normal-font-size);
}

.value__description {
  color: var(--text-color-light);
  font-size: var(--smaller-font-size);
  line-height: 1.5;
}

/* ===== DONATION ===== */
.donation {
  background-color: var(--white-color);
}

.donation__content {
  max-width: 800px;
  margin: 0 auto;
}

.donation__info {
  text-align: center;
  margin-bottom: var(--mb-2);
}

.donation__title {
  color: var(--primary-color);
  margin-bottom: var(--mb-1);
  font-size: var(--h3-font-size);
}

.donation__description {
  color: var(--text-color-light);
  line-height: 1.7;
  margin-bottom: var(--mb-2-5);
}

.donation__methods {
  display: grid;
  gap: var(--mb-2);
  margin-bottom: var(--mb-2-5);
}

.donation__method {
  background-color: var(--body-color);
  padding: var(--mb-2);
  border-radius: 1rem;
  box-shadow: 0 4px 16px var(--shadow-color);
  transition: transform 0.3s ease;
}

.donation__method:hover {
  transform: translateY(-4px);
}

.donation__method-header {
  display: flex;
  align-items: center;
  gap: var(--mb-0-75);
  margin-bottom: var(--mb-1-5);
  padding-bottom: var(--mb-1);
  border-bottom: 2px solid var(--border-color);
}

.donation__method-icon {
  background: linear-gradient(
    135deg,
    var(--secondary-color) 0%,
    var(--accent-color) 100%
  );
  color: var(--primary-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.donation__method-title {
  color: var(--primary-color);
  font-size: var(--normal-font-size);
  font-weight: var(--font-semi-bold);
  margin: 0;
}

.donation__details {
  display: flex;
  flex-direction: column;
  gap: var(--mb-1);
}

.donation__detail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--white-color);
  padding: var(--mb-0-75) var(--mb-1);
  border-radius: 0.5rem;
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
}

.donation__detail:hover {
  border-color: var(--secondary-color);
  box-shadow: 0 2px 8px rgba(223, 189, 89, 0.2);
}

.donation__label {
  font-weight: var(--font-medium);
  color: var(--primary-color);
  min-width: 80px;
}

.donation__value {
  flex: 1;
  margin: 0 var(--mb-0-75);
  color: var(--text-color);
  font-family: "Courier New", monospace;
  font-weight: var(--font-medium);
}

.donation__copy {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.875rem;
}

.donation__copy:hover {
  background-color: var(--accent-color);
  transform: scale(1.1);
}

.donation__copy:active {
  transform: scale(0.95);
}

.donation__note {
  background-color: rgba(223, 189, 89, 0.1);
  border: 1px solid var(--secondary-color);
  border-radius: 0.5rem;
  padding: var(--mb-1-5);
  display: flex;
  align-items: flex-start;
  gap: var(--mb-0-75);
}

.donation__note-icon {
  color: var(--secondary-color);
  font-size: 1.25rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.donation__note-text {
  color: var(--text-color);
  line-height: 1.6;
  margin: 0;
}

.donation__note-text strong {
  color: var(--primary-color);
}

/* ===== JOIN US ===== */
.join {
  background-color: var(--background-color);
}

.join__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--mb-3);
  margin-bottom: var(--mb-3);
}

.join__info {
  padding-right: var(--mb-2);
}

.join__title {
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-1);
  color: var(--primary-color);
}

.join__description {
  margin-bottom: var(--mb-2);
  color: var(--text-color);
  line-height: 1.6;
}

.join__benefits {
  background-color: var(--white-color);
  padding: var(--mb-2);
  border-radius: 0.75rem;
  box-shadow: 0 2px 8px var(--shadow-color);
}

.join__benefits-title {
  font-size: var(--h3-font-size);
  color: var(--primary-color);
  margin-bottom: var(--mb-1);
}

.join__benefits-list {
  list-style: none;
  padding: 0;
}

.join__benefits-list li {
  display: flex;
  align-items: center;
  gap: var(--mb-0-75);
  margin-bottom: var(--mb-0-75);
  color: var(--text-color);
}

.join__benefits-list i {
  color: var(--secondary-color);
  font-size: 0.875rem;
}

.join__form-container {
  background-color: var(--white-color);
  padding: var(--mb-2-5);
  border-radius: 0.75rem;
  box-shadow: 0 4px 16px var(--shadow-color);
}

.join__form-group {
  margin-bottom: var(--mb-1-5);
}

.join__form-label {
  display: block;
  font-weight: var(--font-medium);
  color: var(--primary-color);
  margin-bottom: var(--mb-0-5);
  font-size: var(--small-font-size);
}

.join__form-input,
.join__form-select,
.join__form-textarea {
  width: 100%;
  padding: var(--mb-0-75);
  border: 1px solid #e0e0e0;
  border-radius: 0.5rem;
  font-size: var(--normal-font-size);
  font-family: var(--body-font);
  transition: all 0.2s ease;
  background-color: var(--white-color);
}

.join__form-input:focus,
.join__form-select:focus,
.join__form-textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(223, 189, 89, 0.1);
}

.join__form-textarea {
  resize: vertical;
  min-height: 100px;
}

.join__form-checkbox {
  margin-bottom: var(--mb-1);
}

.join__checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: var(--mb-0-75);
  cursor: pointer;
  user-select: none;
  line-height: 1.5;
}

.join__checkbox-container input[type="checkbox"] {
  opacity: 0;
  position: absolute;
  width: 0;
  height: 0;
}

.join__checkmark {
  width: 20px;
  height: 20px;
  background-color: var(--white-color);
  border: 2px solid #e0e0e0;
  border-radius: 0.25rem;
  position: relative;
  transition: all 0.2s ease;
  margin-top: 2px;
  flex-shrink: 0;
}

.join__checkmark::after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid var(--white-color);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.join__checkbox-container input:checked ~ .join__checkmark {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.join__checkbox-container input:checked ~ .join__checkmark::after {
  display: block;
}

.join__checkbox-text {
  font-size: var(--small-font-size);
  color: var(--text-color);
  line-height: 1.5;
}

.join__form-submit {
  width: 100%;
  justify-content: center;
  gap: var(--mb-0-5);
  margin-top: var(--mb-1);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.join__form-submit:disabled {
  background: #bdc3c7 !important;
  color: #7f8c8d !important;
  cursor: not-allowed !important;
  opacity: 0.6;
  transform: none !important;
  box-shadow: none !important;
}

.join__form-submit:disabled:hover {
  background: #bdc3c7 !important;
  color: #7f8c8d !important;
  transform: none !important;
  box-shadow: none !important;
}

.join__form-submit:not(:disabled) {
  animation: buttonReady 0.5s ease;
}

.join__form-submit:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

@keyframes buttonReady {
  0% {
    transform: scale(0.95);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Form Hints */
.join__form-hint {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  margin-top: var(--mb-0-25);
  display: flex;
  align-items: center;
  gap: var(--mb-0-25);
  transition: color 0.3s ease;
}

.join__form-hint i {
  font-size: 0.75rem;
  opacity: 0.7;
}

.join__form-group:focus-within .join__form-hint {
  color: var(--primary-color);
}

.join__form-input.invalid + .join__form-hint,
.join__form-textarea.invalid + .join__form-hint {
  color: var(--accent-color) !important;
}

.join__form-input.valid + .join__form-hint,
.join__form-textarea.valid + .join__form-hint {
  color: var(--secondary-color) !important;
}

/* Form Validation States */
.join__form-input.valid {
  border-color: #27ae60 !important;
  background: rgba(39, 174, 96, 0.05);
}

.join__form-input.invalid {
  border-color: #e74c3c !important;
  background: rgba(231, 76, 60, 0.05);
}

.join__form-select.valid {
  border-color: #27ae60 !important;
  background: rgba(39, 174, 96, 0.05);
}

.join__form-select.invalid {
  border-color: #e74c3c !important;
  background: rgba(231, 76, 60, 0.05);
}

.join__form-textarea.valid {
  border-color: #27ae60 !important;
  background: rgba(39, 174, 96, 0.05);
}

.join__form-textarea.invalid {
  border-color: #e74c3c !important;
  background: rgba(231, 76, 60, 0.05);
}

.join__contact {
  background-color: var(--white-color);
  padding: var(--mb-2);
  border-radius: 0.75rem;
  box-shadow: 0 2px 8px var(--shadow-color);
  text-align: center;
}

.join__contact-title {
  font-size: var(--h3-font-size);
  color: var(--primary-color);
  margin-bottom: var(--mb-1-5);
}

.join__contact-info {
  display: flex;
  flex-direction: row;
  gap: var(--mb-1-5);
  justify-content: center;
  flex-wrap: wrap;
}

.join__contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--mb-0-5);
  color: var(--text-color);
  padding: var(--mb-0-75) var(--mb-1);
  border-radius: 0.5rem;
  background-color: var(--container-color);
  transition: background-color 0.3s ease;
  min-width: 200px;
  white-space: nowrap;
}

.join__contact-item i {
  color: var(--secondary-color);
  font-size: 1.25rem;
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(135deg, var(--primary-color) 0%, #2d4a68 100%);
  color: var(--white-color);
  padding: var(--mb-3) 0 var(--mb-1);
}

.footer__links,
.footer__social {
  padding: 0 var(--mb-1);
}

.footer__content {
  grid-template-columns: 2fr 1.2fr 1fr;
  gap: var(--mb-2-5) var(--mb-3);
  margin-bottom: var(--mb-2-5);
  align-items: start;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--mb-0-75);
  margin-bottom: var(--mb-1-5);
}

.footer__logo img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.footer__title {
  margin-bottom: 0;
  color: var(--white-color);
}

.footer__description {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  font-size: var(--small-font-size);
  max-width: 280px;
}

.footer__subtitle {
  margin-bottom: var(--mb-1-5);
  color: var(--white-color);
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
  position: relative;
  padding-bottom: var(--mb-0-5);
}

.footer__subtitle::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--mb-0-5) var(--mb-1);
  padding-left: 0;
}

.footer__link {
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.2s ease;
  padding: var(--mb-0-25) 0;
  border-radius: 0.25rem;
  display: block;
  font-size: var(--small-font-size);
  position: relative;
}

.footer__link::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

.footer__link:hover {
  color: var(--white-color);
  transform: translateX(2px);
}

.footer__link:hover::before {
  width: 100%;
}

.footer__social-links {
  display: flex;
  gap: var(--mb-1);
  flex-wrap: wrap;
}

.footer__social-link {
  background-color: rgba(255, 255, 255, 0.1);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.footer__social-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--accent-color)
  );
  transition: left 0.3s ease;
  z-index: 1;
}

.footer__social-link:hover::before {
  left: 0;
}

.footer__social-link:hover {
  border-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(223, 189, 89, 0.3);
}

.footer__social-link i {
  position: relative;
  z-index: 2;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s ease;
}

.footer__social-link:hover i {
  color: var(--primary-color);
}

.footer__copy {
  text-align: center;
  padding-top: var(--mb-2);
  margin-top: var(--mb-2-5);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--small-font-size);
  letter-spacing: 0.5px;
}

/* ===== SCROLL TOP ===== */
.scrolltop {
  position: fixed;
  right: 1rem;
  bottom: -20%;
  background-color: var(--secondary-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s ease;
  z-index: var(--z-tooltip);
  box-shadow: 0 4px 16px var(--shadow-color);
}

.scrolltop:hover {
  background-color: var(--accent-color);
  transform: translateY(-4px);
}

.scrolltop__icon {
  color: var(--primary-color);
  font-size: 1.25rem;
  font-weight: var(--font-bold);
}

.show-scroll {
  bottom: 2rem;
}

/* ===== MEDIA QUERIES ===== */
/* For large devices */
@media screen and (max-width: 992px) {
  .container {
    padding-left: var(--mb-1-5);
    padding-right: var(--mb-1-5);
  }

  .home__container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .home__img {
    order: -1;
    margin-bottom: var(--mb-2);
  }

  .about__content {
    grid-template-columns: 1fr;
  }

  .projects__content {
    grid-template-columns: 1fr;
  }

  .values__content {
    grid-template-columns: 1fr;
  }
}

/* For tablet devices */
@media screen and (max-width: 992px) and (min-width: 769px) {
  .footer__content {
    grid-template-columns: 1fr 1fr;
    gap: var(--mb-2-5);
  }

  .footer__info {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: var(--mb-2);
  }

  .footer__links,
  .footer__social {
    text-align: center;
  }
}

/* For medium devices */
@media screen and (max-width: 768px) {
  /* Mobile dropdown adjustments */
  .dropdown-toggle {
    pointer-events: none;
    color: var(--text-color) !important;
  }

  .dropdown-toggle:hover {
    color: var(--text-color) !important;
  }

  .dropdown-toggle::after {
    display: none !important;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    background-color: transparent;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: none;
    margin-left: 1rem;
    border-left: 2px solid var(--primary-color);
    padding-left: 1rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
  }

  /* Auto-open dropdowns when mobile menu is shown */
  .nav__menu.show-menu .dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 300px;
  }

  .dropdown.mobile-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 300px;
  }

  .dropdown-toggle i {
    transition: transform 0.3s ease;
  }

  /* Hide chevron icons in mobile when menu is auto-opened */
  .nav__menu.show-menu .dropdown-toggle i {
    display: none;
  }

  .dropdown.mobile-open .dropdown-toggle i {
    transform: rotate(180deg);
  }

  /* Slideshow responsive */
  .slideshow {
    height: 450px;
  }

  .slide__content {
    grid-template-columns: 1fr;
    gap: var(--mb-1-5);
    text-align: left;
    padding: var(--mb-1);
  }

  .slide__text {
    order: 2;
    padding: 0 var(--mb-0-5);
  }

  .slide__image {
    order: 1;
    margin-bottom: var(--mb-1);
  }

  .slide__image img {
    max-width: 100%;
    width: 100%;
    height: 240px;
    border-radius: 0.75rem;
  }

  .slide__title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-0-5);
    line-height: 1.3;
  }

  .slide__description {
    font-size: var(--small-font-size);
    margin-bottom: var(--mb-0-75);
    line-height: 1.5;
  }

  .slide_link {
    margin-top: var(--mb-0-5);
  }

  .slide_link a {
    padding: var(--mb-0-5) var(--mb-1);
    font-size: var(--small-font-size);
    border-radius: 1.5rem;
  }

  .slideshow__dots {
    bottom: var(--mb-1);
  }

  .slideshow__arrow {
    width: 40px;
    height: 40px;
    z-index: 15;
    background: rgba(28, 58, 86, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid var(--white-color);
    color: var(--white-color);
  }

  .slideshow__arrow:hover {
    background: var(--primary-color);
    color: var(--white-color);
    z-index: 15;
  }

  .slideshow__arrow i {
    font-size: 1rem;
    color: var(--white-color);
  }

  .donation__methods {
    gap: var(--mb-1-5);
  }

  .donation__detail {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--mb-0-5);
    text-align: left;
  }

  .donation__label {
    min-width: auto;
    font-size: var(--small-font-size);
  }

  .donation__value {
    margin: 0;
    word-break: break-all;
    font-size: var(--small-font-size);
  }

  .donation__copy {
    align-self: flex-end;
  }
  .nav__menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--white-color);
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 16px var(--shadow-color);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
    overflow-y: auto;
  }

  .nav__menu.show-menu {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    gap: var(--mb-1-5);
  }

  .nav__toggle,
  .nav__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
  }

  .nav__toggle:hover,
  .nav__close:hover {
    background-color: var(--border-color);
  }

  .nav__close {
    position: absolute;
    right: 1rem;
    top: 1rem;
  }

  .section {
    padding: 4.5rem 0 2rem;
  }

  .home__buttons {
    flex-direction: column;
    align-items: center;
    gap: var(--mb-0-75);
  }

  .button {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .join__content {
    grid-template-columns: 1fr;
    gap: var(--mb-2);
  }

  .join__info {
    padding-right: 0;
    margin-bottom: var(--mb-2);
  }

  .join__form-container {
    padding: var(--mb-2);
  }

  .join__contact {
    margin-top: var(--mb-2);
  }

  .join__contact-info {
    flex-direction: column;
    gap: var(--mb-1);
  }

  .join__contact-item {
    min-width: auto;
    justify-content: flex-start;
  }

  .footer__content {
    grid-template-columns: 1fr;
    gap: var(--mb-2-5);
    text-align: center;
  }

  .footer__info {
    order: 1;
  }

  .footer__links {
    order: 2;
  }

  .footer__social {
    order: 3;
  }
}

/* For small devices */
@media screen and (max-width: 576px) {
  /* Slideshow responsive - small devices */
  .slideshow {
    height: 400px;
  }

  .slide {
    padding: 0 var(--mb-0-75);
  }

  .slide__content {
    gap: var(--mb-1);
    padding: var(--mb-0-75);
  }

  .slide__text {
    padding: 0 var(--mb-0-25);
  }

  .slide__title {
    font-size: 1.1rem;
    margin-bottom: var(--mb-0-5);
    line-height: 1.3;
  }

  .slide__description {
    font-size: var(--small-font-size);
    margin-bottom: var(--mb-0-5);
    line-height: 1.4;
  }

  .slide_link {
    margin-top: var(--mb-0-25);
  }

  .slide_link a {
    padding: var(--mb-0-25) var(--mb-0-75);
    font-size: var(--smaller-font-size);
    border-radius: 1.25rem;
  }

  .slide__image {
    margin-bottom: var(--mb-0-75);
  }

  .slide__image img {
    max-width: 100%;
    width: 100%;
    height: 180px;
    border-radius: 0.5rem;
  }

  .slideshow__dots {
    bottom: var(--mb-0-75);
  }

  .slideshow__dot {
    width: 10px;
    height: 10px;
  }

  .slideshow__arrow {
    width: 35px;
    height: 35px;
    backdrop-filter: blur(10px);
    background: rgba(28, 58, 86, 0.9);
    border: 2px solid var(--white-color);
    color: var(--white-color);
    z-index: 15;
  }

  .slideshow__arrow:hover {
    background: var(--primary-color);
    color: var(--white-color);
    z-index: 15;
  }

  .slideshow__arrow--prev {
    left: var(--mb-0-5);
  }

  .slideshow__arrow--next {
    right: var(--mb-0-5);
  }
}

/* For very small devices */
@media screen and (max-width: 480px) {
  .slideshow {
    height: 380px;
  }

  .slide__content {
    padding: var(--mb-0-5);
  }

  .slide__title {
    font-size: 1rem;
    margin-bottom: var(--mb-0-25);
  }

  .slide__description {
    font-size: var(--smaller-font-size);
    margin-bottom: var(--mb-0-25);
  }

  .slide__category {
    font-size: var(--smaller-font-size);
    padding: 0.15rem var(--mb-0-5);
    margin-bottom: var(--mb-0-5);
  }

  .slide__image img {
    height: 160px;
  }

  .slideshow__arrow {
    width: 30px;
    height: 30px;
    background: rgba(28, 58, 86, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid var(--white-color);
    color: var(--white-color);
    z-index: 15;
  }

  .slideshow__arrow:hover {
    background: var(--primary-color);
    color: var(--white-color);
    z-index: 15;
  }

  .slideshow__arrow i {
    font-size: 0.9rem;
    color: var(--white-color);
  }

  .container {
    padding-left: var(--mb-1);
    padding-right: var(--mb-1);
  }

  .home__blob {
    width: 150px;
    height: 150px;
  }

  .home__icon {
    font-size: 3rem;
  }

  .home__logo {
    width: 90px;
    height: 90px;
  }

  .nav__logo img {
    width: 35px;
    height: 35px;
  }

  .nav__logo h3 {
    font-size: 1.1rem;
  }

  .projects__content {
    grid-template-columns: 1fr;
  }

  .values__content {
    grid-template-columns: 1fr;
  }

  .join__form-group {
    margin-bottom: var(--mb-1);
  }

  .join__form-input,
  .join__form-select,
  .join__form-textarea {
    padding: var(--mb-0-5);
    font-size: var(--small-font-size);
  }

  .join__benefits {
    padding: var(--mb-1-5);
  }

  .join__contact {
    padding: var(--mb-1-5);
  }

  .scrolltop {
    right: 0.5rem;
    width: 45px;
    height: 45px;
  }
}

/* Corporate responsive adjustments */
@media screen and (max-width: 768px) {
  .corporate__members {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--mb-0-75);
  }

  .corporate__member {
    max-width: 180px;
    padding: var(--mb-0-75);
  }

  .corporate__member-img {
    width: 70px;
    height: 70px;
  }

  /* President responsive */
  .corporate__member--president {
    max-width: 240px;
    padding: var(--mb-1);
  }

  .corporate__member--president .corporate__member-img {
    width: 100px;
    height: 100px;
  }

  .corporate__member--president .corporate__member-name {
    font-size: var(--h3-font-size);
  }

  /* Small members responsive */
  .corporate__members--small {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--mb-0-5);
    max-width: 500px;
  }

  .corporate__member--small {
    max-width: 140px;
    padding: var(--mb-0-5);
  }

  .corporate__member--small .corporate__member-img {
    width: 50px;
    height: 50px;
  }

  /* Trustee grid responsive */
  .trustee__grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--mb-0-5);
  }

  .trustee__card {
    padding: var(--mb-0-5) var(--mb-0-75);
    font-size: var(--smaller-font-size);
  }

  /* Corporate reserves responsive */
  .corporate__reserves {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--mb-0-5);
  }

  .corporate__reserve {
    padding: var(--mb-0-75) var(--mb-1);
    font-size: var(--small-font-size);
    min-height: 50px;
  }

  /* Trustee presidents responsive */
  .corporate__member--trustee-president {
    max-width: 240px;
    padding: var(--mb-1-5);
  }

  .corporate__member--trustee-president .corporate__member-img {
    width: 160px;
    height: 160px;
  }

  .trustee__presidents {
    flex-direction: column;
    align-items: center;
    gap: var(--mb-1-5);
  }
}

@media screen and (max-width: 576px) {
  .corporate__members {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--mb-0-5);
  }

  .corporate__member {
    max-width: 150px;
    padding: var(--mb-0-5);
  }

  .corporate__member-img {
    width: 60px;
    height: 60px;
  }

  .corporate__member-name {
    font-size: var(--small-font-size);
  }

  .corporate__member-title {
    font-size: var(--smaller-font-size);
  }

  /* President responsive - small screens */
  .corporate__member--president {
    max-width: 200px;
    padding: var(--mb-0-75);
  }

  .corporate__member--president .corporate__member-img {
    width: 80px;
    height: 80px;
  }

  .corporate__member--president .corporate__member-name {
    font-size: var(--normal-font-size);
  }

  .corporate__member--president .corporate__member-title {
    font-size: var(--small-font-size);
  }

  /* Small members responsive - small screens */
  .corporate__members--small {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--mb-0-25);
  }

  .corporate__member--small {
    max-width: 120px;
    padding: var(--mb-0-25);
  }

  .corporate__member--small .corporate__member-img {
    width: 40px;
    height: 40px;
  }

  .corporate__member--small .corporate__member-name {
    font-size: var(--smaller-font-size);
  }

  .corporate__member--small .corporate__member-title {
    font-size: 0.65rem;
  }

  /* Trustee grid mobile responsive */
  .trustee__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--mb-0-25);
  }

  .trustee__card {
    padding: var(--mb-0-25) var(--mb-0-5);
    font-size: 0.7rem;
  }

  /* Corporate reserves mobile responsive */
  .corporate__reserves {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--mb-0-25);
  }

  .corporate__reserve {
    padding: var(--mb-0-5) var(--mb-0-75);
    font-size: var(--smaller-font-size);
    min-height: 45px;
  }

  /* Detail button mobile styles removed */

  /* Modal responsive */
  .modal__container {
    width: 95%;
    max-height: 85vh;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    margin: 0;
  }

  .modal.active .modal__container {
    transform: translate(-50%, -50%) scale(1);
  }

  .modal__header {
    padding: var(--mb-1-5) var(--mb-1-5) var(--mb-1);
  }

  .modal__image {
    width: 130px;
    height: 130px;
  }

  .modal__title h2 {
    font-size: var(--h3-font-size);
    padding: 0 var(--mb-3) 0 var(--mb-0-5);
    line-height: 1.3;
  }

  .modal__content {
    padding: var(--mb-1-5) var(--mb-1) var(--mb-2) var(--mb-1);
    max-height: 65vh;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    position: relative;
    overscroll-behavior: contain;
  }

  /* Trustee presidents responsive - small screens */
  .corporate__member--trustee-president {
    max-width: 200px;
    padding: var(--mb-1);
  }

  .corporate__member--trustee-president .corporate__member-img {
    width: 120px;
    height: 120px;
  }

  .corporate__member--trustee-president .corporate__member-name {
    font-size: var(--normal-font-size);
  }

  .corporate__member--trustee-president .corporate__member-title {
    font-size: var(--small-font-size);
  }
}

/*===== SCHOLARSHIP SECTION =====*/
.scholarship {
  padding: var(--mb-3) 0;
  background-color: var(--body-color);
}

.scholarship__container {
  max-width: 1200px;
  margin: 0 auto;
}

.scholarship__content {
  display: grid;
  gap: var(--mb-2);
}

/* Announcement Card */
.scholarship__announcement {
  background-color: var(--white-color);
  padding: var(--mb-2-5);
  border-radius: 0.75rem;
  box-shadow: 0 4px 16px var(--shadow-color);
  border-left: 4px solid var(--secondary-color);
}

.scholarship__announcement-title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--primary-color);
  margin-bottom: var(--mb-1-5);
}

.scholarship__announcement-text {
  color: var(--text-color);
  line-height: 1.7;
  margin-bottom: var(--mb-1-5);
  font-size: var(--normal-font-size);
}

.scholarship__signature {
  text-align: right;
  color: var(--primary-color);
  font-style: italic;
  margin-top: var(--mb-1);
}

/* Forms Section */
.scholarship__forms {
  background-color: var(--white-color);
  padding: var(--mb-2-5);
  border-radius: 0.75rem;
  box-shadow: 0 4px 16px var(--shadow-color);
}

.scholarship__forms-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--mb-0-5);
  margin-bottom: var(--mb-2);
}

.scholarship__forms-header i {
  color: var(--secondary-color);
  font-size: var(--h4-font-size);
}

.scholarship__forms-header h3 {
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--primary-color);
  margin: 0;
}

.scholarship__download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--mb-1-5);
}

.scholarship__download-card {
  display: flex;
  align-items: center;
  gap: var(--mb-1);
  padding: var(--mb-1-5);
  background-color: var(--body-color);
  border: 2px solid transparent;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.scholarship__download-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--shadow-color);
}

.scholarship__download-card--excel {
  border-color: #27ae60;
}

.scholarship__download-card--excel:hover {
  border-color: #219a52;
  background-color: #f0fff4;
}

.scholarship__download-icon {
  font-size: 2.5rem;
  min-width: 60px;
  text-align: center;
}

.scholarship__download-card--excel .scholarship__download-icon {
  color: #27ae60;
}

.scholarship__download-info h4 {
  font-size: var(--normal-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--primary-color);
  margin-bottom: var(--mb-0-25);
}

.scholarship__download-info p {
  font-size: var(--small-font-size);
  color: var(--text-color);
  margin: 0;
}

/* FAQ Section */
.scholarship__faq {
  background-color: var(--white-color);
  padding: var(--mb-2-5);
  border-radius: 0.75rem;
  box-shadow: 0 4px 16px var(--shadow-color);
}

.scholarship__faq-header {
  margin-bottom: var(--mb-2);
}

.scholarship__faq-title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--primary-color);
  margin: 0;
  text-align: center;
}

.scholarship__faq-content {
  display: grid;
  gap: var(--mb-1);
}

.scholarship__faq-item {
  border: 1px solid #e9ecef;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.scholarship__faq-item:hover {
  border-color: var(--secondary-color);
}

.scholarship__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--mb-1) var(--mb-1-5);
  background-color: #f8f9fa;
  cursor: pointer;
  transition: all 0.3s ease;
}

.scholarship__faq-question:hover {
  background-color: #e9ecef;
}

.scholarship__faq-question h4 {
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  color: var(--primary-color);
  margin: 0;
}

.scholarship__faq-question i {
  color: var(--secondary-color);
  transition: transform 0.3s ease;
  font-size: var(--small-font-size);
}

.scholarship__faq-item.active .scholarship__faq-question i {
  transform: rotate(180deg);
}

.scholarship__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.scholarship__faq-item.active .scholarship__faq-answer {
  max-height: 300px;
}

.scholarship__faq-answer p {
  padding: var(--mb-1-5);
  margin: 0;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--white-color);
}

/* Contact Section */
.scholarship__contact {
  background-color: var(--white-color);
  border-radius: 0.75rem;
  box-shadow: 0 4px 16px var(--shadow-color);
  overflow: hidden;
}

.scholarship__contact-card {
  display: flex;
  align-items: center;
  gap: var(--mb-1-5);
  padding: var(--mb-2-5);
  background: linear-gradient(135deg, var(--primary-color) 0%, #2c5aa0 100%);
  color: var(--white-color);
}

.scholarship__contact-icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  min-width: 60px;
  text-align: center;
}

.scholarship__contact-info h4 {
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: var(--mb-1);
}

.scholarship__contact-email {
  font-size: var(--normal-font-size);
  margin-bottom: var(--mb-0-75);
}

.scholarship__contact-email a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: var(--font-medium);
}

.scholarship__contact-email a:hover {
  text-decoration: underline;
}

.scholarship__contact-note {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--small-font-size);
  line-height: 1.6;
  margin: 0;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .scholarship {
    padding: var(--mb-2) 0;
  }

  .scholarship__announcement,
  .scholarship__forms,
  .scholarship__faq,
  .scholarship__contact-card {
    padding: var(--mb-1-5);
  }

  .scholarship__download-grid {
    grid-template-columns: 1fr;
  }

  .scholarship__contact-card {
    flex-direction: column;
    text-align: center;
  }

  .scholarship__contact-icon {
    min-width: auto;
  }
}

/*=============== STUDENT SECTION ===============*/
.student {
  background-color: var(--container-color);
}

.student__content {
  display: block;
  width: 100%;
}

.student__title {
  font-size: var(--h3-font-size);
  color: var(--primary-color);
  margin-bottom: var(--mb-1);
  font-weight: var(--font-semi-bold);
}

.student__description {
  color: var(--text-color);
  margin-bottom: var(--mb-2);
  line-height: 1.6;
}

.student__benefits {
  margin-top: var(--mb-2);
}

.student__benefits-title {
  font-size: var(--h3-font-size);
  color: var(--primary-color);
  margin-bottom: var(--mb-1);
}

.student__benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.student__benefit-item {
  display: flex;
  align-items: center;
  gap: var(--mb-0-75);
  margin-bottom: var(--mb-0-75);
  color: var(--text-color);
}

.student__benefit-item i {
  color: var(--primary-color);
  font-size: var(--small-font-size);
  background-color: var(--white-color);
  padding: 0.25rem;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.student__form-container {
  background-color: var(--white-color);
  padding: var(--mb-3);
  border-radius: 1rem;
  box-shadow: 0 4px 16px var(--shadow-color);
  border: 1px solid var(--border-color);
  width: 100%;
  margin: 0 auto;
}

/*=============== STUDENT FORM ===============*/
.modal__container--large {
  max-width: 800px;
  width: 90%;
}

.modal__subtitle {
  color: var(--text-color-light);
  font-size: var(--small-font-size);
  margin-top: 0.5rem;
  text-align: center;
}

.student-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1rem;
  background-color: var(--white-color);
  padding: var(--mb-2-5);
  border-radius: 0.75rem;
  box-shadow: 0 4px 16px var(--shadow-color);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.student-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.student-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.student-form__label {
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  color: var(--text-color);
}

.student-form__input,
.student-form__select {
  padding: 1rem 1.25rem;
  border: 2px solid var(--border-color);
  border-radius: 0.5rem;
  font-size: var(--normal-font-size);
  background-color: var(--container-color);
  color: var(--text-color);
  transition: border-color 0.3s;
  width: 100%;
}

.student-form__input:focus,
.student-form__select:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(223, 189, 89, 0.1);
}

/* Form Validation States */
.student-form__input.valid,
.student-form__select.valid {
  border-color: #27ae60 !important;
  background: rgba(39, 174, 96, 0.05);
}

.student-form__input.invalid,
.student-form__select.invalid {
  border-color: #e74c3c !important;
  background: rgba(231, 76, 60, 0.05);
}

.student-form__select {
  cursor: pointer;
}

.student-form__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.student-form__actions .btn {
  max-width: 200px;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--primary-color);
  border-radius: 0.5rem;
  font-weight: var(--font-medium);
  font-size: var(--small-font-size);
  transition: all 0.3s ease;
}

.button--alt {
  background-color: var(--primary-color);
  color: var(--white-color);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  cursor: pointer;
  transition: background-color 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.button--alt:hover {
  background-color: var(--primary-color-light);
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn--primary {
  background-color: var(--primary-color);
  color: var(--white-color);
  border: none;
}

.btn--primary:hover {
  background-color: var(--primary-color-light);
  transform: translateY(-2px);
}

.btn--primary:disabled {
  background-color: var(--text-color-light);
  cursor: not-allowed;
  transform: none;
}

.btn--secondary {
  background-color: transparent;
  color: var(--text-color);
  border: 2px solid var(--border-color);
}

.btn--secondary:hover {
  background-color: var(--border-color);
  color: var(--text-color);
}

.btn--disabled {
  background-color: #f5f5f5 !important;
  color: #9e9e9e !important;
  border: 2px solid #ddd !important;
  cursor: not-allowed !important;
  opacity: 0.7 !important;
  pointer-events: none !important;
}

.btn--disabled:hover {
  background-color: #f5f5f5 !important;
  color: #9e9e9e !important;
  border: 2px solid #ddd !important;
  transform: none !important;
}

.join__options {
  margin: 1.5rem 0;
  display: flex;
  justify-content: center;
}

/*=============== STUDENT SECTION RESPONSIVE ===============*/
@media screen and (max-width: 768px) {
  .student__form-container {
    padding: var(--mb-2);
    max-width: 100%;
  }
}
.modal__container--large {
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
}

.student-form__row {
  grid-template-columns: 1fr;
  gap: 1rem;
}

.student-form__actions {
  flex-direction: column;
  gap: 0.75rem;
}

.student-form__actions .btn {
  width: 100%;
  max-width: none;
  justify-content: center;
}

.btn,
.button--alt {
  width: 100%;
  justify-content: center;
}

@media screen and (max-width: 576px) {
  .modal__container {
    width: 96%;
    max-height: 80vh;
    border-radius: 0.5rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    margin: 0;
  }

  .modal.active .modal__container {
    transform: translate(-50%, -50%) scale(1);
  }

  .modal__container--large {
    width: 96%;
    max-height: 80vh;
  }

  .modal__content {
    padding: var(--mb-1) var(--mb-0-75) var(--mb-2) var(--mb-0-75);
    max-height: 60vh;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    position: relative;
  }

  .modal__share {
    padding: var(--mb-0-75);
  }

  .modal__share-buttons {
    gap: var(--mb-0-5);
  }

  .modal__share-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .modal__header {
    padding: var(--mb-1) var(--mb-0-75) var(--mb-0-5);
    position: relative;
  }

  .modal__close {
    top: var(--mb-0-75);
    right: var(--mb-0-75);
    z-index: 20;
  }
}

/* iOS landscape mode fix */
@media screen and (max-width: 768px) and (max-height: 450px) {
  .modal__container {
    max-height: 95vh;
    width: 98%;
  }

  .modal__content {
    max-height: 75vh;
  }
}

.student-form {
  gap: 1rem;
}

.student-form__input,
.student-form__select {
  padding: 0.625rem 0.875rem;
  font-size: var(--small-font-size);
}

.btn,
.button--alt {
  padding: 0.625rem 1rem;
  font-size: var(--small-font-size);
}
