/* Main Styles for BU SASE Website */

/* Variables */
:root {
    --sase-blue: #141b4d;
    --sase-green: #616c39;
    --bu-red: #682b2b;
    --dark-gray: #333333;
    --medium-gray: #666666;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --heading-font: 'DM Sans', sans-serif;
    --body-font: 'DM Sans', sans-serif;
}

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

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: var(--sase-blue);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--bu-red);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.container {
    width: 100%;
    padding: 5px 25px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--sase-blue);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: var(--medium-gray);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--dark-gray);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--medium-gray);
    color: var(--white);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--sase-blue);
}

/* Header Styles */
.site-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 10px 0;
    background-color: rgba(255, 255, 255);
    backdrop-filter: blur(5px);
    /* Adds a nice blur effect for modern browsers */
    -webkit-backdrop-filter: blur(5px);
    /* For Safari */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
}

.logo {
    justify-self: start;
}

.header-logo {
    height: 30px;
    width: auto;
}

.main-nav {
    display: contents;
}

.nav-links {
    display: flex;
    justify-content: center;
    list-style: none;
}

.nav-links li {
    margin: 0 20px;
}

.nav-links a {
    color: var(--dark-gray);
    font-weight: 550;
    font-size: 1rem;
    padding: 10px 15px;
    position: relative;
}

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

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-gray);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.nav-cta {
    padding: 10px 22px;
    border-radius: 30px;
    background-color: var(--sase-blue);
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-cta:hover {
    background-color: var(--bu-red);
    color: var(--white);
}

/* Hero Section */
body {
    padding: 25px;
}
.hero-section {
    height: 100vh;
    min-height: 600px;
    background-image: url('/assets/images/sase/bu-skyline.jpg');
    background-size: cover;
    border-radius: 20px;
    background-position: center;
    position: relative;
    color: var(--white);
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: 80px;
    /* Account for fixed header */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    /* Semi-transparent overlay for better text readability */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Pillars Section */
.pillars-section {
    padding: 80px 0;
    border-radius: 20px;
    background-color: var(--light-gray);
}

.pillars-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.pillar-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    border-radius: 20px;
    flex: 1;
    min-width: 300px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.pillar-icon {
    font-size: 3rem;
    color: var(--sase-blue);
    margin-bottom: 20px;
}

.pillar-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--sase-blue);
}

.pillar-card p {
    color: var(--medium-gray);
    font-size: 1rem;
}

/* Companies Section */
.companies-section {
    padding: 80px 20px;
}

.company-slider {
    overflow: hidden;
    position: relative;
}

.company-track {
    display: flex;
    animation: scroll 110s linear infinite;
}

.company-logo {
    min-width: 200px;
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.company-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
}

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

    100% {
        transform: translateX(-10000px);
        /* Adjust based on content */
    }
}

/* Call to Action Section */
.cta-section {
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 80px 0;
    background-color: var(--sase-blue);
    color: var(--white);
    text-align: center;
    position: relative;
    border-radius: 20px;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-content .btn {
    margin: 0 25px;
}

/* Footer Styles */
.site-footer {
    color: var(--sase-blue);
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-info {
    flex: 1;
    min-width: 300px;
    margin-bottom: 30px;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 20px;
}

.footer-info p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: var(--sase-blue);
}

.footer-links,
.footer-contact {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--sase-blue);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--sase-blue);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--dark-gray);
}

.footer-contact p {
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--dark-gray);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: var(--sase-blue);;
}

/* Media Queries */
@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: 0;
        overflow: hidden;
        flex-direction: column;
        align-items: center;
        background-color: var(--white);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transition: height 0.3s ease;
    }

    .nav-links.active {
        height: auto;
        padding: 20px 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .menu-toggle {
        display: block;
    }

    .menu-toggle.active span:first-child {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:last-child {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .pillar-card {
        min-width: 100%;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-info,
    .footer-links,
    .footer-contact {
        width: 100%;
        margin-bottom: 40px;
    }
}

/* About Us Page Styles */
.about-split-hero {
    background: linear-gradient(135deg, #f0f4fb 0%, #d7e6a0 40%, #616c39 100%);
    padding: 60px 0;
    margin-top: 80px;
    border-radius: 20px;
    margin-bottom: 50px;
}

.about-split-hero__inner {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.about-split-hero__left h1 {
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.05;
    margin: 0 0 18px;
    color: #141b4d;
}

.about-split-hero__left p {
    font-size: 1.05rem;
    max-width: 52ch;
    margin: 0 0 28px;
    color: #333333;
}

.about-split-hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.about-split-hero__image {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.about-split-hero__image img {
    display: block;
    width: auto;
    height: 460px;
    object-fit: cover;
}

.stats-section {
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  font-family: Arial, sans-serif;
}

.stats-wrapper {
  display: flex;
  gap: 80px;
  flex-wrap: wrap;
}

.chart-block.horizontal {
  display: flex;
  align-items: center;
  gap: 32px;
}

.chart-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 260px;
}

.chart-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.pie-chart {
  width: 260px;
  height: 260px;
  border-radius: 50%;
}

/* Major Distribution */
.majors {
  background: conic-gradient(
    #2f3e1f 0% 24.3%,
    #324d42 24.3% 41.7%,
    #3d5f3f 41.7% 58.4%,
    #4b6b4f 58.4% 73%,
    #5e7f5c 73% 81.3%,
    #7f9a73 81.3% 87.6%,
    #9fb08f 87.6% 92.5%,
    #c1c9b0 92.5% 96.7%,
    #e1e3d8 96.7% 100%
  );
}

/* Class Year */
.classyear {
  background: conic-gradient(
    #1f3b5f 0% 36.4%,
    #1e567c 36.4% 62.3%,
    #2b73a3 62.3% 79.8%,
    #63b0e3 79.8% 100%
  );
}

.stats-legend {
  list-style: none;
  padding: 0;
  margin: 0;
}

.stats-legend li {
  display: flex;
  align-items: center;
  font-size: 14px;
  margin-bottom: 6px;
}

.c {
  width: 12px;
  height: 12px;
  margin-right: 8px;
}

/* Major colors */
.c1 { background: #2f3e1f; }
.c2 { background: #324d42; }
.c3 { background: #3d5f3f; }
.c4 { background: #4b6b4f; }
.c5 { background: #5e7f5c; }
.c6 { background: #7f9a73; }
.c7 { background: #9fb08f; }
.c8 { background: #c1c9b0; }
.c9 { background: #e1e3d8; }

/* Class year colors */
.y1 { background: #1f3b5f; }
.y2 { background: #1e567c; }
.y3 { background: #2b73a3; }
.y4 { background: #63b0e3; }


/* Responsive: stack on small screens */
@media (max-width: 900px) {
  .events-split-hero {
    padding: 44px 0;
  }

  .events-split-hero__inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .events-split-hero__image img {
    height: 320px;
  }
}

/* Board Page Styles */
/* Page Banner */
.board-page-banner {
    height: 350px;
    background-image: url('/assets/images/eboard-photos/board.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 80px;
    border-radius: 20px;
    /* Account for fixed header */
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
}

.banner-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.banner-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-content p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Board Sections */
.board-section {
    padding: 80px 0;
}

.general-board-section {
    background-color: var(--light-gray);
}

.row-title {
    text-align: center;
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: var(--sase-blue);
    position: relative;
}

.row-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--sase-green);
    margin: 15px auto 0;
}

.board-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.board-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 300px;
    margin: 0 15px;
}

.board-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.board-photo {
    height: 500px;
    overflow: hidden;
}

.board-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.board-card:hover .board-photo img {
    transform: scale(1.05);
}

.board-info {
    padding: 20px;
}

.board-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--sase-blue);
}

.board-info h4 {
    font-size: 1.1rem;
    color: var(--sase-green);
    margin-bottom: 10px;
    font-weight: 600;
}

.board-major {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin-bottom: 10px;
}

.board-social {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--sase-blue);
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 4px;
    background-color: rgba(0, 104, 179, 0.1);
}

.board-social i {
    margin-right: 5px;
}

.board-social:hover {
    color: var(--white);
    background-color: var(--sase-blue);
}

.tbd-card {
    opacity: 0.7;
}

.tbd-card .board-photo img {
    filter: grayscale(100%);
}

/* Media Queries */
@media (max-width: 768px) {
    .banner-content h1 {
        font-size: 2.5rem;
    }

    .board-row {
        flex-direction: column;
        align-items: center;
    }

    .board-card {
        width: 90%;
        max-width: 300px;
        margin-bottom: 20px;
    }

    .board-photo {
        height: 220px;
    }

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

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

/* About Page Styles */
.about-page-banner {
    height: 350px;
    background-image: url('/assets/images/eboard-photos/board.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 80px;
    border-radius: 20px;
    /* Account for fixed header */
}

/* Events Page Styles */
.events-split-hero {
    background: linear-gradient(135deg, #f0f4fb 0%, #d6e2f5 40%, #b3c7ee 100%);
    padding: 60px 0;
    margin-top: 80px;
    border-radius: 20px;
    margin-bottom: 50px;
}

.events-split-hero__inner {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.events-split-hero__left h1 {
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.05;
    margin: 0 0 18px;
    color: #141b4d;
}

.events-split-hero__left p {
    font-size: 1.05rem;
    max-width: 52ch;
    margin: 0 0 28px;
    color: #333333;
}

.events-split-hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.events-split-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform 0.15s ease, background-color 0.2s ease, color 0.2s ease;
}

.events-split-hero__btn:active {
    transform: translateY(1px);
}

.events-split-hero__btn--primary {
    background: var(--sase-blue);
    color: var(--white);
}

.events-split-hero__btn--primary:hover {
    background: var(--medium-gray);
    color: #ffffff;
}

.events-split-hero__image {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.events-split-hero__image img {
    display: block;
    width: auto;
    height: 460px;
    object-fit: cover;
}

/* Responsive: stack on small screens */
@media (max-width: 900px) {
  .events-split-hero {
    padding: 44px 0;
  }

  .events-split-hero__inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .events-split-hero__image img {
    height: 320px;
  }
}

/* Upcoming Events */

.events-scroll-wrapper {
    max-height: 520px;              /* controls when scrolling starts */
    overflow-y: auto;
    padding: 15px;
    background: var(--light-gray);
    border-radius: 20px;
}

.events-card {
    background: var(--white);
    color: var(--sase-blue);
    border-radius: 20px;
    padding: 22px 26px;
    margin-bottom: 12px;
}

.events-card h3 {
    margin: 0 0 6px;
    font-size: 1.5rem;
    font-weight: 600;
}

.events-card .category {
    color: var(--sase-green);
    font-size: 1rem;
    margin: 0 0 12px;
}

.events-card .info {
    margin: 0 0 12px;
    font-size: 1.0.5rem;
    color: var(--bu-red);
}

.events-card .description {
    margin: 0 12px 12px;
    font-size: 0.9rem;
    color: var(--medium-gray);
}

.events-scroll-wrapper::-webkit-scrollbar {
  width: 8px;
}

.events-scroll-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.events-scroll-wrapper::-webkit-scrollbar-thumb {
  background-color: rgba(120, 120, 120, 0.3);
  border-radius: 6px;
}

.events-scroll-wrapper::-webkit-scrollbar-thumb:hover {
  background-color: rgba(120, 120, 120, 0.5);
}

.events-scroll-wrapper {
  scrollbar-width: thin;
  scrollbar-color: rgba(120, 120, 120, 0.4) transparent;
}

/* Past Events */
/* EVENTS FEATURE SECTION (copy/paste) */

.events-feature {
  padding: 28px 0;
}

.events-shell { 
  margin: 0 auto;
  border-radius: 20px;
  padding: 34px;
  background: linear-gradient(135deg,#dbeafe 35%, #bfd7ff 100%);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 20px;
}

.events-left {
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.events-title {
  margin: 10px 0 14px 0;
  margin-bottom: 50px;
  font-size: clamp(2.3rem, 4.2vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--sase-blue);
}

.events-desc {
  margin: 0 0 26px 0;
  max-width: 56ch;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--medium-gray);
}

.events-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.events-right {
  
  align-items: center;
  justify-content: center;
}

.events-rail {
  width: 100%;
  max-width: 800px;
  max-height: 420px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(8px);
  overflow-y: auto;
  display: grid;
  gap: 14px;

  /* hide scrollbar everywhere (no scroll wheel shown) */
  scrollbar-width: none;         /* Firefox */
  -ms-overflow-style: none;      /* IE/Edge legacy */
}

.events-rail::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.event-card {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255);
  border: 1px solid rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.event-card__media {
  min-height: 140px;
  background-size: cover;
  background-position: center;
  background-color: rgba(15, 23, 42, 0.08);
}

.event-card__body {
  padding: 14px 14px 14px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-name {
  margin: 0 0 6px 0;
  margin-bottom: 20px;
  font-size: 2.1rem;
  line-height: 1.2;
  color: var(--sase-blue);
}

.event-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--sase-blue);
  color: var(--light-gray);
  font-weight: 650;
  cursor: pointer;
  user-select: none;
  transition: transform 160ms ease, background 160ms ease;
}

.event-cta:hover {
  transform: translateY(-1px);
  background: rgba(59, 130, 246, 0.24);
}

/* CSS-only modal bubble */
.modal-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
  z-index: 2000;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.45);
  backdrop-filter: blur(3px);
  cursor: pointer;
}

.modal-bubble {
  position: relative;
  width: 1220px;
  height: 720px; 
  border-radius: 20px;
  background: rgba(240, 238, 238, 0.702);
  box-shadow: 0 30px 90px rgba(2, 6, 23, 200%);
  overflow: hidden;
  transform: translateY(10px) scale(0.98);
  transition: transform 160ms ease;
}

.modal-header {
  padding: 14px 28px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.895);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.modal-title {
  font-weight: 750;
  color: #0b1b3a;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: rgba(15, 23, 42, 0.75);
  background: rgba(15, 23, 42, 0.06);
  user-select: none;
}

.modal-content {
    height: 100%;
    width: 100%;
}

.modal-toggle:checked ~ .modal {
  opacity: 1;
  pointer-events: auto;
}

.modal-toggle:checked ~ .modal .modal-bubble {
  transform: translateY(0) scale(1);
}

/* Responsive */
@media (max-width: 980px) {
  .events-shell {
    grid-template-columns: 1fr;
    padding: 26px;
  }
  .events-right {
    justify-content: flex-start;
  }
  .events-rail {
    max-width: 100%;
  }
}

@media (max-width: 520px) {
  .event-card {
    grid-template-columns: 1fr;
  }
  .event-card__media {
    min-height: 180px;
  }
  .event-card__body {
    padding: 14px;
  }
}

.carousel {
  overflow: hidden;
  width: 100%;
  height: auto;
}

/* Hide radio buttons */
.carousel input {
  display: none;
}

.carousel-track {
  display: flex;
  width: 200%;
  transition: transform 0.6s ease;
}

/* Slide */
.slide {
  width: 100%;
  flex-shrink: 0;
  position: relative;
}

.slide img {
  width: 50%;
  height: auto;
}

/* Text overlay */
.slide-content {
  position: absolute;
  bottom: 15%;
  width: 50%;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.338));
}

.slide-content h3 {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    font-family: var(--heading-font);
    color: var(--white);
}

.slide-content p {
    margin-bottom: 25px;
    font-size: 1rem;
    font-family: var(--heading-font);
     color: var(--light-gray);
}

/* Navigation dots */
.carousel-nav {
  position: absolute;
  bottom: 10px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.carousel-nav label {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.carousel-nav label:hover {
  background: white;
}

/* Slide logic */
#slide1:checked ~ .carousel-track {
  transform: translateX(0%);
}

#slide2:checked ~ .carousel-track {
  transform: translateX(-100%);
}

#slide3:checked ~ .carousel-track {
  transform: translateX(-200%);
}

#slide1:checked ~ .carousel-nav label[for="slide1"],
#slide2:checked ~ .carousel-nav label[for="slide2"] {
  background: white;
}

.carousel_a {
  overflow: hidden;
  width: 100%;
  height: auto;
}

/* Hide radio buttons */
.carousel_a input {
  display: none;
}

.carousel_a-track {
  display: flex;
  width: 300%;
  transition: transform 0.6s ease;
}

/* Slide */
.slide_a {
  width: 100%;
  flex-shrink: 0;
  position: relative;
}

.slide_a img {
  width: 33.33%;
  height: auto;
}

/* Text overlay */
.slide_a-content {
  position: absolute;
  bottom: 12%;
  width: 33.33%;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.338));
}

.slide_a-content h3 {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    font-family: var(--heading-font);
    color: var(--white);
}

.slide_a-content p {
    margin-bottom: 25px;
    font-size: 1rem;
    font-family: var(--heading-font);
     color: var(--light-gray);
}

/* Navigation dots */
.carousel_a-nav {
  position: absolute;
  bottom: 10px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.carousel_a-nav label {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.carousel_a-nav label:hover {
  background: white;
}

/* Slide logic */
#slide3:checked ~ .carousel_a-track {
  transform: translateX(0%);
}

#slide4:checked ~ .carousel_a-track {
  transform: translateX(-100%);
}

#slide5:checked ~ .carousel_a-track {
  transform: translateX(-200%);
}

#slide3:checked ~ .carousel_a-nav label[for="slide3"],
#slide4:checked ~ .carousel_a-nav label[for="slide4"],
#slide5:checked ~ .carousel_a-nav label[for="slide5"] {
  background: white;
}

.carousel_b {
  overflow: hidden;
  width: 100%;
  height: auto;
}

/* Hide radio buttons */
.carousel_b input {
  display: none;
}

.carousel_b-track {
  display: flex;
  width: 300%;
  transition: transform 0.6s ease;
}

/* Slide */
.slide_b {
  width: 100%;
  flex-shrink: 0;
  position: relative;
}

.slide_b img {
  width: 33.33%;
  height: auto;
}

/* Text overlay */
.slide_b-content {
  position: absolute;
  bottom: 12%;
  width: 33.33%;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.338));
}

.slide_b-content h3 {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    font-family: var(--heading-font);
    color: var(--white);
}

.slide_b-content p {
    margin-bottom: 25px;
    font-size: 1rem;
    font-family: var(--heading-font);
     color: var(--light-gray);
}

/* Navigation dots */
.carousel_b-nav {
  position: absolute;
  bottom: 10px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.carousel_b-nav label {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.carousel_b-nav label:hover {
  background: white;
}

/* Slide logic */
#slide6:checked ~ .carousel_b-track {
  transform: translateX(0%);
}

#slide7:checked ~ .carousel_b-track {
  transform: translateX(-100%);
}

#slide8:checked ~ .carousel_b-track {
  transform: translateX(-200%);
}

#slide6:checked ~ .carousel_b-nav label[for="slide6"],
#slide7:checked ~ .carousel_b-nav label[for="slide7"],
#slide8:checked ~ .carousel_b-nav label[for="slide8"] {
  background: white;
}

.carousel_c {
  overflow: hidden;
  width: 100%;
  height: auto;
}

/* Hide radio buttons */
.carousel_c input {
  display: none;
}

.carousel_c-track {
  display: flex;
  width: 300%;
  transition: transform 0.6s ease;
}

/* Slide */
.slide_c {
  width: 100%;
  flex-shrink: 0;
  position: relative;
}

.slide_c img {
  width: 33.33%;
  height: auto;
}

/* Text overlay */
.slide_c-content {
  position: absolute;
  bottom: 12%;
  width: 33.33%;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.338));
}

.slide_c-content h3 {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    font-family: var(--heading-font);
    color: var(--white);
}

.slide_c-content p {
    margin-bottom: 25px;
    font-size: 1rem;
    font-family: var(--heading-font);
     color: var(--light-gray);
}

/* Navigation dots */
.carousel_c-nav {
  position: absolute;
  bottom: 10px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.carousel_c-nav label {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.carousel_c-nav label:hover {
  background: white;
}

/* Slide logic */
#slide9:checked ~ .carousel_c-track {
  transform: translateX(0%);
}

#slide10:checked ~ .carousel_c-track {
  transform: translateX(-100%);
}

#slide11:checked ~ .carousel_c-track {
  transform: translateX(-200%);
}

#slide9:checked ~ .carousel_c-nav label[for="slide9"],
#slide10:checked ~ .carousel_c-nav label[for="slide10"],
#slide11:checked ~ .carousel_c-nav label[for="slide11"] {
  background: white;
}

/* Sponsors Page Styles */
.sponsors-page-banner {
    height: 350px;
    background-image: url('/assets/images/eboard-photos/board.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 80px;
    border-radius: 20px;
    /* Account for fixed header */
}

.spon-section {
    margin-top: 15px;
    margin-bottom: 15px;
    padding: 40px 0;
    background-color: var(--light-gray);
    color: var(--sase-blue);
    text-align: center;
    position: relative;
    border-radius: 20px;
}

.spon-content {
    max-width: 1000px;
    margin: 0 auto;
    
}

.spon-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.spon-content p {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.spon-content .btn {
    margin: 0 25px;
}

section.pdf-viewer {
  max-width: 1200px;
  margin: 10px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  padding: 20px;
}

section.pdf-viewer h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 24px;
  color: #333;
}

.pdf-container {
  width: 100%;
  height: 900px;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
}

.pdf-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}