:root {
  --header-height: 80px;


  --primary: #18181b;
  --secondary: #ffffff;

  --accent-blue: #3b82f6;
  --accent-yellow: #60a5fa;
  --accent-red: #ef4444;

  --primary-color: #3b82f6;

  --bg-body: #fafafa;
  --bg-surface: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.9);

  --text-main: #18181b;
  --text-secondary: #3f3f46;
  --text-muted: #71717a;
  --text-inverted: #ffffff;

  --border-light: #e4e4e7;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-full: 9999px;

  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-heading: "Poppins", system-ui, sans-serif;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}


html.dark {
  --primary: #f4f4f5;
  --secondary: #09090b;

  --primary-color: #60a5fa;

  --bg-body: #09090b;
  --bg-surface: #18181b;
  --bg-glass: rgba(24, 24, 27, 0.85);

  --text-main: #f4f4f5;
  --text-secondary: #d4d4d8;
  --text-muted: #a1a1aa;
  --text-inverted: #09090b;

  --border-light: #27272a;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3);
}

html.preload * {
  transition: none !important;
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-body);
  color: var(--text-main);
  min-height: 100vh;
  padding-top: var(--header-height);
  overflow-x: hidden;
}

body.theme-transition {
  transition: background var(--transition-normal), color var(--transition-normal);
}

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img {
  max-width: 100%;
  display: block;
}


h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}


.glass {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}



.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}


.header-left .logo {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.header-left .logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--border-light);
  object-fit: cover;
}

.header-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.header-title h1 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--accent-blue);

}

.header-title .header-subtitle {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}


.d-text {
  display: inline;
}

.m-text {
  display: none;
}


.main-nav {
  display: block;
}

.main-nav ul {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent-blue);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-blue);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}


.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}


.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}


.search-bar {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 0.4rem 0.5rem;
  width: 40px;

  height: 40px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}


.search-bar.expanded {
  width: 300px;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  border-color: var(--accent-blue);
  cursor: text;
  padding-left: 1rem;
}


.search-bar input {
  position: absolute;
  left: 3rem;

  top: 50%;
  transform: translateY(-50%);
  border: none;
  outline: none;
  background: transparent;
  width: calc(100% - 3.5rem);
  font-size: 0.95rem;
  color: var(--text-main);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease 0.1s;
}

.search-bar.expanded input {
  opacity: 1;
  pointer-events: all;
  left: 1rem;

  width: calc(100% - 3rem);
}


.search-toggle-btn {
  position: absolute;
  right: 2px;
  top: 2px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
  background: transparent;
  z-index: 2;
}

.search-toggle-btn:hover {
  color: var(--accent-blue);
  background: var(--bg-body);
}

.search-bar.expanded .search-toggle-btn {
  background: transparent;
  color: var(--text-main);
}


.search-bar .icon-close {
  display: none;
}

.search-bar.expanded .icon-close {
  display: block;
}

.search-bar.expanded .icon-search {
  display: none;
}


.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: all 0.2s;
}

.theme-toggle:hover {
  background: var(--bg-surface);
  color: var(--accent-yellow);
  box-shadow: var(--shadow-sm);
  border-color: var(--border-light);
}

.theme-toggle svg {
  width: 22px;
  height: 22px;
}

.icon-moon {
  display: none;
}

html.dark .icon-sun {
  display: none;
}

html.dark .icon-moon {
  display: block;
}


.search-wrapper {
  position: relative;
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 400px;
  max-height: 500px;
  overflow-y: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  z-index: 2001;
  animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

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

.search-hint,
.search-result-item {
  padding: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  cursor: pointer;
  transition: all 0.2s;
  border-bottom: 1px solid var(--border-light);
  text-align: left;
}

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

.search-result-item:hover {
  background: rgba(var(--accent-blue), 0.05);
}

html.dark .search-result-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.result-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.result-content {
  flex: 1;
  min-width: 0;
}

.result-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 0.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-title mark {
  background: var(--accent-yellow);
  color: var(--primary);
  padding: 0 0.2rem;
  border-radius: 3px;
  font-weight: 700;
}

.result-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-arrow {
  flex-shrink: 0;
  color: var(--text-muted);
  opacity: 0;
  transform: translateX(-5px);
  transition: all 0.2s;
}

.search-result-item:hover .result-arrow {
  opacity: 1;
  transform: translateX(0);
}


.search-dropdown::-webkit-scrollbar {
  width: 6px;
}

.search-dropdown::-webkit-scrollbar-track {
  background: transparent;
}

.search-dropdown::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: 3px;
}

.search-dropdown::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}


@media (max-width: 1024px) {
  .search-dropdown {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100vh - var(--header-height));
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
}

@media (max-width: 480px) {
  .search-dropdown {
    top: 60px;
    max-height: calc(100vh - 60px);
  }
}


.hamburger {
  display: none;

  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  z-index: 1002;
}




@media (max-width: 1024px) {

  .container {
    padding: 0 1.25rem;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-surface);
    padding: 6rem 2rem 2rem;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .main-nav.active {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
    max-width: 500px;
  }

  .main-nav a {
    font-size: 1.5rem;
    width: auto;
    display: inline-block;
    border-bottom: none;
    padding-bottom: 0.5rem;
    text-align: center;
  }

  .main-nav a::after {
    display: block;
    content: '';
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width 0.3s;
    margin: 0.25rem auto 0;
  }

  .main-nav a:hover::after,
  .main-nav a.active::after {
    width: 100%;
  }

  .main-nav a.active {
    color: var(--accent-blue);
    padding-left: 0;
    border-left: none;
    border-bottom: none;
  }

  .hamburger {
    display: flex;
  }


  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }

  .nav-overlay.active {
    opacity: 1;
    pointer-events: all;
  }


  .search-wrapper {
    position: static;
  }

  .search-bar.expanded {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 2000;
    background: var(--bg-surface);
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--accent-blue);
    padding: 0 1rem;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-md);
  }

  .search-bar.expanded input {
    position: relative;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    transform: none;
    font-size: 1.1rem;
    padding-right: 3rem;
  }

  .search-bar.expanded .search-toggle-btn {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    color: var(--text-main);
  }
}


@media (max-width: 480px) {

  .container {
    padding: 0 1rem;
  }

  html {
    font-size: 14px;
  }

  .header-left .logo img {
    width: 32px;
    height: 32px;
  }

  .header-title {
    flex: 1;
    min-width: 0;
  }

  .header-title h1 {
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .d-text {
    display: none !important;
  }

  .m-text {
    display: block !important;
  }

  .header-title .header-subtitle {
    display: none !important;
  }


  .main-header {
    padding: 0 0.75rem;
    height: 60px;
  }

  body {
    padding-top: 60px;
  }

  .search-bar.expanded {
    width: 100%;
    left: 0;
    right: 0;
    height: 60px;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--accent-blue);
  }


  h1 {
    font-size: 1.75rem !important;
  }

  h2 {
    font-size: 1.5rem !important;
  }

  h3 {
    font-size: 1.2rem !important;
  }

  p {
    font-size: 0.9rem !important;
  }

  .hero-title-council {
    font-size: 2.2rem !important;
  }

  .hero-title-college {
    font-size: 1.2rem !important;
  }

  .section-header {
    margin-bottom: 2rem;
    padding-top: 2rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
  }

  .section-header p {
    font-size: 0.9rem;
    line-height: 1.4;
    padding: 0 1rem;
  }

  .card-content {
    padding: 1rem;
  }

  .card-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .card-excerpt {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .stat-card {
    padding: 1.5rem 1rem;
  }

  .stat-card h3 {
    font-size: 2rem;
  }

  .tigi-ay-content .hero-title-council {
    font-size: 2.5rem;
  }

  .footer-section h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .main-footer {
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
  }


  .footer-grid {
    gap: 2rem;
    justify-items: center;
  }

  .footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}


@media (max-width: 350px) {

  .container {
    padding: 0 0.75rem;
  }

  .d-text {
    display: none !important;
  }

  .m-text {
    display: block !important;
  }

  .header-title h1 {
    font-size: 0.75rem;
  }

  .header-left .logo img {
    width: 28px;
    height: 28px;
  }

  .hero-title-council {
    font-size: 1.8rem !important;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .tigi-ay-actions .btn-primary,
  .tigi-ay-actions .btn-outline {
    padding: 0.5rem 0.75rem;
    font-size: 0.7rem;
  }
}






.btn-primary {
  background: var(--accent-yellow);
  color: var(--primary);
  padding: 0.75rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
  white-space: nowrap;
}

.btn-outline:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}



.btn-audio-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #ff0000, #cc0000);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(255, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-audio-circle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(255, 0, 0, 0.6);
}

.btn-audio-circle:active {
  transform: scale(0.95);
}


.btn-audio-circle::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }

  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}


.audio-visualizer {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 40px;
  padding: 0 10px;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.audio-visualizer.active {
  opacity: 1;
  transform: scaleX(1);
}

.viz-bar {
  width: 4px;
  background: linear-gradient(to top, #ff0000, #ff6b35);
  border-radius: 2px;
  height: 8px;
  animation: none;
  transition: height 0.1s ease;
}


.audio-visualizer.active .viz-bar:nth-child(1) {
  animation: barBounce 0.6s ease-in-out infinite;
}

.audio-visualizer.active .viz-bar:nth-child(2) {
  animation: barBounce 0.8s ease-in-out infinite 0.1s;
}

.audio-visualizer.active .viz-bar:nth-child(3) {
  animation: barBounce 0.7s ease-in-out infinite 0.2s;
}

.audio-visualizer.active .viz-bar:nth-child(4) {
  animation: barBounce 0.9s ease-in-out infinite 0.15s;
}

.audio-visualizer.active .viz-bar:nth-child(5) {
  animation: barBounce 0.65s ease-in-out infinite 0.25s;
}

@keyframes barBounce {

  0%,
  100% {
    height: 8px;
  }

  50% {
    height: 32px;
  }
}


@media (max-width: 480px) {
  .btn-audio-circle {
    width: 48px;
    height: 48px;
  }

  .audio-visualizer {
    height: 32px;
  }

  .viz-bar {
    width: 3px;
  }

  @keyframes barBounce {

    0%,
    100% {
      height: 6px;
    }

    50% {
      height: 24px;
    }
  }
}


.section-header {
  text-align: center;
  margin-bottom: 5rem;
  padding-top: 6rem;
}

.section-header h2 {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  letter-spacing: -1px;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 6px;
  background: var(--accent-yellow);
  margin: 1rem auto 0;
  border-radius: var(--radius-full);
}

.section-header p {
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.25rem;
  line-height: 1.6;
}


.grid-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 0;
}

.section-footer {
  text-align: center;
  margin-top: 3rem;
  margin-bottom: 8rem;
}


@media (min-width: 768px) {
  .grid-layout {
    grid-template-columns: repeat(2, 1fr);
  }


  #announcements-grid> :last-child:nth-child(odd),
  #events-grid> :last-child:nth-child(odd) {
    grid-column: span 2;
  }
}


@media (min-width: 1024px) {
  .grid-layout {
    grid-template-columns: repeat(3, 1fr);
  }


  #announcements-grid> :last-child:nth-child(odd),
  #events-grid> :last-child:nth-child(odd) {
    grid-column: auto;
  }


  #officers-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-yellow);
}


.card-image-wrapper {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.announcement-card:hover .card-image img {
  transform: scale(1.05);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  opacity: 0.6;
}

.card-gallery-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  padding: 0.4rem 0.75rem;
  background: rgba(var(--accent-blue-rgb, 59, 130, 246), 0.1);
  border-radius: var(--radius-full);
  font-weight: 500;
}

.card-gallery-indicator svg {
  flex-shrink: 0;
  color: var(--accent-blue);
}


.card-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.text-accent-yellow {
  color: var(--accent-yellow);
}

.card-dot {
  color: var(--text-muted);
}

.card-date {
  color: var(--text-muted);
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.card-excerpt {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.card-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.95rem;
}

.btn-read-more:hover {
  color: var(--accent-yellow);
}

.btn-read-more svg {
  transition: transform 0.2s;
}

.btn-read-more:hover svg {
  transform: translateX(4px);
}


.event-card {

  position: relative;
}

.event-date-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 60px;
  height: 60px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.event-month {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-red);
  line-height: 1;
}

.event-day {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.event-card .card-content {
  padding-top: 3.5rem;
  padding-right: 5.5rem;
}

.event-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
}



.btn-link:hover {
  gap: 0.75rem;
  color: var(--accent-yellow);
}




.officer-card {
  text-align: center;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 0;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.officer-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-yellow);
}

.officer-image-container {
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-body) 100%);
  padding: 2.5rem 1rem 1.5rem;
  position: relative;
  border-bottom: 1px solid var(--border-light);
}

.officer-image {
  width: 140px;
  height: 140px;
  margin: 0 auto;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--bg-surface);
  box-shadow: var(--shadow-md);
  display: block;
}

.officer-socials {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  transform: translateY(50%);
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  opacity: 0;
  transition: all 0.3s ease;
}

.officer-card:hover .officer-socials {
  opacity: 1;
  transform: translateY(-50%);
}

.officer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.officer-socials a:hover {
  background: var(--accent-yellow);
  color: var(--primary);
  transform: scale(1.1);
}

.officer-info {
  padding: 2.5rem 1.5rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.officer-card h3 {
  margin-bottom: 0.5rem;
  color: var(--text-main);
  font-size: 1.25rem;
  font-weight: 700;
}

.officer-role {
  color: var(--accent-yellow);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.officer-dept {
  font-size: 0.9rem;
  color: var(--text-muted);
}




.main-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  padding: 2.5rem 1.5rem 1.5rem;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.footer-section h3 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: var(--accent-blue);
}

.footer-section p,
.footer-section a {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-section a:hover {
  color: var(--accent-blue);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.btn-facebook {
  display: inline-block !important;
  width: fit-content;
  background: linear-gradient(135deg, #1877F2, #166fe5);
  color: #ffffff !important;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px -1px rgba(24, 119, 242, 0.25), 0 2px 4px -1px rgba(24, 119, 242, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-facebook:hover {
  background: linear-gradient(135deg, #1A7CFF, #1877F2);
  transform: translateY(-2px);
  box-shadow: 0 8px 12px -3px rgba(24, 119, 242, 0.4), 0 4px 6px -2px rgba(24, 119, 242, 0.2);
}


.officers-carousel-wrapper {
  position: relative;
  margin: 0 -1.5rem;
  padding: 0 4rem;
}

.officers-carousel {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 1rem 0;
}

.officers-carousel::-webkit-scrollbar {
  display: none;
}

#officers-container .grid-layout {
  display: flex;
  gap: 2rem;
  width: max-content;
  padding: 0 1.5rem;
}

#officers-container .officer-card {
  flex: 0 0 280px;
  width: 280px;
}


.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: var(--bg-surface);
  border: 2px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-md);
  color: var(--text-main);
}

.carousel-nav:hover {
  background: var(--accent-blue);
  color: white;
  border-color: var(--accent-blue);
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--shadow-lg);
}

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

.carousel-nav.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.carousel-prev {
  left: 0;
}

.carousel-next {
  right: 0;
}


@media (max-width: 1024px) {
  .carousel-nav {
    display: none !important;
  }


  .officers-carousel-wrapper {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }


  #officers-container .grid-layout {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;

  }

  .officers-carousel {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

@media (max-width: 768px) {


  #officers-container .officer-card {
    flex: 0 0 260px;
    width: 260px;
  }
}

@media (max-width: 480px) {

  .officers-carousel-wrapper {
    margin: 0 !important;
    width: 100% !important;
  }

  #officers-container .grid-layout {
    gap: 1rem;
  }

  #officers-container .officer-card {
    flex: 0 0 240px;
    width: 240px;
  }
}


.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  z-index: 1002;
}

@media (max-width: 1024px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-surface);
    padding: 6rem 2rem 2rem;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .main-nav.active {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
    max-width: 500px;
  }

  .main-nav a {
    font-size: 1.5rem;
    width: auto;
    display: inline-block;
    border-bottom: none;
    padding-bottom: 0.5rem;
    text-align: center;
  }

  .main-nav a::after {
    display: block;
    content: '';
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width 0.3s;
    margin: 0.25rem auto 0;
  }

  .main-nav a:hover::after,
  .main-nav a.active::after {
    width: 100%;
  }

  .main-nav a.active {
    color: var(--accent-blue);
    padding-left: 0;
    border-left: none;
    border-bottom: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }

  .nav-overlay.active {
    opacity: 1;
    pointer-events: all;
  }

  .search-wrapper {
    position: static;
  }

  .search-bar.expanded {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 2000;
    background: var(--bg-surface);
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--accent-blue);
    padding: 0 1rem;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-md);
  }

  .search-bar.expanded input {
    position: relative;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    transform: none;
    font-size: 1.1rem;
    padding-right: 3rem;
  }

  .search-bar.expanded .search-toggle-btn {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    color: var(--text-main);
  }
}

@media (max-width: 480px) {
  .header-left .logo img {
    width: 32px;
    height: 32px;
  }

  .header-title {
    flex: 1;
    min-width: 0;
  }

  .header-title h1 {
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .d-text {
    display: none !important;
  }

  .m-text {
    display: block !important;
  }

  .header-title .header-subtitle {
    display: none !important;
  }

  .main-header {
    padding: 0 0.75rem;
    height: 60px;
  }

  body {
    padding-top: 60px;
  }

  .search-bar.expanded {
    width: 100%;
    left: 0;
    right: 0;
    height: 60px;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--accent-blue);
  }
}

@media (max-width: 350px) {
  .d-text {
    display: none !important;
  }

  .m-text {
    display: block !important;
  }

  .header-title h1 {
    font-size: 0.75rem;
  }
}