
:root {
    --green:  #0e3aea;
    --lime:   #aaee00;
    --dark:   #0d1b2a;
    --grey:   #555;
    --light:  #f3f9ea;
    --radius: 14px;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    overflow-x: hidden;
    background: #fff;
}

img { max-width: 100%; height: auto; display: block; }


.top-nav {
    background:white;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
    border-radius: 15px;
    box-shadow: #555;
}

.nav-logo-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 10px;
}

.navbar-nav .nav-link {
    color: blue !important;
    font-weight: 500;
    font-size: 15px;
    margin-left: 18px;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--lime) !important;
}

/* ── HEADER ── */
.about-header {
    height: clamp(280px, 50vh, 480px);
    background-image: url('images/Lead-International-School-LIS-Pokuase-Amanfrom-Ghana-SchoolFinder-TortoisePathcom.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(13,27,42,0.80), rgba(109, 111, 109, 0.733));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.header-overlay h1 {
    font-size: clamp(28px, 7vw, 60px);
    font-weight: 700;
    color: white;
    text-shadow: 0 3px 12px rgba(0,0,0,0.5);
}

.header-overlay h1 span { color: var(--lime); }

.header-overlay p {
    color: rgba(255,255,255,0.82);
    font-size: clamp(13px, 2.5vw, 18px);
    margin-top: 10px;
    max-width: 500px;
}

/* ── SHARED SECTION STYLES ── */
section {
    padding: clamp(40px, 7vw, 90px) clamp(16px, 6vw, 80px);
}

.section-tag {
    display: inline-block;
    background: var(--light);
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 10px;
}

.section-heading {
    font-size: clamp(22px, 4.5vw, 38px);
    font-weight: 700;
    margin-bottom: 28px;
    color: var(--dark);
    line-height: 1.2;
}

.section-heading span { color: var(--green); }

/* ── DIVIDER ── */
.divider {
    width: min(60%, 400px);
    border-top: 5px dashed var(--lime);
    margin: 0 auto;
}

/* ── WHO WE ARE ── */
.who-section { background: #fff; }

.who-content {
    display: flex;
    gap: clamp(24px, 5vw, 60px);
    align-items: center;
    flex-wrap: wrap;
}

.who-img {
    flex: 1;
    min-width: 260px;
}

.who-img img {
    width: 100%;
    height: clamp(220px, 35vw, 380px);
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.who-text {
    flex: 1;
    min-width: 260px;
}

.who-text p {
    font-size: clamp(14px, 2.2vw, 16px);
    color: var(--grey);
    line-height: 1.8;
    margin-bottom: 14px;
}

.who-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.pill {
    background: var(--light);
    color: var(--green);
    font-weight: 600;
    font-size: clamp(12px, 2vw, 14px);
    padding: 8px 16px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 7px;
}

/* ── MISSION CARDS ── */
.mission-section { background: var(--light); text-align: center; }

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 10px;
}

.mission-card {
    background: #fff;
    border-radius: var(--radius);
    padding: clamp(24px, 4vw, 36px) 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.mission-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.m-icon {
    width: 58px;
    height: 58px;
    background: var(--light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--green);
    margin: 0 auto 16px;
    transition: background 0.3s, color 0.3s;
}

.mission-card:hover .m-icon {
    background: var(--lime);
    color: var(--dark);
}

.mission-card h3 {
    font-size: clamp(16px, 2.5vw, 19px);
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.mission-card p {
    font-size: clamp(13px, 2vw, 15px);
    color: var(--grey);
    line-height: 1.7;
}

/* ── VISION ── */
.vision-section { background: #fff; }

.vision-inner {
    display: flex;
    gap: clamp(24px, 5vw, 60px);
    align-items: center;
    flex-wrap: wrap-reverse;
}

.vision-text {
    flex: 1;
    min-width: 260px;
}

.vision-text p {
    font-size: clamp(14px, 2.2vw, 16px);
    color: var(--grey);
    line-height: 1.8;
    margin-bottom: 20px;
}

.vision-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vision-list li {
    font-size: clamp(13px, 2vw, 15px);
    color: var(--grey);
    display: flex;
    align-items: center;
    gap: 10px;
}

.vision-list li i {
    color: var(--green);
    font-size: 16px;
    flex-shrink: 0;
}

.vision-img {
    flex: 1;
    min-width: 260px;
}

.vision-img img {
    width: 100%;
    height: clamp(220px, 35vw, 380px);
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

/* ── TIMELINE ── */
.timeline-section {
    background: var(--dark);
    color: white;
    text-align: center;
}

.timeline-section .section-tag {
    background: rgba(170,238,0,0.15);
    color: var(--lime);
}

.timeline-section .section-heading { color: white; }

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Center line */
.timeline::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    background: rgba(170,238,0,0.3);
}

.tl-item {
    display: flex;
    justify-content: flex-end;
    padding-right: calc(50% + 30px);
    margin-bottom: 36px;
    position: relative;
}

.tl-item.right {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: calc(50% + 30px);
}

/* Dot on line */
.tl-item::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    background: var(--lime);
    border-radius: 50%;
    border: 3px solid var(--dark);
    z-index: 1;
}

.tl-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(170,238,0,0.2);
    border-radius: var(--radius);
    padding: 20px 22px;
    max-width: 300px;
    text-align: left;
    transition: background 0.3s;
}

.tl-card:hover { background: rgba(170,238,0,0.08); }

.tl-year {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--lime);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.tl-card h3 {
    font-size: clamp(15px, 2.5vw, 18px);
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.tl-card p {
    font-size: clamp(12px, 1.8vw, 14px);
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
}

/* Timeline on mobile: single column */
@media (max-width: 600px) {
    .timeline::before { left: 16px; }

    .tl-item,
    .tl-item.right {
        justify-content: flex-start;
        padding-left: 44px;
        padding-right: 0;
    }

    .tl-item::before { left: 16px; }

    .tl-card { max-width: 100%; }
}

/* ── FOOTER ── */
.about-footer {
    background: #0a1420;
    color: rgba(255,255,255,0.5);
    text-align: center;
    padding: 20px;
    font-size: 13px;
}
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 18px;
  display: flex;
  align-items: center;
  text-decoration: none;
  z-index: 999;
  animation: float 3s ease-in-out infinite;
}

.whatsapp-text {
  background: #fff;
  color: #000;
  padding: 10px 14px;
  border-radius: 20px;
  margin-right: 8px;
  font-size: 13px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  /* Hide text label on small phones */
  display: none;
}

@media (min-width: 480px) {
  .whatsapp-text {
    display: block;
  }
}

.whatsapp-icon {
  width: 50px;
  height: 50px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}