/* ================= ROOT VARIABLES ================= */
:root {
  --font-family: "Poppins", sans-serif;

  /* Main Colors */
  --primary: #2563eb;
  --primary-dark: #1e3a8a;
  --secondary: #7c3aed;

  /* Text Colors */
  --text-main: #334155;
  --text-light: #475569;
  --text-muted: #64748b;

  /* Base Colors */
  --white: #ffffff;
  --white-soft: rgba(255, 255, 255, 0.95);
  --white-border: rgba(255, 255, 255, 0.6);

  /* Background Colors */
  --body-bg-start: #eef2ff;
  --body-bg-mid: #ffffff;
  --body-bg-end: #f8fafc;
  --soft-bg: #f8fafc;
  --light-blue-bg: #eff6ff;
  --card-bg-light: #f8fbff;

  /* Borders */
  --border-light: #dbeafe;
  --border-accent: #93c5fd;

  /* Shadows */
  --shadow-light: rgba(0, 0, 0, 0.08);
  --shadow-sm: rgba(0, 0, 0, 0.05);
  --shadow-blue-light: rgba(37, 99, 235, 0.06);
  --shadow-blue: rgba(37, 99, 235, 0.08);
  --shadow-blue-hover: rgba(37, 99, 235, 0.12);
  --shadow-blue-strong: rgba(37, 99, 235, 0.14);

  /* Navbar */
  --navbar-bg: rgba(255, 255, 255, 0.94);

  /* Overlay */
  --hero-overlay-1: rgba(15, 23, 42, 0.75);
  --hero-overlay-2: rgba(30, 41, 59, 0.75);

  /* Footer Colors */
  --footer-bg-start: #1e293b;
  --footer-bg-end: #0f172a;
  --footer-text-main: #e2e8f0;
  --footer-text-light: #cbd5e1;
  --footer-text-muted: #94a3b8;
  --footer-accent: #60a5fa;
  --footer-border: rgba(255, 255, 255, 0.08);
}
/* ================= GLOBAL ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-family);
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

body {
  padding-top: 75px;
  background: linear-gradient(
    135deg,
    var(--body-bg-start),
    var(--body-bg-mid),
    var(--body-bg-end)
  );
}
/* ================= NAVBAR ================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
  max-width: 1400px;
  margin: auto;
  padding: 16px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo a img {
  height: 45px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  margin-left: 8px;
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-dark); /* ya #1e3a8a */
  letter-spacing: 1px;
}

ul {
  list-style: none;
}

/* ================= DESKTOP MENU ================= */
.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links li a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  transition: 0.3s ease;
}

/* Nice bottom border hover */
.nav-links li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: var(--primary);
  transition: 0.3s ease;
  border-radius: 10px;
}

.nav-links li a:hover::after {
  width: 100%;
}

.nav-links li a:hover {
  color: var(--primary);
}

/* ================= HAMBURGER ================= */
.menu-toggle {
  display: none;
  width: 32px;
  height: 24px;
  position: relative;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  width: 100%;
  height: 3px;
  background: var(--primary-dark);
  border-radius: 10px;
  transition: 0.35s ease;
}

.menu-toggle span:nth-child(1) {
  top: 0;
}

.menu-toggle span:nth-child(2) {
  top: 10px;
}

.menu-toggle span:nth-child(3) {
  top: 20px;
}

/* X Animation */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 10px;
}

/* ================= MOBILE ================= */
@media (max-width: 992px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-links.active {
    max-height: 600px;
    padding: 20px 30px;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid #ececec;
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links li a {
    width: 100%;
    padding: 14px 0;
  }

  .nav-links li a::after {
    bottom: 8px;
  }
}
/* Active menu item */
.nav-links li a.active {
  color: var(--primary);
}

.nav-links li a.active::after {
  width: 100%;
}
/* Hero Section Here ======================================================== */
/* ================= HERO SECTION ================= */
.hero {
  min-height: 460px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background:
    linear-gradient(var(--hero-overlay-1), var(--hero-overlay-2)),
    url("../image/banner.png") center/cover no-repeat;
  color: var(--white);
}

.hero-content {
  max-width: 1000px;
  animation: fadeUp 1s ease;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
}

.hero h2 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 20px;
  opacity: 0.95;
}

.hero p {
  font-size: 18px;
  max-width: 850px;
  margin: auto;
  opacity: 0.9;
}

/* ================= CONTAINER ================= */
.container {
  max-width: 1250px;
  margin: -80px auto 60px;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* ================= CARD ================= */
.card {
  background: var(--white-soft);
  backdrop-filter: blur(14px);
  border-radius: 22px;
  padding: 40px;
  box-shadow: 0 12px 35px var(--shadow-light);
  margin-bottom: 30px;
  transition: 0.35s ease;
  animation: fadeUp 1s ease;
  border: 1px solid var(--white-border);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px var(--shadow-blue-hover);
}

/* ================= SECTION TITLE ================= */
.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 20px;
  position: relative;
  padding-left: 18px;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 5px;
  height: 32px;
  border-radius: 20px;
  background: linear-gradient(var(--primary), var(--secondary));
}

/* ================= TEXT ================= */
.text,
.policy-text {
  font-size: 16px;
  color: var(--text-light);
  text-align: justify;
  line-height: 1.9;
}

/* ================= POLICY SECTION ================= */
.policy-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 25px;
}

.policy-box {
  flex: 1 1 calc(50% - 11px);
  min-width: 280px;
  background: linear-gradient(135deg, var(--light-blue-bg), var(--white));
  border: 1px solid var(--border-light);
  padding: 25px;
  border-radius: 18px;
  transition: 0.3s ease;
  box-shadow: 0 8px 18px var(--shadow-blue-light);
}

.policy-box:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 15px 25px var(--shadow-blue-strong);
}

.policy-box h3 {
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 700;
}

.policy-box p {
  line-height: 1.8;
  color: var(--text-light);
  text-align: justify;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .policy-box {
    flex: 1 1 100%;
  }
}

/* ================= RESPONSIBILITY ================= */
.responsibility-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.list-item {
  background: var(--white);
  border-left: 4px solid var(--primary);
  padding: 18px 20px;
  border-radius: 12px;
  box-shadow: 0 5px 15px var(--shadow-sm);
  transition: 0.3s;
}

.list-item:hover {
  transform: translateX(6px);
}

/* ================= HIGHLIGHT ================= */
.highlight {
  color: var(--primary-dark);
  /* padding: 3px 8px; */
  border-radius: 6px;
  font-weight: 600;
  transition: 0.3s ease;
}

/* ================= ROLE ================= */
.role-head-box {
  margin-top: 20px;
}

.role-badge {
  display: inline-block;
  margin-bottom: 24px;
  padding: 10px 18px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    var(--border-light),
    var(--light-blue-bg)
  );
  color: var(--primary-dark);
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 4px 12px var(--shadow-blue);
}

.coordinator-section {
  overflow: hidden;
}

.dual-role-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 25px;
}

.role-panel {
  background: linear-gradient(145deg, var(--white), var(--soft-bg));
  border: 1px solid var(--border-light);
  border-radius: 24px;
  margin-top: 10px;
  padding: 30px;
  box-shadow: 0 10px 25px var(--shadow-blue);
  transition: 0.35s ease;
  position: relative;
}

.role-panel:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 35px var(--shadow-blue-strong);
}

.role-icon {
  font-size: 34px;
  margin-bottom: 16px;
}

.role-panel h3 {
  font-size: 22px;
  color: var(--primary-dark);
  margin-bottom: 8px;
  font-weight: 700;
}

.role-panel h4 {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 18px;
  font-weight: 500;
}

.role-list {
  padding-left: 18px;
}

.role-list li {
  margin-bottom: 14px;
  line-height: 1.8;
  color: var(--text-light);
  font-size: 15px;
}

/* ================= ANIMATION ================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .hero {
    min-height: 380px;
    padding: 60px 15px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero h2 {
    font-size: 18px;
  }

  .hero p {
    font-size: 15px;
  }

  .container {
    margin-top: -50px;
  }

  .card {
    padding: 25px;
  }

  .section-title {
    font-size: 22px;
  }

  .dual-role-grid {
    grid-template-columns: 1fr;
  }
}
/* ================= FOOTER CSS ================= */
.premium-footer {
  margin-top: 60px;
  background: linear-gradient(
    135deg,
    var(--footer-bg-start),
    var(--footer-bg-end)
  );
  color: var(--footer-text-main);
  padding: 60px 20px 0;
  position: relative;
  overflow: hidden;
}

.footer-wrapper {
  max-width: 1300px;
  margin: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
  padding-bottom: 35px;
}

.footer-box h3 {
  font-size: 20px;
  margin-bottom: 18px;
  color: var(--white);
  position: relative;
}

.footer-box h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 45px;
  height: 3px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--footer-accent), var(--primary));
}

.footer-box p,
.footer-box li {
  font-size: 15px;
  line-height: 1.9;
  color: var(--footer-text-light);
}

.footer-box ul {
  list-style: none;
  padding: 0;
}

.footer-box a {
  text-decoration: none;
  color: var(--footer-text-light);
  transition: 0.3s ease;
}

.footer-box a:hover {
  color: var(--footer-accent);
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid var(--footer-border);
  text-align: center;
  padding: 18px 0;
  font-size: 14px;
  color: var(--footer-text-muted);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.footer-logo h3 {
  margin: 0;
  font-size: 20px;
  color: var(--white);
}
/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .premium-footer {
    padding: 40px 15px 0;
  }

  .footer-grid {
    gap: 25px;
  }

  .footer-box h3 {
    font-size: 18px;
  }
}

/* ================= CEPS_OAs SECTION ================= */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 25px;
}

.program-card {
  background: linear-gradient(135deg, var(--white), var(--card-bg-light));
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 10px 25px var(--shadow-blue);
  transition: 0.3s ease;
  position: relative;
  width: 100%;
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 35px var(--shadow-blue-strong);
}

.program-badge {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 18px;
}

.program-card h3 {
  color: var(--primary-dark);
  margin-bottom: 14px;
  font-size: 22px;
}

.program-card h4 {
  color: var(--primary);
  margin-top: 18px;
  margin-bottom: 10px;
  font-size: 17px;
}

/* Extra Mobile Fix */
@media (max-width: 768px) {
  .programs-grid {
    grid-template-columns: 1fr;
  }

  .program-card {
    padding: 22px;
  }

  .program-card h3 {
    font-size: 20px;
  }

  .program-card h4 {
    font-size: 16px;
  }
}
/* ================= ROLE LIST ================= */
.role-list {
  list-style: none;
  padding-left: 0;
  margin-top: 14px;
  margin-bottom: 14px;
}

.role-list li {
  position: relative;
  margin-bottom: 14px;
  padding: 14px 16px 14px 48px;
  line-height: 1.8;
  color: var(--text-light);
  font-size: 15px;
  background: linear-gradient(135deg, var(--card-bg-light), var(--white));
  border: 1px solid var(--border-light);
  border-radius: 14px;
  box-shadow: 0 4px 12px var(--shadow-blue-light);
  transition: 0.3s ease;
}

.role-list li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 14px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.role-list li:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 18px var(--shadow-blue-hover);
}

/* ================= FIGURE BOX ================= */
.figure-box {
  margin-top: 25px;
  padding: 25px;
  border: 2px dashed var(--border-accent);
  border-radius: 18px;
  background: linear-gradient(135deg, var(--light-blue-bg), var(--white));
  text-align: center;
  box-shadow: 0 8px 20px var(--shadow-blue);
}

.procedure-image {
  width: 60%;
  max-width: 60%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 8px 22px var(--shadow-light);
  margin-bottom: 18px;
}

.figure-caption {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-dark);
  line-height: 1.7;
}

/*Message from the Center Head*/

/* ================= HEAD MESSAGE ================= */
.head-message-card {
  background: linear-gradient(135deg, var(--white-soft), var(--light-blue-bg));
  border: 1px solid var(--border-light);
  padding: 25px;
  border-radius: 16px;
}

/* ================= LAYOUT ================= */
.head-message-wrapper {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  /* flex-wrap: nowrap; */
}

/* ================= LEFT SIDE (40%) ================= */
.head-left {
  flex: 0 0 40%;
  max-width: 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ================= IMAGE ================= */
.head-image {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.head-image img {
  width: 100%;
  /* max-width: 260px; */
  /* height: 300px; */
  object-fit: cover;
  border-radius: 20px;
  border: 3px solid var(--border-accent);
  box-shadow: 0 12px 30px var(--shadow-blue);
  transition: 0.4s ease;
}

/* Hover Effect */
.head-image img:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 18px 35px var(--shadow-blue-strong);
}

/* Glow Ring */
.head-image::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 25px;
  /* background: linear-gradient(135deg, var(--primary), var(--secondary)); */
  opacity: 0.08;
  z-index: -1;
}

/* ================= SIGNATURE BELOW IMAGE ================= */
.head-left .head-sign {
  margin-top: 18px;
  padding: 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(6px);
  width: 100%;
}

/* Name */
.head-sign h4 {
  margin: 0;
  font-size: 17px;
  color: var(--primary-dark);
  font-weight: 700;
}

/* Details */
.head-sign p {
  margin: 3px 0;
  font-size: 13px;
  text-align: left !important;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ================= RIGHT SIDE (60%) ================= */
.head-content {
  flex: 0 0 60%;
  max-width: 60%;
}

/* TEXT */
.head-content .policy-text {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 12px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .head-left {
    flex: 0 0 45%;
    max-width: 45%;
  }

  .head-content {
    flex: 0 0 55%;
    max-width: 55%;
  }
}

@media (max-width: 768px) {
  .head-message-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .head-left,
  .head-content {
    max-width: 100%;
    flex: 100%;
  }

  .head-image img {
    max-width: 200px;
    /* height: 240px; */
  }

  .head-content {
    text-align: left;
  }
}

/* download part here =========================================== */

.download-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.download-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
}
.download-card > h3 {
  text-transform: capitalize !important;
}

.download-card:hover {
  transform: translateY(-6px);
}

.file-icon {
  font-size: 50px;
  margin-bottom: 15px;
}

.pdf {
  color: #dc2626;
}

.form {
  color: #2563eb;
}

.image {
  color: #16a34a;
}

.doc {
  color: #7c3aed;
}

.download-card h3 {
  margin: 10px 0;
  color: #1e293b;
}

.download-card p {
  color: #64748b;
  line-height: 1.6;
  font-size: 15px;
}

.download-btn {
  margin-top: 18px;
  display: inline-block;
  padding: 12px 22px;
  background: #2563eb;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: 0.3s;
}

.download-btn:hover {
  background: #1d4ed8;
}

/* Marquee Part here =============================================*/
/* ================= MARQUEE ================= */
.marquee-wrapper {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: var(--white);
  padding: 10px 0;
  border-radius: 12px;
  margin-bottom: 25px;
  box-shadow: 0 6px 18px var(--shadow-blue);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeMove 20s linear infinite;
}

.marquee-track span {
  white-space: nowrap;
  font-size: 15px;
  font-weight: 500;
  padding-right: 50px;
}

/* Animation */
@keyframes marqueeMove {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}
.marquee-link {
  color: var(--white);
  font-weight: 600;
  text-decoration: underline;
  transition: 0.3s;
}

.marquee-link:hover {
  color: #e0e7ff;
}

/* Contact Page Here ================================= */
/* ================= CONTACT FORM ================= */
.contact-form-card {
  background: var(--white-soft);
  backdrop-filter: blur(8px);
}

/* Floating Labels */
.form-group {
  position: relative;
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 10px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: transparent;
  font-size: 14px;
  outline: none;
  color: var(--text-main);
}

/* Label */
.form-group label {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--text-muted);
  pointer-events: none;
  transition: 0.3s;
  background: var(--white-soft);
  padding: 0 5px;
}

/* Floating Effect */
.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
  top: -8px;
  font-size: 12px;
  color: var(--primary);
}

/* Focus Border */
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--shadow-blue-light);
}

/* ================= BUTTON ================= */
.contact-form-card h3 {
  margin-bottom: 20px;
}
.btn-send {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

/* Hover Effect */
.btn-send:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px var(--shadow-blue-hover);
}

/* Click Effect */
.btn-send:active {
  transform: scale(0.98);
}
