html,
body {
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  font-family: "Poppins", sans-serif;
  /* background-image: url('greetings/orgbackg.png'); 
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;*/
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 100px;
  /* adjust to navbar height */
}


/* header/hero */
.hero-bg {
  position: relative;
  isolation: isolate;
  min-height: 90vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 64px;
  padding-top: 80px;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 1.5s ease-in-out;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.345);
  z-index: 1;
}

.header {
  position: relative;
  z-index: 2;
  text-align: left;
  padding: 120px 20px 80px;
  max-width: 1100px;
  margin: 0;
  mask-image: linear-gradient(to bottom,
      transparent,
      black 15%,
      black 85%,
      transparent);
}

.header h1 {
  font-family: "Poppins", sans-serif;
  font-size: 45px;
  line-height: 1.15;
  color: white;
  font-weight: 400;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.color {
  background-image: linear-gradient(90deg,
      #f0dc5c,
      #bc0000,
      #f0dc5c);
  background-size: 200% 200%;
  background-position: 0% 50%;

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  font-weight: 700;
  animation: gradientMove 4s ease infinite;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.header2 h2 {
  margin-top: 12px;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  color: white;
  font-weight: 400;
  line-height: 1.7;
  max-width: 600px;
  margin-left: 0;
}

.button-container a {
  text-decoration: none;
  cursor: pointer;
  font-weight: 500;
  padding: 16px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #8b0000, #bc0000);
  border: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: white;
  box-shadow: 0 12px 30px rgba(128, 0, 0, 0.25);
  transition: all 0.3s ease;
}

.button-container a:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(128, 0, 0, 0.35);
}

button>svg {
  width: 32px;
  transition: transform 0.3s ease;
}

button:hover svg {
  transform: translateX(6px);
}

button:active {
  transform: scale(0.95);
}

.button-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 30px;
}

/* Departments */
.marquee {
  overflow: hidden;
  width: 100%;
  background-color: maroon;
  height: 80px;
  display: flex;
  align-items: center;
  font-family: "Poppins", sans-serif;
}

.marquee__inner {
  display: flex;
  width: max-content;
  animation: marquee 15s linear infinite;
}

.marquee__group {
  display: flex;
}

.marquee__group span {
  margin: 0 1.5rem;
  white-space: nowrap;
  color: white;
  padding: 4px 16px 4px 12px;
  border-radius: 6px;
  font-size: 1.2rem;
  align-items: center;
}

.marquee__group span img {
  height: 40px;
  /* or any size you want */
  width: auto;
  /* maintains aspect ratio */
  margin-right: 10px;
  /* spacing between image and text */
  vertical-align: middle;
}


@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Log in Grid */

.features {
  max-width: 1280px;
  margin: 90px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 38px;
}

/* Card */
.feature-card {
  position: relative;
  padding: 48px 36px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.05),
    0 1px 0 rgba(255, 255, 255, 0.6) inset;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

/* Accent line */
.feature-card::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 36px;
  width: 32px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f0dc5c, #8b0000);
}

.feature-card,
.feature-card h3,
.feature-card p,
.feature-link {
  transition:
    background 0.35s ease,
    color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

.feature-card:hover {
  background: #7b0000;
  /* maroon */
  transform: translateY(-4px);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.2);
}

/* Title */
.feature-card h3 {
  font-family: "Poppins", sans-serif;
  font-size: 21px;
  font-weight: 600;
  color: #7b0000;
  margin: 28px 0 12px;
}

/* Description */
.feature-card p {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: #555;
  max-width: 280px;
}

.feature-card:hover h3 {
  color: #f0dc5c;
  /* yellow */
}

.feature-card:hover p {
  color: #ffffff;
}

.feature-card:hover .feature-link {
  color: #f0dc5c;
  /* yellow */
  border-top-color: rgba(255, 255, 255, 0.3);
}

.feature-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #7b0000;
  text-decoration: none;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 24px;
  transition: color 0.25s ease;
}

/* Arrow */
.feature-link .arrow {
  font-size: 18px;
  transition: transform 0.25s ease;
}

/* Hover effect */
.feature-link:hover {
  color: #bc0000;
}

.feature-link:hover .arrow {
  transform: translateX(4px);
}

/* SCOA Card - Premium Dark/Gold Theme */
.feature-card.scoa-card {
  background: linear-gradient(145deg, #2a0000, #4d0000);
  border: 1px solid rgba(240, 220, 92, 0.2);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.feature-card.scoa-card::before {
  background: linear-gradient(90deg, #f0dc5c, #ffb600);
  width: 45px;
}

.feature-card.scoa-card h3 {
  color: #f0dc5c;
}

.feature-card.scoa-card p {
  color: rgba(255, 255, 255, 0.85);
}

.feature-card.scoa-card .feature-link {
  color: #f0dc5c;
  border-top-color: rgba(255, 255, 255, 0.1);
}

.feature-card.scoa-card:hover {
  background: linear-gradient(145deg, #3d0000, #630000);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(240, 220, 92, 0.15);
  transform: translateY(-8px);
}

.feature-card.scoa-card:hover .feature-link {
  color: #ffffff;
}

/* About Section - Compact & Modern */
.about {
  position: relative;
  background-image: url("../images/campus.jpg");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  padding: 40px 20px;
  overflow: hidden;
}

.about-overlay {
  position: absolute;
  inset: 0;
  background: rgba(65, 8, 8, 0.8);
  /* Dark neutral overlay for page break */
  z-index: 1;
}

.about-container {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  z-index: 2;
  padding: 20px;
}

.about-img-wrapper {
  width: 100%;
  max-width: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
  transition: transform 0.5s ease;
}

.about-container:hover .about-image {
  transform: scale(1.05);
}

.about-text {
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-text h2 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.2;
  margin-bottom: 12px;
  color: #ffffff;
  /* White text for contrast */
  font-weight: 700;
}

.about-text .accent-line {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #8b0000, #f0dc5c);
  margin-bottom: 24px;
  border-radius: 2px;
}

.about-text p {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  font-size: 14px;
  color: #e5e7eb;
  /* Light text for dark background */
  max-width: 800px;
  margin-bottom: 24px;
}

.about-btn {
  display: flex;
  justify-content: center;
}

.about-btn a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  background: linear-gradient(135deg, #8b0000, #bc0000);
  border: none;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 99px;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(139, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.about-btn a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(139, 0, 0, 0.3);
  background: linear-gradient(135deg, #a00000, #8b0000);
}

.about-btn a .arrow {
  transition: transform 0.3s ease;
}

.about-btn a:hover .arrow {
  transform: translateX(5px);
}


@media (min-width: 900px) {
  .about-container {
    flex-direction: row;
    text-align: left;
    padding: 70px 60px;
    gap: 80px;
  }

  .about-text {
    text-align: left;
    align-items: flex-start;
  }

  .about-img-wrapper {
    max-width: 320px;
    flex-shrink: 0;
  }
}

/* EVENTS SECTION */
.events {
  padding: 90px 20px;
  text-align: center;
  font-family: "Poppins", sans-serif;
}

/* TITLE */
.events-title {
  font-size: 38px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #242424;
  margin-top: 0%
}

/* SUBTITLE */
.events-subtitle {
  max-width: 720px;
  margin: 0 auto 80px;
  font-size: 15px;
  line-height: 1.8;
  color: #555;
}

/* GRID */
.events-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* EVENT ITEM */
.event-item {
  padding: 0 40px;
  text-align: left;
  position: relative;
}

/* VERTICAL DIVIDER */
.event-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: #e5e7eb;
}

/* EVENT TITLE */
.event-item h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #111;
}

/* META INFO */
.event-meta,
.event-location {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 8px;
}

.event-meta i,
.event-location i {
  color: #FFB600;
  margin-right: 6px;
}

/* NO EVENTS TEXT */
.no-events {
  grid-column: 1 / -1;
  text-align: center;
  font-style: italic;
  color: #777;
}

footer {
  background-color: #5c0000; /* Richer maroon */
  color: white;
  padding: 50px 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  border-top: 4px solid #FFB600; /* Gold top border */
}

.footer-left {
  display: flex;
  align-items: center;
}

.footer-left p {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-content .logo {
  height: 45px;
  transition: transform 0.3s ease;
}

.footer-content .logo:hover {
  transform: scale(1.08);
}

.footer-right {
  display: flex;
  justify-content: flex-end;
  gap: 30px;
}

.footer-right a {
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.footer-right a:hover {
  color: #FFB600;
  transform: translateY(-2px);
}

/* Footer Responsive Styles */
@media (max-width: 768px) {
  footer {
    flex-direction: column;
    gap: 30px;
    padding: 40px 24px;
    text-align: center;
  }

  .footer-content {
    order: 1;
  }

  .footer-right {
    order: 2;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
  }

  .footer-right a {
    font-size: 15px;
  }

  .footer-left {
    order: 3;
    justify-content: center;
    width: 100%;
  }

  .footer-left p {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .hero-bg {
    min-height: 80vh;
  }

  .header {
    padding: 80px 16px;
  }

  .event-item {
    padding: 0 20px 40px;
  }

  .event-item::after {
    display: none;
  }
}

@media (max-width: 900px) {
  .features {
    grid-template-columns: 1fr;
    gap: 32px;
    margin: 100px auto;
  }

  .feature-card {
    padding: 40px 28px;
  }

  .feature-card::before {
    left: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .color {
    animation: none;
  }
}

:root {
  --fc-small-font-size: .85em;
  --fc-page-bg-color: #fff;
  --fc-neutral-bg-color: hsla(0, 0%, 82%, .3);
  --fc-neutral-text-color: grey;
  --fc-border-color: #ddd;
  --fc-button-text-color: #fff;
  --fc-button-bg-color: maroon;
  --fc-button-border-color: rgb(85, 2, 2);
  --fc-button-hover-bg-color: rgb(182, 71, 71);
  --fc-button-hover-border-color: #1a252f;
  --fc-button-active-bg-color: maroon;
  --fc-button-active-border-color: #151e27;
  --fc-event-bg-color: #3788d8;
  --fc-event-border-color: #3788d8;
  --fc-event-text-color: #fff;
  --fc-event-selected-overlay-color: rgba(0, 0, 0, .25);
  --fc-more-link-bg-color: #d0d0d0;
  --fc-more-link-text-color: inherit;
  --fc-event-resizer-thickness: 8px;
  --fc-event-resizer-dot-total-width: 8px;
  --fc-event-resizer-dot-border-width: 1px;
  --fc-non-business-color: hsla(0, 0%, 84%, .3);
  --fc-bg-event-color: #8fdf82;
  --fc-bg-event-opacity: 0.3;
  --fc-highlight-color: rgba(188, 232, 241, .3);
  --fc-today-bg-color: rgba(255, 220, 40, .15);
  --fc-now-indicator-color: red;
}

.main-content {
  display: flex;
  justify-content: center;
  /* centers horizontally */
  padding: 60px 20px;
}

#calendar {
  width: 100%;
  max-width: 1100px;
  /* controls calendar width */
}

#calendar {
  max-width: 1210px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-left: var(--side-nav-width);
  margin-top: var(--top-nav-height);
  padding: 24px;
}

.fc .fc-button-primary:disabled {
  background-color: var(--fc-button-bg-color);
  border-color: var(--fc-button-border-color);
  color: var(--fc-button-text-color);
}

@media (max-width: 768px) {
  #calendar {
    margin-left: 0;
    margin-top: 0;
    padding-top: 120px;
  }
}