/*===========================================================
	VARIABLES & FONTS
=============================================================*/
:root {
  /* ==========================================
       REFINED COLOR SYSTEM (TataTrusts.org Enhanced)
       ========================================== */

  /* Backgrounds - Warmer, More Sophisticated */
  --bg-primary: #F9FAFB;
  /* Warmer off-white */
  --bg-secondary: #F3F4F6;
  /* Softer light grey */
  --bg-tertiary: #FFFFFF;
  /* Pure white for cards */
  --surface: #FFFFFF;
  /* Cards and content areas */
  --card-bg: #FFFFFF;
  /* Clean white for cards */

  /* Brand Colors - Refined */
  --primary-color: #1e3a5f;
  /* Slightly lighter navy (less heavy) */
  --primary-dark: #0d1f38;
  /* Darker navy for depth */
  --primary-light: #2e5a8f;
  /* Lighter navy for subtle elements */
  --accent-color: #2B7A9D;
  /* Refined teal */
  --accent-light: #5BA1C5;
  /* Lighter teal for hover */
  --accent-dark: #1E5670;
  /* Darker teal for emphasis */
  --accent-hover-color: #0d1f38;
  /* Darker navy for hover */

  /* Text Colors - Sophisticated Grey Scale */
  --text-primary: #111827;
  /* Almost black (better than pure black) */
  --text-secondary: #4B5563;
  /* Medium grey (less harsh) */
  --text-tertiary: #6B7280;
  /* Lighter grey for captions */
  --text-muted: #9CA3AF;
  /* Very light grey for metadata */
  --text-white: #FFFFFF;
  --text-black: #111827;
  /* Using refined almost-black */

  /* Semantic Colors - More Muted */
  --success-color: #059669;
  /* Deeper green */
  --success-light: #D1FAE5;
  /* Light green background */
  --error-color: #DC2626;
  /* Refined red */
  --warning-color: #F59E0B;
  /* Amber */
  --info-color: #3B82F6;
  /* Clearer blue */
  --info-light: #DBEAFE;
  /* Light blue background */

  /* UI Elements - Refined */
  --link-color: var(--accent-color);
  --input-bg: #F9FAFB;
  --border-color: #E5E7EB;
  /* Softer borders (less stark) */
  --border-light: #F3F4F6;
  /* Very light border */
  --border-dark: #D1D5DB;
  /* Darker border for emphasis */

  /* Shadow System - Layered Approach */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.08), 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);

  /* Global Viewport */
  --global-viewport: 100vw;
  --global-viewport-max: 1920px;
  --global-viewport-min-tablet: 768px;
  --global-viewport-min-mobile: 320px;
  --global-viewport-content-responsive: 87.5vw;
  --global-viewport-content-responsive-max: 1200px;
  /* Narrower for better readability */

  /* ==========================================
       TYPOGRAPHY SYSTEM (Titillium Web Enhanced)
       ========================================== */
  --font-family-primary: 'Titillium Web', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-fallback: "Nunito Sans", sans-serif;

  /* Font Sizes */
  --font-size-xs: 0.75rem;
  /* 12px */
  --font-size-sm: 0.875rem;
  /* 14px */
  --font-size-base: 1rem;
  /* 18px - Increased for better readability */
  --font-size-md: 1.25rem;
  /* 20px */
  --font-size-lg: 1.5rem;
  /* 24px */
  --font-size-xl: 2rem;
  /* 32px */
  --font-size-2xl: 2.5rem;
  /* 40px */
  --font-size-3xl: 3rem;
  /* 48px */
  --font-size-4xl: 3.5rem;
  /* 56px */

  /* Font Weights */
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  /* Line Heights - Refined System */
  --line-height-tight: 1.25;
  /* Headings */
  --line-height-snug: 1.375;
  /* Subheadings */
  --line-height-normal: 1.5;
  /* UI elements */
  --line-height-relaxed: 1.625;
  /* Short paragraphs */
  --line-height-loose: 1.75;
  /* Long-form content */

  /* Legacy line heights (for compatibility) */
  --line-height-xs: 1.6;
  --line-height-sm: 1.6;
  --line-height-base: 1.625;
  /* Updated to relaxed */
  --line-height-md: 1.5;
  --line-height-lg: 1.375;
  /* Updated to snug */
  --line-height-xl: 1.25;
  /* Updated to tight */
  --line-height-2xl: 1.25;
  --line-height-3xl: 1.25;
  --line-height-4xl: 1.25;

  /* Spacing */
  --gap-xs: 0.5rem;
  /* 8px */
  --gap-sm: 0.75rem;
  /* 12px */
  --gap-md: 1rem;
  /* 16px */
  --gap-lg: 1.5rem;
  /* 24px */
  --gap-xl: 2rem;
  /* 32px */
  --gap-2xl: 2.5rem;
  /* 40px */
  --gap-3xl: 3rem;
  /* 48px */
  --gap-4xl: 4rem;
  /* 64px */
  --gap-5xl: 5rem;
  /* 80px */
  --gap-6xl: 6rem;
  /* 96px */
  --gap-7xl: 7rem;
  /* 112px */
  --gap-8xl: 8rem;
  /* 128px */

  /* Border Radius - Refined Scale */
  --radius-none: 0;
  --radius-sm: 0.375rem;
  /* 6px - Small elements */
  --radius-md: 0.5rem;
  /* 8px - Buttons, inputs */
  --radius-lg: 0.75rem;
  /* 12px - Cards */
  --radius-xl: 1rem;
  /* 16px - Large cards */
  --radius-2xl: 1.5rem;
  /* 24px - Hero sections */
  --radius-3xl: 2rem;
  /* 32px - Very large elements */
  --radius-full: 9999px;
  /* Fully rounded */

  /* Border Widths */
  --border-width-thin: 1px;
  --border-width-medium: 2px;
  --border-width-thick: 3px;
  --border-width-bold: 4px;


  /* Transition Easing */
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.0, 0, 0.2, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);

  /* Box Shadows - Legacy Support */
  --box-shadow-1: var(--shadow-sm);
  --box-shadow-1-hover: var(--shadow-md);
}

/*===========================================================
    ELEMENT STYLES
=============================================================*/
*,
*::after,
*::before {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%
}

body {
  font-family: var(--font-family-primary);
  font-size: 1rem;
  line-height: var(--line-height-base);
  color: var(--text-secondary);
  background-color: var(--bg-primary);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

ul,
ol,
li,
dl,
dt,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hgroup,
p,
blockquote,
figure,
form,
fieldset,
input,
legend,
pre,
abbr,
button {
  margin: 0;
  padding: 0
}

pre,
code,
address,
caption,
th,
figcaption {
  font-size: 1em;
  font-weight: normal;
  font-style: normal
}

fieldset,
iframe {
  border: 0
}

caption,
th {
  text-align: left
}

table {
  border-collapse: collapse;
  border-spacing: 0
}

main,
summary,
details {
  display: block
}

audio,
canvas,
video,
progress {
  vertical-align: baseline
}

button {
  background: none;
  border: 0;
  /* -webkit-box-sizing: content-box;
    box-sizing: content-box; */
  color: inherit;
  cursor: pointer;
  font: inherit;
  line-height: inherit;
  overflow: visible;
  vertical-align: inherit
}

button:disabled {
  cursor: default
}

/* :focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 0px
} */
::-moz-focus-inner {
  border: 0;
  padding: 0
}

a {
  display: inline-block;
  color: var(--link-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-hover-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-bold);
  /* 700 */
  color: var(--text-primary);
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
}

h1 {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  /* 700 */
  letter-spacing: -0.025em;
  /* Tighter for large text */
  line-height: var(--line-height-tight);
  /* 1.25 */
  margin-bottom: 1.5rem;
}

h2 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  /* 700 */
  letter-spacing: -0.015em;
  line-height: var(--line-height-tight);
  /* 1.25 */
  margin-bottom: 1.5rem;
}

h3 {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
  /* 600 */
  letter-spacing: -0.01em;
  line-height: var(--line-height-snug);
  /* 1.375 */
  margin-bottom: 1.5rem;
}

h4 {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  /* 600 */
  line-height: var(--line-height-snug);
  /* 1.375 */
  margin-bottom: 1.5rem;
}

h5 {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  /* 500 */
  line-height: var(--line-height-normal);
  /* 1.5 */
  margin-bottom: 1.5rem;
}

h6 {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  /* 500 */
  line-height: var(--line-height-normal);
  /* 1.5 */
  margin-bottom: 1.5rem;
}

@media (max-width: 575.98px) {
  h1 {
    font-size: var(--font-size-2xl);
  }

  h2 {
    font-size: var(--font-size-lg);
  }

  h3 {
    font-size: var(--font-size-md);
  }

  h4 {
    font-size: var(--font-size-sm);
  }

  h5 {
    font-size: var(--font-size-base);
  }

  h6 {
    font-size: var(--font-size-xs);
  }
}

p {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  /* 400 */
  line-height: var(--line-height-relaxed);
  /* 1.625 */
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

ul,
ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  list-style-type: none;
}

li {
  /* margin-bottom: 1.5rem; */
  color: var(--text-secondary);
}

img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

quote,
blockquote {
  margin: 0;
  padding: 0;
  font-style: italic;
  color: var(--text-secondary);
  border-left: 4px solid var(--border-color);
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}

/* Section Styling - Improved Spacing */
section {
  padding: 3rem 0;
  /* Mobile: 48px */
}

@media (min-width: 768px) {
  section {
    padding: 3rem 0;
    /* Tablet: 64px */
  }
}

@media (min-width: 1200px) {
  section {
    padding: 4rem 0;
    /* Desktop: 96px - TataTrusts style */
  }
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */

i {
  font-style: normal;
  color: var(--accent-color);
}

.fs-7 {
  font-size: 0.875rem;
}

.brand_text--gradient {
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.img__box--square {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.img__box--square .img-fluid {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ratio__1x1 {
  display: flex;
  width: 100%;
  aspect-ratio: 1 / 1;
}

.ratio__2x1 {
  display: flex;
  width: 100%;
  aspect-ratio: 2 / 1;
}

.ratio__3x1 {
  display: flex;
  width: 100%;
  aspect-ratio: 3 / 1;
}

.box__shadow--1 {
  box-shadow: rgba(14, 63, 126, 0.06) 0px 0px 0px 1px, rgba(42, 51, 70, 0.03) 0px 1px 1px -0.5px, rgba(42, 51, 70, 0.04) 0px 2px 2px -1px, rgba(42, 51, 70, 0.04) 0px 3px 3px -1.5px, rgba(42, 51, 70, 0.03) 0px 5px 5px -2.5px, rgba(42, 51, 70, 0.03) 0px 10px 10px -5px, rgba(42, 51, 70, 0.03) 0px 24px 24px -8px !important;
  transition: box-shadow 0.3s ease;
}

.box__shadow--1:hover {
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

.bg__primary {
  background-color: var(--primary-color);
}

.bg__secondary {
  background-color: var(--bg-secondary);
}

.bg__tertiary {
  background-color: var(--bg-tertiary);
}

.bg__accent {
  background-color: var(--accent-color);
}

.bg__accent--hover {
  background-color: var(--accent-hover-color);
}

.list__style--auto {
  list-style-type: auto;
}

/* .btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 0.75rem 2.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: background-color 0.3s ease;
    border-color: var(--primary-color);
    margin: 0.5rem 0;
}
.btn:hover {
    background-color: var(--accent-hover-color);
    border-color: var(--accent-hover-color);
} */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  line-height: 1;
  /* 500 */
  letter-spacing: 0.025em;
  /* Open buttons for clarity */
  border-radius: var(--radius-md);
  /* 8px */
  border: 2px solid transparent;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  width: fit-content;
}

.btn .btn-text {
  position: relative;
  transition: transform 0.3s ease;
}

.btn .btn-text i {
  color: unset;
}

/* Smooth hover effect */
.btn:hover {
  /* padding-right: 44px;  */
  /* background-color: #0d6efd;
  color: #fff; */
  /* transform: scale(1.05); */
}

.btn:hover .btn-text {
  transform: translateX(-12px);
}

/* Add arrow dynamically on hover */
.btn::after {
  content: "→";
  position: absolute;
  right: 20px;
  opacity: 0;
  transform: translate(-10px, 0);
  transition: all 0.3s ease;
  /* color: #fff; */
}

/* Animate arrow in on hover */
.btn:hover::after {
  opacity: 1;
  transform: translate(0, -5%);
}

/* Optional: subtle press-down effect */
/* .btn:active {
  transform: scale(0.98);
} */
.btn.btn-light {
  background-color: var(--surface);
  color: var(--accent-color);
  border: var(--border-width-medium) solid var(--accent-color);
}

.btn.btn-light:hover {
  background-color: var(--primary-color);
  color: var(--text-white);
  border: var(--border-width-medium) solid var(--text-white);
}

.btn.btn-dark {
  background-color: var(--primary-color);
  color: var(--text-white);
  border: var(--border-width-medium) solid var(--primary-color);
}

.btn.btn-dark:hover {
  background-color: var(--surface);
  color: var(--accent-color);
  border: var(--border-width-medium) solid var(--accent-color);
}

.btn.btn-accent {
  background-color: var(--accent-color);
  color: var(--text-white);
  border: var(--border-width-medium) solid var(--accent-color);
}

.btn.btn-dark:hover {
  background-color: var(--surface);
  color: var(--accent-color);
  border: var(--border-width-medium) solid var(--accent-color);
}

.btn-sm {
  padding: 0.5rem 2rem !important;
}

.navbar-toggler {
  color: #333;
}

.navbar-toggler-icon {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--accent-hover-color);
    font-size: 2rem;
}

.image__3-3 {
  width: 100%;
  aspect-ratio: 3 / 3;
  object-fit: cover;
}

.image__4-3 {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.image__3-4 {
  width: 100%;
  aspect-ratio: 3.5 / 4;
  object-fit: cover;
}

.text-primary {
  --bs-text-opacity: 1;
  color: var(--primary-color) !important;
}

.section__title-box .section__title {
  display: inline-block;
  font-weight: 300;
  letter-spacing: -1px;
  background: var(--accent-color);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: var(--font-size-xl);
  /* Standard property for compatibility */
}

.section__title-box .section__title::after {
  content: '';
  display: block;
  width: 10rem;
  height: 0.1rem;
  background-color: var(--accent-color);
  margin-top: 0.5rem;
  border-radius: var(--radius-sm);
}

.section__title-box .section__subtitle {
  width: 75%;
  font-weight: 300;
  font-size: var(--font-size-md);
}

/* ==========================================
   HEADER & NAVIGATION (TataTrusts.org Inspired)
   ========================================== */

/* Topbar */
.topbar {
  background-color: #F6F6F6;
  /*padding: 0.75rem 0;*/
  border-bottom: 1px solid var(--border-color);
}

.topbar-text {
  font-size: 0.875rem;
  color: var(--accent-hover-color);
  font-weight: 400;
  padding: 0.75rem 0.75rem;
  display: inline-block;
  border-right: 1px solid var(--border-color);
}

.topbar-social-links {
  display: flex;
  justify-content: end;
}

.topbar-social-links a {
  color: var(--accent-hover-color);
  transition: color 0.3s ease;
  padding: 0.75rem 1rem;
  border-left: 1px solid var(--border-color);
}

.topbar-social-links a:hover {
  color: var(--primary-color);
}

/* Brand Section */
.nav-brand-block {
  background-color: var(--surface);
  padding: 1.5rem 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.navbar-brand {
  width: 100%;
  display: flex;
  justify-content: start;
  align-items: center;
  padding: 0 var(--gap-lg);
}

.nav-brand-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: -0.5px;
  line-height: 1.3;
}

.nav-brand-title span {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-secondary);
  font-style: normal;
}

/* Main Navigation */
#MainHeaderNav {
  background-color: var(--accent-hover-color);
  padding: 0;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 1rem;
  padding: 1.25rem 1.5rem !important;
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--surface) !important;
  background-color: var(--accent-color);
}

.navbar-nav .nav-link.show {
  background-color: var(--accent-color);
  color: var(--text-white) !important;
}

/* Dropdown Menus */
.dropdown-menu {
  border: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 0;
  margin-top: 0;
}

.dropdown-menu.show li {
  padding: 0;
  border-bottom: 1px solid var(--border-color);
}

.dropdown-menu.show li:last-child {
  border-bottom: none;
}

.dropdown-menu.show li:hover {
  background: var(--accent-color);
}

.dropdown-item {
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
}

.dropdown-item:focus,
.dropdown-item:hover {
  background-color: var(--accent-color);
  color: var(--text-white);
}

/* Nav Pills/Tabs - Research Spotlight */
.nav-pills-block {
  background-color: transparent;
  padding: 0;
  border: none;
}

.nav-pills-box {
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 3rem;
  display: flex;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.nav-pills-box .nav-pills {
  flex: 0 0 auto;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 1rem;
}

.nav-pills .nav-item {
  margin: 0;
}

.nav-pills .nav-link {
  background-color: transparent;
  color: var(--text-secondary);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-base);
  padding: var(--gap-md) var(--gap-lg);
  border: none;
  border-bottom: var(--border-width-thick) solid transparent;
  border-radius: 0;
  transition: all 0.2s var(--ease-in-out);
}

.nav-pills .nav-link:hover {
  color: var(--primary-color);
  background-color: var(--accent-dark);
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
  color: var(--primary-color);
  background-color: var(--accent-dark);
  border-bottom-color: var(--accent-color);
}

/* .tab-content {
    background-color: var(--card-bg);
    padding: var(--gap-2xl);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
} */
/* Card Components */

.card {
  width: 100%;
  height: auto;
  border: var(--border-width-thin) solid var(--border-color);
  border-radius: var(--radius-xl);
  /* 12px */
  background-color: var(--card-bg);
  box-shadow: var(--shadow-sm);
  /* Refined shadow */
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-body {
  padding: 0;
  margin-top: 1.5rem;
}

.gallery--section .card-body, .press__releases--section .card-body, .media__events--section .card-body {
  padding: 1.5rem;
  margin-top: 0;
  background-color: #E5E7EB;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 -7px 13px -10px rgba(0,0,0,0.9);
}

@media (min-width: 768px) {
  .card {
    padding: 2.5rem;
  }
}

.card:hover {
  border-color: var(--accent-light);
  box-shadow: var(--shadow-md);
  /* Deeper shadow on hover */
  transform: translateY(-2px);
  /* Subtle lift (reduced from -4px) */
}

/*.feature-box {
    display: flex;
    align-items: start;
    justify-content: end;
    text-align: start;
    position: relative;
    overflow: hidden;
}
.feature-box .card-content-box {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    background: rgba(255, 255, 255, 0.8);
    padding: var(--gap-lg);
    border-radius: var(--radius-md);
}
#feature-box-2, #feature-box-3, #feature-box-4, #feature-box-5 {
    width: 100%;
    aspect-ratio: 1 / 1;
}
#feature-box-1::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../img/program1.jpeg') no-repeat center center / cover;
  transition: transform 0.6s ease;
  transform: scale(1);
  z-index: 0;
}
#feature-box-1:hover::before {
  transform: scale(1.1);
}
#feature-box-2::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../img/program2.jpeg') no-repeat center center / cover;
  transition: transform 0.6s ease;
  transform: scale(1);
  z-index: 0;
}
#feature-box-2:hover::before {
  transform: scale(1.1);
}
#feature-box-3::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../img/program3.jpeg') no-repeat center center / cover;
  transition: transform 0.6s ease;
  transform: scale(1);
  z-index: 0;
}
#feature-box-3:hover::before {
  transform: scale(1.1);
}
#feature-box-4::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../img/program4.jpeg') no-repeat center center / cover;
  transition: transform 0.6s ease;
  transform: scale(1);
  z-index: 0;
}
#feature-box-4:hover::before {
  transform: scale(1.1);
}
#feature-box-5::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../img/program5.jpeg') no-repeat center center / cover;
  transition: transform 0.6s ease;
  transform: scale(1);
  z-index: 0;
}
#feature-box-5:hover::before {
  transform: scale(1.1);
} */
/* ===== Base Feature Box Layout ===== */
.feature-box {
  display: flex;
  align-items: start;
  justify-content: end;
  text-align: start;
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  padding: 0;
}

#feature-box-2,
#feature-box-3,
#feature-box-4,
#feature-box-5 {
  width: 100%;
  aspect-ratio: 1 / 1;
}

/* ===== Card Inner Content ===== */
.feature-box .card-content-box {
  width: 100%;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  background: rgba(255, 255, 255, 0.8);
  padding: var(--gap-lg);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  transition: background 0.3s ease;
}

.feature-box:hover .card-content-box {
  background: rgba(255, 255, 255, 0.9);
}

/* ===== Background Zoom Effect (Reusable) ===== */
.feature-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  transition: transform 0.6s ease;
  transform: scale(1);
  z-index: 0;
}

.feature-box:hover::before {
  transform: scale(1.1);
}

/* ===== Individual Backgrounds ===== */
#feature-box-1::before {
  background-image: url('../img/programs/diagnostics-hub.jpg');
}

#feature-box-2::before {
  background-image: url('../img/programs/women-child-health.jpg');
}

#feature-box-3::before {
  background-image: url('../img/programs/skills-for-jobs.jpg');
}

#feature-box-4::before {
  background-image: url('../img/programs/stem-labs.jpeg');
}

#feature-box-5::before {
  background-image: url('../img/programs/one-health-environment.jpg');
}


.page_banner--section {
  padding: 0;
  /* margin: 1rem 0; */
  /* background-color: var(--primary-color);
    color: var(--accent-color);
    text-align: center; */
}

.page_banner--section .container {
  max-width: 100%;
  padding: 0;
}

.page_banner--section .page_banner--title-box {
  padding: var(--gap-6xl);
  /* background-color: var(--primary-color); */
  background: linear-gradient(135deg, var(--primary-color), var(--accent-hover-color));
  color: var(--accent-color);
  text-align: center;
  /* border-radius: 2rem; */
  /* margin-bottom: 3rem; */
}

.page_banner--section .page_banner--title-box .page_banner--title {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--gap-md);
  font-weight: 700;
  color: var(--text-white);
}

.page_banner--section .page_banner--title-box .page_banner--subtitle {
  font-size: var(--font-size-md);
  margin-bottom: 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--accent-light);
}

.pagebottom_toggle_box {
  display: inline-block;
  width: 150px;
  position: fixed;
  bottom: 0px;
  left: 0%;
  right: 0%;
  z-index: 1;
  margin: 0 auto;
  text-align: center;
  border-radius: 0.5rem 0.5rem 0 0;
  transition: top 0.25s ease;
  background-color: #333;
}



/* .pagebottom_toggle_box::before {

  content: '';

  position: fixed;

  border-right: 5px solid #333;

  border-bottom: 5px solid #333;

  left: 0%;

  top: 0%;

} */

.pagebottom_toggle_box:hover {
  background-color: #000;
}

.pagebottom_toggle_box .pagebottom_toggle {
  display: flex;
  width: max-content;
  color: #FFF;
  font-weight: 400;
  padding-top: 0.5rem;
  padding-left: 1.5rem;
  padding-bottom: 0.25rem;
  padding-right: 1.5rem;
}

.pagebottom_toggle_box .pagebottom_toggle .bi {
  margin-right: 0.25rem;
}

#footerConnectModal .modal-content {
  background-color: #333;
  color: #fff;
}

#footerConnectModal .modal-content #socialmedia_modal_box {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

#footerConnectModal .modal-content #socialmedia_modal_box .socialmedia_icon_box {
  margin: 1rem;
}

#footerConnectModal .modal-content #socialmedia_modal_box .socialmedia_icon_box .socialmedia_icon {
  font-size: 1.5rem;
  color: #FFF;
}

#footerConnectModal .modal-content #socialmedia_modal_box .socialmedia_icon_box .socialmedia_icon:hover {
  color: #0071e3;
}

/* Hero Banner Section */
.home_banner-section {
  padding: 0;
  position: relative;
  min-height: 600px;
}

.home_banner-section .home_banner-content-block {
  width: 100%;
  min-height: 600px;
  aspect-ratio: 5 / 2;
  color: var(--text-white);
  background: url(../img/dlsrc-home-bg.jpg) no-repeat center center;
  background-size: cover;
  background-position: 70% 50%;
  border-radius: none;
}

.home_banner-section .home_banner-content-block .home_banner-content {
  width: 100%;
  height: 100%;
  padding: 4rem 7%;
  border-radius: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home_banner--title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.home_banner--subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

.home_banner-content span {
  font-size: 1.125rem;
  font-weight: 400;
}

/* Mobile hero adjustments */
@media (max-width: 767px) {
  .home_banner--title {
    font-size: 2rem;
  }

  .home_banner--subtitle {
    font-size: 1.125rem;
  }

  .home_banner-section .home_banner-content-block .home_banner-content {
    padding: 2rem 5%;
  }
}

@media (max-width: 575.98px) {
  .section__title-box .section__subtitle {
    width: 100%;
  }
}

.gallery__grid .img-fluid {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 1rem 1rem 0 0;
}

.legacy__img--box {
  width: 100%;
  height: auto;
  /* max-height: 400px; */
  overflow: hidden;
  margin-bottom: var(--gap-md);
  position: relative;
  border: 1px solid #FFF;
  border-radius: 1.5rem;
}

/* .legacy__img--box img {
    position: absolute;
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
} */
/* .blog-carousel-section {
  background-color: #f8f9fa;
} */

/* Custom styling for the legacy card - using light shadow and rounded corners */
.legacy-card {
  /* background-color: #ffffff; */
  /* border-radius: 1.5rem; */
  /* Large border radius */
  /* border: none; */
  /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); */
  /* Soft, light shadow */
  /* transition: transform 0.3s ease, box-shadow 0.3s ease; */
}

.legacy-card:hover {
  /* transform: translateY(-5px); */
  /* Subtle lift on hover */
  /* box-shadow: 0 15px 40px rgba(45, 100, 200, 0.15); */
  /* Slightly stronger shadow with a blue tint */
}

/* Gradient for title highlight in a light theme */
.gradient-text {
  /* Using standard Bootstrap primary and info colors for gradient */
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  /* background: linear-gradient(90deg, #0d6efd, #0dcaf0); */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Custom border style for feature boxes */
.legacy-box {
  border-left: 5px solid;
  padding-left: 1rem;
  border-radius: 0.25rem;
}

.feature-primary {
  border-color: #0d6efd;
  /* Bootstrap primary blue */
}

.feature-info {
  border-color: #0dcaf0;
  /* Bootstrap info cyan */
}

.image-container {
  position: relative;
  /* Ensures the image placeholder looks good in a light theme */
  /* background: linear-gradient(45deg, #e9ecef, #ced4da);
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); */
}

.swiper-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.swiper-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.swiper-card img {
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
  object-fit: cover;
}

/* Overlay setup */
.swiper-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
  color: #fff;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s ease;
}

.swiper-card:hover .overlay {
  opacity: 1;
  transform: translateY(0);
}

.swiper {
  padding-bottom: 40px;
}

.swiper-button-next,
.swiper-button-prev {
  color: #0d6efd;
}

.swiper-pagination-bullet-active {
  background: #0d6efd;
}

.swiper.collaborationsSwiper .swiper-slide {
  width: 100%;
  aspect-ratio: 3 / 2;
}

.swiper.collaborationsSwiper .swiper-slide .swiper-card {
  width: 100%;
  height: 100%;
  text-align: center;
  align-content: center;
  background-color: #e5e7e9;
}
.swiper.collaborationsSwiper .swiper-slide .swiper-card img {
  height: 90%;
  width: auto;
  object-fit: contain;
}

.swiper.blogSwiper .swiper-slide {
  width: 100%;
  aspect-ratio: 3 / 2;
}

.swiper.blogSwiper .swiper-slide .swiper-card {
  width: 100%;
  height: 100%;
  text-align: center;
  align-content: center;
  background-color: #e5e7e9;
}
.swiper.blogSwiper .swiper-slide .swiper-card img {
  height: 100%;
  width: auto;
  object-fit: cover;
}

.counter-card {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--accent-hover-color);
  border-bottom: 5px solid var(--accent-color);
  box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
}

.counter-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.counter-card .counter-icon {
  display: block;
  font-size: 3rem;
  margin-bottom: 2rem;
  line-height: normal;
}

.counter {
  font-size: 3.5rem;
  line-height: 1;
  color: #FFF;
}

@media (max-width: 576px) {
  .counter {
    font-size: 2rem;
  }
}

/*.infinite-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.slide-track {
  display: flex;
  width: calc(300px * 10 * 2); /* card width × card count × 2 for duplicate loop */
/*  animation: scroll var(--scroll-speed, 40s) linear infinite;
}

.card {
  width: 300px;
  min-width: 300px;
  margin: 0 1rem;
  border-radius: 1rem;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: scale(1.05);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Pause on hover (optional) */
/*.infinite-slider:hover .slide-track {
  animation-play-state: paused;
}

/* Responsive adjustments */
/*@media (max-width: 768px) {
  .card {
    width: 240px;
    min-width: 240px;
  }
  .slide-track {
    width: calc(240px * 10 * 2);
  }
}*/


.scroll-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.scroll-content {
  display: flex;
  gap: 1.5rem;
  animation: scroll-horizontal var(--scroll-speed, 25s) linear infinite;
  width: max-content;
}

.scroll-item {
  flex: 0 0 auto;
  width: 280px;
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.3s ease;
  padding: 0%;
}

.scroll-item:hover {
  transform: scale(1.05);
}

@keyframes scroll-horizontal {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Smooth animation trick — duplicate elements for seamless loop */
.scroll-content::after {
  content: attr(data-duplicate);
  display: flex;
}

/* Responsive scaling */
@media (max-width: 768px) {
  .scroll-item {
    width: 220px;
  }
}

/* Styling for the Pillar Cards */
.pillar-card {
  background-color: #ffffff;
  border-radius: 1rem;
  border: 1px solid #dee2e6;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(13, 110, 253, 0.1);
  /* Hover shadow with a slight primary blue tint */
}

.pillar-icon-wrapper {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 2rem;
  box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
}

.governance__person--box {
  padding: 0;
  background: rgba(0, 0, 0, 0.05);
  box-shadow: none;
  min-height: 463px;
}

.governance__person--box .card__title {
  padding: 0 1rem;
  margin-bottom: 0.25rem;
}

.governance__person--box .card__desc {
  padding: 0 1rem;
  margin-bottom: 1.25rem;
  font-size: 12px;
  line-height: 1.25;
}
.card__mail, .card__phone {
    width: 32px;
    height: 32px;
    border-radius: 32px;
    background: var(--accent-color);
    color: #FFF;
    text-align: center;
    align-content: center;
}
.card__mail i, .card__phone i {
    color: #FFF;
}


.video__iframe {
  width: 100%;
  aspect-ratio: 5 / 3;
  border-radius: 1rem;
}


/* Custom styling for the Accordion container */
.accordion {
  border-radius: 1.5rem;
  /* Large rounded corners for the whole block */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  /* Soft shadow for depth */
  overflow: hidden;
  /* Ensures borders/shadows look clean */
}

/* Styling for individual accordion items */
.accordion-item {
  border: none;
  /* Remove default item borders */
}

/* Styling for the accordion button (header) */
.accordion-button {
  padding: 1.5rem;
  font-weight: 600;
  color: #212529;
  background-color: #ffffff;
  /* White background for clean look */
  border-bottom: 1px solid #dee2e6;
  /* Light separator line */
  transition: background-color 0.3s ease;
}

/* Active state for the button */
.accordion-button:not(.collapsed) {
  color: #FFF;
  /* Primary Blue for active text */
  background-color: var(--accent-hover-color);
  /* Very light blue background for active section */
  box-shadow: none;
  /* Remove default focus box shadow */
  border-bottom: 1px solid var(--accent-color);
  /* Blue border to match text */
}

/* Styling for the icon/arrow (to match theme colors) */
.accordion-button:not(.collapsed)::after {
  filter: invert(30%) sepia(90%) saturate(1000%) hue-rotate(220deg);
  /* Makes the icon blue */
}

/* Hover state for the button */
.accordion-button:hover {
  background-color: var(--accent-color);
}

/* Styling for the accordion body content */
.accordion-body {
  padding: 1.5rem;
  color: #495057;
  /* Dark gray for content text */
}

.accordion-button:focus {
  box-shadow: none;
  border: 1px solid var(--accent-color);
}


.section__content .card p {
  margin-bottom: 0;
}


/* Custom styling for the CTA container card */
.cta-box {
  background-color: #ffffff;
  border-radius: 2rem;
  /* Very large border radius for a modern feel */
  border: none;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  /* Strong, professional shadow */
  padding: 3rem;
  margin: auto;
  text-align: center;
}

/* Custom title gradient (same as previous sections) */
/* .gradient-text {
            background: linear-gradient(90deg, #0d6efd, #0dcaf0);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
 */

/* Footer specific styling */
.main-footer {
  background-color: var(--accent-hover-color);
  /* White background */
  color: #495057;
  /* Dark text for contrast */
  padding-top: 4rem;
  border-top: 4px solid var(--accent-color);
  /* Blue accent border at the top */
  margin-top: auto;
  /* Push footer to the bottom */
}

.footer-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-light);
  /* Darker heading text */
  margin-bottom: 1.5rem;
  position: relative;
}

/* Styling for links */
.main-footer a {
  color: rgba(248, 249, 250, 1);
  text-decoration: none;
  transition: color 0.2s ease;
}

.main-footer a:hover {
  color: var(--accent-color);
  /* Primary blue on hover */
}

/* Styling for the bottom bar */
.footer-bottom-bar {
  background-color: #e9ecef;
  /* Light gray for the bottom bar */
  padding: 1rem 0;
  font-size: 0.85rem;
  color: #6c757d;
}

/* Custom logo text styling using the gradient */
.logo-gradient-text {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* Social icon styling */
.social-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--accent-color);
  /* Primary blue circle */
  color: #ffffff;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
  transition: background-color 0.3s, transform 0.3s;
}

.social-icon:hover {
  background-color: var(--primary-color);
  /* Cyan on hover */
  transform: translateY(-2px);
}




/* Styling for the main content card */
.contact-card {
  background-color: #ffffff;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  /* Soft shadow */
  padding: 2.5rem;
}

/* Styling for the Send Message Button */
.btn-send {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff;
  font-weight: 600;
  padding: 0.75rem 2.5rem;
  transition: all 0.3s ease;
}

.btn-send:hover {
  background-color: #0c5bda;
  border-color: #0c5bda;
  transform: translateY(-1px);
}

/* Info boxes for contact details */
.info-box {
  background-color: #f0f8ff;
  /* Very light blue background */
  border-left: 5px solid var(--primary-color);
  /* Blue accent bar */
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

/* Placeholder for Map */
.map-placeholder {
  height: 375px;
  width: 100%;
  background-color: #e9ecef;
  border-radius: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  font-weight: 500;
  text-align: center;
}

.map-placeholder iframe {
  border-radius: 2rem;
}




/* Styling for the main content card wrappers */
.section-card {
  background-color: #ffffff;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  /* Soft shadow */
  padding: 2.5rem;
  margin-bottom: 3rem;
}


/* Accent box for the volunteer form */
.volunteer-accent-box {
  background-color: #e3f2fd;
  /* Lighter blue accent */
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid #bbdefb;
}

/* Job listing card style */
.job-listing {
  border: 1px solid #dbddde;
  border-left: 5px solid #0dcaf0;
  /* Cyan accent bar */
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: box-shadow 0.3s;
}

.job-listing:hover {
  box-shadow: 0 5px 15px rgba(13, 110, 253, 0.1);
}


@media (max-width: 575.98px) {
  section {
    padding: var(--gap-3xl) 0;
  }

  .nav-brand-icon {
    width: 15%;
    height: auto;
  }

  .nav-brand-title {
    font-size: 0.9rem;
  }

  .navbar-brand {
    display: flex;
    width: fit-content;
    max-width: 280px;
    margin-right: 0;
    padding: 0%;
  }

  .home_banner-section .home_banner-content-block {
    width: 100%;
    min-height: 600px;
    aspect-ratio: 5 / 4;
  }

  .home_banner--title {
    font-size: 1.5rem;
  }

  .home_banner--subtitle {
    font-size: 1.15rem;
  }

  .btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.825rem;
  }

  .nav-pills-block {
    padding: var(--gap-lg);
  }

  .page_banner--section .page_banner--title-box {
    padding: var(--gap-xl);
  }

  .page_banner--section .page_banner--title-box .page_banner--title {
    font-size: var(--font-size-2xl);
  }

  .page_banner--section .page_banner--title-box .page_banner--subtitle {
    font-size: 18px;
  }

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

/*===========================================================
    NGO COMPONENT LIBRARY STYLES
=============================================================*/

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--gap-xl);
}

.section-title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--gap-sm);
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  font-weight: 400;
}

/* Component Cards */
.component-card {
  background: var(--surface);
  border: var(--border-width-medium) solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease-in-out);
}

.component-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/*===========================================================
    BUTTONS & CTAs
=============================================================*/

/* Donation Button */
.btn-donate {
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
  color: var(--text-white);
  border: none;
  font-weight: 600;
  padding: var(--gap-md) var(--gap-lg);
  border-radius: 8px;
  transition: all 0.2s var(--ease-in-out);
  box-shadow: var(--shadow-sm);
}

.btn-donate:hover {
  background: linear-gradient(135deg, #B91C1C 0%, #991B1B 100%);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-donate:active {
  transform: translateY(0);
}

/* CSR Button */
.btn-csr {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
  color: var(--text-white);
  border: none;
  font-weight: 600;
  padding: var(--gap-md) var(--gap-lg);
  border-radius: 8px;
  transition: all 0.2s var(--ease-in-out);
  box-shadow: var(--shadow-sm);
}

.btn-csr:hover {
  background: linear-gradient(135deg, var(--accent-dark) 0%, #14455A 100%);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Enhanced Button Transitions */
.btn {
  transition: all 0.2s var(--ease-in-out);
}

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

.btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

/*===========================================================
    STAT CARDS
=============================================================*/

.stat-card {
  background: linear-gradient(135deg, var(--surface) 0%, var(--bg-primary) 100%);
  border: var(--border-width-medium) solid var(--border-color);
  border-radius: 12px;
  padding: var(--gap-xl);
  text-align: center;
  transition: all 0.3s var(--ease-in-out);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

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

.stat-card:hover {
  border-color: var(--accent-color);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.stat-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: var(--gap-md);
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {

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

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

.stat-number {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.2;
  margin-bottom: var(--gap-sm);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/*===========================================================
    RESEARCH CARDS
=============================================================*/

.card-research {
  border: var(--border-width-medium) solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s var(--ease-in-out);
  background: var(--surface);
}

.card-research:hover {
  border-color: var(--accent-color);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-research .card-img-top {
  transition: transform 0.4s var(--ease-out);
  height: 200px;
  object-fit: cover;
}

.card-research:hover .card-img-top {
  transform: scale(1.05);
}

.card-research .card-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--gap-sm);
  transition: color 0.2s ease;
}

.card-research:hover .card-title {
  color: var(--accent-color);
}

/*===========================================================
    EVENT CARDS
=============================================================*/

.card-event {
  border: var(--border-width-medium) solid var(--border-color);
  border-radius: 12px;
  transition: all 0.3s var(--ease-in-out);
  position: relative;
  padding-left: 100px;
}

.card-event:hover {
  border-color: var(--accent-color);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.event-date-badge {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--text-white);
  border-radius: 8px;
  padding: var(--gap-md);
  text-align: center;
  min-width: 70px;
  box-shadow: var(--shadow-sm);
}

.event-day {
  display: block;
  font-size: var(--font-size-2xl);
  font-weight: 700;
  line-height: 1;
}

.event-month {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/*===========================================================
    BADGES
=============================================================*/

.badge {
  padding: 6px 16px;
  border-radius: 24px;
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.badge-csr {
  background: linear-gradient(135deg, #065F46, #047857);
  color: var(--text-white);
  box-shadow: 0 2px 4px rgba(6, 95, 70, 0.2);
}

.badge-certified {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--text-white);
  box-shadow: 0 2px 4px rgba(30, 58, 95, 0.2);
}

.badge-research {
  background: var(--info-light);
  color: var(--info-color);
  border: 1px solid var(--info-color);
}

.badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/*===========================================================
    MODERN ALERTS
=============================================================*/

.alert-modern {
  border-radius: 12px;
  border: none;
  border-left: 4px solid;
  padding: var(--gap-lg);
  margin-bottom: var(--gap-lg);
  box-shadow: var(--shadow-sm);
  animation: slideInRight 0.4s var(--ease-out);
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

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

.alert-success.alert-modern {
  background: var(--success-light);
  border-left-color: var(--success-color);
}

.alert-info.alert-modern {
  background: var(--info-light);
  border-left-color: var(--info-color);
}

.alert-warning.alert-modern {
  background: #FEF3C7;
  border-left-color: var(--warning-color);
}

.alert-primary.alert-modern {
  background: #DBEAFE;
  border-left-color: var(--primary-color);
}

.alert-modern .alert-heading {
  color: var(--text-primary);
  font-size: var(--font-size-lg);
  font-weight: 600;
}

/*===========================================================
    MODERN ACCORDION
=============================================================*/

.accordion-modern .accordion-item {
  border: var(--border-width-medium) solid var(--border-color);
  border-radius: 8px;
  margin-bottom: var(--gap-md);
  overflow: hidden;
  transition: all 0.2s ease;
}

.accordion-modern .accordion-item:hover {
  border-color: var(--accent-color);
}

.accordion-modern .accordion-button {
  background: var(--surface);
  color: var(--text-primary);
  font-weight: 600;
  padding: var(--gap-lg);
  transition: all 0.2s ease;
}

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

.accordion-modern .accordion-button::after {
  transition: transform 0.3s var(--ease-in-out);
}

.accordion-modern .accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
}

.accordion-modern .accordion-body {
  padding: var(--gap-lg);
  color: var(--text-secondary);
  line-height: 1.7;
}

/*===========================================================
    MODERN FORMS
=============================================================*/

.form-modern {
  background: var(--input-bg);
  border: var(--border-width-medium) solid var(--border-color);
  border-radius: 8px;
  padding: var(--gap-md) var(--gap-lg);
  transition: all 0.2s ease;
}

.form-modern:focus {
  background: var(--surface);
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(43, 122, 157, 0.1);
  outline: none;
}

.form-label {
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--gap-sm);
}

.donation-amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-sm);
  margin-bottom: var(--gap-md);
}

.donation-amount {
  padding: var(--gap-md);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.donation-amount:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--text-white);
  transform: translateY(-2px);
}

/*===========================================================
    IMPACT METRICS
=============================================================*/

.impact-metric {
  display: flex;
  gap: var(--gap-lg);
  padding: var(--gap-xl);
  background: linear-gradient(135deg, var(--surface), var(--bg-primary));
  border: var(--border-width-medium) solid var(--border-color);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.impact-metric:hover {
  border-color: var(--accent-color);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.impact-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--text-white);
  box-shadow: var(--shadow-sm);
  animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {

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

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

.impact-number {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--gap-xs);
  line-height: 1.2;
}

.impact-label {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--gap-sm);
}

.impact-description {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/*===========================================================
    PROGRESS BARS
=============================================================*/

.progress-bar-modern {
  height: 12px;
  background: var(--bg-secondary);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  border-radius: 12px;
  transition: width 1s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.progress-bar-accent .progress-fill {
  background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
}

.progress-bar-success .progress-fill {
  background: linear-gradient(90deg, var(--success-color), #10B981);
}

/*===========================================================
    LISTS
=============================================================*/

.list-checkmark,
.list-arrow,
.list-numbered {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-checkmark li {
  position: relative;
  padding-left: 32px;
  margin-bottom: var(--gap-md);
  color: var(--text-secondary);
  line-height: 1.6;
}

.list-checkmark li::before {
  content: '\F26B';
  font-family: 'bootstrap-icons';
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-size: 1.2rem;
  animation: checkPop 0.3s var(--ease-out);
}

@keyframes checkPop {
  0% {
    transform: scale(0);
  }

  50% {
    transform: scale(1.2);
  }

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

.list-arrow li {
  position: relative;
  padding-left: 32px;
  margin-bottom: var(--gap-md);
  color: var(--text-secondary);
  line-height: 1.6;
  transition: all 0.2s ease;
}

.list-arrow li::before {
  content: '\F285';
  font-family: 'bootstrap-icons';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.list-arrow li:hover {
  color: var(--text-primary);
  transform: translateX(4px);
}

.list-arrow li:hover::before {
  transform: translateX(4px);
}

.list-numbered {
  counter-reset: item;
  padding-left: 0;
}

.list-numbered li {
  position: relative;
  padding-left: 40px;
  margin-bottom: var(--gap-md);
  color: var(--text-secondary);
  line-height: 1.6;
  counter-increment: item;
}

.list-numbered li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-sm);
  font-weight: 600;
}

/*===========================================================
    BREADCRUMBS
=============================================================*/

.breadcrumb-modern {
  background: transparent;
  padding: var(--gap-md) 0;
  margin: 0;
}

.breadcrumb-modern .breadcrumb-item {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
}

.breadcrumb-modern .breadcrumb-item+.breadcrumb-item::before {
  content: '>';
  color: var(--text-muted);
  padding: 0 var(--gap-sm);
}

.breadcrumb-modern .breadcrumb-item a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-modern .breadcrumb-item a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.breadcrumb-modern .breadcrumb-item.active {
  color: var(--text-primary);
  font-weight: 500;
}

/*===========================================================
    UTILITIES & ANIMATIONS
=============================================================*/

/* Fade In Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Fade In Up Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

/* Scale Up Animation */
@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

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

/* Soft Bounce */
@keyframes softBounce {

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

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

/* Pulse Glow */
@keyframes pulseGlow {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(43, 122, 157, 0.4);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(43, 122, 157, 0);
  }
}

/* Apply fade-in to sections on load */
.component-section {
  animation: fadeInUp 0.6s var(--ease-out) both;
}

/* Stagger animation delays */
.component-section:nth-child(odd) {
  animation-delay: 0.1s;
}

.component-section:nth-child(even) {
  animation-delay: 0.2s;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Focus states for accessibility */
*:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Spinner colors */
.spinner-border.text-accent,
.spinner-grow.text-accent {
  color: var(--accent-color) !important;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}






/* HERO */

.pub-hero{
background:#0d3b66;
color:white;
padding:80px 0;
text-align:center;
}

.pub-hero h1{
font-size:42px;
margin-bottom:15px;
}

.pub-hero p{
font-size:18px;
opacity:0.9;
}


/* PUBLICATION SECTION */

.publication-section{
padding:60px 0;
}

.publication-card{
display:flex;
flex-wrap:wrap;
background:white;
border-radius:12px;
box-shadow:0 8px 25px rgba(0,0,0,0.08);
overflow:hidden;
margin-bottom:50px;
}

.pub-image{
flex:1;
min-width:280px;
background:#fafafa;
display:flex;
align-items:center;
justify-content:center;
padding:30px;
}

.pub-image img{
max-width:220px;
border-radius:6px;
box-shadow:0 6px 18px rgba(0,0,0,0.1);
}

.pub-content{
flex:2;
padding:35px;
}

.pub-content h2{
font-size:26px;
margin-bottom:10px;
color:#0d3b66;
}

.pub-meta{
color:#777;
font-size:14px;
margin-bottom:15px;
}

.pub-desc{
margin-bottom:20px;
font-size:16px;
color:#444;
}

.pub-details p{
font-size:15px;
margin-bottom:5px;
}


/* BUTTONS */

.pub-buttons{
margin-top:25px;
}

.btn-primary{
display:inline-block;
padding:10px 20px;
background:#0d3b66;
color:white;
text-decoration:none;
border-radius:6px;
margin-right:10px;
font-size:14px;
transition:0.3s;
}

.btn-primary:hover{
background:var(--accent-light);
}

.btn-secondary{
display:inline-block;
padding:10px 20px;
background:#e9eef4;
color:#0d3b66;
text-decoration:none;
border-radius:6px;
font-size:14px;
transition:0.3s;
}

.btn-secondary:hover{
background:#dce4ec;
}


/* PDF VIEWER */

.pdf-viewer{
background:white;
padding:30px;
border-radius:10px;
box-shadow:0 5px 20px rgba(0,0,0,0.06);
}

.pdf-viewer h3{
margin-bottom:20px;
color:#0d3b66;
}

.pdf-viewer iframe{
width:100%;
height:600px;
border:none;
border-radius:6px;
}


/* RESPONSIVE */

@media (max-width:768px){

.pub-hero h1{
font-size:32px;
}

.publication-card{
flex-direction:column;
}

.pub-image{
padding:20px;
}

.pub-content{
padding:25px;
}

}

/*
.goog-te-gadget-simple {
  background-color: inherit !important;
  padding-left: 8px !important;
}
.goog-te-gadget-simple a {
  border-left: none !important;
}
.VIpgJd-ZVi9od-vH1Gmf {
  background-color: #f6f6f6 !important;
  padding: 8px !important;
  border-radius: 4px !important;
} */


.language-menu {
  position: relative;
  display: inline-block;
}

.lang-icon {
  cursor: pointer;
  padding: 12px 10px;
  /* border: 1px solid #ccc; */
  background: #f8f9fa;
}

.lang-options {
  display: none;
  width: 113px;
  position: absolute;
  z-index: 1;
  background: #fff;
  list-style: none;
  padding: 5px 0;
  border: 1px solid #ddd;
  border-radius: 6px;
  text-align: left;
}

.language-menu:hover .lang-options {
  display: block;
}

.lang-options li {
  padding: 8px 15px;
  cursor: pointer;
  border-left: 5px solid #fff;
}

.lang-options li:hover {
  background: #f1f1f1;
  border-left: 5px solid #000;
}

/* Modal buttons */
.language-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.lang-btn {
  padding: 8px 15px;
  border-radius: 20px;
  border: 1px solid #007bff;
  background: #fff;
  cursor: pointer;
}

.lang-btn:hover,
.lang-btn.active {
  background: #007bff;
  color: #fff;
}

/* Modal style */
.lngModal {
  border-radius: 10px;
  border: 3px solid #001f4d;
}