:root {
  --dark-bg: #111;
  --text-color: #fff;
  --accent-color: orange;
  --light-gray: #ccc;
  --muted: #667085;

  --font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-family);
  background-color: var(--dark-bg);
  color: var(--text-color);
  line-height: 1.6;
}

a { color: var(--text-color); text-decoration: none; }
ul { list-style: none; }

/* ===== Header / Navigation ===== */
.navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 5%;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 10;
      background-color: #0b0b0b;
    }

    /* ==== Logo with animated star ==== */
    .logo {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      font-size: 2.5rem;
      font-weight: 800;
      letter-spacing: 2px;
      color: orange;
      position: relative;
      display: flex;
      align-items: center;
      gap: 8px;
      cursor: pointer;
    }

    .star-icon {
      font-size: 2rem;
      color: orange;
      display: inline-block;
      animation: spinStar 3s linear infinite, glow 1.5s ease-in-out infinite alternate;
    }

    @keyframes spinStar {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }

    @keyframes glow {
      0% { text-shadow: 0 0 10px rgba(255,165,0,0.5); }
      100% { text-shadow: 0 0 20px rgba(255,165,0,1); }
    }

    

    .logo:hover::after {
      width: 100%;
    }

    /* ==== Navigation ==== */
   .main-menu ul {
     display: flex;
    gap: 80px; /* adjust spacing between links */
     }

 .main-menu li {
  margin-left: 0;    /* remove unnecessary extra spacing */
  padding-bottom: 55px; /* remove big bottom padding */
  }
    .main-menu a {
      font-size: 1.1rem;
      color: orange;
      position: relative;
      padding-bottom: 5px;
      transition: all 0.3s ease;
    }

    .main-menu a::after {
      content: '';
      position: absolute;
      width: 0;
      height: 2px;
      left: 0;
      bottom: 0;
      background-color: orange;
      transition: width 0.3s ease;
    }

    .main-menu a:hover::after {
      width: 100%;
    }

    .menu-toggle {
      display: none;
      font-size: 2rem;
      color: var(--accent-color);
      cursor: pointer;
    }


/* ===== About Section ===== */
.about-section {
  padding: 180px 10% 100px; /* top padding accounts for fixed header */
  background: #fff; color: #0b0b0b;
}
.about-container { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.about-text { flex: 1 1 500px; }
.about-text h3 { font-size: 1.8rem; color: var(--accent-color); margin-bottom: 16px; }
.about-text h3 span { color: #f4e61b; }
.about-text p { color: #242424; margin-bottom: 14px; }
.about-image { 
  flex: 1 1 400px;
   text-align: center; }
.about-image img {
  width: 100%;
   max-width: 500px;
   border-radius: 14px;
  /* box-shadow: 0 0 15px rgba(255,165,0,.25); */
}

/* ===== Purpose & Vision (Alternating rows) ===== */
.purpose-vision { background: #fff; color: #0b0b0b; padding: 80px 10%; }
.pv-header { text-align: center; margin-bottom: 36px; }
.purpose-vision h2 { font-size: 2.4rem; color: var(--accent-color); }
.pv-subtitle { color: #444; margin-top: 8px; }

.pv-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 40px;
  background: #fff;
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,.06);
  margin-bottom: 28px;
}

.pv-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 14px;
  /* border: 2px solid rgba(255,165,0,.35); */
  
}

.pv-text h3 {
  font-size: 1.6rem;
  color: var(--accent-color);
  margin-bottom: 10px;
}
.pv-text p { 
  color: #1f2937;
   margin-bottom: 10px; 
  }
.pv-text ul {
   list-style: disc;
    margin-left: 20px; 
    color: #212121; 
  }
.pv-text li {
   margin: 6px 0; 
    list-style-type: circle;
   }

/* Row-specific ordering (desktop) */
.pv-row.mission .pv-image { order: 1; } /* image left */
.pv-row.mission .pv-text  { order: 2; } /* text right */

.pv-row.vision .pv-text   { order: 1; } /* text left */
.pv-row.vision .pv-image  { order: 2; } /* image right */

/* ===== Founders ===== */
.founders { background: #fff; color: #0b0b0b; padding: 80px 10%; text-align: center; }
.founders h2 { font-size: 2.2rem; color: var(--accent-color); margin-bottom: 34px; }

.founder-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; }
.founder-card {
  padding: 24px; 
  border-radius: 16px;
   width: 280px; 
   text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,.06);
   background: #fff; 
   transition: transform .3s ease;
}
.founder-card:hover { transform: translateY(-6px); }
.founder-card img {
  width: 120px; 
  height: 120px;
   border-radius: 50%; 
   margin-bottom: 14px;
  /* border: 3px solid var(--accent-color);  */
  object-fit: cover;
}
.founder-card h3 { color: var(--accent-color); margin-bottom: 4px; }
.founder-card .role { color: #374151; font-weight: 600; margin-bottom: 8px; }

/* ===== Footer ===== */
footer {
  border-top: 1px solid #eef2f7;
  padding: 20px 5%;
  text-align: center;
  color: #0b0b0b;
  background: #fff;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .main-menu ul { gap: 22px; }
  .pv-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
      .main-heading { font-size: 2.5rem; }
      .sub-text { font-size: 1.1rem; color: #f4e61b; }

      .menu-toggle { display: block; padding-bottom: 10px; }

      .main-menu {
        position: fixed;
        top: 90px;
        right: -100%;
        width: 50%;
        height: 100vh;
        background-color: white;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
      }

      .main-menu.active { right: 0; }

      .main-menu ul {
        flex-direction: column;
        gap: 30px;
        font-size:small;
      }

      .main-menu a { color: var(--accent-color); font-size: 1.1rem; }

  .about-container { flex-direction: column; text-align: center; }

  .pv-row {
    grid-template-columns: 1fr;
    text-align: left;
    padding: 22px;
    justify-content: center;
    align-items: center; 
  }
  /* Stack image above text on mobile for both rows */
  .pv-row .pv-image {
     order: 1; 
     }
  .pv-row .pv-text  { order: 2; }

  .founder-container { 
    flex-direction: column;
    align-items: center;   /* Centers horizontally */
    text-align: center;    /* Centers text */
  }
}

@media (max-width: 480px) {
  .purpose-vision h2 { font-size: 2rem; }
  .pv-image img { height: 240px; }
}
