/* 5‑pages/_our-mission.css */

/* ==========================================================================
   Mission/Vision Hero Banner
   ========================================================================== */
.mission-page-section {
  position: relative;
  display: flex;
  place-items: center;
  /* use aspect-ratio instead of hard height */
  aspect-ratio: 16 / 5;
  /* ~300px tall at 960px width */
  overflow: hidden;
}

.mission-page-section-bg-image,
.mission-page-section-overlay {
  position: absolute;
  inset: 0;
}

.mission-page-section-bg-image {
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.mission-vision-section {
  padding: 40px 0;
}

.mission-vision-section h2 {
  color: #e78e3d;
  text-align: center;
  margin-bottom: 10px;
  margin-top: 10px;
  font-weight: bold;
  font-size: 3rem;
}

.mission-vision-section h5 {
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 10px;
  margin-top: 10px;
  font-weight: bold;
  font-size: 1.5rem;
}

.values-section {
  padding: 40px 0;
  background-color: #194164;
}

.values-section h2 {
  color: #e78e3d;
  text-align: center;
  margin-bottom: 30px;
  margin-top: 30px;
  font-weight: bold;
  font-size: 3rem;
}

.values-section h5 {
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 30px;
  margin-top: 30px;
  font-weight: bold;
  font-size: 4rem;
}

.mission-page-section-overlay {
  background-color: var(--turquoise);
  opacity: 0.5;
  z-index: 2;
}

/* Hero text sits above all */
.mission-vision-banner-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  padding-inline: var(--space-md);
}

/* Hero title & rotating phrases */
.mission-vision-banner-content h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-block-end: var(--space-sm);
}

.mission-vision-banner-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  font-weight: 700;
  color: white;
  opacity: 0;
  animation: scrollText 42s ease infinite;
  will-change: opacity;
}

/* staggered delays */
.mission-vision-banner-text:nth-child(1) {
  animation-delay: 0s;
}

.mission-vision-banner-text:nth-child(2) {
  animation-delay: 6s;
}

.mission-vision-banner-text:nth-child(3) {
  animation-delay: 12s;
}

.mission-vision-banner-text:nth-child(4) {
  animation-delay: 18s;
}

.mission-vision-banner-text:nth-child(5) {
  animation-delay: 24s;
}

.mission-vision-banner-text:nth-child(6) {
  animation-delay: 30s;
}

.mission-vision-banner-text:nth-child(7) {
  animation-delay: 36s;
}


/* keyframes remain slim */
@keyframes scrollText {

  0%,
  1% {
    opacity: 0;
  }

  2%,
  13% {
    opacity: 1;
  }

  14%,
  100% {
    opacity: 0;
  }
}

/* ==========================================================================
     Survey Acronym Grid
     ========================================================================== */
.survey-acronym-section {
  background-color: var(--navy-blue);
  color: white;
  padding-block: var(--space-lg);
  text-align: center;
}

.survey-acronym-section h3 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: white;
  font-weight: 700;
  margin-block-end: 0.25rem;
}

.survey-acronym-section p {
  font-size: clamp(1.5rem, 2vw, 1rem);
  color: var(--light-orange);
  font-weight: 700;
  margin-block-end: 0.25rem;
}

.survey-acronym-letter {
  width: clamp(4rem, 10vw, 8rem);
  aspect-ratio: 1;
  background-color: var(--turquoise);
  color: white;
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: var(--space-sm);
}

/* Responsive tweak */
@media (max-width: 767.98px) {
  .survey-acronym-section {
    padding-block: var(--space-md);
  }
}

/* Our Mission Page Styles */

/* Base styles */
:root {
    --primary-blue: #194164;
    --light-blue: #27ABE3;
    --accent-orange: #F8B36A;
    --white: #FFFFFF;
}

body {
    font-family: 'Arial', sans-serif;
}

/* Mission & Vision Section */
.mission-vision-container {
    background-color: var(--primary-blue);
    padding: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Mission section - simple solid background */
.mission-content-wrapper {
    position: relative;
    background-color: var(--primary-blue);
    padding: 100px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Vision section - just background color */
.vision-content-wrapper {
    background-color: var(--primary-blue);
    padding: 100px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Circle icon container styling */
.circle-icon-container {
    width: 500px;
    height: 500px;
    margin: 0 40px;
    position: relative;
    z-index: 2;
}

/* Remove the icon placeholder styles and add our custom circle styles */
.circle-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 3px solid var(--light-blue);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

/* Specific styles for mission circle */
.mission-circle {
    background-image: url('/static/images/our-mission.jpg');
    background-size: cover;
    background-position: center;
}

/* Specific styles for vision circle */
.vision-circle {
    background-image: url('/static/images/our-vision.jpg');
    background-size: cover;
    background-position: center;
}

/* Globe icon styling */
.globe-icon {
    position: absolute;
    width: 75%;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.4));
}

.icon-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-placeholder i {
    font-size: 80px;
    color: var(--accent-orange);
}

/* Text content styles */
.mission-text, .vision-text {
    max-width: 600px;
    color: var(--white);
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

h2 {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.highlight {
    color: var(--accent-orange);
}

.mission-text p, .vision-text p {
    font-size: 2.25rem;
    line-height: 1.6;
}

/* Values Section */
.values-container {
    padding: 60px 20px;
    background-color: var(--primary-blue);
}

.values-title {
    text-align: center;
    color: var(--white);
    margin-bottom: 40px;
    font-size: 3rem;
}

.values-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-button {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 15px 20px;
    background-color: var(--light-blue);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--white);
    text-align: left;
    cursor: pointer;
    transition: none;
}

/* Remove hover effect */
.accordion-button:hover {
    background-color: var(--light-blue);
    color: var(--white);
}

/* Remove active styles */
.accordion-button.active {
    background-color: var(--light-blue);
    color: var(--white);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.letter-box {
    width: 50px;
    height: 50px;
    background-color: var(--primary-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.8rem;
    font-weight: 700;
    margin-right: 20px;
}

/* Remove active letter box style */
.accordion-button.active .letter-box {
    background-color: var(--primary-blue);
    color: var(--white);
}

.accordion-title {
    flex-grow: 1;
    font-size: 1.5rem;
    font-weight: 600;
}

.learn-more {
    font-size: 1rem;
    font-weight: 500;
    color: #F8B36A;
    display: flex;
    align-items: center;
}

/* Remove active learn more style */
.accordion-button.active .learn-more {
    color: var(--accent-orange);
}

.fa-chevron-down {
    margin-left: 8px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.rotate {
    transform: rotate(180deg);
}

.accordion-content {
    background-color: var(--white);
    border: 1px solid var(--light-blue);
    border-top: none;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    padding: 20px;
}

.accordion-content p {
    color: var(--primary-blue);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 1440px) {
    .circle-icon-container {
        width: 450px;
        height: 450px;
    }
    
    .mission-content-wrapper,
    .vision-content-wrapper {
        padding: 80px 30px;
    }
    
    .mission-text, .vision-text {
        max-width: 500px;
        padding: 0 30px;
    }
    
    h2 {
        font-size: 3rem;
    }
    
    .mission-text p, .vision-text p {
        font-size: 1.3rem;
    }
}

@media (max-width: 992px) {
    .mission-content-wrapper, 
    .vision-content-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
    }

    .circle-icon-container {
        width: 380px;
        height: 380px;
        margin: 0 0 30px;
    }

    .mission-text, .vision-text {
        max-width: 100%;
        padding: 0 20px;
        margin-top: 30px;
    }
    
    h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .circle-icon-container {
        width: 300px;
        height: 300px;
    }

    .icon-placeholder i {
        font-size: 70px;
    }

    h2 {
        font-size: 2rem;
    }

    .mission-text p, .vision-text p {
        font-size: 1.1rem;
    }

    .accordion-button {
        padding: 12px 15px;
    }

    .letter-box {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        margin-right: 15px;
    }

    .accordion-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .circle-icon-container {
        width: 220px;
        height: 220px;
    }

    .icon-placeholder i {
        font-size: 60px;
    }

    .values-title {
        font-size: 2.5rem;
    }

    .letter-box {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
        margin-right: 10px;
    }

    .accordion-title {
        font-size: 1rem;
    }

    .learn-more {
        font-size: 0.8rem;
    }
}

/* Remove Bootstrap's default collapse arrow */
.accordion-button::after {
    display: none !important;
}

/* Ensure no caret appears in the accordion button */
.accordion-button:not(.collapsed)::after {
    display: none !important;
}

/* Ensure accordion buttons maintain blue color when expanded */
.accordion-button,
.accordion-button:hover,
.accordion-button:focus,
.accordion-button:active,
.accordion-button:not(.collapsed) {
    background-color: var(--light-blue) !important;
    color: var(--white) !important;
    box-shadow: none !important;
}

/* Remove any box shadows */
.accordion-button:focus {
    box-shadow: none !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}