/* ===============================
   International Conference Brand Setup
   =============================== */

/* Font Faces (Manual Load) */
@font-face {
  font-family: 'FiraSansExtraCondensed';
  src: url('../fonts/FiraSansExtraCondensed-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'FiraSansExtraCondensed';
  src: url('../fonts/FiraSansExtraCondensed-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'FiraSansExtraCondensed';
  src: url('../fonts/FiraSansExtraCondensed-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

/* =========================================================
   Brand Variables (From Logo) — Single-file production CSS
   ========================================================= */
:root {
  /* Brand Colors */
  --brand-primary: #0072E3;   /* Bright Blue (globe) */
  --brand-primary-rgb: 13,110,253; /* used for rgba() */
  --brand-secondary: #FF1493; /* Pink (Think Green text) */
  --brand-dark: #2E7D32;      /* Deep Green (leaves) */
  --brand-accent: #5DAE47;    /* Lighter Leaf Green */
  --brand-trunk: #5A2D24;     /* Tree Trunk Brown */
  --brand-brown: #a51313;     /* brand Brown */
  --brand-light: #f8f9fa;     /* Neutral Background */
  --brand-white: #ffffff;     /* Pure White */
  --brand-muted: #6c757d;     /* Muted Grey */
  --brand-primary-light: rgba(0, 114, 227, 0.1);
  --brand-focus-shadow: rgba(0, 114, 227, 0.35);

  /* Typography */
  --font-primary: 'FiraSansExtraCondensed', Arial, sans-serif;
  --font-size-base: 1rem;
  --font-size-lg: 1.25rem;
  --font-size-sm: 0.875rem;
  --line-height-base: 1.5;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 3rem;

  /* Effects */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-bold: 0 4px 20px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --transition: all 0.3s ease;
  --transition-fast: 0.2s ease-in-out;
  --transition-base: 0.3s ease-in-out;
}

/* =========================================================
   Global Resets & Defaults
   ========================================================= */
html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  -webkit-font-smoothing: antialiased;
  line-height: var(--line-height-base);
  background-color: var(--brand-light);
  color: var(--brand-dark);
  margin: 0;
  padding: 0;
  overflow-x: hidden !important;
}

a {
  text-decoration: none;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  display: block;
}

/* =========================================================
   Global Button Styles
   ========================================================= */
/* Base Button */
.btn {
  font-family: var(--font-primary);
  font-weight: 600;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.3;
  cursor: pointer;
  box-sizing: border-box;
  transition: var(--transition-base);
  -webkit-tap-highlight-color: transparent; /* remove mobile highlight */
}

/* Remove focus outline after click (mouse/touch), keep for keyboard */
.btn:focus {
  outline: none !important;
  box-shadow: none !important;
}
.btn:focus-visible {
  outline: 2px dashed var(--brand-primary);
  outline-offset: 3px;
}

/* Button Variants */

/* Brand Button (Gradient) */
.btn-brand {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand-primary));
  color: var(--brand-white) !important;
  padding: 0.5rem 1rem;
  border: none;
  box-shadow: var(--shadow-soft);
}
.btn-brand:hover,
.btn-brand:focus {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

/* Brand Outline */
.btn-brand-outline {
  background: var(--brand-white);
  color: var(--brand-primary);
  padding: calc(0.5rem - 2px) calc(1rem - 2px);
  border: 2px solid var(--brand-primary);
}
.btn-brand-outline:hover,
.btn-brand-outline:focus {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand-primary));
  color: var(--brand-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

/* Light */
.btn-light {
  background-color: var(--brand-light);
  color: var(--brand-dark);
  padding: 0.5rem 1rem;
  border: none;
}
.btn-light:hover,
.btn-light:focus {
  background-color: #e9f5ea;
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.btn-light:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Light Outline */
.btn-light-outline {
  background: transparent;
  color: var(--brand-white);
  padding: calc(0.5rem - 2px) calc(1rem - 2px);
  border: 2px solid var(--brand-white);
}
.btn-light-outline:hover,
.btn-light-outline:focus {
  background: var(--brand-white);
  color: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.btn-light-outline:active {
  transform: translateY(0);
  box-shadow: none;
}

/* =========================================================
   Utilities & Small Components
   ========================================================= */

/* Utility Text */
.text-primary   { color: var(--brand-primary) !important; }
.text-secondary { color: var(--brand-secondary) !important; }
.text-light     { color: var(--brand-white) !important; }

/* Utility Backgrounds */
.bg-primary {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand-primary));
  color: var(--brand-white);
}
.bg-secondary {
  background-color: var(--brand-secondary);
  color: var(--brand-white);
}
.shadow-soft { box-shadow: var(--shadow-soft); }
.shadow-bold { box-shadow: var(--shadow-bold); }

.text-brand { color: var(--brand-primary); }
.text-brown { color: var(--brand-brown); }

.section-title {
  font-size: 2rem !important;
  font-weight: 700;
  position: relative;
}
.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--brand-brown);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* =========================================================
   Forms: Compact Floating Labels + Inputs
   ========================================================= */
.form-floating {
  position: relative;
  margin-bottom: 0.5rem; /* tighter spacing between fields */
}

/* Compact inputs/selects */
.form-floating > .form-control,
.form-floating > .form-select,
.form-floating > textarea.form-control {
  height: 2.4rem !important;          /* fixed small height */
  min-height: 2.4rem !important;      /* override Bootstrap */
  padding: 0.35rem 0.65rem !important; /* slim padding */
  font-size: 0.9rem !important;
  line-height: 1.2 !important;
  border-radius: 0.4rem !important;
  border: 1px solid #ccc !important;
  box-sizing: border-box !important;
}

/* Allow textarea to grow, but start compact */
.form-floating > textarea.form-control {
  height: auto !important;
  min-height: 4rem !important;
  resize: vertical;
}

/* Label default state */
.form-floating > label {
  position: absolute;
  top: 50%;
  left: 0.75rem;
  transform: translateY(-52%);
  font-size: 1rem !important;
  line-height: 1 !important;
  color: #666 !important;
  background: #fff;
  padding: 0 0.25rem;
  pointer-events: none !important;
  transition: all 0.25s ease-in-out !important;
  height: auto !important;
}

/* Floating label states */
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select:focus ~ label,
.form-floating > .form-select:not([value=""]) ~ label,
.form-floating > textarea.form-control:focus ~ label,
.form-floating > textarea.form-control:not(:placeholder-shown) ~ label {
  top: -0.6rem;
  left: 0.55rem;
  font-size: 0.75rem !important;
  color: var(--brand-primary, #2e7d32);
  transform: none;
  background: #fff;
  padding: 0 0.25rem;
}

/* Remove Bootstrap’s built-in floating form padding (consistent spacing) */
.form-floating > .form-control,
.form-floating > .form-select,
.form-floating > textarea {
  padding-top: 0.35rem !important;
  padding-bottom: 0.35rem !important;
}

/* Inputs & Select brand focus */
.form-control,
.form-select {
  border: 1px solid #ccc !important;
  border-radius: 0.3rem !important;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--brand-primary, #2e7d32) !important;
  box-shadow: 0 0 6px rgba(46, 125, 50, 0.25) !important;
  outline: none !important;
}

/* Checkboxes & radios */
.form-check-input {
  border-radius: 0.25rem !important;
  cursor: pointer !important;
  border: 1px solid #ccc !important;
  transition: all 0.2s ease-in-out !important;
}
.form-check-input:focus {
  box-shadow: 0 0 6px rgba(46, 125, 50, 0.25) !important;
  border-color: var(--brand-primary, #2e7d32) !important;
  outline: none !important;
}
.form-check-input:checked {
  background-color: var(--brand-primary, #2e7d32) !important;
  border-color: var(--brand-primary, #2e7d32) !important;
}

/* =========================================================
   Small Image Card — gradient border
   ========================================================= */
.gradient-border {
  display: inline-block;
  padding: 4px; /* thickness of the gradient border */
  border-radius: 20%;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
}
.gradient-border img {
  display: block;
  width: 150px;
  height: 150px;
  border-radius: 20%;
  background: #fff; /* optional: keeps inside clean */
  object-fit: cover;
}

/* =========================================================
   Header & Navigation (Top-bar + Navbar + Offcanvas)
   ========================================================= */

/* Top Bar */
.top-bar {
  font-family: var(--font-primary);
  font-size: 0.92rem;
  background: rgba(0, 86, 179, 0.6); /* semi-transparent overlay */
  color: var(--brand-white);
  letter-spacing: 0.3px;
  padding: 6px 0;
  position: absolute;
  width: 100%;
  top:0 !important;
  z-index: 40;
  transition: background 0.3s ease;
}
.top-bar a {
  color: var(--brand-white);
  text-decoration: none;
  transition: color 0.3s ease;
}
.top-bar a:hover { color: var(--brand-light); }

.top-header-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  margin-left: 6px;
  transition: all 0.3s ease;
}
.top-header-social i {
  font-size: 14px;
  color: var(--brand-white);
  transition: color 0.3s ease;
}
.top-header-social:hover {
  background: var(--brand-light);
  transform: translateY(-2px);
}
.top-header-social:hover i { color: var(--brand-primary); }

/* NOTE: .visible is expected to be toggled by JS to show header/topbar */
.navbar,
.top-bar {
  display: none;
}
.navbar.visible,
.top-bar.visible { display: block; }

/* Navbar base */
.navbar {
  position: fixed;
  top: 40px; /* space for top-bar */
  width: 100%;
  padding: 1rem 0;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease, top 0.3s ease;
  z-index: 50;
}
.navbar.scrolled {
  top: 0;
  background: #fff;
  padding: 0.6rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-family: var(--font-primary);
  font-weight: 700;
  transition: height 0.3s ease;
}
.navbar-brand img {
  background: var(--brand-white);
  padding: 10px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.navbar-brand img:hover { transform: scale(1.05); }

@media (max-width: 768px) {
  .navbar-brand img {
    width: 60px;
    height: 60px;
    padding: 5px;
  }
}

.navbar-nav .nav-link {
  font-weight: 600;
  color: var(--brand-accent);
  transition: color 0.3s ease, transform 0.3s ease;
  padding: var(--space-sm) var(--space-md);
}
.navbar.scrolled .nav-link { color: var(--brand-dark); }
.navbar-nav .nav-link:hover {
  color: var(--brand-primary);
  transform: translateY(-2px);
}

/* Dropdown menu (modern) */
.dropdown-menu {
  font-size: 0.9375rem;
  font-family: var(--font-primary);
  border-radius: 12px;
  padding: 0.5rem 0;
  border: none;
  display: block;
  opacity: 0;
  visibility: hidden;
  min-width: 220px;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  background-color: var(--brand-white);
  backdrop-filter: blur(5px); /* subtle modern blur */
}
.dropdown:hover > .dropdown-menu,
.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu > li > a {
  display: block;
  padding: 12px 20px;
  font-size: 0.95rem;
  color: var(--brand-dark);
  transition: all 0.3s ease;
  border-radius: 8px;
}
.dropdown-menu > li > a:hover {
  background: var(--brand-primary);
  color: #fff;
  padding-left: 25px; /* subtle slide effect without overflow (keeps same look) */
  transform: none;
}
.dropdown-menu > li:last-child > a { border: none; }

.navbar-main .nav-link::after { display: none !important; }

/* Dropdown chevron rotation */
.dropdown-toggle > a .bi-chevron-down {
  transition: transform 0.3s ease;
  display: inline-block;
}
.dropdown-toggle:hover > a .bi-chevron-down { transform: rotate(180deg); }

/* Navbar toggler (branded) */
.navbar-toggler {
  border-radius: 6px;
  border: 2px solid var(--brand-primary);
  padding: 0.35rem 0.6rem;
  background-color: transparent;
  outline: none;
  box-shadow: none;
  transition: all 0.3s ease;
}
.navbar-toggler-icon {
  width: 1.5rem;
  height: 1.5rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(227,6,19,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}
.navbar-toggler:hover {
  background-color: rgba(227, 6, 19, 0.1);
}

/* Offcanvas (branded side nav) */
.offcanvas {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand-primary)) !important;
  color: var(--brand-white) !important;
  width: 270px !important; /* slimmer, not full */
  box-shadow: 4px 0 35px rgba(0, 0, 0, 0.25) !important;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0 !important;
  transition: transform 0.35s ease, opacity 0.35s ease !important;
  padding-top: var(--space-md) !important;
}

/* Offcanvas header & controls */
.offcanvas-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: var(--space-md) var(--space-lg) !important;
}
.offcanvas-header .btn-close {
  background-color: var(--brand-white) !important; /* white circle */
  border-radius: 50%;
  opacity: 1;
  padding: 0.5rem;
  filter: invert(0) !important;
  transition: var(--transition-fast);
}
.offcanvas-header .btn-close:hover {
  background-color: var(--brand-primary) !important; /* blue on hover */
  filter: invert(1) !important; /* makes "X" white */
}
.offcanvas-title {
  font-family: var(--font-primary) !important;
  font-weight: 700 !important;
  font-size: 1.25rem !important;
  color: var(--brand-light) !important;
  letter-spacing: 0.5px !important;
}

/* Offcanvas navigation items */
.offcanvas-body .nav-link {
  color: var(--brand-light) !important;
  font-weight: 600 !important;
  padding: 0.7rem 1rem !important;
  transition: var(--transition-base) !important;
  position: relative !important;
  border-radius: var(--radius-md) !important;
}
.offcanvas-body .nav-link::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  bottom: 0.3rem !important;
  height: 1px !important;
  width: 0 !important;
  background: var(--brand-light) !important;
  transition: width 0.3s ease !important;
}
.offcanvas-body .nav-link:hover {
  color: var(--brand-light) !important;
  background: rgba(var(--brand-light), 0.08) !important;
}
.offcanvas-body .nav-link:hover::before { width: 100% !important; }

/* Active state */
.offcanvas-body .nav-link.active {
  color: var(--brand-primary) !important;
  background: rgba(var(--brand-light), 0.15) !important;
}

/* Nested collapses (mobile) */
.offcanvas-body .collapse .nav-link {
  padding-left: 2rem !important;
  font-weight: 500 !important;
  font-size: 0.95rem !important;
}
.offcanvas-body .collapse.show .nav-link { color: var(--brand-light) !important; }

/* Collapse icon rotation */
.offcanvas-body [data-bs-toggle="collapse"] i {
  transition: transform 0.3s ease !important;
}
.offcanvas-body .collapse.show + i { transform: rotate(180deg) !important; }

/* =========================================================
   Small Accessibility & Responsive tweaks
   (kept visual behavior identical; only small structural fixes)
   ========================================================= */

/* Visible keyboard focus for links (good for accessibility) */
a:focus-visible {
  outline: 2px dashed var(--brand-primary);
  outline-offset: 2px;
}

/* Ensure dropdown max width doesn't overflow on very small screens */
@media (max-width: 420px) {
  .dropdown-menu { min-width: 180px; }
  .gradient-border img { width: 120px; height: 120px; }
}

/* Keep layout touch-friendly on small screens */
@media (max-width: 768px) {
  .navbar-nav .nav-link { padding: 0.4rem 0.8rem; font-size: 0.95rem; }
  .top-bar { font-size: 0.8rem; padding: 4px 0; }
}

/* =========================
   Hero Slider Styles
========================= */
.hero-slider {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  padding-top: 0;
}

/* Slide */
/* Default (desktop & large screens) */
.hero-slider .hero-slide {
  width: 100%;
  height: 100vh; /* fallback */
  height: 100dvh; /* correct on real devices */
  background: center / cover no-repeat;
  display: flex !important;
  align-items: flex-end;
  justify-content: center;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Content */
.hero-content {
  max-width: 800px;
  margin: 0 auto;
  color: #fff;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.slick-current .hero-content {
  opacity: 1;
  transform: translateY(0);
}

/* Headline */
.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

/* Sub-text */
.hero-content p {
  font-size: 1.15rem;
  line-height: 1.6;
  opacity: 0.95;
  margin-bottom: 1.8rem;
}

/* Buttons */
.hero-content .btn {
  padding: 14px 36px;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: all 0.3s ease;
}

.hero-content .btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  background: #0046a0;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.4rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}
@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 1.9rem;
  }
  .hero-content p {
    font-size: 0.95rem;
  }
  .hero-content .btn {
    padding: 12px 28px;
    font-size: 0.95rem;
  }
}

/* Mobile: show full image with contain */
@media (max-width: 576px) {
  .hero-slider .hero-slide {
    background-size: contain; /* fit full image */
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh; /* fallback */
    height: 45dvh; /* consistent on real mobile */
  }
}

/* =========================
   Highlights Section
   ========================= */
.highlights-section {
  margin-top: -120px; /* overlap with hero */
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center; /* center horizontally */
}

.highlights-wrapper {
  position: relative;
  overflow: hidden;
  padding: 25px 20px;
  max-width: 1100px; /* keeps items centered, not full width */
  width: 100%;
  margin: 0 auto;
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  color: #fff;
  text-align: center;

  backdrop-filter: blur(10px);
  background: linear-gradient(135deg, var(--brand-dark), var(--brand-primary));
}


/* Animated gradient sheen */
.highlights-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.08) 50%,
    transparent 70%
  );
  animation: shine 7s infinite linear;
  pointer-events: none;
}

@keyframes shine {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* =========================
   Highlight Item
   ========================= */
.highlight-item {
  padding: 25px 15px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  transition: transform 0.35s ease, background 0.35s ease;
  position: relative;

}

.highlight-item:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,0.08);
}

/* Icon Circle with glowing pulse */
.highlight-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--brand-white);
  border: 2px solid var(--font-primary);

  color: var(--brand-primary);
  font-size: 1.7rem;
  margin: 0 auto 15px auto;
  transition: all 0.35s ease;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25),
              inset 0 2px 6px rgba(255,255,255,0.25);
  position: relative;
  z-index: 1;
}

.highlight-icon::after {
  content: "";
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(var(--brand-primary-rgb),0.25) 0%,
    rgba(var(--brand-primary-rgb),0) 70%
  );
  filter: blur(12px);
  opacity: 0.6;
  animation: pulse-glow 4s ease-in-out infinite;
  z-index: -1;
}

@keyframes pulse-glow {
  0%   { transform: scale(0.95); opacity: 0.5; }
  50%  { transform: scale(1.2); opacity: 0.35; }
  100% { transform: scale(0.95); opacity: 0.6; }
}

.highlight-item:hover .highlight-icon {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
  border-color: rgba(255,255,255,0.4);
  color: #fff;
  transform: scale(1.15);
  box-shadow: 0 8px 22px rgba(0,0,0,0.35),
              inset 0 2px 8px rgba(255,255,255,0.35);
}

/* Titles & Text */
.highlight-item h6 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.highlight-item p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 12px;
}

/* Responsive */
@media (max-width: 767px) {
  .highlights-section {
    margin-top: -80px;
  }
}

.registration-section {
  position: relative;
  padding: 12rem 1rem 4rem !important;
  background: url("../img/webs/reg-bg.png") no-repeat center center/cover;
}

.register-caption h3 {
  font-size: 1.6rem;
  color: var(--brand-primary, #137d4b);
}

.register-caption p {
  font-size: 1.2rem;
  line-height: 1.6;
}

.register-form {
  background: #fff;
}

.register-form h2 {
  color: var(--brand-primary);
  font-weight: 600;
}

.login-section {
  position: relative;
  padding: 12rem 1rem 4rem !important;
  background: url("../img/webs/reg-bg.png") no-repeat center center/cover;
}

.login-image img {
  border-radius: var(--radius-lg);
  max-height: 500px;
  object-fit: cover;
}

.login-caption p {
  font-size: 1.1rem;
  line-height: 1.5;
  max-width: 380px;
  margin: 0 auto;
}

.login-form h2 {
  color: var(--brand-primary);
  text-align: center;
  margin-bottom: 1.5rem;
}



.footer-section {
  background: url("../img/webs/footer-world-map.png") center center/cover no-repeat;
  position: relative;
  z-index: 1;
  padding: 6rem 0;
  padding-top: 12rem!important;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

/* Overlay Layer */
.footer-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.85) 0%,    /* deep dark overlay */
    rgba(0, 0, 0, 0.75) 40%,
    rgba(0, 86, 179, 0.85) 100%  /* brand blue/dark blend */
  );
  z-index: -1;
}

/* Footer Content */
.footer-section .footer-content {
  position: relative;
  z-index: 2; /* stay above overlay */
}


.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
}

.footer-section a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #fff;
}

.footer-divider {
  border-color: rgba(255,255,255,0.4);
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-left: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #fff;
  color: var(--brand-primary);
  transform: translateY(-3px);
}

.enquiry-box {
  border: 1px solid #e5e5e5;
  transition: all 0.3s ease;
  border-radius: 20px;
}
.enquiry-box:hover {
  border-color: var(--brand-color, #43a047);
  transform: translateY(-2px);
}

#help-chat {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  padding: 10px 16px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 999;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

#help-chat i {
  font-size: 1.3rem;
}

#help-chat:hover {
  background: #1ebe5d;
  transform: translateY(-3px);
  animation: none; /* stop pulse on hover */
}

/* Mobile: only show icon */
@media (max-width: 767px) {
  #help-chat {
    padding: 12px;
    border-radius: 50%;
    justify-content: center;
    width: 50px;
    height: 50px;
  }
  #help-chat .help-text {
    display: none;
  }
}

/* Pulse animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Helpline Label */
.helpline-label {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Contact Buttons */
.footer-contacts .contact-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--brand-primary-light);
  color: var(--brand-primary);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.3rem; /* larger number */
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  text-decoration: none;
}

.footer-contacts .contact-btn i {
  font-size: 1.5rem;
  color: var(--brand-primary);
}

.footer-contacts .contact-btn:hover {
  background: var(--brand-primary);
  color: var(--brand-white);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

.footer-contacts .contact-btn:hover i {
  color: var(--brand-white);
}


#backToTop {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 999;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand-primary));
  color: #fff;
  border: none;
  font-size: 1.5rem; /* make arrow icon larger */
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
}

#backToTop:hover {
  transform: translateY(-4px);
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
}

/* =========================
   Branded Bootstrap Modals
   ========================= */
/* Remove modal backdrop */
.modal-backdrop {
  display: none !important;
  background: none !important;
}

/* Optional: prevent body from shifting (Bootstrap normally adds padding) */
body.modal-open {
  overflow: auto !important;
  padding-right: 0 !important;
}

.modal-content {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand-primary));
  border-radius: 18px;
  color: #fff;
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
  border: none;
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.modal-header {
  border-bottom: none;
  padding-bottom: 0;
}

.modal-header .modal-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.modal-header .btn-close {
  filter: invert(1) brightness(2); /* make close button white */
  opacity: 0.8;
  transition: transform 0.25s ease;
}

.modal-header .btn-close:hover {
  opacity: 1;
  transform: scale(1.2);
}

.modal-body {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
}

/* Admin Dashboard Style */

/* Push main content below fixed navbar + top-bar */
main {
  padding-top: 180px; /* 40px top-bar + ~80px navbar */
}

@media (max-width: 768px) {
  main {
    padding-top: 100px;
  }
}


.dashboard-section { padding-top:100px; }
.card { transition: transform .3s ease, box-shadow .3s ease; }
.gradient-card { border-radius:.5rem; background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark)); }
.hover-up:hover { transform: translateY(-4px); box-shadow:0 10px 25px rgba(0,0,0,0.1); }

/* Sparkline canvas */
.gradient-card canvas { display:block; width:100% !important; height:50px !important; }

/* Larger charts */
#userChart, #paymentChart { width:100% !important; height:192px !important; }

/* Table styling */
#recentActivitiesTable td, #recentActivitiesTable th { vertical-align: middle; padding:.65rem; }

/* Badge styling */
.badge { font-size:.75rem; padding:.35em .5em; border-radius:.25rem; text-transform: uppercase !important; }

/* Light badges */
.badge.bg-success-light { background-color:#d4edda !important; color:#155724 !important; }
.badge.bg-info-light { background-color:#d1ecf1 !important; color:#0c5460 !important; }
.badge.bg-danger-light { background-color:#f8d7da !important; color:#721c24 !important; }
.badge.bg-warning-light { background-color:#fff3cd !important; color:#856404 !important; }
.badge.bg-secondary-light { background-color:#e2e3e5 !important; color:#6c757d !important; }

.heading-border {
    width: 6px;              /* thickness of the left bar */
    height: 36px;            /* height matching the text */
    border-radius: 4px;      /* modern rounded edge */
    background: linear-gradient(180deg, #28a745, #007bff); /* gradient */
}

.dashboard-title {
    font-weight: 600;
    font-size: 1.75rem;
}

/* --- Review Step Tracker --- */
#reviewTable th,
#reviewTable td {
  text-align: center;
  vertical-align: middle;
}

/* Step circle */
.step {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #dee2e6;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: bold;
  transition: all 0.3s ease;
}
.step.active {
  background-color: #0d6efd;
  color: #fff;
}

/* Connecting line */
.line {
  height: 3px;
  width: 40px;
  background-color: #dee2e6;
  transition: all 0.3s ease;
}
.line.active {
  background-color: #0d6efd;
}

/* Center the steps container */
#reviewTable td .d-flex.align-items-center {
  justify-content: center !important; /* center horizontally */
}

.flow-step.completed { border-top: 4px solid #28a745; }      /* Approved */
.flow-step.pending { border-top: 4px solid #ffc107; }        /* Pending */
.flow-step.under-review { border-top: 4px solid #17a2b8; }  /* Under Review */
.flow-step.rejected { border-top: 4px solid #dc3545; }       /* Rejected */

