:root {
  --primary-color: #1b2d5a;
  --secondary-color: #f2b705;
}

body {
  font-family: 'Segoe UI', sans-serif;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.hero-section {
  height: 90vh;
  background: linear-gradient(rgba(27,45,90,.8), rgba(27,45,90,.8)),
  url('/assets/images/hero.jpg') center/cover no-repeat;
}

.btn-warning {
  background-color: var(--secondary-color);
  border: none;
}

.navbar-brand {
  letter-spacing: 1px;
}

.page-header {
  background: linear-gradient(rgba(27,45,90,.8), rgba(27,45,90,.8)),
  url('/assets/images/page-header.jpg') center/cover no-repeat;
  padding: 120px 0;
}

/* ============================
   CMSMASTERS-STYLE NAVBAR
============================ */

.main-navbar {
  background: rgba(27, 45, 90, 0.95);
  padding: 18px 0;
  transition: all 0.3s ease;
  z-index: 999;
}

.main-navbar.scrolled {
  padding: 10px 0;
  background: rgba(27, 45, 90, 0.98);
}

/* Brand */
.brand-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

/* Nav Links */
.main-navbar .nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  margin: 0 12px;
  position: relative;
  transition: color 0.3s ease;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
  color: #f2b705;
}

/* Underline hover effect (demo-style) */
.main-navbar .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: #f2b705;
  left: 50%;
  bottom: -6px;
  transition: all 0.3s ease;
}

.main-navbar .nav-link:hover::after {
  width: 100%;
  left: 0;
}

/* Dropdown */
.dropdown-menu {
  border: none;
  border-radius: 8px;
  padding: 12px 0;
}

.dropdown-item {
  font-weight: 500;
  padding: 10px 20px;
}

.dropdown-item:hover {
  background: #f2b705;
  color: #000;
}

/* Give Button */
.btn-give {
  background: #f2b705;
  color: #000;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.btn-give:hover {
  background: #ffd24d;
  transform: translateY(-1px);
}

/* Mobile tweaks */
@media (max-width: 991px) {
  .main-navbar {
    padding: 12px 0;
  }
  .main-navbar .nav-link {
    margin: 10px 0;
  }
}

/* ============================
   HERO VIDEO SECTION
============================ */
.hero-video-section {
  position: relative;
  width: 100%;
  height: 100vh; /* Full viewport height */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.video-wrapper iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  pointer-events: none; /* Buttons clickable */
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(27,45,90,0.6);
  z-index: 2;
}

.hero-video-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 20px;
  max-width: 1000px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

@media (max-width: 991px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
}

