/* =====================================================
   GLOBAL RESET & BODY OFFSET
===================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin-top: 70px; 
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #ffffff;
  color: #333;
  scroll-behavior: smooth;
}

/* =====================================================
   ANIMATIONS
===================================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* =====================================================
   HEADER SECTION
===================================================== */
.about-header {
  position: relative;
  padding: 1rem 1rem;
  text-align: center;
  background: linear-gradient(135deg, #ffffff, #f1f7ff);
  border-top: 4px solid #0074d9;
  overflow: hidden;
  animation: fadeUp 0.9s ease-out both;
}

.about-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #0074d9, #00c6ff, #0074d9);
  background-size: 200% 100%;
  animation: gradientMove 3s infinite linear;
}

.about-header-content {
  max-width: 1200px;
  margin: auto;
}

.about-header-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #00294a;
  animation: fadeUp 0.8s ease-out 0.2s both;
}

.about-header-subtitle {
  margin-top: 0.75rem;
  font-size: clamp(1rem, 2.8vw, 1.25rem);
  color: #005c97;
  animation: fadeUp 0.8s ease-out 0.4s both;
}

/* =====================================================
   MAIN ABOUT SECTION
===================================================== */
.about-main-section {
  max-width: 1200px;
 margin: 0 auto;
         /* CENTER + spacing */
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}


.about-image-wrapper {
  border-radius: 16px;
  overflow: hidden;
 
  animation: fadeLeft 1s ease-out both;
}

.about-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}


.about-image-wrapper:hover .about-image {
  transform: scale(1.06);
}

.about-text-wrapper {
  animation: fadeRight 1s ease-out both;
}

.about-section-title {
  font-size: clamp(1.6rem, 4vw, 2rem);
  margin-bottom: 1rem;
  color: #00294a;
  position: relative;
}

.about-section-title::after {
  content: "";
  display: block;
  width: 55px;
  height: 3px;
  background: #0074d9;
  margin-top: 0.5rem;
}

.about-section-paragraph {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #444;
}

/* =====================================================
   MISSION SECTION
===================================================== */
.about-mission-section {
  padding: 4rem 1rem;
  background: linear-gradient(135deg, #f6faff, #eaf2ff);
}

.mission-header {
  text-align: center;
  margin-bottom: 3rem;
}

.mission-title {
  font-size: clamp(2rem, 5vw, 2.6rem);
  font-weight: 700;
  color: #00294a;
}

.mission-subtitle {
  margin-top: 0.75rem;
  font-size: 1.1rem;
  color: #005c97;
}

/* =====================================================
   MISSION GRID
===================================================== */
/* =====================================================
   MISSION GRID
===================================================== */
/* =====================================================
   MISSION GRID RESPONSIVE
===================================================== */
.mission-track {
  max-width: 100%;
  margin: auto;
  display: flex;          
  justify-content: space-between; 
  gap: 1rem;              
  padding: 0 1rem;
  flex-wrap: wrap;        /* allow wrapping on small screens */
}

/* =====================================================
   MISSION CARDS RESPONSIVE
===================================================== */
.mission-card {
  flex: 1 1 150px; /* grow, shrink, base width 150px */
  max-width: 200px; /* max card width */
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
  transition: all 0.4s ease;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

/* Keep animation delays */
.mission-card:nth-child(1){animation-delay:.1s}
.mission-card:nth-child(2){animation-delay:.2s}
.mission-card:nth-child(3){animation-delay:.3s}
.mission-card:nth-child(4){animation-delay:.4s}
.mission-card:nth-child(5){animation-delay:.5s}
.mission-card:nth-child(6){animation-delay:.6s}

.mission-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 25px 55px rgba(0,116,217,0.25);
}




/* =====================================================
   LOGO CIRCLES
===================================================== */
.logo-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  margin-bottom: 1rem;
  position: relative;
}

.logo-letter {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
}

/* Color Variants */
.logo-blue   { background: linear-gradient(135deg,#0074d9,#00c6ff); }
.logo-green  { background: linear-gradient(135deg,#2ecc71,#27ae60); }
.logo-orange { background: linear-gradient(135deg,#ff851b,#ff6b00); }
.logo-purple { background: linear-gradient(135deg,#9b59b6,#8e44ad); }
.logo-teal   { background: linear-gradient(135deg,#1abc9c,#16a085); }
.logo-red    { background: linear-gradient(135deg,#e74c3c,#c0392b); }

/* =====================================================
   CARD TEXT
===================================================== */
.mission-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #00294a;
  margin: 0.75rem 0;
}

.mission-card-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}

/* =====================================================
   RESPONSIVE BREAKPOINTS
===================================================== */
@media (max-width: 1024px) {
  .mission-card {
    flex: 1 1 30%;  /* 3 cards per row */
    max-width: 32%;
  }
}

@media (min-width: 768px) {
  
  .about-main-section {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}
@media (max-width: 480px) {
 
  .mission-card {
    flex: 1 1 100%; /* 1 card per row */
    max-width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
