/* ========== ROOT VARIABLES ========== */
:root {
  --primary-color: #854400;
  --primary-dark: #0d3d15;
  --primary-light: #2d8a42;
  --secondary-color: #c9a227;
  --secondary-dark: #a88820;
  --text-dark: #1a1a1a;
  --text-light: #2a2a2a;
  --text-muted: #999999;
  --bg-light: #f8f9fa;
  --bg-cream: #fdfbf7;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;
}

.main-navigation .bi::before,
[class^="bi-"]::before,
[class*=" bi-"]::before {
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -3px !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.bi::before,
[class^="bi-"]::before,
[class*=" bi-"]::before {
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -4px !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/*filament css*/

.filament-tiptap-grid,
.filament-tiptap-grid-builder {
  display: grid;
  gap: 1rem;
  box-sizing: border-box;
  align-items: center;
}

.filament-tiptap-grid[type^="asymetric"] {
  grid-template-columns: 1fr;
  grid-template-rows: auto;
}

table {
  width: auto !important;
  box-shadow: 0 0 10px #ffd9d6;
  border: 1px solid #e7b7b3;
}

tr:nth-child(odd) {
  background: #fbf3e4;
  /* soft cream from your header */
}

table th,
table td {
  padding: 10px;
  border: 1px solid #919191;
}

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

/*filament css*/
.py-5 {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

.color {
  font-size: 45px;
  color: var(--primary-color);
  margin-bottom: 0px;
  font-weight: 700;
  background: linear-gradient(135deg, #542b00 0%, #ff8200 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========== BASE STYLES ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  /* Added min-width to prevent compression */
  min-width: 320px;
  font-size: 18px;
  letter-spacing: 0.5px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Spectral", serif;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  /* Added display block to fix image spacing */
  display: block;
}

/* Added container fix for proper width */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 15px;
  z-index: 999;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

@keyframes borderAnimation {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.pulse-animation {
  animation: pulse 1.5s infinite;
}

.float-animation {
  animation: float 3s ease-in-out infinite;
}

.bounce-animation {
  animation: bounce 2s infinite;
}

/* ========== HEADER BANNER SECTION ========== */
.header-banner {
  /* background-image: url("asset/logo/header-bg2.jpg"); */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background: linear-gradient(135deg, #f7f7f7 0%, #f7f7f7 100%);
  position: relative;
  z-index: 1001;
  /* Added width 100% */
  width: 100%;
  display: none;
}

.header-border-animation {
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
  background-size: 200% 100%;
  animation: borderAnimation 3s linear infinite;
}

.logo-link {
  display: inline-block;
  float: left;

}

.logo-img {
  height: 120px;

  object-fit: cover;
}

/* .logo-img:hover {
  transform: scale(1.05) rotate(5deg);
  box-shadow: var(--shadow);
} */

.org-name {
  font-size: 45px;
  color: var(--primary-color);
  margin-bottom: 0px;
  font-weight: 700;
  background: linear-gradient(135deg, #06266c 0%, #0066eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: left;
}

.org-location {
  font-size: 21px;
  color: #9d5500;
  text-align: center;
  font-family: "Outfit", sans-serif;
  letter-spacing: 0.5px;
}

.org-location1 {
  font-size: 18px;
  color: #4a4a4a;
  text-align: center;
  font-family: "Outfit", sans-serif;
  letter-spacing: 0.5px;
}

.header-contact {
  display: flex;
  align-items: center;
}

.header-phone {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  background: rgba(26, 95, 42, 0.1);
  transition: var(--transition);
}

.header-phone:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

.header-email {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--secondary-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.header-email:hover {
  background: var(--primary-color);
  transform: rotate(15deg) scale(1.1);
}

.mobile-menu-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--primary-color);
  color: var(--white);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: var(--transition);
  float: right;
  margin-top: 35px;
}

.mobile-menu-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

/* ========== NAVIGATION MENU SECTION ========== */
.main-navigation {

  background: linear-gradient(180deg, #fff1d6 0%, #ffffff 100%);
  /* background: linear-gradient(180deg, #f7f7f7 0%, #f7f7f7 100%); */
  z-index: 1000;
  transition: var(--transition);
  /* Added width 100% */
  width: 100%;
  height: 122px;
  padding: 10px 0px;
}

.main-navigation.scrolled {
  /* background: linear-gradient(180deg, #2363ef 0%, #052e7b 100%); */
  box-shadow: var(--shadow-lg);
}

.nav-wrapper {
  padding-top: 30px;

  /* Added flex properties to ensure proper alignment */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main-menu {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  /* Added flex-wrap nowrap to keep menu in one line */
  flex-wrap: nowrap;
}

.main-menu>li {
  position: relative;
  /* Added flex-shrink 0 to prevent items from shrinking */
  flex-shrink: 0;
}

.main-menu>li>a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  /* Reduced padding for better fit */
  padding: 1rem 7px;
  color: #303030;
  /* Reduced font size slightly */
  font-size: 18px;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  /* Added white-space nowrap */
  white-space: nowrap;
}

.main-menu>li>a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: #ffd653;
  transition: var(--transition);
  transform: translateX(-50%);
}

.main-menu>li>a:hover::after,
.main-menu>li:hover>a::after {
  width: 80%;
}

.main-menu>li>a:hover,
.main-menu>li:hover>a {
  color: #0d5829;
}

.main-menu>li>a i {
  font-size: 0.7rem;
  transition: var(--transition);
}

.main-menu>li:hover>a i {
  transform: rotate(180deg);
}

/* More Menu Button */
.more-menu-btn {
  background: rgb(0 94 31 / 19%);
  color: #303030;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  /* Added flex-shrink 0 */
  flex-shrink: 0;
  white-space: nowrap;
}

.more-menu-btn:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-2px);
}

/* Submenu Styles */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 12px 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: var(--transition);
  z-index: 1001;
  border-top: 3px solid #ffd653;
}

.has-submenu:hover>.submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu li {
  position: relative;
  opacity: 0;
  transform: translateX(-10px);
  animation: fadeInLeft 0.3s forwards;
}

.has-submenu:hover .submenu li {
  opacity: 1;
  transform: translateX(0);
}

.has-submenu:hover .submenu li:nth-child(1) {
  animation-delay: 0.05s;
}

.has-submenu:hover .submenu li:nth-child(2) {
  animation-delay: 0.1s;
}

.has-submenu:hover .submenu li:nth-child(3) {
  animation-delay: 0.15s;
}

.has-submenu:hover .submenu li:nth-child(4) {
  animation-delay: 0.2s;
}

.has-submenu:hover .submenu li:nth-child(5) {
  animation-delay: 0.25s;
}

.has-submenu:hover .submenu li:nth-child(6) {
  animation-delay: 0.3s;
}

.has-submenu:hover .submenu li:nth-child(7) {
  animation-delay: 0.35s;
}

.has-submenu:hover .submenu li:nth-child(8) {
  animation-delay: 0.4s;
}

.has-submenu:hover .submenu li:nth-child(9) {
  animation-delay: 0.45s;
}

.has-submenu:hover .submenu li:nth-child(10) {
  animation-delay: 0.5s;
}

.submenu li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 1.5rem;
  color: var(--text-dark);
  font-size: 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.submenu li:last-child a {
  border-bottom: none;
  border-radius: 0 0 12px 12px;
}

.submenu li a:hover {
  background: linear-gradient(90deg, rgba(26, 95, 42, 0.1) 0%, transparent 100%);
  color: var(--primary-color);
  padding-left: 2rem;
}

/* Nested Submenu */
.submenu-right {
  position: absolute;
  top: 0;
  left: 100%;
  border-radius: 12px;
  border-top: 3px solid var(--secondary-color);
}

.submenu .has-submenu:hover>.submenu-right {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ========== OFFCANVAS MOBILE MENU ========== */
.offcanvas {
  max-width: 420px;
  background: linear-gradient(180deg, #282828 0%, #76797e 100%);
}

.offcanvas-header {
  background: rgba(0, 0, 0, 0.2);
  padding: 1.25rem;
}

.offcanvas-title {
  color: var(--white);
  font-family: "Spectral", serif;
}

.offcanvas-header small {
  color: rgba(255, 255, 255, 0.7);
}

.offcanvas-body {
  padding: 1rem;
}

.mobile-menu-wrapper {
  max-height: calc(100vh - 250px);
  overflow-y: auto;
}

.mobile-menu-wrapper::-webkit-scrollbar {
  width: 5px;
}

.mobile-menu-wrapper::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-wrapper::-webkit-scrollbar-thumb {
  background: var(--secondary-color);
  border-radius: 10px;
}

.mobile-menu li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu>li>a {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0.875rem 0;
  color: var(--white);
  font-size: 18px;
  transition: var(--transition);
}

.mobile-menu>li>a:hover {
  color: var(--secondary-color);
  padding-left: 0.5rem;
}

.toggle-submenu {
  cursor: pointer;
  padding: 0.5rem;
  transition: var(--transition);
  color: var(--secondary-color);
}

.mobile-submenu {
  display: none;
  padding-left: 1rem;
  background: rgba(0, 0, 0, 0.2);
  margin: 0 -1rem;
  padding: 0.5rem 1rem 0.5rem 2rem;
  border-radius: 8px;
}

.mobile-submenu.show {
  display: block;
  animation: fadeInDown 0.3s ease;
}

.mobile-submenu li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-submenu li a {
  padding: 0.625rem 0;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
}

.mobile-submenu li a:hover {
  color: var(--secondary-color);
}

.mobile-contact {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
}

.mobile-contact i {
  color: var(--secondary-color);
}

.mobile-contact .social-icons {
  display: flex;
  gap: 0.75rem;
}

.mobile-contact .social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mobile-contact .social-icons a:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
}

/* ========== HERO SECTION ========== */
.hero-section {
  position: relative;
  /* Added width 100% */
  width: 100%;
}

.hero-section .carousel-item {
  height: 500px;
  position: relative;
}

.hero-section .carousel-item img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

/* .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(13, 61, 21, 0.8) 0%, rgba(26, 95, 42, 0.6) 50%, rgba(0, 0, 0, 0.4) 100%);
  z-index: 1;
} */

.hero-section .carousel-caption {
  bottom: 50%;
  transform: translateY(50%);
  text-align: center;
  z-index: 2;
  padding-bottom: 100px;
  /* Added left and right positioning */
  left: 5%;
  right: 5%;
}

.hero-badge {
  display: inline-block;
  background: var(--secondary-color);
  color: var(--white);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: pulse 2s infinite;
}

.hero-section .carousel-caption h2 {
  font-size: 3.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease;
  color: var(--white);
}

.hero-section .carousel-caption p {
  font-size: 1.25rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: var(--white);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-section .btn-primary {
  background: var(--secondary-color);
  border: none;
  padding: 1rem 2.5rem;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
  color: var(--white);
}

.hero-section .btn-primary:hover {
  background: var(--secondary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(201, 162, 39, 0.4);
}

.hero-section .btn-outline-light {
  border: 2px solid var(--white);
  padding: 0.95rem 2.5rem;
  font-weight: 600;
  border-radius: 50px;
  color: var(--white);
  background: transparent;
}

.hero-section .btn-outline-light:hover {
  background: var(--white);
  color: var(--primary-color);
  transform: translateY(-3px);
}

.carousel-control-prev,
.carousel-control-next {
  width: 60px;
  height: 60px;
  background: #000000a3;
  border-radius: 30%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.9;
  transition: var(--transition);
}

.carousel-control-prev {
  left: 30px;
}

.carousel-control-next {
  right: 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: var(--secondary-color);
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 5px;
  transition: var(--transition);
}

.carousel-indicators button.active {
  width: 35px;
  border-radius: 20px;
  background: var(--secondary-color);
}

/* Hero Stats */
.hero-stats {
  position: relative;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  transform: translateY(50%);
  /* Added padding */
  padding: 0 15px;
}

.hero-stat-item {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  /* Added height 100% */
  height: 100%;
}

.hero-stat-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.hero-stat-item i {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
  display: block;
}

.hero-stat-item .stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: "Spectral", serif;
}

.hero-stat-item .stat-text {
  display: block;
  font-size: 18px;
  color: var(--text-light);
  margin-top: 0.25rem;
}

/* ========== SECTION STYLES ========== */
section {
  /* Added width 100% to all sections */
  width: 100%;
}

.section-title {
  margin-bottom: 2rem;
}

.section-title .subtitle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--secondary-color);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.section-title .subtitle i {
  font-size: 1.5rem;
}

.section-title h2 {
  font-size: 2.75rem;
  color: var(--primary-dark);
  position: relative;
  display: inline-block;
}

.section-title.text-center .subtitle,
.section-title.text-center h2 {
  display: block;
}

/* ========== ABOUT SECTION ========== */
.about-section {
  background: #fff9f2;
  margin-top: 180px !important;
  position: relative;
  overflow: hidden;
}

.about-image-wrapper {
  position: relative;
  padding: 20px;
}

.about-image-wrapper .main-img {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  /* Added width 100% */
  width: 100%;
  height: auto;
}

.about-image-wrapper .floating-img {
  position: absolute;
  bottom: 0;
  right: -20px;
  border-radius: 15px;
  border: 5px solid var(--white);
  box-shadow: var(--shadow);
  z-index: 3;
  animation: float 3s ease-in-out infinite;
  max-width: 250px;
}

.experience-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 1.5rem 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  z-index: 4;
  animation: pulse 2s infinite;
}

.experience-badge .years {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  font-family: "Spectral", serif;
  line-height: 1;
}

.experience-badge .text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.25rem;
}

.shape-circle {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 20px solid rgba(26, 95, 42, 0.1);
  border-radius: 50%;
  bottom: -50px;
  left: -50px;
  z-index: 1;
}

.shape-dots {
  position: absolute;
  width: 100px;
  height: 100px;
  background-image: radial-gradient(var(--secondary-color) 2px, transparent 2px);
  background-size: 15px 15px;
  top: 50px;
  right: 0;
  z-index: 1;
  opacity: 0.5;
}

.about-content .lead {
  font-size: 20px;
  color: var(--primary-dark);
  font-weight: 500;
  margin-bottom: 1rem;
}

.about-content .btn-primary {
  background: #884a07 !important;
  border: navajowhite;
}

.about-content .btn-primary:hover {
  background: #502900 !important;
  border: navajowhite;
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.about-features {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
}

.feature-item i {
  color: var(--primary-color);
  font-size: 1.25rem;
}

.feature-item span {
  font-size: 0.95rem;
  font-weight: 500;
}

/* ========== VISION & MISSION SECTION ========== */
.vision-mission-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  position: relative;
  overflow: hidden;
}

.vision-mission-section .section-title h2 {
  color: var(--white);
}


.director-content a,
.mission-card a {
  color: #033d16;
  font-weight: 600;
}

.director-content a:hover,
.mission-card a:hover {
  color: #6d3501;
  font-weight: 700;
}

.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.floating-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}

.floating-shapes .shape-1 {
  width: 300px;
  height: 300px;
  background: var(--white);
  top: -100px;
  left: -100px;
  animation: float 6s ease-in-out infinite;
}

.floating-shapes .shape-2 {
  width: 200px;
  height: 200px;
  background: var(--secondary-color);
  bottom: -50px;
  right: 10%;
  animation: float 8s ease-in-out infinite reverse;
}

.floating-shapes .shape-3 {
  width: 150px;
  height: 150px;
  background: var(--white);
  top: 50%;
  right: -50px;
  animation: float 5s ease-in-out infinite;
}

.vm-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2.5rem;
  color: var(--white);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.vm-card:hover {
  transform: translateY(-10px);
  background: rgb(255 242 217);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.vm-card .card-decoration {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--secondary-color);
  opacity: 0.1;
  bottom: -30px;
  right: -30px;
  transition: var(--transition);
}

.vm-card:hover .card-decoration {
  transform: scale(3);
  opacity: 0.2;
}

.vm-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.vm-card:hover .vm-icon {
  transform: rotateY(180deg);
}

.vm-icon i {
  font-size: 2rem;
  color: var(--white);
}

.vm-card h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.vm-card p {
  opacity: 0.9;
  line-height: 1.8;
  font-size: 18px;
}

/* ========== DIRECTOR SECTION ========== */
.director-section {
  background: var(--white);
  position: relative;
}

.director-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.director-image-wrapper img {
  width: 100%;
  transition: var(--transition-slow);
}

.director-image-wrapper:hover img {
  transform: scale(1.05);
}

.director-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 2rem 1.5rem 1.5rem;
  color: var(--white);
}

.director-info h5 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.director-info p {
  font-size: 18px;
  opacity: 0.8;
  margin: 0;
}

.director-content .section-title {
  margin-bottom: 1rem;
}

.message-quote {
  position: relative;
  padding: 2rem;
  background: var(--bg-light);
  border-radius: 20px;
  border-left: 5px solid var(--secondary-color);
  margin-top: 1.5rem;
}

.quote-icon {
  position: absolute;
  top: -15px;
  left: 20px;
  font-size: 4rem;
  color: var(--secondary-color);
  opacity: 0.3;
}

.message-quote p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-dark);
  /* font-style: italic; */
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
}

.message-quote p:last-child {
  margin-bottom: 0;
}

.director-signature {
  margin-top: 1.5rem;
}

.signature-img {
  max-width: 150px;
  opacity: 0.7;
}

/* ========== PROGRAMMES SECTION ========== */
.programmes-section {
  background: linear-gradient(90deg, rgb(255 255 255 / 13%) 0%, rgb(255 255 255 / 25%) 35%, rgb(255 255 255 / 0%) 100%) center bottom / cover no-repeat, url(./logo/header-bg3.jpg) !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

.programme-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.programme-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-lg);
}

.programme-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.programme-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.programme-card:hover .programme-image img {
  transform: scale(1.1);
}

.programme-icon {
  position: absolute;
  bottom: -25px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  z-index: 2;
  transition: var(--transition);
}

.programme-card:hover .programme-icon {
  transform: rotate(10deg) scale(1.1);
}

.programme-icon i {
  font-size: 1.5rem;
  color: var(--white);
}

.programme-content {
  padding: 2rem 1.5rem 1.5rem;
}

.programme-content h4 {
  font-size: 1.25rem;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.programme-content p {
  color: var(--text-light);
  font-size: 18px;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.programme-list {
  margin-bottom: 1rem;
}

.programme-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.programme-list li i {
  color: var(--secondary-color);
  font-size: 18px;
}

.programme-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 18px;
  transition: var(--transition);
}

.programme-link:hover {
  color: var(--secondary-color);
  gap: 0.75rem;
}

/* ========== NEWS & EVENTS SECTION ========== */
.news-events-section {
  background: var(--white);
}

.news-slider-wrapper {
  position: relative;
  padding: 0 60px;
}

.news-slider-container {
  overflow: hidden;
}

.news-slider {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-item {
  flex: 0 0 25%;
  padding: 0 12px;
  box-sizing: border-box;
}

.news-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.news-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.news-image {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.news-card:hover .news-image img {
  transform: scale(1.15);
}

.news-date {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: var(--primary-color);
  color: var(--white);
  padding: 0.4rem 18px;
  border-radius: 25px;
  font-size: 0.75rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.news-content {
  padding: 1.25rem;
}

.news-category {
  display: inline-block;
  background: linear-gradient(135deg, rgba(26, 95, 42, 0.1) 0%, rgba(26, 95, 42, 0.05) 100%);
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
}

.news-content h5 {
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  line-height: 1.4;
  transition: var(--transition);
}

.news-card:hover .news-content h5 {
  color: var(--primary-color);
}

.news-content p {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--secondary-color);
  font-size: 18px;
  font-weight: 600;
  transition: var(--transition);
}

.news-link:hover {
  color: var(--primary-color);
  gap: 0.75rem;
}

/* News Navigation Buttons */
.news-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
  box-shadow: var(--shadow);
}

.news-nav-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-50%) scale(1.1);
}

.news-nav-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
}

.news-nav-btn:disabled:hover {
  transform: translateY(-50%);
}

.news-nav-btn i {
  font-size: 1.5rem;
}

.news-prev-btn {
  left: 0;
}

.news-next-btn {
  right: 0;
}

/* ========== GALLERY SECTION ========== */
.gallery-section {
  background: #d7d7d733;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;

  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery-title h4,
.gallery-title {
  font-size: 1.25rem;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  margin-top: 20px;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 95, 42, 0.9) 0%, rgba(201, 162, 39, 0.8) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  transition: var(--transition);
}

.gallery-overlay i {
  font-size: 2rem;
  color: var(--white);
  transform: scale(0);
  transition: var(--transition);
}

.gallery-overlay span {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
  transform: scale(1);
}

.gallery-item:hover .gallery-overlay span {
  transform: translateY(0);
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.15);
}

/* Gallery Modal */
#galleryModal .modal-content {
  background: transparent;
  border: none;
}

#galleryModal .modal-dialog {
  max-width: 800px;
}

#galleryModalImg {
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

/* ========== CONTACT SECTION ========== */
.contact-section {
  background: #fff;
}

.contact-info .lead {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.contact-details {
  margin-top: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.contact-item:hover {
  transform: translateX(10px);
}

.contact-icon {
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-item:hover .contact-icon {
  transform: rotate(10deg);
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
}

.contact-item h6 {
  margin-bottom: 0.25rem;
  color: var(--text-dark);
  font-size: 1rem;
}

.contact-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-light);
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.25rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--secondary-color);
  color: var(--white);
  transform: translateY(-5px) rotate(10deg);
}

.contact-form-wrapper {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.contact-form .form-control {
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 1rem;
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--bg-light);
}

.contact-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(26, 95, 42, 0.1);
  background: var(--white);
}

.contact-form .form-floating label {
  color: var(--text-light);
}

.btn-read-more {
  background: linear-gradient(135deg, #c5792b 0%, #c5792b 100%);
  padding: 6px 15px;
  font-weight: 600;
  border-radius: 12px;
  transition: var(--transition);
  color: var(--white);
  border: none !important;
}

.view-all-news-btn {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  border: none;
  padding: 6px 15px;
  font-weight: 600;
  border-radius: 12px;
  transition: var(--transition);
  color: var(--white);
}

.contact-form .btn-primary,
.view-all-btn {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  border: none;
  padding: 10px 25px;
  font-weight: 600;
  border-radius: 12px;
  transition: var(--transition);
  color: var(--white);
}

.contact-form .btn-primary:hover,
.view-all-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(26, 95, 42, 0.3);
}

/* ========== FOOTER SECTION ========== */
.footer-section {
  background: linear-gradient(135deg, #542b00 0%, #c5792b 100%);
  color: var(--white);
  position: relative;
  padding-top: 100px;
}

.footer-wave {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
}

.footer-wave svg {
  display: block;
  width: 100%;
  height: auto;
}

.footer-section .top-footer {
  padding-top: 3rem;
}

.footer-logo {
  height: 60px;
  width: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--secondary-color);
}

.footer-about h5 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-about p {
  opacity: 0.8;
  font-size: 18px;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--secondary-color);
  transform: translateY(-3px) rotate(10deg);
}

.footer-section h5 {
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer-section h5::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--secondary-color);
  border-radius: 3px;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgb(255 255 255);
  font-size: 18px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a i {
  font-size: 0.7rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
  font-weight: 600;
}

.footer-links a:hover i {
  transform: translateX(5px);
}

.newsletter-form .form-control {
  border: none;
  border-radius: 12px 0 0 12px;
  padding: 18px 1rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.newsletter-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .form-control:focus {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: none;
}

.newsletter-form .btn-primary {
  background: var(--secondary-color);
  border: none;
  border-radius: 0 12px 12px 0;
  padding: 18px 1.25rem;
}

.newsletter-form .btn-primary:hover {
  background: var(--secondary-dark);
}

.footer-contact {
  font-size: 18px;
  opacity: 0.8;
}

.footer-contact p {
  margin-bottom: 0.5rem;
}

.footer-contact i {
  color: var(--secondary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  margin-top: 3rem;
}

.footer-bottom a {
  color: #ffee64;
}

.footer-bottom a:hover {
  color: #ffffff;
}

.footer-bottom p {
  font-size: 18px;
  opacity: 1;
}

/* ========== BACK TO TOP BUTTON ========== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: var(--shadow);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
  color: var(--white);
  transform: translateY(-5px);
}

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 1199.98px) {
  .main-menu>li>a {
    padding: 0.9rem 0.6rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 991.98px) {
  .filament-tiptap-grid-builder__column {
    grid-column: span 12 !important;
  }

  .header-banner {
    display: block !important;
  }

  .org-name {
    font-size: 25px !important;
  }

  .org-location {
    font-size: 0.75rem;
    text-align: left;
  }

  .org-location1 {
    font-size: 10px !important;
    text-align: left;
  }

  .hero-section .carousel-item {
    height: 500px;
  }

  .hero-section .carousel-caption h2 {
    font-size: 2.25rem;
  }

  .hero-section .carousel-caption p {
    font-size: 1rem;
  }

  .hero-section .carousel-caption {
    padding-bottom: 80px;
  }

  .hero-stats {
    transform: translateY(40%);
  }

  .hero-stat-item {
    padding: 1rem;
  }

  .hero-stat-item .stat-num {
    font-size: 1.5rem;
  }

  .about-section {
    padding-top: 100px;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .news-item {
    flex: 0 0 50%;
  }

  .news-slider-wrapper {
    padding: 0 50px;
  }
}

@media (max-width: 991.98px) {

  .main-navigation {
    background: linear-gradient(180deg, #fff1d6 0%, #ffffff 100%);
    /* background: linear-gradient(180deg, #f7f7f7 0%, #f7f7f7 100%); */
    z-index: 1000;
    transition: var(--transition);
    width: 100%;
    height: 0 !important;
    padding: 10px 0px;
    display: none;
  }

  .header-banner {
    text-align: center;
  }

  .logo-link {
    display: none !important;
  }

  .mobile-logo {
    display: block !important;
    float: left;
    color: #0b3993;
    font-size: 30px;

    font-family: "Spectral", serif;
    font-weight: 700;
  }

  .mobile-menu-btn .bi::before,
  [class^="bi-"]::before,
  [class*=" bi-"]::before {
    vertical-align: -2px !important;
  }

  .mobile-logo img {
    width: 270px !important;
  }

  .header-banner .row {
    justify-content: space-between;
  }

  .logo-img {
    height: 55px;
    width: 55px;
  }

  .hero-section .carousel-item {
    height: 450px;
  }

  .hero-section .carousel-caption h2 {
    font-size: 1.75rem;
  }

  .hero-section .carousel-caption p {
    font-size: 0.9rem;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
  }

  .hero-buttons .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 45px;
    height: 45px;
  }

  .carousel-control-prev {
    left: 15px;
  }

  .carousel-control-next {
    right: 15px;
  }

  .hero-stats {
    position: relative;
    transform: none;
    margin-top: -50px;
    padding: 0 15px;
  }

  .hero-stat-item {
    margin-bottom: 10px;
  }

  .about-section {
    padding-top: 80px;
    margin-top: 90px !important;
  }

  .about-image-wrapper .floating-img {
    display: none;
  }

  .experience-badge {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
  }

  .section-title h2 {
    font-size: 1.75rem;
  }

  .vm-card {
    padding: 1.5rem;
  }

  .news-item {
    flex: 0 0 100%;
  }

  .news-slider-wrapper {
    padding: 0 40px;
  }

  .news-nav-btn {
    width: 40px;
    height: 40px;
  }

  .news-nav-btn i {
    font-size: 1.25rem;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }

  .message-quote {
    padding: 1.5rem;
  }

  .quote-icon {
    font-size: 3rem;
  }
}

@media (max-width: 575.98px) {
  .hero-section .carousel-item {
    height: 400px;
  }

  .hero-section .carousel-caption h2 {
    font-size: 1.5rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .gallery-item img {
    height: 100%;
  }

  .back-to-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
  }
}

.mobile-logo {
  display: none;
}

/* ========== SUBPAGE SPECIFIC STYLES ========== */

/* ========== PAGE BANNER ========== */
.page-banner {
  position: relative;
  padding: 20px 0 40px;
  background: linear-gradient(0deg, #fff2d8 0%, #ffffff 50%, #ffffff 100%);
  overflow: hidden;
}

.page-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  opacity: 0.1;
}

.page-banner-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.particle {
  position: absolute;
  background: rgb(195 195 195 / 24%);
  border-radius: 50%;
  animation: float-particle 15s infinite ease-in-out;
}

.particle-1 {
  width: 100px;
  height: 100px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.particle-2 {
  width: 60px;
  height: 60px;
  top: 60%;
  left: 80%;
  animation-delay: -3s;
}

.particle-3 {
  width: 80px;
  height: 80px;
  top: 30%;
  left: 60%;
  animation-delay: -6s;
}

.particle-4 {
  width: 40px;
  height: 40px;
  top: 70%;
  left: 20%;
  animation-delay: -9s;
}

.particle-5 {
  width: 50px;
  height: 50px;
  top: 20%;
  left: 85%;
  animation-delay: -12s;
}

@keyframes float-particle {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.3;
  }

  50% {
    transform: translateY(-30px) rotate(180deg);
    opacity: 0.6;
  }
}

.page-title {

  font-size: 35px;
  font-weight: 700;
  color: #033e18;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  animation: slideInUp 0.8s ease-out;
}

.breadcrumb {
  background: rgba(255, 255, 255, 0.15);
  padding: 10px 20px 10px 20px;
  border-radius: 50px;
  display: inline-flex;
  backdrop-filter: blur(10px);
}

.breadcrumb li {
  font-size: 15px;
}

.breadcrumb-item a {
  color: rgb(0 0 0 / 80%);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb-item a:hover {
  color: var(--secondary-color);
}

.breadcrumb-item.active {
  color: #000000;
}

.breadcrumb-item+.breadcrumb-item::before {
  color: #000000;
}

.index-banner-wave {
  position: absolute;
  bottom: -94px !important;
  left: 0;
  width: 100%;

  z-index: -1;
  transform: rotate(180deg) !important;
  display: block;
}

.page-banner-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
}

.page-banner-wave svg {
  display: block;
  width: 100%;
}

/* ========== SECTION STYLING ========== */
.section-subtitle {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 50px;
}

.section-subtitle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

/* ========== HISTORY SECTION ========== */
.history-image-wrapper {
  position: relative;
}

.history-image-wrapper img {
  transition: var(--transition-slow);
}

.history-image-wrapper:hover img {
  transform: scale(1.02);
}

.history-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
  color: var(--white);
  padding: 1.5rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: pulse-badge 2s infinite;
}

.history-badge .years {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.history-badge .text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@keyframes pulse-badge {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  animation: float 6s infinite ease-in-out;
}

.floating-shape.shape-1 {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, rgba(26, 95, 42, 0.1), rgba(26, 95, 42, 0.05));
  top: -30px;
  left: -30px;
  animation-delay: 0s;
}

.floating-shape.shape-2 {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.1), rgba(201, 162, 39, 0.05));
  bottom: 50px;
  right: -50px;
  animation-delay: -3s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}

.history-content .lead-text {
  font-size: 1.2rem;
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.history-content p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* ========== DIRECTOR SECTION ========== */
.director-image-wrapper {
  position: relative;
}

.director-quote-box {
  position: absolute;
  top: 20px;
  left: -20px;
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  animation: float 4s infinite ease-in-out;
}

.director-quote-box i {
  font-size: 2rem;
  color: var(--white);
}

.director-quote {
  position: relative;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(26, 95, 42, 0.05), rgba(26, 95, 42, 0.02));
  border-left: 4px solid var(--primary-color);
  border-radius: 0 12px 12px 0;
  margin-bottom: 1.5rem;
}

.director-quote p {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin: 0;
}

.director-content p {
  color: var(--text-light);
  line-height: 1.8;
}

.director-signature {
  padding-top: 1rem;
}

.signature-line {
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  margin-bottom: 1rem;
  border-radius: 3px;
}

/* ========== VISION MISSION SECTION ========== */
.vm-card {
  position: relative;
  padding: 2.5rem;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

.vm-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.vm-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.vision-card .vm-icon {
  background: linear-gradient(135deg, rgba(26, 95, 42, 0.1), rgba(26, 95, 42, 0.05));
}

.mission-card .vm-icon {
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.1), rgba(201, 162, 39, 0.05));
}

.vm-icon i {
  font-size: 2.5rem;
}

.vision-card .vm-icon i {
  color: var(--primary-color);
}

.mission-card .vm-icon i {
  color: var(--secondary-color);
}

.vm-card:hover .vm-icon {
  transform: scale(1.1) rotate(5deg);
}

.vm-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.75rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.vm-card p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.vm-decoration {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  opacity: 0.05;
  transition: var(--transition-slow);
}

.vision-card .vm-decoration {
  background: var(--primary-color);
}

.mission-card .vm-decoration {
  background: var(--secondary-color);
}

.vm-card:hover .vm-decoration {
  transform: scale(1.5);
}

/* ========== CORE VALUES SECTION ========== */
.value-card {
  padding: 2rem;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.value-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.value-icon i {
  font-size: 2rem;
  color: var(--white);
}

.value-card:hover .value-icon {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
}

.value-card h4 {
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.value-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
}

/* ========== MANAGEMENT/TEAM SECTION ========== */
.team-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.team-image {
  position: relative;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.team-card:hover .team-image img {
  transform: scale(1.1);
}

.team-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 50%, rgba(26, 95, 42, 0.9) 100%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 2rem;
}

.team-card:hover .team-overlay {
  opacity: 1;
}

.team-social {
  display: flex;
  gap: 0.75rem;
  transform: translateY(20px);
  transition: var(--transition);
}

.team-card:hover .team-social {
  transform: translateY(0);
}

.team-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.team-social a:hover {
  background: var(--secondary-color);
  color: var(--white);
  transform: translateY(-3px);
}

.team-info {
  padding: 1.5rem;
  text-align: center;
}

.team-info h5 {
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.team-info span {
  color: var(--primary-color);
  font-size: 0.9rem;
}

/* ========== STATISTICS SECTION ========== */
.stats-section {
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  overflow: hidden;
}

.stats-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://picsum.photos/seed/stats-pattern/1920/400") center / cover;
  opacity: 0.1;
}

.stat-item {
  padding: 2rem;
}

.stat-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite;
}

.stat-icon i {
  font-size: 1.75rem;
  color: var(--secondary-color);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========== DOCUMENTS SECTION ========== */
.document-card {
  padding: 2rem;
  background: var(--white);
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.document-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.document-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(26, 95, 42, 0.1), rgba(26, 95, 42, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.document-icon i {
  font-size: 1.75rem;
  color: var(--primary-color);
}

.document-card:hover .document-icon {
  background: var(--primary-color);
}

.document-card:hover .document-icon i {
  color: var(--white);
}

.document-card h5 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.document-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* ========== CTA SECTION ========== */
.cta-section {
  background: linear-gradient(135deg, #6c3800, #cd6a00);
}

.cta-wrapper {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-wrapper h3 {
  color: var(--white);
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.cta-wrapper p {
  color: rgba(255, 255, 255, 0.8);
}

/* ========== CONTACT INFO CARDS ========== */
.contact-info-card {
  padding: 2.5rem;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.contact-info-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.contact-info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transition: var(--transition);
}

.contact-info-card:hover::before {
  transform: scaleX(1);
}

.info-icon {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-icon i {
  font-size: 2rem;
  color: var(--white);
}

.icon-ring {
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 2px dashed var(--primary-color);
  border-radius: 50%;
  opacity: 0.3;
  animation: rotate-ring 10s linear infinite;
}

@keyframes rotate-ring {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.contact-info-card h4 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.contact-info-card p {
  color: var(--text-light);
  line-height: 1.8;
}

.phone-link,
.email-link {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  display: inline-block;
  margin-bottom: 0.25rem;
}

.phone-link:hover,
.email-link:hover {
  color: var(--secondary-color);
  transform: scale(1.05);
}

.info-link {
  color: var(--primary-color);
  font-weight: 500;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.info-link:hover {
  color: var(--secondary-color);
  gap: 0.75rem;
}

/* ========== CONTACT FORM ========== */
.contact-form-wrapper {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.input-wrapper {
  position: relative;
}

.input-wrapper i {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  color: var(--text-muted);
  transition: var(--transition);
}

.textarea-wrapper i {
  top: 1.25rem;
  transform: none;
}

.input-wrapper .form-control {
  padding-left: 2.75rem;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  height: auto;
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
  transition: var(--transition);
}

.input-wrapper .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(26, 95, 42, 0.1);
}

.input-wrapper .form-control:focus+i,
.input-wrapper:focus-within i {
  color: var(--primary-color);
}

.submit-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border: none;
  border-radius: 12px;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* ========== MAP SECTION ========== */
.map-container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.direction-box {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.direction-box h5 {
  color: var(--text-dark);
  margin-bottom: 1.25rem;
}

.direction-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #e9ecef;
}

.direction-item:last-child {
  border-bottom: none;
}

.direction-item i {
  font-size: 1.25rem;
  color: var(--primary-color);
  min-width: 30px;
}

.direction-item strong {
  color: var(--text-dark);
}

/* ========== FAQ SECTION ========== */
.faq-accordion .accordion-item {
  border: none;
  background: var(--white);
  border-radius: 12px !important;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-accordion .accordion-button {
  font-weight: 500;
  color: var(--text-dark);
  padding: 1.25rem 1.5rem;
  border-radius: 12px !important;
  background: var(--white);
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--white);
  box-shadow: none;
}

.faq-accordion .accordion-button:focus {
  box-shadow: none;
}

.faq-accordion .accordion-button::after {
  background-size: 1rem;
  transition: var(--transition);
}

.faq-accordion .accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

.faq-accordion .accordion-body {
  padding: 1.5rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ========== SOCIAL CARDS ========== */
.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-decoration: none;
}

.social-card i {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  transition: var(--transition);
}

.social-card span {
  font-weight: 500;
  color: var(--text-dark);
}

.social-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.social-card.facebook:hover {
  background: #1877f2;
}

.social-card.twitter:hover {
  background: #000;
}

.social-card.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-card.youtube:hover {
  background: #ff0000;
}

.social-card.linkedin:hover {
  background: #0077b5;
}

.social-card.facebook i {
  color: #1877f2;
}

.social-card.twitter i {
  color: #000;
}

.social-card.instagram i {
  color: #e4405f;
}

.social-card.youtube i {
  color: #ff0000;
}

.social-card.linkedin i {
  color: #0077b5;
}

.social-card:hover i,
.social-card:hover span {
  color: var(--white);
}

/* ========== ANIMATIONS ========== */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 991px) {
  .page-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .history-badge {
    bottom: 10px;
    right: 10px;
    padding: 1rem;
  }

  .history-badge .years {
    font-size: 2rem;
  }

  .director-quote-box {
    display: none;
  }

  .cta-wrapper {
    text-align: center;
  }

  .cta-wrapper .btn {
    margin-bottom: 0.5rem;
  }
}

.subpage-section h4 {
  color: #033e18 !important;
  margin-top: 40px !important;
}

.subpage-section ul {
  /*list-style: square !important;*/
  padding-left: 30px;
}

.subpage-section img {
  border-radius: 10% !important;
  box-shadow: inset 0 0 10px #d7d7d7 !important;
  padding: 10px !important;
}


hr {
  color: inherit;
  border: 0;
  opacity: .25;
  border: 1px dashed #00000094 !important;
  margin-top: 20px !important;
}

@media (max-width: 767px) {
  .page-banner {
    padding: 80px 0 60px;
  }

  .page-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .vm-card {
    padding: 1.5rem;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }

  .contact-info-card {
    padding: 1.5rem;
  }
}

.subpage-section .accordion-button {
  font-size: 20px !important;
}

.subpage-section {
  padding: 50px 50px 10px 50px;
}

.address-card p {
  text-align: left;
}

/* ========== GALLERY SECTION ========== */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
  height: 280px;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.15);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 95, 42, 0.8), rgba(201, 162, 39, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  font-size: 3rem;
  color: var(--white);
  transform: scale(0.5);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay i {
  transform: scale(1);
}

/* ========== GALLERY POPUP MODAL ========== */
.gallery-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-close {
  position: absolute;
  top: 30px;
  right: 50px;
  color: var(--white);
  font-size: 50px;
  font-weight: 300;
  cursor: pointer;
  z-index: 10001;
  transition: all 0.3s ease;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.gallery-close:hover {
  background: var(--secondary-color);
  transform: rotate(90deg);
}

.gallery-modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-modal-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
  transition: opacity 0.2s ease;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 32px;
  padding: 20px;
  cursor: pointer;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10001;
}

.gallery-prev {
  left: -90px;
}

.gallery-next {
  right: -90px;
}

.gallery-nav:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-50%) scale(1.1);
}

.gallery-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.gallery-counter {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 1px;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

/* ========== RESPONSIVE GALLERY ========== */
@media (max-width: 991px) {
  .gallery-item {
    height: 250px;
  }

  .gallery-nav {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }

  .gallery-prev {
    left: -80px;
  }

  .gallery-next {
    right: -80px;
  }

  .gallery-close {
    top: 20px;
    right: 30px;
    font-size: 40px;
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 767px) {
  .gallery-item {
    height: 220px;
  }

  .gallery-nav {
    width: 50px;
    height: 50px;
    font-size: 24px;
    padding: 15px;
  }

  .gallery-prev {
    left: 10px;
  }

  .gallery-next {
    right: 10px;
  }

  .gallery-close {
    top: 15px;
    right: 15px;
    font-size: 35px;
    width: 45px;
    height: 45px;
  }

  .gallery-counter {
    bottom: 20px;
    padding: 10px 20px;
    font-size: 16px;
  }

  .gallery-modal-content {
    max-width: 95%;
  }
}

/* Variant A: big left decorative quote with soft float animation */
.subpage-section blockquote {
  position: relative;
  margin: 0 0 1.5rem 0;
  padding: 1.25rem 1.25rem 1.25rem 5.5rem;
  background: #ffffff;
  border-left: 0.35rem solid rgb(132 76 18);
  box-shadow: 0 6px 18px rgb(0 0 0 / 22%);
  border-radius: 8px;
  color: #222;
  line-height: 1.65;
  overflow: visible;
}

/* Opening quote (top-left) — your original */
.subpage-section blockquote::before {
  content: "“";
  font-family: serif;
  font-size: 5.5rem;
  line-height: 1;
  color: rgb(24 121 24);
  position: absolute;
  left: 1.2rem;
  top: 0.4rem;
  transform-origin: 50% 50%;
  opacity: 0.95;
  z-index: 2;
  -webkit-font-smoothing: antialiased;
  animation: quoteFloat 4.5s ease-in-out infinite;
}

/* NEW: Closing quote (bottom-right) */
.subpage-section blockquote::after {
  content: "”";
  font-family: serif;
  font-size: 4.5rem;
  color: rgb(24 121 24);
  position: absolute;
  right: 1rem;
  bottom: -0.8rem;
  opacity: 0.85;
  pointer-events: none;
  -webkit-font-smoothing: antialiased;
  animation: quoteFloat2 4.5s ease-in-out infinite;
}

/* Accent vertical line moved to an extra wrapper element */
.subpage-section blockquote span.accent-line {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.02));
  border-radius: 4px;
  z-index: 0;
}

/* Keyframes */
@keyframes quoteFloat {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
    opacity: 0.95;
  }

  35% {
    transform: translateY(-6px) rotate(-2deg) scale(1.03);
    opacity: 1;
  }

  70% {
    transform: translateY(3px) rotate(1deg) scale(1.01);
    opacity: 0.98;
  }

  100% {
    transform: translateY(0) rotate(0deg) scale(1);
    opacity: 0.95;
  }
}

/* Reverse gentle float for bottom quote */
@keyframes quoteFloat2 {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
    opacity: 0.85;
  }

  35% {
    transform: translateY(4px) rotate(2deg) scale(1.02);
    opacity: 0.9;
  }

  70% {
    transform: translateY(-3px) rotate(-1deg) scale(1.01);
    opacity: 0.88;
  }

  100% {
    transform: translateY(0) rotate(0deg) scale(1);
    opacity: 0.85;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .subpage-section blockquote {
    padding-left: 4.5rem;
  }

  .subpage-section blockquote::before {
    font-size: 4rem;
    left: 0.9rem;
  }

  .subpage-section blockquote::after {
    font-size: 3.5rem;
    right: 0.5rem;
  }
}

/* Don Bosco Tribal Development Society - Board Members Table */
.dbtds-board-table {

  border-collapse: collapse;
  font-size: 1.05rem;
  color: #1d1d1d;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-left: auto;
  margin-right: auto;
}

.dbtds-board-table tr:nth-child(even) {
  background-color: #fff;

}

.dbtds-board-table td {
  padding: 12px 16px;
  border: 1px dashed #d9d9d9;
}

/* Highlight left column names */
.dbtds-board-table td:first-child {
  font-weight: 600;
  color: #1d4f24;
  /* dark green from logo */
}

/* Right column highlight */
.dbtds-board-table td:last-child {
  font-weight: 500;
  color: #8b5e2a;
  /* brown-gold brand color */
}

/* Last row bottom border remove */
.dbtds-board-table tr:last-child td {
  border-bottom: none;
}

/* Responsive fix */
@media (max-width: 600px) {
  .dbtds-board-table td {
    padding: 10px 12px;
    font-size: 0.95rem;
  }
}

/* Wrapper list style */
.subpage-section ul {
    list-style: none; 
    padding-left: 0;
    margin: 0;
}

/* Each list item */
.subpage-section ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 17px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeUp 0.6s ease forwards;
}

/* Bullet circle */
.subpage-section ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: #6b4000;
    border-radius: 50% 20%;
    transform: scale(0);
    animation: popBullet 0.4s ease forwards;
    animation-delay: 0.2s;
}

/* Stagger animation (delay each li) */
.subpage-section ul li:nth-child(1) { animation-delay: 0.1s; }
.subpage-section ul li:nth-child(2) { animation-delay: 0.2s; }
.subpage-section ul li:nth-child(3) { animation-delay: 0.3s; }
.subpage-section ul li:nth-child(4) { animation-delay: 0.4s; }
.subpage-section ul li:nth-child(5) { animation-delay: 0.5s; }

/* Fade + slight up */
@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bullet pop animation */
@keyframes popBullet {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}