/* ---------------- Global Styles ---------------- */
body {
  font-family: "Montserrat", sans-serif;
  color: #111;
  line-height: 1.7;
  letter-spacing: 1px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

/* ---------------- HERO SECTION ---------------- */
.hero {
  margin-top: 50px;
  min-height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  text-align: center;
  background-image: url("../assets/images/bnr.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::after {
  display: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #00000070;
  background-blend-mode: multiply;
  background-image: url("../assets/images/bnr.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1);
  opacity: 1;
  pointer-events: none;
  z-index: 1;
  animation: heroZoomOut 3s ease forwards;
}

.hero .container {
  position: relative;
  z-index: 2;
  max-width: 760px;
  color: #fff;
  animation: heroFadeUp 1.2s ease forwards;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-weight: 700;
  color: #e5e7eb;
  margin-bottom: 1rem;
  opacity: 0.9;
  animation: fadeIn 0.8s ease forwards;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 1.2rem;
  color: #fff;
  text-shadow: 0 1px 0 #cbd5f5, 0 6px 18px rgba(0, 0, 0, 0.45),
    0 18px 50px rgba(0, 0, 0, 0.6);
  animation: fadeUp 1s ease forwards;
}

.hero-desc {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #cbd5f5;
  opacity: 0.95;
  animation: fadeUp 1.2s ease forwards;
}

/* ---------------- SECTION STYLES ---------------- */
.section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 80px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #1f3a5f;
  font-weight: 400;
}

.section h2 {
  font-size: 2.5rem;
  font-weight: 900;
  color: #1f3a5f;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.section p {
  color: #747474;
  font-size: 1rem;
  line-height: 1.8;
}

.section .section-eyebrow {
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.bg-soft {
  background: #f1f1f1;
}

.clean-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: #747474;
  transition: transform 0.3s, color 0.3s;
}

.clean-list li:hover {
  color: #020617;
  transform: translateX(8px);
}

.clean-list li i {
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1rem;
  transition: transform 0.3s;
}

/* ---------------- IMAGE STYLES ---------------- */
.about-img,
.approach-img,
.structure-img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 12px 45px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

/* ---------------- BUTTON STYLES ---------------- */
.btn-primary {
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  color: #fff !important;
  font-weight: 800;
  letter-spacing: 0.12em;
  border-radius: 999px;
  padding: 0.75rem 2.4rem;
  border: none;
  box-shadow: 0 18px 45px rgba(99, 102, 241, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: all 0.4s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 70px rgba(99, 102, 241, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.2),
    inset 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* ---------------- NAVBAR ---------------- */
.navbar {
  background: #020617;
  padding: 1rem 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  transition: all 0.35s ease;
  border-bottom: none !important;
}

.navbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top,
    rgba(99, 102, 241, 0.12),
    transparent 60%
  );
  pointer-events: none;
}

.navbar-brand {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-brand:hover {
  color: #e5e7eb !important;
}

.navbar-nav .nav-link {
  color: #ced2da;
  font-weight: 600;
  font-size: 0.9rem;
  position: relative;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #fff;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.6),
    0 0 14px rgba(255, 255, 255, 0.4);
}

/* ---------------- HAMBURGER ---------------- */
.custom-toggler {
  width: 24px;
  height: 2px;
  background: #e5e7eb;
  position: relative;
  transition: 0.3s;
}

.custom-toggler::before,
.custom-toggler::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background: #e5e7eb;
  left: 0;
  transition: 0.3s;
}

.custom-toggler::before {
  top: -7px;
}
.custom-toggler::after {
  top: 7px;
}

.navbar-toggler[aria-expanded="true"] .custom-toggler {
  background: transparent;
}
.navbar-toggler[aria-expanded="true"] .custom-toggler::before {
  transform: rotate(45deg);
  top: 0;
}
.navbar-toggler[aria-expanded="true"] .custom-toggler::after {
  transform: rotate(-45deg);
  top: 0;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* ---------------- ACCESS FORM ---------------- */
.access-section {
  padding: 6rem 0;
  background: #f6f7f9;
  display: flex;
  justify-content: center;
}

.form-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-wrapper:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.access-form {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.access-form .form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1f3a5f;
  margin-bottom: 0.25rem;
}

.form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #f9fafb;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border: 1px solid transparent;
  box-shadow: 0 0 10px #38bdf899, 0 0 10px #6366f199;
}

.access-form button.btn-primary {
  padding: 0.85rem 1.5rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  border-radius: 50px;
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  border: none;
  color: #fff;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.access-form button.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.4);
}

/* ---------------- FOOTER ---------------- */
.site-footer {
  background: #020617;
  padding: 5rem 0 2.5rem;
  color: #e5e7eb;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top,
    rgba(99, 102, 241, 0.08),
    transparent 70%
  );
  pointer-events: none;
}

.footer-logo {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-text {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #cbd5f5;
  margin-bottom: 0.8rem;
}

.footer-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}
.footer-role {
  font-size: 0.85rem;
  color: #a5b4fc;
  margin-bottom: 0.8rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.8rem;
}
.footer-links a {
  color: #cbd5f5;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}
.footer-links a:hover {
  color: #fff;
  transform: translateX(6px) scale(1.1);
}
.footer-links i {
  color: #fff;
}

.footer-bottom {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #a5b4fc;
  text-align: center;
  animation: fadeUp 1s ease forwards;
  animation-delay: 1s;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: #c7d2fe;
  margin: 0.3rem 0;
}
.footer-small {
  opacity: 0.8;
}

/* ---------------- PARTICIPATION CARDS ---------------- */
.participation-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.participation-cards .card {
  background: #fff;
  border-radius: 2rem;
  padding: 1.5rem 2rem;
  width: 300px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1),
    box-shadow 0.5s ease, background 0.5s ease, border 0.5s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.card .icon-wrap {
  background: #e0e7ff;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.5s ease, background 0.5s ease;
  z-index: 2;
}

.card i {
  font-size: 2.5rem;
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform 0.5s ease, color 0.5s ease;
}

.card h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1a2a47;
  margin-bottom: 0.8rem;
}

.card p {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.6;
}

.participation-cards .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(99, 102, 241, 0.3),
    0 10px 20px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #38bdf8, #6366f1);
}

.participation-cards .card:hover .icon-wrap {
  transform: scale(1.2);
  background: #e0e7ff;
  z-index: 2;
}

.participation-cards .card:hover i {
  color: #fff;
  z-index: 3;
}

.participation-cards .card {
  animation: floatY 6s ease-in-out infinite;
}

@keyframes floatY {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0);
  }
}
/* _____________________ */

.about-img {
  height: 420px;
  object-fit: cover;
  border-radius: 12px;
}

.approach-img {
  height: 450px;
  object-fit: cover;
  border-radius: 12px;
}

.structure-img {
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
}

/* ---------------- ANIMATIONS ---------------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(35px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes heroZoomOut {
  0% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1; /* keep fully visible */
  }
}

@keyframes aboutFadeUp {
  from {
    opacity: 0;
    transform: translateY(35px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatY {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
  100% {
    transform: translateY(0);
  }
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1000px) {
  .navbar-collapse .btn-primary {
    display: block;
  }
}

@media (max-width: 992px) {
  .section {
    padding: 4rem 1.5rem;
  }
  .site-footer {
    padding: 2rem 1rem 4rem;
  }
  .section h2 {
    font-size: 2rem;
  }

  .participation-cards {
    flex-direction: column;
    align-items: center;
  }
  .participation-cards .card {
    width: 90%;
  }

  .navbar-collapse {
    background: transparent !important;
    padding: 0;
  }
  .navbar-nav {
    text-align: center;
  }
  .navbar-nav .nav-link {
    width: 100%;
    padding: 0.5rem 0;
  }
  .navbar-nav .nav-link::after {
    bottom: 0;
    width: auto;
    left: 0;
  }

  .navbar .btn-primary {
    width: 100%;
    margin-top: 1rem;
  }
}

@media (max-width: 991px) {
  .navbar-collapse {
    background: linear-gradient(180deg, #020617, #020617f2) !important;
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-top: 1rem;
  }

  .navbar {
    padding: 30px;
  }
  .row.align-items-center {
    flex-direction: column-reverse;
  }
  .about-cards {
    flex-direction: column;
    gap: 0.6rem;
  }
}

@media (max-width: 768px) {
  .hero .container,
  .section .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero h1 {
    font-size: 2rem;
    letter-spacing: 0.04em;
  }

  .hero p,
  .section p {
    font-size: 0.95rem;
  }

  .footer-bottom {
    text-align: center;
    gap: 0.6rem;
  }

  /* ---------------- ABOUT / ANIMATIONS ---------------- */
  .about-animate {
    opacity: 0;
    transform: translateY(30px);
    animation: aboutFadeUp 1s ease forwards;
  }

  .about-animate.delay-1 {
    animation-delay: 0.25s;
  }
  .about-animate.delay-2 {
    animation-delay: 0.45s;
  }

  .about-img-wrap {
    position: relative;
    display: inline-block;
  }

  .floating {
    animation: floatY 6s ease-in-out infinite;
  }

  /* ---------------- SCROLL ANIMATIONS ---------------- */
  .section .who-text,
  .section .framework-text,
  .section .clean-list {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease-out;
  }

  .section.visible .who-text,
  .section.visible .framework-text,
  .section.visible .clean-list {
    opacity: 1;
    transform: translateY(0);
  }

  .participation-section.visible .section-eyebrow,
  .participation-section.visible h2,
  .participation-section.visible .section-desc,
  .participation-section.visible .card {
    opacity: 1;
    transform: translateY(0);
  }

  /* ---------------- IMAGE SPECIFIC HEIGHTS ---------------- */
  .about-img {
    height: 400px;
  }
  .approach-img {
    height: 350px;
  }
  .structure-img {
    height: 320px;
  }

  /* ---------------- CLEAN LIST ICON TRANSITIONS ---------------- */
  .clean-list li i {
    transition: transform 0.3s;
  }

  /* ---------------- GENERAL TRANSITIONS ---------------- */
  .section img {
    transform: translateY(0);
    opacity: 0;
    transition: all 0.8s ease-out;
  }

  .section.visible img {
    transform: translateY(-10px);
    opacity: 1;
  }

  .about-img,
  .approach-img,
  .structure-img {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
  }

  .about-img:hover,
  .approach-img:hover,
  .structure-img:hover {
    transform: scale(1.05);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.25);
  }
  .access-section {
    padding: 2rem 1rem;
  }

  .form-wrapper {
    width: 95%;
    padding: 1rem;
    border-radius: 12px;
  }

  .access-form {
    padding: 1rem;
    gap: 0.5rem;
  }

  .access-form .form-input,
  .access-form button.btn-primary {
    width: 100%;
    font-size: 0.9rem;
    padding: 0.65rem 1rem;
  }

  .access-form button.btn-primary {
    padding: 0.7rem 1rem;
  }
}
/* ---------------- SIDE SCROLL ANIMATIONS ---------------- */
.animate-left,
.animate-right {
  opacity: 0;
  transition: all 0.9s cubic-bezier(0.19, 1, 0.22, 1);
}

.animate-left {
  transform: translateX(-80px);
}

.animate-right {
  transform: translateX(80px);
}

.section.visible .animate-left,
.section.visible .animate-right {
  opacity: 1;
  transform: translateX(0);
}
/* ---------------- ABOUT US CARDS ---------------- */
.about-cards {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
}

.about-cards .card {
  background: #fff;
  border-radius: 1.2rem;
  padding: 0.7rem 0.3rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
  transition: background-color 0.4s ease;
  cursor: pointer;
}

.about-cards .card .icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #e0e7ff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease, background 0.4s ease, color 0.4s ease;
}

.about-cards .card .icon-wrap i {
  font-size: 20px;
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: color 0.4s ease;
}

.about-cards .card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a2a47;
  text-align: center;
  margin: 0;
}

.about-cards .card p {
  font-size: 0.8rem;
  color: #4b5563;
  text-align: center;
  line-height: 1.4;
  margin: 0;
}

.about-cards .card:hover {
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  box-shadow: 0 18px 45px rgba(99, 102, 241, 0.25),
    0 6px 15px rgba(0, 0, 0, 0.08);
}

.about-cards .card:hover .icon-wrap {
  transform: scale(1.15);
}

.about-cards .card:hover .icon-wrap i {
  color: #fff;
}
