/* Header Styles */
.BG-black {
  background-color: #012b73;
  color: white;
  padding: 8px 0;
}

.TopLink ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  padding: 10px 0px;
}

.TopLink ul li {
  padding-left: 0px;
  margin-bottom: 0px;
  margin-top: 3px;
  padding-right: 8px;
  border-right: 1px solid white;
  margin-right: 8px;
  line-height: 1;
}

.TopLink ul li:last-child {
  margin-right: 0px;
  padding-right: 0px;
  border: none;
}

.TopLink ul li:after {
  display: none;
}

.TopLink ul li a {
  color: white;
  text-decoration: none;
  font-size: 15px;
  display: inline-block;
}

.TopLink ul li a:hover {
  color: #e6a82e;
  text-decoration: none;
}

.custom-svg-icon {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

/* Search and Accessibility */
.SearchIcon,
.AccessibilityIcon {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: white;
  border: none;
  cursor: pointer;
}

.SearchIcon:hover,
.AccessibilityIcon:hover {
  background-color: #e6a82e;
}

.SearchBox {
  box-shadow: 0px 0px 42px #00000029;
  display: none;
  position: absolute;
  right: -3px;
  left: auto;
  top: calc(100% + 14px);
  background-color: white;
  padding: 15px;
  border-radius: 4px;
  z-index: 9999;
}

.SearchBox:after {
  content: "";
  position: absolute;
  bottom: 100%;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid white;
  display: block;
  top: auto;
  border-radius: 0px;
  right: 15px;
}

.SearchBox .search {
  padding-right: 50px;
  border: 1.5px solid #e0e0e0;
  min-width: 319px;
  min-height: 45px;
  padding: 5px 15px;
  border-radius: 6px;
}

.SearchBox .submit {
  position: absolute;
  border: none;
  font-size: 0;
  min-height: 45px;
  width: 45px;
  top: 50%;
  transform: translateY(-50%);
  background: url("assets/images/search_icon.png") #e6a82e;
  background-position: center center;
  background-size: 20px;
  background-repeat: no-repeat;
  right: 15px;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  border-radius: 6px;
}

/* Accessibility Popup */
div#AccessibilityControl {
  border-radius: 8px;
  width: 340px;
  position: fixed;
  right: -340px;
  top: 0;
  transition: all 0.2s;
  z-index: 999;
  background-color: white;
  overflow: hidden;
}

.AccessibilityOpen div#AccessibilityControl {
  right: 0px;
}

div#AccessibilityControl .Heading {
  z-index: 1;
  font-size: 18px;
  font-weight: 600;
  background-color: #e6a82e;
  padding: 10px 15px;
  color: #291107;
  display: flex;
  justify-content: space-between;
}

div#AccessibilityControl ul {
  padding: 20px;
  background-color: white;
  margin: -10px -5px 0px;
  display: flex;
  flex-wrap: wrap;
}

div#AccessibilityControl ul li {
  border-radius: 6px;
  padding: 10px;
  width: calc(50% - 10px);
  border: 1px solid #dedede;
  margin: 10px 5px 0px;
  min-height: 80px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  text-center: center;
}

div#AccessibilityControl .fontScaler {
  border-radius: 4px;
  padding: 0;
  min-height: unset;
  border: none;
  margin: 2px 4px;
  background-color: #dedede;
  width: 22px;
  height: 22px;
  color: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
  font-size: 12px;
  font-weight: 600;
}

div#AccessibilityControl .fontScaler.current {
  background-color: #000000;
  color: #dedede;
}

div#AccessibilityControl ul li span {
  width: 100%;
  display: block;
  font-weight: 600;
  line-height: normal;
  color: #291107;
}

div#AccessibilityControl ul li a {
  font-weight: 600;
  color: #291107;
  text-decoration: none;
}

/* Logo section styling */
.HeaderTop {
  background-color: white;
  padding: 20px 0;
  border-bottom: 3px solid #2c5aa0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  background-image: url("assets/images/banner-bg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  animation: wave 20s infinite linear;
}

.LogoPartHeader a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.LogoPartHeader img {
  width: 90px;
  height: 90px;
  margin-right: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text strong {
  font-size: 28px;
  color: #2c5aa0;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 5px;
}

.logo-text small {
  font-size: 16px;
  color: #666;
  line-height: 1.3;
  margin-bottom: 3px;
}

.logo-text small:last-child {
  color: #2c5aa0;
  font-weight: 600;
  font-size: 18px;
}

/* Navigation styling */
.HeaderBottom {
  background: linear-gradient(135deg, #2c5aa0 0%, #1e4080 100%);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.HeaderMenu {
  display: flex;
  border-top: 1px solid #005ca2;
}

.HeaderMenu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.HeaderMenu li {
  position: relative;
  margin: 0 5px;
}

.HeaderMenu ul li {
  padding-left: 0px;
  margin-bottom: 0px;
}

.HeaderMenu ul li:after {
  display: none;
}

.HeaderMenu a {
  display: block;
  padding: 18px 20px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
  border-radius: 5px;
  white-space: nowrap;
}

.HeaderMenu a:hover,
.HeaderMenu a.active {
  background-color: rgba(255,255,255,0.2);
  color: #fff;
  transform: translateY(-2px);
}

/* Dropdown styling */
.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1000;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  display: none;
}

.HeaderMenu li:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  display: block;
}

.dropdown-content li {
  margin: 0;
}

.dropdown-content a {
  color: #333 !important;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 14px;
  border-radius: 0;
  white-space: normal;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
  transform: none;
}

/* Multi-level dropdown */
.dropdown-content ul {
  position: absolute;
  top: 0;
  left: 100%;
  background-color: white;
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  display: none;
}

.dropdown-content li:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  display: block;
}

.dropdown-content ul li {
  width: 100%;
}

.dropdown-content ul a {
  padding: 10px 16px;
  font-size: 13px;
}

/* Responsive navigation */
@media (max-width: 768px) {
  .HeaderMenu {
    flex-direction: column;
  }
  
  .HeaderMenu ul {
    flex-direction: column;
    width: 100%;
  }
  
  .HeaderMenu li {
    margin: 0;
    width: 100%;
  }
  
  .dropdown-content {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    box-shadow: none;
    border-radius: 0;
    background-color: rgba(255,255,255,0.1);
  }
  
  .HeaderMenu li:hover .dropdown-content {
    display: block;
  }
}

/* Additional header styles */
.HeaderMenu a {
  white-space: nowrap;
}

/* Search and Accessibility Controls */
.SearchBox {
  position: relative;
}

.SearchBox input[type="text"] {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  width: 200px;
  font-size: 14px;
}

.SearchBox button {
  background: #005ca2;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  margin-left: 5px;
  cursor: pointer;
}

.SearchBox button:hover {
  background: #004080;
}

.AccessibilityControl {
  position: relative;
}

.AccessibilityDropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px;
  min-width: 150px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
  display: none;
}

.AccessibilityControl:hover .AccessibilityDropdown {
  display: block;
}

.AccessibilityDropdown button {
  display: block;
  width: 100%;
  padding: 5px 10px;
  margin: 2px 0;
  border: 1px solid #ddd;
  background: white;
  cursor: pointer;
  border-radius: 3px;
}

.AccessibilityDropdown button:hover {
  background: #f0f0f0;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  padding: 10px;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .HeaderMenu ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #2c5aa0;
    flex-direction: column;
  }
  
  .HeaderMenu ul.show {
    display: flex;
  }
  
  .HeaderMenu li {
    width: 100%;
  }
  
  .HeaderMenu a {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
}

.HeaderMenu a:hover,
.HeaderMenu a.active {
  background-color: rgba(255,255,255,0.2);
  color: #fff;
  transform: translateY(-2px);
}

/* Dropdown styling */
.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 250px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  border-radius: 0 0 8px 8px;
}

.HeaderMenu ul li:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-content li {
  border-bottom: 1px solid #f0f0f0;
}

.dropdown-content li:last-child {
  border-bottom: none;
}

.dropdown-content li a {
  padding: 12px 20px;
  color: #333;
  font-size: 14px;
  white-space: nowrap;
}

.dropdown-content li a:hover {
  background-color: #f8f9fa;
  color: #2c5aa0;
}

/* Search and Accessibility */
.AccessibilitySearch {
  gap: 10px;
}

.Search {
  position: relative;
}

.SearchIcon {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.SearchBox {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  min-width: 300px;
  padding: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  border-radius: 5px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.Search:hover .SearchBox {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.SearchBox input[type="text"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 10px;
}

.SearchBox input[type="submit"] {
  background: #2c5aa0;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
}

/* Accessibility popup */
.AccessibilityPopUP {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  z-index: 10000;
  min-width: 400px;
  display: none;
}

.AccessibilityPopUP.show {
  display: block;
}

.AccessibilityPopUP .Heading {
  color: #2c5aa0;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #2c5aa0;
}

.AccessibilityPopUP .Heading a {
  position: absolute;
  right: 0;
  top: 0;
  color: #999;
  text-decoration: none;
  font-size: 20px;
}

.fontScalerGrp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.fontScaler, .contrastChanger {
  padding: 8px 12px;
  border: 1px solid #ddd;
  background: white;
  margin: 0 2px;
  cursor: pointer;
  border-radius: 4px;
}

.fontScaler.current, .contrastChanger.current {
  background: #2c5aa0;
  color: white;
}

/* High contrast mode */
body.high-contrast {
  background: #000 !important;
  color: #fff !important;
}

body.high-contrast .card,
body.high-contrast .bg-white {
  background: #333 !important;
  color: #fff !important;
}

body.high-contrast a {
  color: #ffff00 !important;
}

/* Responsive design */
@media (max-width: 768px) {
  .logo-text strong {
    font-size: 18px;
  }
  
  .logo-text small {
    font-size: 12px;
  }
  
  .LogoPartHeader img {
    width: 60px;
    height: 60px;
  }
  
  .HeaderMenu ul {
    flex-direction: column;
  }
  
  .dropdown-content {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255,255,255,0.1);
  }
}

:root {
  /* Primitive Color Tokens */
  --color-white: rgba(255, 255, 255, 1);
  --color-black: rgba(0, 0, 0, 1);
  --color-cream-50: rgba(252, 252, 249, 1);
  --color-cream-100: rgba(255, 255, 253, 1);
  --color-gray-200: rgba(245, 245, 245, 1);
  --color-gray-300: rgba(167, 169, 169, 1);
  --color-gray-400: rgba(119, 124, 124, 1);
  --color-slate-500: rgba(98, 108, 113, 1);
  --color-brown-600: rgba(94, 82, 64, 1);
  --color-charcoal-700: rgba(31, 33, 33, 1);
  --color-charcoal-800: rgba(38, 40, 40, 1);
  --color-slate-900: rgba(19, 52, 59, 1);
  --color-teal-300: rgba(50, 184, 198, 1);
  --color-teal-400: rgba(45, 166, 178, 1);
  --color-teal-500: rgba(33, 128, 141, 1);
  --color-teal-600: rgba(29, 116, 128, 1);
  --color-teal-700: rgba(26, 104, 115, 1);
  --color-teal-800: rgba(41, 150, 161, 1);
  --color-red-400: rgba(255, 84, 89, 1);
  --color-red-500: rgba(192, 21, 47, 1);
  --color-orange-400: rgba(230, 129, 97, 1);
  --color-orange-500: rgba(168, 75, 47, 1);

  /* RGB versions for opacity control */
  --color-brown-600-rgb: 94, 82, 64;
  --color-teal-500-rgb: 33, 128, 141;
  --color-slate-900-rgb: 19, 52, 59;
  --color-slate-500-rgb: 98, 108, 113;
  --color-red-500-rgb: 192, 21, 47;
  --color-red-400-rgb: 255, 84, 89;
  --color-orange-500-rgb: 168, 75, 47;
  --color-orange-400-rgb: 230, 129, 97;

  /* Background color tokens (Light Mode) */
  --color-bg-1: rgba(59, 130, 246, 0.08); /* Light blue */
  --color-bg-2: rgba(245, 158, 11, 0.08); /* Light yellow */
  --color-bg-3: rgba(34, 197, 94, 0.08); /* Light green */
  --color-bg-4: rgba(239, 68, 68, 0.08); /* Light red */
  --color-bg-5: rgba(147, 51, 234, 0.08); /* Light purple */
  --color-bg-6: rgba(249, 115, 22, 0.08); /* Light orange */
  --color-bg-7: rgba(236, 72, 153, 0.08); /* Light pink */
  --color-bg-8: rgba(6, 182, 212, 0.08); /* Light cyan */

  /* Semantic Color Tokens (Light Mode) */
  --color-background: var(--color-cream-50);
  --color-surface: var(--color-cream-100);
  --color-text: var(--color-slate-900);
  --color-text-secondary: var(--color-slate-500);
  --color-primary: var(--color-teal-500);
  --color-primary-hover: var(--color-teal-600);
  --color-primary-active: var(--color-teal-700);
  --color-secondary: rgba(var(--color-brown-600-rgb), 0.12);
  --color-secondary-hover: rgba(var(--color-brown-600-rgb), 0.2);
  --color-secondary-active: rgba(var(--color-brown-600-rgb), 0.25);
  --color-border: rgba(var(--color-brown-600-rgb), 0.2);
  --color-btn-primary-text: var(--color-cream-50);
  --color-card-border: rgba(var(--color-brown-600-rgb), 0.12);
  --color-card-border-inner: rgba(var(--color-brown-600-rgb), 0.12);
  --color-error: var(--color-red-500);
  --color-success: var(--color-teal-500);
  --color-warning: var(--color-orange-500);
  --color-info: var(--color-slate-500);
  --color-focus-ring: rgba(var(--color-teal-500-rgb), 0.4);
  --color-select-caret: rgba(var(--color-slate-900-rgb), 0.8);

  /* Common style patterns */
  --focus-ring: 0 0 0 3px var(--color-focus-ring);
  --focus-outline: 2px solid var(--color-primary);
  --status-bg-opacity: 0.15;
  --status-border-opacity: 0.25;
  --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  /* RGB versions for opacity control */
  --color-success-rgb: 33, 128, 141;
  --color-error-rgb: 192, 21, 47;
  --color-warning-rgb: 168, 75, 47;
  --color-info-rgb: 98, 108, 113;

  /* Typography */
  --font-family-base: "FKGroteskNeue", "Geist", "Inter", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-mono: "Berkeley Mono", ui-monospace, SFMono-Regular, Menlo,
    Monaco, Consolas, monospace;
  --font-size-xs: 11px;
  --font-size-sm: 12px;
  --font-size-base: 14px;
  --font-size-md: 14px;
  --font-size-lg: 16px;
  --font-size-xl: 18px;
  --font-size-2xl: 20px;
  --font-size-3xl: 24px;
  --font-size-4xl: 30px;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 550;
  --font-weight-bold: 600;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --letter-spacing-tight: -0.01em;

  /* Spacing */
  --space-0: 0;
  --space-1: 1px;
  --space-2: 2px;
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-base: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.04),
    0 2px 4px -1px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04),
    0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.03);

  /* Animation */
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
}

/* Dark mode colors */
@media (prefers-color-scheme: dark) {
  :root {
    /* RGB versions for opacity control (Dark Mode) */
    --color-gray-400-rgb: 119, 124, 124;
    --color-teal-300-rgb: 50, 184, 198;
    --color-gray-300-rgb: 167, 169, 169;
    --color-gray-200-rgb: 245, 245, 245;

    /* Background color tokens (Dark Mode) */
    --color-bg-1: rgba(29, 78, 216, 0.15); /* Dark blue */
    --color-bg-2: rgba(180, 83, 9, 0.15); /* Dark yellow */
    --color-bg-3: rgba(21, 128, 61, 0.15); /* Dark green */
    --color-bg-4: rgba(185, 28, 28, 0.15); /* Dark red */
    --color-bg-5: rgba(107, 33, 168, 0.15); /* Dark purple */
    --color-bg-6: rgba(194, 65, 12, 0.15); /* Dark orange */
    --color-bg-7: rgba(190, 24, 93, 0.15); /* Dark pink */
    --color-bg-8: rgba(8, 145, 178, 0.15); /* Dark cyan */
    
    /* Semantic Color Tokens (Dark Mode) */
    --color-background: var(--color-charcoal-700);
    --color-surface: var(--color-charcoal-800);
    --color-text: var(--color-gray-200);
    --color-text-secondary: rgba(var(--color-gray-300-rgb), 0.7);
    --color-primary: var(--color-teal-300);
    --color-primary-hover: var(--color-teal-400);
    --color-primary-active: var(--color-teal-800);
    --color-secondary: rgba(var(--color-gray-400-rgb), 0.15);
    --color-secondary-hover: rgba(var(--color-gray-400-rgb), 0.25);
    --color-secondary-active: rgba(var(--color-gray-400-rgb), 0.3);
    --color-border: rgba(var(--color-gray-400-rgb), 0.3);
    --color-error: var(--color-red-400);
    --color-success: var(--color-teal-300);
    --color-warning: var(--color-orange-400);
    --color-info: var(--color-gray-300);
    --color-focus-ring: rgba(var(--color-teal-300-rgb), 0.4);
    --color-btn-primary-text: var(--color-slate-900);
    --color-card-border: rgba(var(--color-gray-400-rgb), 0.2);
    --color-card-border-inner: rgba(var(--color-gray-400-rgb), 0.15);
    --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1),
      inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    --button-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
    --color-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
    --color-select-caret: rgba(var(--color-gray-200-rgb), 0.8);

    /* Common style patterns - updated for dark mode */
    --focus-ring: 0 0 0 3px var(--color-focus-ring);
    --focus-outline: 2px solid var(--color-primary);
    --status-bg-opacity: 0.15;
    --status-border-opacity: 0.25;
    --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

    /* RGB versions for dark mode */
    --color-success-rgb: var(--color-teal-300-rgb);
    --color-error-rgb: var(--color-red-400-rgb);
    --color-warning-rgb: var(--color-orange-400-rgb);
    --color-info-rgb: var(--color-gray-300-rgb);
  }
}

/* Data attribute for manual theme switching */
[data-color-scheme="dark"] {
  /* RGB versions for opacity control (dark mode) */
  --color-gray-400-rgb: 119, 124, 124;
  --color-teal-300-rgb: 50, 184, 198;
  --color-gray-300-rgb: 167, 169, 169;
  --color-gray-200-rgb: 245, 245, 245;

  /* Colorful background palette - Dark Mode */
  --color-bg-1: rgba(29, 78, 216, 0.15); /* Dark blue */
  --color-bg-2: rgba(180, 83, 9, 0.15); /* Dark yellow */
  --color-bg-3: rgba(21, 128, 61, 0.15); /* Dark green */
  --color-bg-4: rgba(185, 28, 28, 0.15); /* Dark red */
  --color-bg-5: rgba(107, 33, 168, 0.15); /* Dark purple */
  --color-bg-6: rgba(194, 65, 12, 0.15); /* Dark orange */
  --color-bg-7: rgba(190, 24, 93, 0.15); /* Dark pink */
  --color-bg-8: rgba(8, 145, 178, 0.15); /* Dark cyan */
  
  /* Semantic Color Tokens (Dark Mode) */
  --color-background: var(--color-charcoal-700);
  --color-surface: var(--color-charcoal-800);
  --color-text: var(--color-gray-200);
  --color-text-secondary: rgba(var(--color-gray-300-rgb), 0.7);
  --color-primary: var(--color-teal-300);
  --color-primary-hover: var(--color-teal-400);
  --color-primary-active: var(--color-teal-800);
  --color-secondary: rgba(var(--color-gray-400-rgb), 0.15);
  --color-secondary-hover: rgba(var(--color-gray-400-rgb), 0.25);
  --color-secondary-active: rgba(var(--color-gray-400-rgb), 0.3);
  --color-border: rgba(var(--color-gray-400-rgb), 0.3);
  --color-error: var(--color-red-400);
  --color-success: var(--color-teal-300);
  --color-warning: var(--color-orange-400);
  --color-info: var(--color-gray-300);
  --color-focus-ring: rgba(var(--color-teal-300-rgb), 0.4);
  --color-btn-primary-text: var(--color-slate-900);
  --color-card-border: rgba(var(--color-gray-400-rgb), 0.15);
  --color-card-border-inner: rgba(var(--color-gray-400-rgb), 0.15);
  --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  --color-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
  --color-select-caret: rgba(var(--color-gray-200-rgb), 0.8);

  /* Common style patterns - updated for dark mode */
  --focus-ring: 0 0 0 3px var(--color-focus-ring);
  --focus-outline: 2px solid var(--color-primary);
  --status-bg-opacity: 0.15;
  --status-border-opacity: 0.25;
  --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  /* RGB versions for dark mode */
  --color-success-rgb: var(--color-teal-300-rgb);
  --color-error-rgb: var(--color-red-400-rgb);
  --color-warning-rgb: var(--color-orange-400-rgb);
  --color-info-rgb: var(--color-gray-300-rgb);
}

[data-color-scheme="light"] {
  /* RGB versions for opacity control (light mode) */
  --color-brown-600-rgb: 94, 82, 64;
  --color-teal-500-rgb: 33, 128, 141;
  --color-slate-900-rgb: 19, 52, 59;
  
  /* Semantic Color Tokens (Light Mode) */
  --color-background: var(--color-cream-50);
  --color-surface: var(--color-cream-100);
  --color-text: var(--color-slate-900);
  --color-text-secondary: var(--color-slate-500);
  --color-primary: var(--color-teal-500);
  --color-primary-hover: var(--color-teal-600);
  --color-primary-active: var(--color-teal-700);
  --color-secondary: rgba(var(--color-brown-600-rgb), 0.12);
  --color-secondary-hover: rgba(var(--color-brown-600-rgb), 0.2);
  --color-secondary-active: rgba(var(--color-brown-600-rgb), 0.25);
  --color-border: rgba(var(--color-brown-600-rgb), 0.2);
  --color-btn-primary-text: var(--color-cream-50);
  --color-card-border: rgba(var(--color-brown-600-rgb), 0.12);
  --color-card-border-inner: rgba(var(--color-brown-600-rgb), 0.12);
  --color-error: var(--color-red-500);
  --color-success: var(--color-teal-500);
  --color-warning: var(--color-orange-500);
  --color-info: var(--color-slate-500);
  --color-focus-ring: rgba(var(--color-teal-500-rgb), 0.4);

  /* RGB versions for light mode */
  --color-success-rgb: var(--color-teal-500-rgb);
  --color-error-rgb: var(--color-red-500-rgb);
  --color-warning-rgb: var(--color-orange-500-rgb);
  --color-info-rgb: var(--color-slate-500-rgb);
}

/* Force light mode for the whole site */
:root, [data-color-scheme], html, body {
  color-scheme: light !important;
  --color-background: var(--color-cream-50) !important;
  --color-surface: var(--color-cream-100) !important;
  --color-text: var(--color-slate-900) !important;
  --color-text-secondary: var(--color-slate-500) !important;
  --color-card-border: rgba(94, 82, 64, 0.12) !important;
  --color-card-border-inner: rgba(94, 82, 64, 0.12) !important;
  --card-background: var(--color-cream-100) !important;
  background-color: var(--color-cream-50) !important;
  color: var(--color-slate-900) !important;
}

/* Base styles */
html {
  font-size: var(--font-size-base);
  font-family: var(--font-family-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  color: var(--color-text);
  letter-spacing: var(--letter-spacing-tight);
}

h1 {
  font-size: var(--font-size-4xl);
}
h2 {
  font-size: var(--font-size-3xl);
}
h3 {
  font-size: var(--font-size-2xl);
}
h4 {
  font-size: var(--font-size-xl);
}
h5 {
  font-size: var(--font-size-lg);
}
h6 {
  font-size: var(--font-size-md);
}

p {
  margin: 0 0 var(--space-16) 0;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard);
}

a:hover {
  color: var(--color-primary-hover);
}

code,
pre {
  font-family: var(--font-family-mono);
  font-size: calc(var(--font-size-base) * 0.95);
  background-color: var(--color-secondary);
  border-radius: var(--radius-sm);
}

code {
  padding: var(--space-1) var(--space-4);
}

pre {
  padding: var(--space-16);
  margin: var(--space-16) 0;
  overflow: auto;
  border: 1px solid var(--color-border);
}

pre code {
  background: none;
  padding: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-16);
  border-radius: var(--radius-base);
  font-size: var(--font-size-base);
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-standard);
  border: none;
  text-decoration: none;
  position: relative;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-btn-primary-text);
}

.btn--primary:hover {
  background: var(--color-primary-hover);
}

.btn--primary:active {
  background: var(--color-primary-active);
}

.btn--secondary {
  background: var(--color-secondary);
  color: var(--color-text);
}

.btn--secondary:hover {
  background: var(--color-secondary-hover);
}

.btn--secondary:active {
  background: var(--color-secondary-active);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

.btn--outline:hover {
  background: var(--color-secondary);
}

.btn--sm {
  padding: var(--space-4) var(--space-12);
  font-size: var(--font-size-sm);
  border-radius: var(--radius-sm);
}

.btn--lg {
  padding: var(--space-10) var(--space-20);
  font-size: var(--font-size-lg);
  border-radius: var(--radius-md);
}

.btn--full-width {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Form elements */
.form-control {
  display: block;
  width: 100%;
  padding: var(--space-8) var(--space-12);
  font-size: var(--font-size-md);
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-base);
  transition: border-color var(--duration-fast) var(--ease-standard),
    box-shadow var(--duration-fast) var(--ease-standard);
}

textarea.form-control {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
}

select.form-control {
  padding: var(--space-8) var(--space-12);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: var(--select-caret-light);
  background-repeat: no-repeat;
  background-position: right var(--space-12) center;
  background-size: 16px;
  padding-right: var(--space-32);
}

/* Add a dark mode specific caret */
@media (prefers-color-scheme: dark) {
  select.form-control {
    background-image: var(--select-caret-dark);
  }
}

/* Also handle data-color-scheme */
[data-color-scheme="dark"] select.form-control {
  background-image: var(--select-caret-dark);
}

[data-color-scheme="light"] select.form-control {
  background-image: var(--select-caret-light);
}

.form-control:focus {
  border-color: var(--color-primary);
  outline: var(--focus-outline);
}

.form-label {
  display: block;
  margin-bottom: var(--space-8);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
}

.form-group {
  margin-bottom: var(--space-16);
}

/* Card component */
.card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-card-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--duration-normal) var(--ease-standard);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card__body {
  padding: var(--space-16);
}

.card__header,
.card__footer {
  padding: var(--space-16);
  border-bottom: 1px solid var(--color-card-border-inner);
}

/* Status indicators - simplified with CSS variables */
.status {
  display: inline-flex;
  align-items: center;
  padding: var(--space-6) var(--space-12);
  border-radius: var(--radius-full);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
}

.status--success {
  background-color: rgba(
    var(--color-success-rgb, 33, 128, 141),
    var(--status-bg-opacity)
  );
  color: var(--color-success);
  border: 1px solid
    rgba(var(--color-success-rgb, 33, 128, 141), var(--status-border-opacity));
}

.status--error {
  background-color: rgba(
    var(--color-error-rgb, 192, 21, 47),
    var(--status-bg-opacity)
  );
  color: var(--color-error);
  border: 1px solid
    rgba(var(--color-error-rgb, 192, 21, 47), var(--status-border-opacity));
}

.status--warning {
  background-color: rgba(
    var(--color-warning-rgb, 168, 75, 47),
    var(--status-bg-opacity)
  );
  color: var(--color-warning);
  border: 1px solid
    rgba(var(--color-warning-rgb, 168, 75, 47), var(--status-border-opacity));
}

.status--info {
  background-color: rgba(
    var(--color-info-rgb, 98, 108, 113),
    var(--status-bg-opacity)
  );
  color: var(--color-info);
  border: 1px solid
    rgba(var(--color-info-rgb, 98, 108, 113), var(--status-border-opacity));
}

/* Container layout */
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--space-16);
  padding-left: var(--space-16);
}

@media (min-width: 640px) {
  .container {
    max-width: var(--container-sm);
  }
}
@media (min-width: 768px) {
  .container {
    max-width: var(--container-md);
  }
}
@media (min-width: 1024px) {
  .container {
    max-width: var(--container-lg);
  }
}
@media (min-width: 1280px) {
  .container {
    max-width: var(--container-xl);
  }
}

/* Utility classes */
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-4 {
  gap: var(--space-4);
}
.gap-8 {
  gap: var(--space-8);
}
.gap-16 {
  gap: var(--space-16);
}

.m-0 {
  margin: 0;
}
.mt-8 {
  margin-top: var(--space-8);
}
.mb-8 {
  margin-bottom: var(--space-8);
}
.mx-8 {
  margin-left: var(--space-8);
  margin-right: var(--space-8);
}
.my-8 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-8);
}

.p-0 {
  padding: 0;
}
.py-8 {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}
.px-8 {
  padding-left: var(--space-8);
  padding-right: var(--space-8);
}
.py-16 {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}
.px-16 {
  padding-left: var(--space-16);
  padding-right: var(--space-16);
}

.block {
  display: block;
}
.hidden {
  display: none;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

:focus-visible {
  outline: var(--focus-outline);
  outline-offset: 2px;
}

/* Dark mode specifics */
[data-color-scheme="dark"] .btn--outline {
  border: 1px solid var(--color-border-secondary);
}

@font-face {
  font-family: 'FKGroteskNeue';
  src: url('https://r2cdn.perplexity.ai/fonts/FKGroteskNeue.woff2')
    format('woff2');
}

/* END PERPLEXITY DESIGN SYSTEM */
/* Custom CSS for SPCB Odisha R&D Website */

/* CSS Variables (updated to match design system) */
:root {
    --primary-color: var(--color-primary);
    --secondary-color: var(--color-primary-hover);
    --accent-color: var(--color-success);
    --danger-color: var(--color-error);
    --warning-color: var(--color-warning);
    --info-color: var(--color-info);
    --background-color: var(--color-background);
    --card-background: var(--color-surface);
    --text-primary: var(--color-text);
    --text-secondary: var(--color-text-secondary);
    --text-muted: rgba(var(--color-slate-500-rgb), 0.7);
    --border-color: var(--color-border);
    --border-radius: var(--radius-lg);
    --border-radius-sm: var(--radius-sm);
    --shadow: var(--shadow-md);
    --shadow-hover: var(--shadow-lg);
    --shadow-active: var(--shadow-sm);
    --transition: all var(--duration-normal) var(--ease-standard);
    --font-family: var(--font-family-base);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-primary);
    line-height: var(--line-height-normal);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 0; /* Remove padding since header is not fixed */
}

/* Custom Bootstrap overrides */
.btn {
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-base);
    padding: var(--space-8) var(--space-16);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.card {
    border-radius: var(--border-radius);
    border: 1px solid var(--color-card-border);
    background-color: var(--card-background);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

/* Navigation Styles */
.navbar {
    transition: var(--transition);
    backdrop-filter: blur(10px);
    background-color: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
}

.navbar-brand {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

.nav-link {
    font-weight: var(--font-weight-medium);
    position: relative;
    transition: var(--transition);
    color: var(--text-secondary);
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    width: 100%;
    position: relative;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.hero-content {
    height: 100%;
    width: 100%;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0;
}

.hero-swiper {
    height: 100vh;
    position: relative;
    z-index: 1;
    width: 100%;
    overflow: visible;
}

.hero-swiper .swiper-slide {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    height: 100vh;
    width: 100%;
    opacity: 1;
    visibility: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ensure swiper container takes full width */
.hero-swiper .swiper-wrapper {
    height: 100%;
}

/* Hero text content styling */
.hero-text-content {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    z-index: 2;
}

.hero-text-content h1 {
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

.hero-text-content p {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

/* Responsive adjustments for hero section */
@media (max-width: 768px) {
    .hero-content {
        padding-bottom: 40px;
        align-items: center !important;
    }
    
    .hero-text-content {
        padding: 20px !important;
        margin-bottom: 20px !important;
    }
    
    .hero-text-content h1 {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .hero-text-content h1 {
        font-size: 1.3rem !important;
    }
    
    .hero-text-content p {
        font-size: 0.9rem;
    }
}

/* Override any potential conflicting background colors */
.hero-section,
.hero-swiper,
.swiper-slide,
.hero-content {
    background-color: transparent !important;
}

/* Ensure proper image loading and display */
.hero-content {
    background-attachment: scroll !important;
}

/* Fix any potential z-index issues */
.hero-section {
    z-index: 0;
}

/* Make sure hero section starts immediately after header */
.hero-section {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--color-white) !important;
    font-weight: var(--font-weight-bold);
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 44px !important;
    height: 44px !important;
    margin-top: -22px !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px !important;
    font-weight: bold;
}

.swiper-pagination {
    bottom: 20px !important;
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5) !important;
    width: 12px !important;
    height: 12px !important;
    margin: 0 4px !important;
}

.swiper-pagination-bullet-active {
    background: var(--color-white) !important;
}

/* Section Spacing */
section {
    position: relative;
    z-index: 1;
}

.py-5 {
    padding: var(--space-32) 0;
}

/* Cards and Components */
.card-body {
    padding: var(--space-24);
}

.fs-1 {
    font-size: var(--font-size-4xl) !important;
}

.display-4 {
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-24);
    font-size: var(--font-size-3xl);
    color: var(--text-primary);
}

.display-5 {
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-16);
    font-size: var(--font-size-2xl);
    color: var(--text-primary);
}

/* Tabs */
.nav-pills .nav-link {
    border-radius: var(--border-radius-sm);
    margin: 0 var(--space-4);
    font-weight: var(--font-weight-medium);
    transition: var(--transition);
    padding: var(--space-8) var(--space-16);
}

.nav-pills .nav-link:not(.active) {
    background-color: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.nav-pills .nav-link.active {
    background-color: var(--primary-color);
    color: var(--color-btn-primary-text);
}

.nav-pills .nav-link:hover:not(.active) {
    background-color: var(--color-secondary);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Media Updates Cards */
.media-card {
    transition: var(--transition);
    cursor: pointer;
}

.media-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.media-badge {
    position: absolute;
    top: var(--space-16);
    right: var(--space-16);
    z-index: 2;
}

/* Project Cards */
.project-card {
    height: 350px;
    overflow: hidden;
}

.project-card .card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card .card-text {
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

/* Collaboration Institute Cards */
.institute-card {
    transition: var(--transition);
    border: 2px solid transparent;
}

.institute-card:hover {
    border-color: var(--primary-color);
    transform: scale(1.02);
}

.institute-logo {
    height: 80px;
    width: 80px;
    object-fit: contain;
    border-radius: var(--radius-full);
    border: 3px solid var(--border-color);
}

/* Loading States */
.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
    color: var(--primary-color);
}

/* Alert Styles */
.alert {
    border-radius: var(--border-radius);
    border: none;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--color-primary-hover), var(--primary-color));
    color: var(--color-btn-primary-text);
}

footer a:hover {
    color: var(--color-white) !important;
    text-decoration: underline !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .display-4 {
        font-size: var(--font-size-2xl);
    }
    
    .display-5 {
        font-size: var(--font-size-xl);
    }
    
    .hero-content {
        padding: var(--space-24) 0;
    }
    
    .card-body {
        padding: var(--space-20);
    }
    
    .py-5 {
        padding: var(--space-24) 0;
    }
    
    .nav-pills .nav-link {
        margin-bottom: var(--space-8);
        font-size: var(--font-size-sm);
    }
}

/* Mobile Portrait Responsive Design */
@media (max-width: 480px) {
    body {
        padding-top: 60px;
    }

    .fs-1 {
        font-size: var(--font-size-2xl) !important;
    }
    
    .display-4 {
        font-size: var(--font-size-xl);
        margin-bottom: var(--space-16);
    }
    
    .display-5 {
        font-size: var(--font-size-lg);
        margin-bottom: var(--space-12);
    }
    
    .institute-logo {
        height: 60px;
        width: 60px;
    }
    
    .project-card {
        height: auto;
    }

    .card-body {
        padding: var(--space-16);
    }

    .py-5 {
        padding: var(--space-20) 0;
    }

    .nav-pills .nav-link {
        font-size: var(--font-size-xs);
        padding: var(--space-6) var(--space-12);
        margin: 0 var(--space-2);
        margin-bottom: var(--space-6);
    }

    .hero-content {
        padding: var(--space-16) 0;
    }

    .media-badge {
        top: var(--space-8);
        right: var(--space-8);
    }

    .btn {
        padding: var(--space-6) var(--space-12);
        font-size: var(--font-size-sm);
    }

    .navbar-brand {
        font-size: var(--font-size-lg);
    }
}

@media (max-width: 576px) {
    .fs-1 {
        font-size: var(--font-size-2xl) !important;
    }
    
    .institute-logo {
        height: 60px;
        width: 60px;
    }
    
    .project-card {
        height: auto;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: var(--space-8);
}

::-webkit-scrollbar-track {
    background: var(--color-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-hover);
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--duration-normal) var(--ease-standard);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all var(--duration-normal) var(--ease-standard);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all var(--duration-normal) var(--ease-standard);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Special Effects */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.overlay {
    position: relative;
}

.overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(var(--color-slate-900-rgb), 0.4);
    z-index: 1;
}

.overlay > * {
    position: relative;
    z-index: 2;
}

/* Print Styles */
@media print {
    .navbar,
    footer,
    .btn,
    .swiper-button-next,
    .swiper-button-prev,
    .swiper-pagination {
        display: none !important;
    }
    
    body {
        padding-top: 0;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid var(--border-color);
    }
}

/* Collaboration Section Styles */
.collaboration-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.collaboration-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.institute-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    margin: 0 20px;
    padding: 15px;
}

.institute-logo {
    max-height: 70px;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.1);
    transition: filter 0.3s ease;
}

.collaboration-card:hover .institute-logo {
    filter: brightness(1.2) contrast(1.2);
}

.collaboration-card .card-title {
    color: var(--color-teal-700);
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.collaboration-card .card-text {
    color: var(--color-slate-500);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Responsive adjustments for collaboration cards */
@media (max-width: 768px) {
    .institute-logo-container {
        height: 80px;
        margin: 0 10px;
        padding: 10px;
    }
    
    .institute-logo {
        max-height: 60px;
        max-width: 100px;
    }
    
    .collaboration-card .card-title {
        font-size: 1rem;
    }
    
    .collaboration-card .card-text {
        font-size: 0.9rem;
    }
}

/* Research Project Cards with A4-sized Images */
.research-project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.research-project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.project-image-container {
    position: relative;
    width: 100%;
    height: 220px; /* A4 ratio approximation for cards */
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.research-project-card:hover .project-image {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.project-category-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 102, 204, 0.9);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    z-index: 10;
}

/* Different badge colors for different project types */
.project-category-badge:contains("EC Funded") {
    background: rgba(0, 102, 204, 0.9);
}

.project-category-badge:contains("Own Funded") {
    background: rgba(40, 167, 69, 0.9);
}

.project-category-badge:contains("Future") {
    background: rgba(255, 193, 7, 0.9);
    color: #000;
}

/* Research card body styling */
.research-project-card .card-body {
    padding: 20px;
}

.research-project-card .card-title {
    color: var(--color-teal-700);
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.3;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.research-project-card .card-text {
    color: var(--color-slate-500);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 10px;
}

.research-project-card .card-text strong {
    color: var(--color-slate-900);
    font-weight: 600;
}

/* Responsive adjustments for research project cards */
@media (max-width: 768px) {
    .project-image-container {
        height: 180px;
    }
    
    .research-project-card .card-body {
        padding: 15px;
    }
    
    .research-project-card .card-title {
        font-size: 1rem;
        -webkit-line-clamp: 4;
        line-clamp: 4;
    }
    
    .research-project-card .card-text {
        font-size: 0.85rem;
    }
    
    .project-category-badge {
        top: 8px;
        right: 8px;
        padding: 3px 8px;
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .project-image-container {
        height: 160px;
    }
    
    .research-project-card:hover {
        transform: translateY(-4px);
    }
}

/* Hide Media Updates Section */
#media {
    display: none !important;
}

/* High Contrast Mode */
body.high-contrast {
    background-color: #000 !important;
    color: #fff !important;
}

body.high-contrast * {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #fff !important;
}

body.high-contrast a {
    color: #ffff00 !important;
}

body.high-contrast .btn {
    background-color: #fff !important;
    color: #000 !important;
}

/* ==========================================
   HEADER STYLES (Updated)
   ========================================== */

/* Loader Styles */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: hideLoader 2s ease-in-out forwards;
}

@keyframes hideLoader {
    0% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; visibility: hidden; }
}

.loader-content {
    text-align: center;
}

.loader-logo {
    width: 100px;
    height: auto;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--color-teal-500);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--color-teal-600);
    color: white;
    text-decoration: none;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1000;
}

/* Hero Section Adjustments */
.hero-section {
    margin-top: 0;
}

.BG-black {
    background-color: var(--color-charcoal-800) !important;
}

.HeaderBottom {
    background-color: var(--color-teal-500);
}

.TopLink ul {
    list-style: none;
    margin: 0;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.TopLink ul li {
    margin: 0;
}

.TopLink ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.TopLink ul li a:hover {
    color: var(--color-teal-300);
}

.TopLink ul li a i {
    margin-right: 5px;
}

/* Custom SVG Icons */
.custom-svg-icon {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

/* Search and Accessibility */
.AccessibilitySearch {
    display: flex;
    align-items: center;
    gap: 10px;
}

.Search {
    position: relative;
}

.SearchIcon {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
}

.SearchBox {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    display: none;
    min-width: 300px;
    z-index: 1000;
}

.SearchBox.active {
    display: block;
}

.search-form {
    display: flex;
    gap: 5px;
}

.search {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.submit {
    padding: 8px 16px;
    background-color: var(--color-teal-500);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.Accessibility {
    position: relative;
}

.AccessibilityIcon {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
}

.AccessibilityPopUP {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    display: none;
    min-width: 400px;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.AccessibilityPopUP.active {
    display: block;
}

.AccessibilityPopUP h4 {
    color: #333;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.AccessibilityPopUP ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.AccessibilityPopUP ul li {
    flex: 1;
    min-width: 150px;
}

.fontScalerGrp {
    text-align: center;
}

.fontScaler, .contrastChanger {
    margin: 2px;
    padding: 5px 10px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    border-radius: 4px;
}

.fontScaler.current, .contrastChanger.current {
    background-color: var(--color-teal-500);
    color: white;
}

/* Logo Section */
.HeaderTop {
    padding: 15px 0;
    background-color: white;
}

.LogoPartHeader h1 {
    margin: 0;
}

.LogoPartHeader img {
    max-height: 60px;
    width: auto;
}

/* Navigation Menu */
.HeaderMenu {
    padding: 0;
}

.HeaderMenu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.HeaderMenu ul li {
    margin: 0;
    position: relative;
}

.HeaderMenu ul li a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.HeaderMenu ul li a:hover,
.HeaderMenu ul li a.active {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.HeaderMenu ul li a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: white;
}

/* Dropdown Menu */
.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
    border-radius: 4px;
    overflow: hidden;
}

.HeaderMenu ul li:hover .dropdown-content {
    display: block;
}

.dropdown-content li {
    width: 100%;
}

.dropdown-content li a {
    color: #333;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
}

.dropdown-content li a:hover {
    background-color: #f5f5f5;
}

/* Sub-dropdown */
.dropdown-content ul {
    position: absolute;
    left: 100%;
    top: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    display: none;
}

.dropdown-content li:hover > ul {
    display: block;
}

/* Mobile Navigation Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
}

/* Responsive Header */
@media (max-width: 768px) {
    .TopLink ul {
        flex-wrap: wrap;
        gap: 10px;
        font-size: 12px;
    }
    
    .HeaderTop .d-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .mobile-nav-toggle {
        display: block;
        margin: 10px auto;
    }
    
    .HeaderMenu {
        display: none;
        width: 100%;
    }
    
    .HeaderMenu.show {
        display: block;
    }
    
    .HeaderMenu ul {
        flex-direction: column;
        width: 100%;
    }
    
    .HeaderMenu ul li {
        width: 100%;
    }
    
    .HeaderMenu ul li a {
        padding: 12px 15px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        text-align: center;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        background-color: rgba(255,255,255,0.1);
        margin-left: 20px;
    }

    .AccessibilitySearch {
        flex-direction: column;
        gap: 5px;
    }

    .SearchBox, .AccessibilityPopUP {
        position: static;
        margin-top: 10px;
    }
}

/* ==========================================
   FOOTER STYLES (Redesigned to match reference)
   ========================================== */

.footer_area {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
    color: white;
    padding: 50px 0 20px;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.footer_area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.3) 0%, rgba(30, 64, 175, 0.1) 70%);
    z-index: 0;
}

.footer_area .container {
    position: relative;
    z-index: 2;
}

.connect-title {
    font-size: 18px;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    position: relative;
}

.connect-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #fbbf24;
}

/* Left Column - Other Links */
.footer_menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.textlist li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 0;
}

.textlist li::before {
    content: '🔗';
    margin-right: 8px;
    font-size: 14px;
}

.textlist li a {
    color: rgba(255,255,255,0.95);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
}

.textlist li a:hover {
    color: #fbbf24;
    padding-left: 10px;
}

/* Center Column - Environmental Illustration */
.environmental-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 250px;
    position: relative;
}

.environmental-illustration svg {
    max-width: 280px;
    max-height: 200px;
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.3));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Right Column - Contact Information */
.footer-address ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-address ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 12px;
    background: rgba(255,255,255,0.15);
    padding: 12px 15px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.footer-address ul li:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.footer-address ul li img {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    filter: brightness(0) invert(1);
}

.footer-address ul li span {
    font-weight: 700;
    display: block;
    margin-bottom: 3px;
    color: #fbbf24;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
}

.footer-address ul li div {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
}

.footer-address ul li strong {
    font-weight: 600;
    color: white;
}

/* Visitor Counter Styling */
.feedback-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1e40af;
    text-decoration: none;
    margin: 15px 0;
    font-weight: 600;
    font-size: 14px;
}

.visitors-count {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1e40af;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.last-updated {
    color: rgba(255,255,255,0.8);
    font-size: 12px;
    margin-top: 8px;
    text-align: center;
}

/* Second Footer Section */
footer:last-child {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.SocialIcons ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 20px;
}

.SocialIcons ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.SocialIcons ul li a:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.5);
}

.SocialIcons ul li a img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.FooterLink ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    justify-content: center;
}

.FooterLink ul li {
    position: relative;
}

.FooterLink ul li::after {
    content: '|';
    color: rgba(255,255,255,0.4);
    margin-left: 15px;
    font-weight: 300;
}

.FooterLink ul li:last-child::after {
    display: none;
}

.FooterLink ul li a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

.FooterLink ul li a:hover {
    color: #fbbf24;
    border-bottom-color: #fbbf24;
}

.Copyright p {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    margin: 0;
    text-align: center;
    font-weight: 500;
    padding: 15px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer_area {
        padding: 40px 0 20px;
        min-height: auto;
    }
    
    .environmental-illustration {
        height: 180px;
        margin: 20px 0;
    }
    
    .environmental-illustration svg {
        max-width: 200px;
        max-height: 140px;
    }
}

@media (max-width: 768px) {
    .footer_area {
        padding: 30px 0 15px;
    }
    
    .connect-title {
        text-align: center;
        font-size: 16px;
    }
    
    .footer-address ul li {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .environmental-illustration {
        height: 140px;
        margin: 15px 0;
    }
    
    .environmental-illustration svg {
        max-width: 160px;
        max-height: 110px;
    }
    
    .FooterLink ul {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .FooterLink ul li::after {
        display: none;
    }
    
    .SocialIcons ul {
        justify-content: center;
        margin-bottom: 15px;
    }
}
    letter-spacing: 0.5px;
}

.footer-address ul li div {
    flex: 1;
}

.feedback-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fbbf24;
    text-decoration: none;
    margin-bottom: 15px;
    background: rgba(251, 191, 36, 0.1);
    padding: 10px 15px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.feedback-btn:hover {
    background: rgba(251, 191, 36, 0.2);
    transform: translateY(-2px);
}

.feedback-btn img {
    width: 20px;
    height: 20px;
}

.visitors-count {
    background: rgba(251, 191, 36, 0.9);
    color: #1e3c72;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    margin: 10px 0;
}

.last-updated {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    margin-top: 10px;
}

/* Second Footer Section */
footer:last-child {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 30px 0;
}

.SocialIcons ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
}

.SocialIcons ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.SocialIcons ul li a:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
}

.SocialIcons ul li a img {
    width: 22px;
    height: 22px;
    filter: brightness(0) invert(1);
}

.FooterLink ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    justify-content: center;
}

.FooterLink ul li {
    position: relative;
}

.FooterLink ul li::after {
    content: '|';
    color: rgba(255,255,255,0.3);
    margin-left: 20px;
}

.FooterLink ul li:last-child::after {
    display: none;
}

.FooterLink ul li a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

.FooterLink ul li a:hover {
    color: #fbbf24;
    border-bottom-color: #fbbf24;
}

.Copyright p {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    margin: 0;
    text-align: center;
    font-weight: 500;
    padding: 15px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer_area {
        padding: 40px 0 20px;
    }
    
    .footer-address ul li {
        flex-direction: column;
        text-align: center;
    }
    
    .FooterLink ul {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .FooterLink ul li::after {
        display: none;
    }
    
    .SocialIcons ul {
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .connect-title {
        text-align: center;
    }
}