html {
  scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    background: #f9f9f9;
}

.about-navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    padding: 5px 50px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;

}

.about-nav-left {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-img-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-link {
    font-size: 16px;
    color: #555;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    background: none;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.nav-link:hover {
    background: #f1f1f1;
    color: #111;
}

.nav-btn {
    font-size: 16px;
    font-weight: bolder;
    color: white;
    padding: 7px 16px;
    border-radius: 12px;
    cursor: pointer;
    border: 1px solid #ccc;
    background: #15527c;    
    font-weight: 500;
    transition: background 0.15s;
}

.nav-btn:hover {
    background: #0b1e35;
}

.landing-page {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: #001e2e;
}

#landing-grid {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.landing-page > *:not(#landing-grid) {
    position: relative;
    z-index: 2;
}

/* update button to frosted glass */
.landing-btn {
    margin-top: 8%;
    font-size: 18px;
    font-weight: 700;
    color: white;
    padding: 10px 22px;
    border-radius: 12px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    transition: background 0.2s, border-color 0.2s;
}

.landing-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.5);
}

.landing-btn{
    margin-top: 8%;
    font-size: 18px;
    font-weight: bolder;
    color: white;
    padding: 9px 18px;
    border-radius: 12px;
    cursor: pointer;
    border: 1px solid #ccc;
    background: #15527c;    
    transition: background 0.15s;
}

.landing-btn:hover{
    background: #0b1e35;
}

.landing-context h1{
    font-size: 60px;
}

.context-phrase{
    margin-top: -1%;
}

.story{
    margin-top: 6%;
    display: flex;
}

.story-left{
    flex: 1;
}

.story-right{
    flex: 1;
}

.results-grid {
    display: flex;
    align-items: flex-start; 
    justify-content: center;
    gap: 100px;
    margin-top: 5%;
    margin-left: 150px;
}

.grid-content {
    display: flex;      
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.grid-content h1 {
    font-size: 50px;
    margin: 0;     
    padding: 0;
}

.grid-content p {
    margin-top: 8px; 
    font-size: 20px;
    padding-bottom: 0; 
}

.right-card{
    margin-left: 4%;
    position: absolute;
    margin-top: -18%;
    border: 2px solid white;
    background-color: #0b1e35;
    border-radius: 30px;
    width: 9%;
    padding: 10px 30px;
}

.story hr{
    margin-left: 150px;
    border: 3px solid #007788;
}

.mission_values{
    margin-top: 10%;
}

.quote{
    background-color: #0b1e35;
    border-radius: 20px;
    color: white;
    padding: 1%;
    width: 70%;
}

  /* ── TIMELINE WRAPPER ── */
        .timeline {
    position: relative;
    max-width: 900px;  /* increase from 800px */
    width: 100%;
    margin: 60px auto;
    padding: 0 40px 60px 40px;
    box-sizing: border-box;
}
 
        /* vertical center line */
        .timeline::before {
            content: '';
            position: absolute;
            left: 50%;
            top: 0;
            bottom: 0;
            width: 2px;
            background: #007788;
            transform: translateX(-50%);
        }
 
        /* ── EACH ROW ── */
        .timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 50px;
    position: relative;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    gap: 100px;  /* ← add this, gives the dot room in the center */
}
 
        .timeline-item.visible {
            opacity: 1;
            transform: translateY(0);
        }
 
        /* left items: card on left, spacer on right */
        .timeline-item.left {
            flex-direction: row;
        }
 
        /* right items: card on right, spacer on left */
        .timeline-item.right {
            flex-direction: row-reverse;
        }
 
        /* ── DOT ON THE LINE ── */
        .timeline-dot {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #007788;
    border: 3px solid #f9f9f9;
    transform: translateX(-50%);
    z-index: 2;
    margin: 0;  /* add this */
}
        /* ── CARD ── */
    .timeline-card {
    width: calc(50% - 36px);  /* ← go back to 36px */
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 14px;
    padding: 20px 24px;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
 
        .timeline-card:hover {
            border-color: #007788;
            transform: translateY(-4px);
            box-shadow: 0 8px 24px rgba(0, 119, 136, 0.1);
        }
 
        .timeline-card.active {
            border-color: #007788;
            border-width: 1.5px;
        }
 
        /* spacer fills the opposite half */
        .timeline-spacer {
    width: calc(50% - 36px);  /* ← match card */
}
 
        /* ── BADGE ── */
        .timeline-badge {
            display: inline-block;
            font-size: 10px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            background: #e1f5ee;
            color: #0f6e56;
            padding: 3px 10px;
            border-radius: 20px;
            margin-bottom: 10px;
            font-weight: 600;
        }
 
        /* ── CARD TITLE ── */
        .timeline-card h3 {
            font-size: 18px;
            font-weight: 700;
            color: #1a1a1a;
            margin-bottom: 0;
        }
 
        /* ── COLLAPSIBLE BODY ── */
        .timeline-body {
            font-size: 14px;
            color: #555;
            line-height: 1.7;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.35s ease, margin-top 0.2s;
        }
 
        .timeline-card.active .timeline-body {
            max-height: 200px;
            margin-top: 10px;
        }
 
        /* ── READ MORE TOGGLE ── */
        .timeline-toggle {
            font-size: 12px;
            color: #007788;
            margin-top: 10px;
            display: inline-block;
            font-weight: 600;
            transition: letter-spacing 0.2s;
        }
 
        .timeline-card:hover .timeline-toggle {
            letter-spacing: 0.03em;
        }
 
        .timeline-card.active .timeline-toggle::after {
            content: ' ↑ Close';
        }
 
        .timeline-card:not(.active) .timeline-toggle::after {
            content: ' ↓ Read more';
        }

.why_us{
    margin-top: 10%;
    padding: 5%;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    width: 80%;
    justify-self: center;
}

.why-card {
    background: #0b1e35;
    border-radius: 16px;
    padding: 32px;
    transition: transform 0.2s ease, border-left 0.2s ease;
    border-left: 4px solid transparent;
}

.why-card:hover {
    transform: translateY(-6px);
    border-left: 4px solid #007788;
}

.why-icon {
    font-size: 28px;
    background: rgba(255,255,255,0.1);
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.why-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin: 0 0 10px;
}

.why-card p {
    font-size: 14px;
    color: #a0b4c8;
    line-height: 1.7;
    margin: 0;
}

.container {
    display: flex;
    align-items: center;
    gap: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
  }

  .card {
    width: 500px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    overflow: hidden;
  }

  .card-header {
    padding: 16px;
    font-weight: bold;
    font-size: 18px;
  }

  .card.light {
    background: #fff;
  }

  .card.light .card-header {
    color: #333;
    border-bottom: 1px solid #eee;
  }

  .card.dark {
  background: linear-gradient(135deg, #0f2f44, #2d7a8c);
  color: white;
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0% {
    box-shadow:
      0 0 0 rgba(46, 204, 113, 0),
      0 0 0 rgba(46, 204, 113, 0);
  }
  50% {
    box-shadow:
      0 0 40px rgba(46, 204, 113, 0.6),
      0 0 75px rgba(46, 204, 113, 0.35);
  }
  100% {
    box-shadow:
      0 0 0 rgba(46, 204, 113, 0),
      0 0 0 rgba(46, 204, 113, 0);
  }
}

  .list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .list li {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
  }

  .card.light .list li {
    border-bottom: 1px solid #eee;
  }

  .icon {
    width: 22px;
    height: 22px;
    margin-right: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
  }

  .icon.red {
    background: #e74c3c;
    color: white;
  }

  .icon.green {
    background: #2ecc71;
    color: white;
  }

  .vs {
    font-weight: bold;
    color: #777;
  }

  .about-btns{
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
  }

.btn1{
    font-size: 20px;
    color: white;
    font-weight: 700;
    background-color: #0b1e35;
    padding: 1%;
    border-radius: 12px;
    width: 200px;
    transition: all 0.3s ease;
}

.btn1:hover {
    cursor: pointer;
  background-color: #152e4d; 
}

.btn2{
    font-size: 20px;
    color: black;
    font-weight: 700;
    border: 1px solid black;
    background-color: white;
    padding: 9%;
    border-radius: 12px;
    width: 200px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn2:hover {
  background-color: black;
  color: white;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 30, 53, 0.55);
  backdrop-filter: blur(4px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 24px 64px rgba(11, 30, 53, 0.18);
}

.modal-overlay.active .modal-box {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: #f1f1f1;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.modal-close:hover {
  background: #e0e0e0;
}

.modal-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #007788;
  display: block;
  margin-bottom: 8px;
}

.modal-header h2 {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 6px;
  color: #0b1e35;
}

.modal-header p {
  font-size: 14px;
  color: #888;
  margin: 0 0 24px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-field-row {
  display: flex;
  gap: 14px;
}

.modal-field {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}

.modal-field label {
  font-size: 12px;
  font-weight: 600;
  color: #444;
  letter-spacing: 0.03em;
}

.modal-field input,
.modal-field select,
.modal-field textarea {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  padding: 10px 14px;
  border: 1.5px solid #e5e5e5;
  border-radius: 10px;
  outline: none;
  color: #111;
  transition: border-color 0.2s;
  background: #fafafa;
  resize: none;
}

.modal-field input:focus,
.modal-field select:focus,
.modal-field textarea:focus {
  border-color: #007788;
  background: #fff;
}

.modal-submit {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: white;
  background: #0b1e35;
  border: none;
  padding: 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-top: 4px;
}

.modal-submit:hover {
  background: #007788;
  transform: translateY(-1px);
}

.modal-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}

.modal-success.show {
  display: flex;
}

.modal-form.hide {
  display: none;
}

.success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #e1f5ee;
  color: #007788;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.modal-success h3 {
  font-size: 22px;
  font-weight: 800;
  color: #0b1e35;
  margin: 0 0 6px;
}

.modal-success p {
  font-size: 14px;
  color: #888;
  margin: 0;
}

footer{
    margin-top: 10%;
    background-color: #0b1e35;
    margin-bottom: -18px;
}

.footer-upper{
    padding: 4%;
}

.footer-upper input{
    padding: 10px 14px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    width: 440px;
    transition: border-color 0.15s;
}

.footer-upper input:focus{
    border-color: #007788;
}

.footer-upper button{
    font-size: 14px;
    font-weight: bolder;
    color: white;
    padding: 9px 18px;
    border-radius: 12px;
    cursor: pointer;
    border: 1px solid #15527c;
    background: #15527c;    
    font-weight: 700;
    transition: background 0.15s;
    margin-left: 3px;
}

.footer-upper button:hover{
    background-color: #007788;
}

.footer-logo{
    display: flex;
    align-items: center;
    margin-left: -10px;
}

.footer-middle{
    display: flex;
    padding: 2% 4%;
}

.middle{
    flex: 1;
}

.middle-icon{
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.middle-lower p{
    border: 0.5px solid white;
    padding: 1% 4%;
    font-size: 14px;
    width: 36%;
    border-radius: 10px;
}

.middle li{
    color: white;
    list-style-type: none;
    font-size: 14px;
}

.middle-details {
  display: flex;
  flex-direction: column;              
}

.detail-item {
  display: flex;
  flex-direction: row;    
  align-items: center;
  gap: 12px;
}

.middle-title{
    font-weight: 600; 
    font-size: 14px; 
    color: #E2DFD2;
    margin-bottom: -15px;
}

.middle-value{
    font-size: 14px;
    color: white;
}
