/* About page spacing */

/* About page spacing (top padding will be set dynamically after navbar loads) */
.about-main{
  padding: 0 1rem 2.5rem;
}

/* Header area stays “global”, but still aligned with panels */
.page-header {
  max-width: 1100px;
  margin: 0 auto 1.25rem auto;
  padding: 0 0.25rem;
}

.page-intro {
  margin: 0.35rem 0 0;
  line-height: 1.6;
  max-width: 850px;
  color: #222;
  opacity: 0.92;
}

/* Keep your normal panel-title spacing (don’t flex globally) */
.panel-title {
  margin-top: 0;
  margin-bottom: 0.85rem;
  text-decoration: underline;
}

/* “What we do” list styling */
.about-list {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
  line-height: 1.75;
}

.about-list li {
  margin: 0.35rem 0;
}

/* Notes under Officers/Members */
.section-note {
  margin: 0.25rem 0 1rem;
  line-height: 1.7;
  color: #222;
  opacity: 0.9;
}

/* Placeholder profile grid */
.profile-grid-placeholder {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.profile-card.placeholder {
  border: 1px dashed rgba(3, 22, 51, 0.25);
  border-radius: 14px;
  padding: 1.25rem;
  background: rgba(255, 193, 7, 0.08);
  color: #031633;
  font-weight: 600;
}

/* =========================================
   ABOUT: WHO WE ARE + WHAT WE DO (PAIRED)
========================================= */

/* Mobile default: stacked */
.about-two-col{
  max-width:1100px;
  margin:0 auto 2rem;     /* <-- adds space before Officers section */
  display:grid;
  gap:1.5rem;
}

/* IMPORTANT: remove global panel margins inside this grid */
.about-two-col .panel{
  margin:0;               /* <-- fixes divider starting too high */
}

/* Title icon styling (scoped to About only) */
.about-page .about-two-col .panel-title{
  display:flex;
  align-items:center;
  gap:.6rem;
}
.about-page .about-two-col .panel-title i{
  color:#ffc107;
  font-size:1.05em;
  line-height:1;
}

/* Desktop: paired panels + divider */
@media (min-width:900px){
  .about-two-col{
    position:relative;
    grid-template-columns:1fr 1fr;
    align-items:stretch;
    column-gap:2.25rem;
  }

  /* keep divider behind the panels */
  .about-two-col .panel{
    position:relative;
    z-index:1;
    height:100%;
  }

  .about-two-col::after{
    content:"";
    position:absolute;
    left:50%;
    transform:translateX(-1px);
    width:2px;

    /* Start/end aligned to the panels, not the container */
    top:1.25rem;
    bottom:1.25rem;

    background:rgba(255,193,7,.55);
    border-radius:99px;
    pointer-events:none;
    z-index:0;
  }
}

@media (min-width:900px){
  .about-two-col{
    position:relative;
    grid-template-columns:1fr 1fr;
    align-items:start;     /* was stretch */
    column-gap:2.25rem;
  }

  /* IMPORTANT: do NOT force equal heights */
  .about-two-col .panel{
    height:auto;           /* ensure it can shrink to content */
  }

  .about-two-col::after{
    content:"";
    position:absolute;
    left:50%;
    transform:translateX(-1px);
    width:2px;
    top:1.25rem;
    bottom:1.25rem;
    background:rgba(255,193,7,.55);
    border-radius:99px;
    pointer-events:none;
  }
}

/* Logo + first paragraph side-by-side */
/* Logo + first paragraph side-by-side (80px logo, whole para pushed over) */
.about-intro-row{
  display:grid;
  grid-template-columns: 80px 1fr;   /* <-- logo column */
  gap: 1rem;
  align-items:start;
  margin-top: 0.25rem;
  margin-bottom: 0.35rem;
}

.about-logo{
  width:80px;                         /* <-- logo size */
  height:auto;
  display:block;
  margin-top: 0.1rem;                 /* small alignment tweak */
}

.about-first-para{
  margin:0;
}

.about-first-para{
  margin:0;                        /* removes extra space so paragraphs 2–3 “move up” */
}

/* Mobile: stack nicely */
@media (max-width: 700px){
  .about-intro-row{
    grid-template-columns: 1fr;
    justify-items:center;
    gap: 0.5rem;
  }
  .about-logo{ width:54px; }
  .about-first-para{ text-align:left; }
}

/* Profile grid (cards inside the panel) */
.profile-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

/* Executive board: larger desktop grid (4 columns), with sensible fallbacks */
.profile-grid.exec-grid {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1200px) {
  .profile-grid.exec-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .profile-grid.exec-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .profile-grid.exec-grid { grid-template-columns: 1fr; }
}

@media (max-width: 992px){
  .profile-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px){
  .profile-grid{ grid-template-columns: 1fr; }
}

.profile-card{
  border: 1px solid rgba(3,22,51,0.12);
  border-radius: 14px;
  padding: 1rem;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.profile-photo{
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.profile-meta{ padding-top: .75rem; }

.profile-name{
  margin: 0;
  font-size: 1.05rem;
  color: #031633;
}

.profile-line{
  margin-top: .35rem;
  line-height: 1.2;
}

.profile-title{
  font-weight: 800;
  color: #031633;
}

.profile-role{
  font-weight: 600;
  color: rgba(3,22,51,.75);
}

/* Profile card container */
.profile-card {
  
  padding: 1rem;
  background: transparent; /* Removed white panel background */
  box-shadow: none; /* Removed box shadow */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: none; /* Remove the border */
  padding: 1rem;
}

/* Profile photo (to make it round) */
.profile-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%; /* This makes the image round */
  display: block;
  margin-bottom: 1rem; /* Adds some space between image and text */
}

/* Profile name */
.profile-name {
  margin: 0;
  font-size: 1.2rem;
  color: #031633;
  font-weight: bold;
}

/* Profile role */
.profile-role {
  font-weight: 600;
  color: rgba(3, 22, 51, 0.75);
  margin-top: 0.5rem;
}

/* Profile title (this can be for the officer position or other title) */
.profile-title {
  font-weight: 800;
  color: #031633;
  margin-top: 0.5rem;
}

/* For smaller screens */
@media (max-width: 992px) {
  .profile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }
}
/* Executive Board & Members Panel */
.panel {
  background: transparent; /* Set the background to transparent */
  border: none; /* Remove the border */
  box-shadow: none; /* Remove any box-shadow */
  padding: 0; /* Remove any unnecessary padding */
}

/* Title styling inside panels */
.panel-title {
  color: #031633; /* Make sure the titles are visible */
  font-weight: bold;
  font-size: 1.5rem;
  margin: 0.5rem 0;
  text-align: center; /* Centers the title text */
}

/* If needed, you can also customize the spacing */
.panel-body {
  padding: 1rem;
  text-align: center; /* Centering text in the body section */
}
/* Horizontal Separator between sections */
.section-separator {
  border: 0;
  border-top: 2px solid #ffc107; /* Gold line */
  margin: 2rem auto; /* Center and add spacing */
  width: 75%; /* Set the width to 75% */
 
}