/* === Reset and Base Layout === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html, body {
    height: 100%;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    background-color: #fafafa;
    color: #222;
    font-size: 1.2rem;
    line-height: 1.85;
  }
  
  /* Headings */
  h1, h2, h3, h4, h5 {
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 0.5em;
    color: #00274D;
  }
  
  h2 {
    font-size: 3rem;
  }
  
  h3 {
    font-size: 2.5rem;
  }
  
  .about-content h3,
  .about-text h3,
  .contact-section h3,
  .calendar-hero h2,
  .contact-hero h2,
  .photos-hero h2 {
    font-size: 2rem;
  }
  
  /* Navbar links */
  nav a {
    font-size: 1.2rem;
    font-weight: 600;
  }
  
  /* Paragraphs + body content */
  .about-content p,
  .about-text p,
  .contact-hero p,
  .calendar-hero p,
  .hero-text p,
  .photos-hero p {
    font-size: 1.3rem;
    line-height: 2.1;
  }
  
  /* Lists */
  .about-text ul li {
    font-size: 1.25rem;
  }
  
  /* Footer */
  footer {
    font-size: 1.1rem;
  }
  
  /* Buttons */
  .contact-button {
    font-size: 1.2rem;
  }
  
  /* Mobile dropdown links */
  .dropdown-menu li a {
    font-size: 1.2rem;
  }
  
  /* Social links */
  .social-link {
    font-size: 1.3rem;
  }
  
  /* Responsive scaling */
  @media (max-width: 768px) {
    h2 {
      font-size: 2.2rem;
    }
    h3 {
      font-size: 1.75rem;
    }
    body {
      font-size: 1.1rem;
    }
  }
  
  /* Navbar links */
  nav a {
    font-size: 1.1rem;
    font-weight: 600;
  }
  
  /* Paragraphs + body content */
  .about-content p,
  .about-text p,
  .contact-hero p,
  .calendar-hero p,
  .hero-text p,
  .photos-hero p {
    font-size: 1.2rem;
    line-height: 1.9;
  }
  
  /* Lists */
  .about-text ul li {
    font-size: 1.15rem;
  }
  
  /* Footer */
  footer {
    font-size: 1rem;
  }
  
  /* Buttons */
  .contact-button {
    font-size: 1.1rem;
  }
  
  /* Mobile dropdown links */
  .dropdown-menu li a {
    font-size: 1.1rem;
  }
  
  /* Social links */
  .social-link {
    font-size: 1.2rem;
  }
  
  /* Responsive scaling */
  @media (max-width: 768px) {
    h2 {
      font-size: 2rem;
    }
    h3 {
      font-size: 1.5rem;
    }
    body {
      font-size: 1.05rem;
    }
  }
  
  
  .container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  
  main {
    flex: 1;
  }
  
  /* === Navbar === */
  /* Logo in navbar */
.logo img {
    height: 60px;
    width: 60px;
    object-fit: contain;
    border-radius: 50%;
  }
  
  /* Responsive adjustment */
  @media (max-width: 768px) {
    .navbar {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.75rem;
    }
  
    .logo img {
      height: 40px;
      width: 40px;
    }
  
    nav ul {
      flex-direction: column;
      gap: 0.5rem;
      margin-top: 0.5rem;
    }
  
    nav a {
      padding: 0.5rem 0;
    }
  }
  
  header {
    background-color: #d5dbe7;
    padding: 1rem 2rem;
    border-bottom: 1px solid #ddd;
  }
  
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .navbar h1 {
    font-size: 1.5rem;
    color:#002478;
  }
  
  nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
  }
  
  nav a {
    text-decoration: none;
    color: #444;
    font-weight: 600;
    transition: color 0.3s ease;
  }
  
  nav a:hover {
    color:#002478;
  }
  
  .hero-image {
    position: relative;
    width: 100%;
    height: 700px; /* Make the section taller */
    overflow: hidden;
  }
  
  .hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; /* Push the image down */
    filter: brightness(50%);
  }
  
  
  .hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff; /* White text */
    padding: 1rem;
    /* background-color removed */
  }
  
  .hero-text h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #fff;
  }
  
  .hero-text p {
    font-size: 1rem;
    color: #eee;
  }
  .about-ksa {
    background-color: #fff;
    padding: 4rem 1.5rem;
    display: flex;
    justify-content: center;
  }
  
  .about-content {
    max-width: 750px;
    text-align: center;
  }
  
  .about-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color:#002478 /* Wellesley Blue */
  }
  .about-hero {
    text-align: center;
    padding: 4rem 1rem 2rem;
    background-color: #f9f9f9;
  }
  
  .about-hero h2 {
    font-size: 2.25rem;
    color: #00274D;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: lowercase;
  }
  
  .about-hero p {
    font-size: 1.1rem;
    color: #555;
  }
  
  .about-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 1.5rem;
    justify-content: center;
    background-color: #fff;
  }
  
  .about-text {
    max-width: 750px;
    font-size: 1.05rem;
    color: #333;
  }
  
  .about-text h3 {
    color: #00274D;
    font-size: 1rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
  }
  
  .about-text ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .about-text a {
    color: #00274D;
    font-weight: 600;
    text-decoration: none;
  }
  
  .about-text a:hover {
    text-decoration: underline;
  }
  
  .about-image {
    margin-top: 3rem;
    max-width: 800px;
  }
  
  .about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  
  /* Responsive */
  @media (min-width: 768px) {
    .about-body {
      flex-direction: row;
      align-items: flex-start;
      gap: 3rem;
      padding: 4rem;
    }
  
    .about-text, .about-image {
      flex: 1;
    }
  
    .about-image {
      margin-top: 0;
    }
  }
  
  
  
  
  .about-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5rem;
  }
  
  .about-content a {
    color: #b13a3a;
    font-weight: 600;
    text-decoration: none;
  }
  
  .about-content a:hover {
    text-decoration: underline;
  }
  .insta-link {
    color: #002478; /* Wellesley Blue */
    font-weight: 600;
  }

  .photos-hero {
    text-align: center;
    padding: 4rem 1rem 2rem;
    background-color: #f9f9f9;
  }
  
  .photos-hero h2 {
    font-size: 2.25rem;
    color: #00274D;
    font-weight: 700;
    margin-bottom: 0.5rem;
  }
  
  .photos-hero p {
    font-size: 1.1rem;
    color: #555;
  }
  
  .photo-masonry {
    column-count: 3;
    column-gap: 1rem;
    padding: 2rem;
    background-color: #fff;
  }
  
  .photo-masonry img {
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 8px;
    display: block;
    object-fit: cover;
    /* Performance tweaks */
    box-shadow: none;             /* shadows slow rendering */
    break-inside: avoid;          /* prevents layout thrash */
    transition: none;             /* remove hover animations */
  }
  
 
  
  /* Responsive Columns */
  @media (max-width: 1000px) {
    .photo-masonry {
      column-count: 2;
    }
  }
  
  @media (max-width: 600px) {
    .photo-masonry {
      column-count: 1;
    }
  }
  .calendar-hero {
    text-align: center;
    padding: 4rem 1rem 2rem;
    background-color: #f9f9f9;
  }
  
  .calendar-hero h2 {
    font-size: 2.25rem;
    color: #00274D;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: lowercase;
  }
  
  .calendar-hero p {
    font-size: 1.1rem;
    color: #555;
  }
  
  .calendar-embed {
    padding: 2rem;
  }
  .calendar-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    width: 100%;
  }
  .calendar-wrapper iframe {
    max-width: 100%;
    width: 100%;
    height: 600px;
  }

  .contact-hero {
    text-align: center;
    padding: 4rem 1rem 2rem;
    background-color: #f9f9f9;
  }
  
  .contact-hero h2 {
    font-size: 2.25rem;
    color: #00274D;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: lowercase;
  }
  
  .contact-hero p {
    font-size: 1.1rem;
    color: #555;
  }
  
  .contact-section {
    text-align: center;
    padding: 2rem 1.5rem;
    background-color: #fff;
    border-top: 1px solid #eee;
  }
  
  .contact-section h3 {
    font-size: 1.5rem;
    color: #00274D;
    margin-bottom: 1rem;
  }
  
  .contact-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: #00274D;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s ease;
  }
  
  .contact-button:hover {
    background-color: #001f3a;
  }
  
  .socials .social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
  }
  
  .social-link {
    font-size: 1.1rem;
    color: #00274D;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .social-link:hover {
    text-decoration: underline;
  }
  
  .social-link i {
    font-size: 1.5rem;
  }
  .social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
  }
  
  .social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    color: #00274D;
    text-decoration: none;
    font-weight: 600;
  }
  
  .social-link:hover {
    text-decoration: underline;
  }
  
  .icon-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
  }
/* Hide by default (desktop), show on mobile */
.mobile-header {
    display: none;
  }
  
  @media (max-width: 768px) {
    .mobile-header {
      display: flex;
      justify-content: flex-end;
      padding: 1rem 2rem;
      background: #fff;
      border-bottom: 1px solid #ccc;
    }
  
    .dropbtn {
      font-size: 1.75rem;
      background: none;
      border: none;
      cursor: pointer;
      color: #00274D;
      font-weight: bold;
    }
  
    .dropdown {
      position: relative;
      display: inline-block;
    }
  
    .dropdown-menu {
      display: none;
      position: absolute;
      top: 110%;
      right: 0;
      background-color: #fff;
      list-style: none;
      padding: 0;
      margin: 0;
      border: 1px solid #ccc;
      border-radius: 6px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.05);
      z-index: 1000;
    }
  
    .dropdown-menu li a {
      display: block;
      padding: 12px 16px;
      text-decoration: none;
      color: #00274D;
      font-weight: 600;
      border-bottom: 1px solid #eee;
    }
  
    .dropdown-menu li a:hover {
      background-color: #f5f5f5;
    }
  
    .dropdown:hover .dropdown-menu {
      display: block;
    }
  
    /* Hide regular nav on mobile */
    .navbar {
      display: none;
    }
  }
  .photo-row {
    display: flex;
    justify-content: center;
    gap: .5rem;
    flex-wrap: wrap;
    margin: 1.5rem 0 2.5rem;
  }
  
  .photo-row img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
  }
  
  .photo-row img:hover {
    transform: scale(1.02);
  }
  
  /* Stack full-width on tiny screens */
  @media (max-width: 500px) {
    .photo-row img {
      max-width: 100%;
    }
  }
  .text-image-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    padding: 4rem 5vw; /* adds horizontal breathing room, but keeps layout wide */
  }
  
  .text-side {
    flex: 1;
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.7;
  }
  
  .image-side {
    flex: 1.2; /* image gets slightly more space */
    display: flex;
    justify-content: center;
  }
  
  .image-side img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  }
  
  /* On small screens: stack */
  @media (max-width: 768px) {
    .text-image-block {
      flex-direction: column;
      padding: 2rem 1.5rem;
    }
  
    .image-side {
      margin-top: 2rem;
    }
  }

  
  
  
  



  
  
  /* === Reset and Base Layout === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html, body {
    height: 100%;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    background-color: #fafafa;
    color: #222;
    font-size: 1.2rem;
    line-height: 1.85;
  }
  
  /* Headings */
  h1, h2, h3, h4, h5 {
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 0.5em;
    color: #00274D;
  }
  
  h2 {
    font-size: 3rem;
  }
  
  h3 {
    font-size: 2.5rem;
  }
  
  .about-content h3,
  .about-text h3,
  .contact-section h3,
  .calendar-hero h2,
  .contact-hero h2,
  .photos-hero h2 {
    font-size: 2rem;
  }
  
  /* Navbar links */
  nav a {
    font-size: 1.2rem;
    font-weight: 600;
  }
  
  /* Paragraphs + body content */
  .about-content p,
  .about-text p,
  .contact-hero p,
  .calendar-hero p,
  .hero-text p,
  .photos-hero p {
    font-size: 1.3rem;
    line-height: 2.1;
  }
  
  /* Lists */
  .about-text ul li {
    font-size: 1.25rem;
  }
  
  /* Footer */
  footer {
    font-size: 1.1rem;
  }
  
  /* Buttons */
  .contact-button {
    font-size: 1.2rem;
  }
  
  /* Mobile dropdown links */
  .dropdown-menu li a {
    font-size: 1.2rem;
  }
  
  /* Social links */
  .social-link {
    font-size: 1.3rem;
  }
  
  /* Responsive scaling */
  @media (max-width: 768px) {
    h2 {
      font-size: 2.2rem;
    }
    h3 {
      font-size: 1.75rem;
    }
    body {
      font-size: 1.1rem;
    }
  }
  
  /* === E-Board Polaroid Section === */
  .eboard-class {
    padding: 3rem 2rem;
    background-color: #fff;
  }
  
  .eboard-class h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
  }
  
  .eboard-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    padding: 0 1.5rem;
  }
  
  .polaroid {
    background-color: #fff;
    border: 2px solid #ccc;
    padding: 1rem;
    width: 400px;
   
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  
  .polaroid img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1rem;
    object-fit: cover;
  }
  
  .polaroid .name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #00274D;
    margin-bottom: 0.25rem;
  }
  
  .polaroid .role {
    font-size: 1.1rem;
    color: #555;
  }
  .eboard-class {
    padding-bottom: 4rem; /* Adds space below each class section */
  }
  .eboard-grid {
    margin-bottom: 4rem;
  }
    
  .past-eboard-section {
    padding: 3rem 2rem;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .past-eboard-section h3 {
    margin-top: 2rem;
    font-size: 1.75rem;
    color: #00274D;
  }
  
  .past-eboard-list {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .past-eboard-list li {
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
  }
  .past-button-wrapper {
    text-align: center;
    margin-top: 3rem;
    padding-bottom: 4rem;
  }
  
  .past-eboard-button {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    background-color: #00274D;
    text-decoration: none;
    border-radius: 10px;
    transition: background-color 0.3s ease;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
  }
  
  .past-eboard-button:hover {
    background-color: #001f3a;
  }
  .past-eboard-section {
    text-align: center;
    padding: 3rem 1rem;
  }
  
  .past-eboard-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0 3rem;
    line-height: 2;
    font-size: 1.2rem;
  }
  .past-eboard-section h3 {
    font-size: 1.75rem;
    margin-top: 2rem;
    color: #00274D;
  }
  .presidents-section {
    text-align: center;
    margin: 4rem 0 3rem;
    padding: 0 2rem;
  }
  
  .presidents-section h3 {
    font-size: 2.3rem;
    color: #00274D;
    margin-bottom: 2rem;
  }
  
  .presidents-row {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
  }
  
  .president-card {
    max-width: 350px;
    background-color: #d5dbe7;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  .president-card img {
    width: 100%;
    
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 1rem;
    height: 380px; /* Fixed height */
    object-fit: cover; /* Ensures images crop to fill frame evenly */

  }
  
  .president-caption {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
  }
  .eboard-group-photo {
    text-align: center;
    margin: 3rem auto 4rem;
    padding: 0 1.5rem;
    
  }
  
  
  .eboard-group-photo img {
    width: 100%;
    max-width: 900px;
    background-color: #fff; /* ⬅️ White background */
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    object-fit: cover;
  }
  .caption {
    font-size: 1.1rem;
    color: #00274D;
    line-height: 1.5;
  }
  
  .caption .position {
    font-weight: 600;
    display: block;
    color: #555;
    margin-bottom: 0.25rem;
  }
  
  .caption .major,
  .caption .interests {
    font-size: 1rem;
    color: #444;
    display: block;
    margin-top: 0.25rem;
    margin-bottom:.25rem;
  }
  
  
  /* Mobile tweaks */
  @media (max-width: 768px) {
    .eboard-group-photo {
      padding: 0 1rem;
      margin: 2rem 0;
    }
  
    .eboard-group-photo img {
      max-width: 100%;
      border-radius: 10px;
    }
  }
  
  
  /* Mobile tweaks */
  @media (max-width: 600px) {
    .president-card {
      max-width: 90%;
    }
  }
  
    
  
  
  /* === Footer === */
  footer {
    text-align: center;
    padding: 1.5rem;
    background-color: #f2f2f2;
    border-top: 1px solid #ddd;
    font-size: 0.9rem;
    color: #666;
  }
  