/* ==========================================================================
   CSS Custom Properties (Variables)
   ========================================================================== */
:root {
  --main-colour: #f9f9f9;
  --main-dark: #d3d3d3;
  --secondary-colour: #060c11;
  --secondary-colour-light: #001f38;
  --complimentary: #1b5bb3;
  --complimentary-light: #2885ff;
  --complimentary-dark: #2e7eb8;
  --supplement: #118ab2;
  --supplement-dark: #076c8d;
}

/* ==========================================================================
   Base Element Styles
   ========================================================================== */
body {
  overflow-x: hidden !important;
  background-color: #f9f9f9;
  font-family: "DM Sans", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Gabarito", sans-serif;
}

/* ==========================================================================
   Typography & Colors
   ========================================================================== */
/* Font Families */
.dm-sans-body {
  font-family: "DM Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.gabarito-title {
  font-family: "Gabarito", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/* Font Colors */
.text-main {
  color: var(--main-colour);
}
.text-second {
  color: var(--secondary-colour);
}
.text-second-light {
  color: var(--secondary-colour-light);
}
.text-complimentary {
  color: var(--complimentary);
}
.text-complimentary-light {
  color: var(--complimentary-light);
}
.text-supplement {
  color: var(--supplement);
}

/* Background Colors */
.bg-main {
  background-color: var(--main-colour);
}

.bg-secondary {
  background-color: var(--secondary-colour);
}

.bg-compliment {
  background-color: var(--complimentary);
}

.bg-complimentary-dark {
  background-color: var(--complimentary-dark);
}

.bg-complimentary-light {
  background-color: var(--complimentary-light);
}

.bg-supplement {
  background-color: var(--supplement);
}

.bg-supplement-dark {
  background-color: var(--supplement-dark);
}

/* Text Styles */
.sub-header {
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0 0 0.3em 0.55em;
}

.sub-text {
  font-style: italic;
  font-size: 0.9rem;
}

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

.b-example-divider {
  width: 100%;
  height: 3rem;
  background-color: #0000001a;
  border: solid #00000026;
  border-width: 1px 0;
  box-shadow: inset 0 0.5em 1.5em #0000001a, inset 0 0.125em 0.5em #00000026;
}

.b-example-vr {
  flex-shrink: 0;
  width: 1.5rem;
  height: 100vh;
}

.bi {
  vertical-align: -0.125em;
  fill: currentColor;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

/* ==========================================================================
   Components
   ========================================================================== */
/* Buttons */
.btn-bd-primary {
  --bd-violet-bg: var(--complimentary);
  --bd-violet-rgb: 112.520718, 44.062154, 249.437846;
  --bs-btn-font-weight: 600;
  --bs-btn-color: var(--bs-white);
  --bs-btn-bg: var(--bd-violet-bg);
  --bs-btn-border-color: var(--bd-violet-bg);
  --bs-btn-hover-color: var(--bs-white);
  --bs-btn-hover-bg: var(--supplement);
  --bs-btn-hover-border-color: var(--supplement-dark);
  --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
  --bs-btn-active-color: var(--bs-btn-hover-color);
  --bs-btn-active-bg: var(--complimentary-dark);
  --bs-btn-active-border-color: var(--supplement-dark);
}

.btn-first {
  font-size: 1.2rem;
  color: var(--main-colour);
  background-color: var(--complimentary);
  padding: 0.3em 1em;
  border-radius: 0.4em;
}
.btn-first:hover {
  background-color: var(--supplement);
  transform: translateY(-5%);
}

.bd-mode-toggle {
  z-index: 1500;
}

.bd-mode-toggle .dropdown-menu .active .bi {
  display: block !important;
}

/* Logo */
.logo {
  width: 70px;
  height: 70px;
}

.logo-bottom {
  width: 150px;
  height: 150px;
}

/* ==========================================================================
   Layout & Sections
   ========================================================================== */
/* Core Values Section */
#core-values {
  background-color: #f8f9fa;
}

#core-values .card {
  border: none;
  overflow: hidden;
  transition: transform 0.3s ease-in-out;
}

#core-values .card:hover {
  transform: scale(1.05);
}

#core-values .card-img-top {
  transition: transform 0.3s ease-in-out;
}

#core-values .card:hover .card-img-top {
  transform: scale(1.1);
}

#core-values .card-title {
  margin-top: 15px;
  font-size: 1.25rem;
  font-weight: 600;
}

/* Hero Section */
.hero-image {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--main-colour);
}

.hero-text h1 {
  font-size: 2rem;
  font-weight: bold;
}

.hero-text h3 {
  font-size: 1.8rem;
  font-weight: 300;
}

.hero-text p {
  font-size: 0.95rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  text-justify: auto;
}

.second-header {
  font-size: 1.5rem;
  font-weight: 600;
  padding: 0 0 0.3em 0.55em;
}

.hero-button a {
  display: flex;
  justify-content: center;
  align-items: center;
}

.highlight {
  font-weight: 600;
}

.read-more {
  display: none;
}

.link {
  text-decoration: none;
  color: var(--main-colour);
}
.link:hover {
  color: #fff;
}

/* Infinite Carousel */
.carousel-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  overflow: hidden;
}

.carousel {
  display: flex;
  /* flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly; */
  transition: transform 0.5s ease-in-out;
}

.slide {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.slide img {
  width: 100px;
  height: 100%;
  object-fit: cover;
}

/* Footer */
.footer-logo {
  width: 150px;
  height: auto;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

footer h5 {
  color: var(--main-colour); /* White heading color */
  margin-bottom: 20px;
}

footer p,
footer ul,
footer a {
  color: #d1d1d1; /* Light grey text color */
  text-wrap: balance;
}

.text-fine {
  font-size: 0.9rem;
}

footer a:hover {
  color: var(--main-colour); /* White text color on hover */
  text-decoration: none;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  margin-bottom: 10px;
  text-decoration: none;
}

footer .social-icons a {
  color: #d1d1d1; /* Light grey icon color */
  margin-right: 30px;
  font-size: 1rem;
}

footer .social-icons a:hover {
  color: #ffffff; /* White icon color on hover */
}

footer .text-center {
  text-align: center;
}

footer .float-end {
  float: right;
}
.section-padding {
  padding: 30px 0;
}
.card {
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}
.card:hover {
  transform: translateY(-3px);
}
.service-card {
  min-height: 300px;
}

/* Additional styling for the iframe */
#latest-properties {
  padding: 30px;
  text-align: center;
}
#latest-properties iframe {
  border: none;
  width: 100%;
  max-width: 1000px;
  height: 300px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
#latest-properties h2 {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 20px;
}
#latest-properties a {
  font-family: 'Roboto', Arial, sans-serif;
  color: #007bff;
  text-decoration: none;
}
#latest-properties a:hover {
  text-decoration: underline;
}

/* ===========================================
   Responsive Design
   ============================================ */
/* Media Queries */
.founder-image-container {
  text-align: center;
}

.founder-image {
  border-radius: 5%;
  object-fit: cover;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border: 3px solid #fff; */
  transition: transform 0.3s ease;
}

.founder-image:hover {
  transform: scale(1.05);
}

/* Modern Gallery Styles */
.gallery-section {
  background: var(--main-colour);
  padding: 4rem 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 16/9;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: var(--main-colour);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.gallery-item:hover img {
  transform: scale(1.02);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h5 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.gallery-overlay p {
  margin: 0.3rem 0 0;
  font-size: 0.9rem;
  opacity: 0.9;
  transform: translateY(10px);
  transition: transform 0.3s ease 0.1s;
}

.gallery-item:hover .gallery-overlay h5,
.gallery-item:hover .gallery-overlay p {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .gallery-section {
    padding: 2rem 0;
  }

  .gallery-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2));
  }

  .gallery-overlay h5,
  .gallery-overlay p {
    transform: none;
  }
}

@media (max-width: 992px) {
  .gallery-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-overlay {
    opacity: 1;
    padding: 1rem;
  }

  .gallery-overlay h5 {
    font-size: 1.1rem;
  }

  .gallery-overlay p {
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .gallery-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .gallery-section {
    padding: 2rem 0;
  }

  .gallery-item {
    aspect-ratio: 3/2;
  }
}

/* Header Styles */
.header-top {
  background-color: var(--bs-dark);
  padding: 0.5em 5em;
  font-size: 0.9rem;
}

.header-top a {
  color: var(--complimentary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.header-top a:hover {
  color: var(--complimentary-light);
}

.social-links a {
  margin-left: 15px;
  font-size: 1rem;
}

.navbar {
  padding: 0.5em 2.5em;
  transition: all 0.3s ease;
}

.navbar-branding {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-brand img {
  width: 120px;
  height: auto;
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.navbar-brand h6 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--bs-light);
}

.navigation-link {
  position: relative;
  padding: 8px 15px !important;
  font-weight: 400;
  color: var(--complimentary) !important;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--complimentary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1.2px;
  background-color: var(--complimentary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 80%;
}

.navbar-toggler {
  border-color: #ffffff80;
  padding: 4px 8px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .header-top {
    font-size: 0.8rem;
  }

  .navbar-collapse {
    padding: 1rem 0;
  }

  .nav-link {
    padding: 10px 0 !important;
  }

  .nav-link::after {
    display: none;
  }
}

@media (max-width: 576px) {
  .header-top .container {
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }

  .social-links {
    margin-top: 5px;
  }

  .navbar-brand h6 {
    font-size: 1rem;
  }
}

/* Modern Footer Styles */
.footer {
  background-color: var(--secondary-colour);
  color: var(--main-colour);
  padding: 4rem 0 2rem;
}

.footer-brand img {
  width: 120px;
  height: auto;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.footer-brand:hover img {
  transform: scale(1.05);
}

.footer h5 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--complimentary);
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--main-colour);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--complimentary);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: var(--complimentary);
  transform: translateX(5px);
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--secondary-colour-light);
  color: var(--main-colour);
  margin-right: 0.8rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background-color: var(--complimentary);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid var(--secondary-colour-light);
  padding: 2rem 4em 0;
  margin-top: 3rem;
}

.footer-bottom p {
  margin-bottom: 0;
}

.back-to-top {
  color: var(--complimentary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.back-to-top:hover {
  color: var(--complimentary-light);
}

@media (max-width: 767px) {
  .footer {
    padding: 3rem 0 1rem;
  }

  .footer-col {
    margin-bottom: 2rem;
  }

  .footer h5 {
    margin-bottom: 1rem;
  }

  .footer-social {
    margin-bottom: 1.5rem;
  }
}

/* Form Styles */
.application-container {
  max-width: 800px;
  margin: 4rem auto;
  padding: 3rem;
  background-color: var(--main-colour);
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.form-title {
  color: var(--complimentary);
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

.form-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--complimentary);
  border-radius: 2px;
}

.form-group {
  margin-bottom: 1.8rem;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 0.7rem;
  font-weight: 500;
  color: var(--secondary-colour);
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  font-size: 1rem;
  background-color: #f8f9fa;
}

.form-control:focus {
  border-color: var(--complimentary);
  box-shadow: 0 0 0 4px rgba(62, 146, 204, 0.1);
  outline: none;
  background-color: #fff;
}

.form-control::placeholder {
  color: #adb5bd;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

input[type='file'].form-control {
  padding: 0.7rem;
  background-color: #fff;
  border-style: dashed;
}

input[type='file'].form-control:hover {
  background-color: #f8f9fa;
}

.btn-submit {
  min-width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background-color: var(--complimentary);
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.btn-submit:hover {
  background-color: var(--complimentary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-submit:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .application-container {
    padding: 2rem;
    margin: 2rem;
  }

  .form-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .application-container {
    padding: 1.5rem;
    margin: 1rem;
  }

  .form-title {
    font-size: 1.5rem;
  }

  .btn-submit {
    padding: 0.8rem;
    font-size: 1rem;
  }
}

/* Admin Applications */
.container {
  margin-top: 50px;
  margin-bottom: 50px;
  padding: 30px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* Container Alternate */
.container-alt {
  margin: 50px auto;
  padding: 30px;
  border-radius: 10px;
}

/* Admin Dashboard Styles */
.admin-dashboard {
  background-color: #f5f7fa;
  min-height: 100vh;
}

.admin-nav {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.admin-nav .navbar-brand h6 {
  color: var(--complimentary-light);
}

.admin-controls .btn {
  border-radius: 6px;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

.admin-main {
  padding: 2rem 0;
}

.admin-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--complimentary-light);
}

.admin-header h2 {
  color: var(--secondary-colour);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.admin-header p {
  color: #6c757d;
  margin-bottom: 0;
}

.admin-table {
  background: white;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.admin-table thead {
  background-color: var(--secondary-colour);
  color: white;
}

.admin-table th {
  padding: 1rem;
  font-weight: 500;
  border-bottom: none;
}

.admin-table td {
  padding: 1rem;
  vertical-align: middle;
}

.admin-table tbody tr {
  transition: all 0.3s ease;
}

.admin-table tbody tr:hover {
  background-color: rgba(62, 146, 204, 0.05);
}

.download-link {
  color: var(--complimentary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.download-link:hover {
  color: var(--complimentary-dark);
  text-decoration: underline;
}

/* Responsive adjustments for admin dashboard */
@media (max-width: 991px) {
  .admin-table {
    font-size: 0.9rem;
  }

  .admin-controls {
    margin-top: 1rem;
  }
}

@media (max-width: 768px) {
  .admin-header {
    text-align: center;
  }

  .admin-table thead {
    display: none;
  }

  .admin-table tbody tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
  }

  .admin-table td {
    display: block;
    text-align: right;
    padding: 0.5rem 1rem;
    border: none;
  }

  .admin-table td::before {
    content: attr(data-label);
    float: left;
    font-weight: 600;
    color: var(--secondary-colour);
  }
}

/* Properties Page Styles */
.nav-link {
  color: var(--complimentary);
  text-decoration: none;
}

.nav-link:hover {
  color: var(--complimentary-dark);
}

/* Property Gallery Styles */
.modal-body img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.modal-body img:hover {
  transform: scale(1.02);
}

.btn-gallery {
  width: 100%;
  margin-top: 0.5rem;
  background-color: var(--complimentary);
  border: none;
  transition: all 0.3s ease;
}

.btn-gallery:hover {
  background-color: var(--complimentary-dark);
  transform: translateY(-2px);
}

/* ==========================================================================
   Modern NGO Design Styles (Index, About, Programs)
   ========================================================================== */

/* Transition Variable */
:root {
  --transition: all 0.3s ease;
}

/* ===== INDEX PAGE STYLES ===== */

/* Hero Section */
.hero-modern {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}

/* Carousel Container */
.hero-carousel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

/* Carousel Slides */
.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

/* Gradient Overlay */
.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(6, 12, 17, 0.88) 0%, rgba(0, 31, 56, 0.88) 100%);
  z-index: 2;
  pointer-events: none;
}

/* SVG Wave Overlay */
.hero-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z" fill="rgba(62,146,204,0.05)"/></svg>');
  background-size: cover;
  opacity: 0.1;
  pointer-events: none;
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 800px;
}

.hero-modern h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.hero-modern .tagline {
  font-size: 1.3rem;
  color: #eba728;
  margin-bottom: 2rem;
  font-weight: 300;
}

.cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary-modern {
  background: #1b5bb3;
  color: white;
  padding: 14px 36px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid #1b5bb3;
}

.btn-primary-modern:hover {
  background: #2e7eb8;
  border-color: #2e7eb8;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(62, 146, 204, 0.3);
  color: white;
}

.btn-secondary-modern {
  background: transparent;
  color: white;
  padding: 14px 36px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid white;
  transition: var(--transition);
}

.btn-secondary-modern:hover {
  background: white;
  color: #060c11;
  transform: translateY(-2px);
}

/* Impact Stats Section */
.impact-stats {
  background: white;
  padding: 80px 20px;
  margin: -40px 0 0 0;
  position: relative;
  z-index: 10;
}

.impact-stat {
  text-align: center;
  padding: 30px;
}

.impact-number {
  font-size: 3rem;
  font-weight: 700;
  color: #1b5bb3;
  line-height: 1;
}

.impact-label {
  color: #060c11;
  font-size: 1rem;
  margin-top: 10px;
  font-weight: 500;
}

/* Programs Preview Section */
.programs-preview {
  padding: 80px 20px;
  background: #f9f9f9;
}

.program-card {
  background: white;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: var(--transition);
  border-left: 4px solid #1b5bb3;
  height: 100%;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  border-left-color: #118ab2;
}

.program-card-icon {
  font-size: 2.5rem;
  color: #1b5bb3;
  margin-bottom: 20px;
}

.program-card h3 {
  color: #060c11;
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.program-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Story/Testimonial Section */
.story-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f9f9f9 70%, #eba7281c 100%);
}

.story-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: var(--transition);
}

.story-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.story-image {
  background: linear-gradient(135deg, #1b5bb3 0%, #118ab2 100%);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
}

.story-content {
  padding: 30px;
}

.story-content h3 {
  color: #060c11;
  font-weight: 600;
  margin-bottom: 10px;
}

.story-content p {
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #1b5bb3 0%, #118ab2 100%);
  color: white;
  padding: 60px 20px;
  text-align: center;
  border-radius: 0;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

/* Social Links Footer */
.social-links-footer {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links-footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1b5bb3;
  transition: var(--transition);
}

.social-links-footer a:hover {
  background: #118ab2;
}

/* Navigation - Modern */
.navbar-modern {
  background: white !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 15px 0;
}

.navbar-modern .navbar-brand {
  color: #060c11 !important;
  font-weight: 700;
  font-size: 1.3rem;
}

.navbar-modern .nav-link {
  color: #555 !important;
  transition: var(--transition);
  margin: 0 10px;
  font-weight: 500;
}

.navbar-modern .nav-link:hover {
  color: #1b5bb3 !important;
}

/* Footer Modern */
.footer-modern {
  background: #060c11;
  color: white;
  padding: 60px 20px 20px;
}

.footer-section {
  margin-bottom: 40px;
}

.footer-section h5 {
  font-weight: 600;
  margin-bottom: 20px;
  color: #eba728;
}

.footer-section p, .footer-section ul {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #ccc;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section a {
  color: #eba728;
  text-decoration: none;
  transition: var(--transition);
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 30px;
  text-align: center;
  color: #999;
  font-size: 0.9rem;
}

/* ===== ABOUT PAGE STYLES ===== */

/* Hero About */
.hero-about {
  background: linear-gradient(135deg, #060c11 0%, #001f38 100%);
  color: white;
  padding: 100px 20px;
  text-align: center;
}

.hero-about h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-about p {
  font-size: 1.2rem;
  color: #eba728;
  max-width: 600px;
  margin: 0 auto;
}

/* Mission/Vision Section */
.mission-vision-section {
  padding: 80px 20px;
  background: white;
}

.mission-card {
  background: linear-gradient(135deg, #1b5bb3 0%, #118ab2 100%);
  color: white;
  padding: 50px 40px;
  border-radius: 12px;
  text-align: center;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 30px;
}

.mission-card h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.mission-card p {
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Timeline Section */
.timeline-section {
  padding: 80px 20px;
  background: #f9f9f9;
}

.timeline-title {
  text-align: center;
  font-size: 2.5rem;
  color: #060c11;
  margin-bottom: 60px;
  font-weight: 700;
}

.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: #1b5bb3;
}

.timeline-item {
  margin-bottom: 50px;
  position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: 0;
  margin-right: 52%;
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 52%;
  margin-right: 0;
  text-align: left;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: #1b5bb3;
  border: 4px solid white;
  border-radius: 50%;
  z-index: 2;
}

.timeline-content {
  background: white;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: var(--transition);
}

.timeline-content:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.timeline-content h4 {
  color: #1b5bb3;
  font-weight: 600;
  margin-bottom: 10px;
}

.timeline-content p {
  color: #555;
  line-height: 1.6;
}

/* Values Section */
.values-section {
  padding: 80px 20px;
  background: white;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.value-card {
  text-align: center;
  padding: 30px;
}

.value-icon {
  font-size: 3rem;
  color: #1b5bb3;
  margin-bottom: 20px;
}

.value-card h4 {
  color: #060c11;
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.value-card p {
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Team Section */
.team-section {
  padding: 80px 20px;
  background: #f9f9f9;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.team-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.team-image {
  background: linear-gradient(135deg, #1b5bb3 0%, #118ab2 100%);
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: white;
}

.team-info {
  padding: 30px;
  text-align: center;
}

.team-info h4 {
  color: #060c11;
  font-weight: 600;
  margin-bottom: 8px;
}

.team-info p {
  color: #1b5bb3;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

/* Infrastructure Section */
.infrastructure-section {
  padding: 80px 20px;
  background: white;
}

.infra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.infra-card {
  background: linear-gradient(135deg, #1b5bb3 0%, #118ab2 100%);
  color: white;
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  transition: var(--transition);
}

.infra-card:hover {
  transform: scale(1.05);
}

.infra-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.infra-card h4 {
  font-weight: 600;
  margin-bottom: 10px;
}

/* ===== PROGRAMS PAGE STYLES ===== */

/* Hero Programs */
.hero-programs {
  background: linear-gradient(135deg, #060c11 0%, #001f38 100%);
  color: white;
  padding: 100px 20px;
  text-align: center;
}

.hero-programs h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-programs p {
  font-size: 1.2rem;
  color: #eba728;
  max-width: 600px;
  margin: 0 auto;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #060c11;
  margin-bottom: 15px;
  font-weight: 700;
}

.section-header p {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* Program Card */
.program-card {
  background: white;
  border-radius: 12px;
  overflow: visible;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: var(--transition);
  border-left: 4px solid #1b5bb3;
  position: relative;
}

.program-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.15);
  border-left-color: #118ab2;
}

.program-icon-container {
  background: linear-gradient(135deg, #1b5bb3 0%, #118ab2 100%);
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px 12px 0 0;
  position: relative;
}

.program-icon {
  font-size: 3rem;
  color: white;
}

.program-content {
  padding: 40px 30px;
}

.program-content h3 {
  color: #060c11;
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.program-description {
  color: #666;
  line-height: 1.8;
  margin-bottom: 20px;
}

.program-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.program-features li {
  color: #555;
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  font-size: 0.95rem;
}

.program-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1b5bb3;
  font-weight: bold;
}

/* Programs Grid */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

/* Approach Section */
.approach-section {
  padding: 80px 20px;
  background: white;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

/* ===== CONTACT PAGE STYLES ===== */

/* Contact Info Cards */
.contact-info-section {
  padding: 80px 20px;
  background: white;
}

.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.info-card {
  background: white;
  padding: 50px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  text-align: center;
  border-top: 4px solid #3e92cc;
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
  border-top-color: #118ab2;
}

.info-icon {
  font-size: 2.8rem;
  color: #3e92cc;
  margin-bottom: 20px;
}

.info-card h3 {
  color: #060c11;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.info-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

.info-card a {
  color: #3e92cc;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.info-card a:hover {
  color: #118ab2;
}

/* Inquiry Type Cards */
.inquiry-type-card {
  display: block;
  background: white;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  text-decoration: none;
  border-left: 4px solid #3e92cc;
  position: relative;
  height: 100%;
}

.inquiry-type-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
  border-left-color: #118ab2;
}

.inquiry-type-card:hover .inquiry-arrow {
  color: #118ab2;
  transform: translateX(5px);
}

.inquiry-icon {
  font-size: 2.5rem;
  color: #3e92cc;
  margin-bottom: 20px;
  display: block;
}

.inquiry-type-card h4 {
  color: #060c11;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.inquiry-type-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.inquiry-arrow {
  position: absolute;
  right: 30px;
  bottom: 30px;
  font-size: 1.2rem;
  color: #3e92cc;
  transition: all 0.3s ease;
}

/* Contact Form Section */
.contact-form-section {
  padding: 80px 20px;
  background: white;
}

.form-container {
  background: #f9f9f9;
  padding: 60px 40px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  max-width: 800px;
  margin: 0 auto;
}

.form-header {
  text-align: center;
  margin-bottom: 50px;
}

.form-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #060c11;
  margin-bottom: 10px;
}

.form-header p {
  font-size: 1.1rem;
  color: #666;
}

.modern-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: #060c11;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  color: #333;
  background: white;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3e92cc;
  box-shadow: 0 0 0 4px rgba(62, 146, 204, 0.1);
  background: white;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.form-buttons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.btn-submit,
.btn-reset {
  padding: 14px 36px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-submit {
  background: linear-gradient(135deg, #3e92cc 0%, #118ab2 100%);
  color: white;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(62, 146, 204, 0.3);
}

.btn-reset {
  background: #e0e0e0;
  color: #060c11;
}

.btn-reset:hover {
  background: #d0d0d0;
}

/* Form Notifications */
.form-notification {
  padding: 16px 20px;
  margin-bottom: 30px;
  border-radius: 8px;
  animation: slideDown 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-notification-success {
  background: #d4edda;
  color: #155724;
  border-left: 4px solid #28a745;
}

.form-notification-success i {
  color: #28a745;
}

.form-notification-error {
  background: #f8d7da;
  color: #721c24;
  border-left: 4px solid #dc3545;
}

.form-notification-error i {
  color: #dc3545;
}

/* Map Section */
.map-section {
  padding: 80px 20px;
  background: #f9f9f9;
}

.map-container {
  margin-top: 50px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  height: 500px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Why Contact Section */
.why-contact-section {
  padding: 80px 20px;
  background: white;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.why-card {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border-left: 4px solid #3e92cc;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  border-left-color: #118ab2;
}

.why-icon {
  font-size: 2.2rem;
  color: #3e92cc;
  margin-bottom: 15px;
}

.why-card h4 {
  color: #060c11;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.why-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .form-container {
    padding: 40px 20px;
  }

  .map-container {
    height: 350px;
  }

  .info-card {
    padding: 35px 20px;
  }

  .inquiry-type-card,
  .why-card {
    padding: 30px 20px;
  }

  .form-buttons {
    flex-direction: column;
  }

  .btn-submit,
  .btn-reset {
    width: 100%;
  }
}


.approach-card {
  background: linear-gradient(135deg, #f9f9f9 0%, #f0f4f8 100%);
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  border: 2px solid #eba728;
  transition: var(--transition);
}

.approach-card:hover {
  transform: scale(1.05);
  border-color: #1b5bb3;
  background: linear-gradient(135deg, #ecf2ff 0%, #e0e9ff 100%);
}

.approach-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1b5bb3;
  margin-bottom: 10px;
}

.approach-card h4 {
  color: #060c11;
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.approach-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Future Plans Section */
.future-section {
  padding: 80px 20px;
  background: #f9f9f9;
}

.goals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.goal-card {
  background: white;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-top: 4px solid #1b5bb3;
  transition: var(--transition);
}

.goal-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
  border-top-color: #118ab2;
}

.goal-icon {
  font-size: 2.5rem;
  color: #1b5bb3;
  margin-bottom: 15px;
}

.goal-card h4 {
  color: #060c11;
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.goal-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 768px) {
  .hero-modern h1 {
    font-size: 2rem;
  }

  .hero-modern .tagline {
    font-size: 1rem;
  }

  .cta-group {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary-modern, .btn-secondary-modern {
    width: 100%;
    max-width: 300px;
  }

  .impact-number {
    font-size: 2.5rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .programs-grid {
    grid-template-columns: 1fr;
  }

  .goals-grid {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 0;
  }

  .timeline-marker {
    left: 0;
  }

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 40px;
    margin-right: 0;
    text-align: left;
  }
}

.btn-gallery:hover {
  background-color: var(--complimentary-dark);
  transform: translateY(-2px);
}

/* Admin Login Styles */
.admin-login-body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--background-color);
  padding: 1rem;
}

.login-container {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--box-shadow);
  width: 100%;
  max-width: 400px;
}

.login-container h2 {
  color: #333;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-align: center;
}

.login-form-group {
  margin-bottom: 1rem;
}

.login-input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e1e1e1;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.login-input:focus {
  outline: none;
  border-color: var(--complimentary);
}

.login-button {
  width: 100%;
  padding: 0.75rem;
  background: var(--complimentary);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.login-button:hover {
  background: var(--complimentary-dark);
}

.login-error {
  color: var(--bs-danger);
  margin-bottom: 1rem;
  text-align: center;
  font-size: 0.9rem;
}

@media (max-width: 480px) {
  .login-container {
    padding: 1.5rem;
  }
}

/* Public Properties Styles */
.properties-grid {
  margin: 2rem auto;
  max-width: 900px;
  padding: 0 1rem;
}

.property-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.property-image-wrapper {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.property-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.property-image:hover {
  transform: scale(1.05);
}

/* Gallery Modal Styles */
.gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow-y: auto;
  padding: 2rem;
}

.gallery-modal.active {
  display: flex !important;
  opacity: 1;
}

/* Sustainability Education Section Styles */
.sustainability-education {
  background-color: #f8f9fa;
  border-radius: 12px;
  padding: 2rem;
  margin-top: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.sustainability-education h4 {
  color: var(--complimentary);
  font-weight: 600;
  position: relative;
  padding-bottom: 0.5rem;
}

.sustainability-education h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 2px;
  background-color: var(--complimentary);
}

.component-item {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
}

.component-item:hover {
  transform: translateY(-3px);
}

.component-item h6 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.component-item ul li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.un-goals .badge {
  padding: 0.5rem 1rem;
  font-weight: 500;
  margin: 0.25rem;
  transition: transform 0.3s ease;
}

.un-goals .badge:hover {
  transform: translateY(-2px);
}

/* ==========================================================================
   Side-Scrolling Carousel Styles (GSAP-like Effects)
   ========================================================================== */

.side-scroll-carousel-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f9f9f9 0%, #f0f5fb 100%);
}

.carousel-container-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.side-scroll-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  flex: 1;
  padding: 1rem 0;
  /* Hide scrollbar */
  scrollbar-width: none;
  -ms-overflow-style: none;
  will-change: transform;
}

.side-scroll-carousel::-webkit-scrollbar {
  display: none;
}

.carousel-slide-item {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 300px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: grab;
  scroll-snap-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.carousel-slide-item:active {
  cursor: grabbing;
}

.carousel-slide-item:hover {
  transform: translateY(-12px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}

.carousel-slide-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.carousel-slide-item:hover img {
  transform: scale(1.08);
}

.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
  color: white;
  padding: 2rem 1.5rem 1.5rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.carousel-slide-item:hover .slide-overlay {
  transform: translateY(0);
}

.slide-overlay p {
  font-family: "Gabarito", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.5px;
}

/* Navigation Buttons */
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #3e92cc;
  color: white;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  z-index: 10;
  padding: 0;
}

.carousel-nav-btn:hover {
  background: #118ab2;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 20px rgba(17, 138, 178, 0.4);
}

.carousel-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
  left: -70px;
}

.carousel-next {
  right: -70px;
}

/* GSAP-like Momentum Animation Keyframes */
@keyframes momentumIn {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes momentumScale {
  0% {
    transform: scale(0.85);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes carouselFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes carouselFadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.carousel-slide-item {
  animation: momentumScale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.carousel-slide-item:nth-child(1) { animation-delay: 0.1s; }
.carousel-slide-item:nth-child(2) { animation-delay: 0.2s; }
.carousel-slide-item:nth-child(3) { animation-delay: 0.3s; }
.carousel-slide-item:nth-child(4) { animation-delay: 0.4s; }
.carousel-slide-item:nth-child(5) { animation-delay: 0.5s; }

/* Mobile Carousel - Fade In/Out Style */
@media (max-width: 1024px) {
  .side-scroll-carousel-section {
    display: block;
  }

  .carousel-container-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
  }

  .side-scroll-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 12px;
    gap: 0;
    padding: 0;
    scroll-behavior: auto;
    scroll-snap-type: none;
  }

  .carousel-slide-item {
    position: absolute;
    width: 100%;
    height: 100%;
    flex: 0 0 100%;
    min-width: unset;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    cursor: default;
  }

  .carousel-slide-item.active {
    opacity: 1;
  }

  .carousel-slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel-nav-btn {
    position: relative;
    transform: none;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .carousel-prev,
  .carousel-next {
    left: auto;
    right: auto;
    background: rgba(62, 146, 204, 0.9);
  }

  .carousel-prev {
    order: -1;
  }

  .carousel-next {
    order: 1;
  }

  .carousel-nav-btn:hover {
    transform: scale(1.1);
  }

  .carousel-slide-item:hover {
    transform: none;
  }

  .carousel-slide-item:hover img {
    transform: none;
  }

  .slide-overlay {
    transform: translateY(0);
  }
}

/* ==========================================================================
   Global GSAP-like Animations & Scroll Effects
   ========================================================================== */

/* Fade-in animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInFromLeft {
  from {
    transform: translateX(-100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInFromRight {
  from {
    transform: translateX(100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Smooth scroll behavior classes */
html {
  scroll-behavior: smooth;
}

/* Apply animations to sections on load */
.section-header {
  animation: fadeInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.program-card,
.team-card,
.timeline-item,
.value-card,
.infra-card,
.impact-stat,
.contact-info-card,
.inquiry-type-card {
  animation: fadeInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation-fill-mode: both;
}

.program-card {
  animation-delay: 0.1s;
}

.program-card:nth-child(2) {
  animation-delay: 0.2s;
}

.program-card:nth-child(3) {
  animation-delay: 0.3s;
}

.program-card:nth-child(4) {
  animation-delay: 0.4s;
}

.program-card:nth-child(5) {
  animation-delay: 0.5s;
}

.team-card {
  animation-delay: 0.1s;
}

.team-card:nth-child(2) {
  animation-delay: 0.2s;
}

.team-card:nth-child(3) {
  animation-delay: 0.3s;
}

.team-card:nth-child(4) {
  animation-delay: 0.4s;
}

.hero-modern {
  animation: fadeIn 1s ease-out;
}

/* Text reveal animation */
@keyframes textReveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-modern h1,
.hero-modern p {
  animation: fadeInUp 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cta-group {
  animation: fadeInUp 1.1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Button press animation */
@keyframes buttonPress {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}

.btn-primary-modern:active,
.btn-secondary-modern:active,
.btn-primary,
.btn-secondary {
  animation: buttonPress 0.3s ease;
}

/* Smooth transitions for all interactive elements */
button,
a,
input,
textarea,
select {
  transition: all 0.3s ease;
}

/* Glowing effect on focus */
input:focus,
textarea:focus,
select:focus {
  box-shadow: 0 0 0 3px rgba(62, 146, 204, 0.1),
              0 0 8px rgba(62, 146, 204, 0.3);
  transform: translateY(-2px);
}

/* Stagger animation for list items */
li {
  animation: fadeInLeft 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation-fill-mode: both;
}

li:nth-child(1) { animation-delay: 0.1s; }
li:nth-child(2) { animation-delay: 0.2s; }
li:nth-child(3) { animation-delay: 0.3s; }
li:nth-child(4) { animation-delay: 0.4s; }
li:nth-child(5) { animation-delay: 0.5s; }
li:nth-child(6) { animation-delay: 0.6s; }

/* Floating element animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.float-element {
  animation: float 3s ease-in-out infinite;
}

/* Pulse animation for attention-grabbing elements */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

.social-links a {
  animation: pulse 2s ease-in-out infinite;
}

.social-links a:hover {
  animation: none;
}

/* Smooth gradient animation */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.gradient-animated {
  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
}

/* Scale on hover with smooth transform */
.card,
.program-card,
.team-card {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.4s ease,
              color 0.3s ease;
}

.card:hover,
.program-card:hover,
.team-card:hover {
  transform: translateY(-12px) scale(1.02);
}

/* Enhanced shadow transitions */
.shadow-transition {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.shadow-transition:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Smooth color transitions */
@keyframes colorShift {
  0% { color: #3e92cc; }
  50% { color: #118ab2; }
  100% { color: #3e92cc; }
}

.color-animation {
  animation: colorShift 3s ease-in-out infinite;
}

/* Bounce animation */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.bounce-element {
  animation: bounce 2s ease-in-out infinite;
}

/* Rotate animation for icons */
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.rotate-icon {
  animation: rotate 4s linear infinite;
}

.rotate-icon:hover {
  animation: rotate 2s linear infinite;
}

/* Easing functions for smooth GSAP-like feel */
.ease-out-quad {
  animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ease-out-cubic {
  animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

.ease-out-quart {
  animation-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ease-out-expo {
  animation-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
}

@media (max-width: 768px) {
  .sustainability-education {
    padding: 1.5rem;
  }

  .component-item {
    padding: 1rem;
  }

  /* Reduce animation complexity on mobile */
  .program-card,
  .team-card,
  .carousel-slide-item {
    animation-duration: 0.6s;
  }

  .section-header {
    animation-duration: 0.6s;
  }

  li:nth-child(1) { animation-delay: 0s; }
  li:nth-child(2) { animation-delay: 0.1s; }
  li:nth-child(3) { animation-delay: 0.2s; }
  li:nth-child(4) { animation-delay: 0.3s; }
  li:nth-child(5) { animation-delay: 0.4s; }
  li:nth-child(6) { animation-delay: 0.5s; }
}
