@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800;900&display=swap");

/* -------------------------------------------------------
   Theme
------------------------------------------------------- */
:root {
  --bg: #060915;
  --panel: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.12);
  --muted: #bdbdbd;

  /* These two are set from config.js on load */
  --primary1: #10b981;
  --primary2: #06b6d4;

  --secondary1: #060915;
  --secondary2: #09133b;

  --radius: 18px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    sans-serif;
  background: var(--bg);
  color: #fff;
}

/* -------------------------------------------------------
   Layout helpers
------------------------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 64px 0;
}

.section-dark {
  background: transparent;
}

.section-light {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.grid {
  display: grid;
}

.muted {
  color: var(--muted);
  line-height: 1.6;
}

.hero-stat-image {
  max-width:120px;
  border-radius:5px;
}

.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 14px;
  letter-spacing: 0.01em;
}

.section-subtitle {
  margin: 22px 0 0;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.gradient-text {
  background: linear-gradient(90deg, var(--primary1), var(--primary2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* -------------------------------------------------------
   Header / Nav
------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: linear-gradient(135deg, var(--secondary1), var(--secondary2));
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 12px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
}

/* -------------------------------------------------------
   Buttons / Cards
------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 16px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.01em;
  border: 1px solid var(--border);
  transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  border: 0;
  color: #061022;
  background: linear-gradient(90deg, var(--primary1), var(--primary2));
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card-title {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 900;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border);
}

/* -------------------------------------------------------
   Hero
------------------------------------------------------- */
.hero {
  padding-top: 54px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
}

.hero-image {
  width: 80%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: block;
  
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero-headlines {
  display: grid;
  gap: 6px;
}

.eyebrow {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.hero-subtext {
  font-size: 1.05rem;
  max-width: 680px;
  margin: 14px 0 0;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 22px;
  width: 100%;
  max-width: 100%;
}

@media (max-width: 600px) {
 .stats {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  grid-template-rows: repeat(1, minmax(0, 1fr));
  gap: 40px;
  margin-top: 22px;}

.hero-image {
 margin-left:10%;
  
}
}

.stat {
  width: 100%;
  max-width: 100%;
  height: 100px;
  display: flex;
  border-radius: 20px;
  padding: 14px;
  background: #070915;
  align-items: center;
  box-sizing: border-box;
}

.stat-value {
  margin-top: 150px;
  margin-left:20px;
  font-size: 1.1rem;
  font-weight: 900;
  min-width: 150px;
}

.stat-label {
  display: inline-block;
  margin-top: 150px;
  color: var(--muted);
  margin-left:20px;
}

.cjistat-bg {
  background-image: url("assets/photos/CJI.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;


  display: flex;
  align-items: center;
  justify-content: center;
}

.pgfstat-bg {
  background-image: url("assets/photos/PGF.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;


  display: flex;
  align-items: center;
  justify-content: center;
}

/* -------------------------------------------------------
 About
------------------------------------------------------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: center;
  margin-top: 24px;
}

.about-image {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: block;
}

.about-copy {
  display: grid;
  gap: 12px;
  font-size: 1.05rem;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------
   Portfolio media
------------------------------------------------------- */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.media-grid-wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.media {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
  position: relative;
}

.media-label {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.media-video {
  height: 100%;
  display: block;
  background: #000;
}

.media-tall {
  aspect-ratio: 9 / 16;
}

.media-wide {
  aspect-ratio: 16 / 9;
}

.media-photo {
  aspect-ratio: 9 / 16;
}

.media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-wrapper {
  height:100%;
  width:100%;
}


/* -------------------------------------------------------
   Testimonials
------------------------------------------------------- */
.testimonial {
  display: grid;
  gap: 12px;
}

.testimonial-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  height: 100px;
  width: 100px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  flex: 0 0 auto;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote {
  margin: 0;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

/* -------------------------------------------------------
   FAQ
------------------------------------------------------- */
.faq {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.faq-item {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px 16px;
}

.faq-q {
  cursor: pointer;
  font-weight: 900;
}

.faq-a {
  padding-top: 10px;
}

/* -------------------------------------------------------
   Forms
------------------------------------------------------- */
.field {
  display: grid;
  gap: 8px;
}

.field-label {
  font-weight: 800;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.input {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 12px 12px;
  font: inherit;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  outline: none;
}

.input:focus {
  border-color: rgba(255, 255, 255, 0.22);
}

.contact-cta {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* -------------------------------------------------------
   Footer
------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  background: rgba(255, 255, 255, 0.02);
}

/* -------------------------------------------------------
   Responsive
------------------------------------------------------- */
@media (max-width: 980px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  section {
    padding: 52px 0;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .media-grid {
    grid-template-columns: 1fr;
  }

  .media-grid-wide {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    width: 100%;
    display: none;
    padding-bottom: 6px;
  }

  .nav.nav-open {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .nav-link {
    background: rgba(255, 255, 255, 0.06);
  }
}


/* -------------------------------------------------------
   Animations (AOS)
------------------------------------------------------- */
[data-aos] {
  will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
  [data-aos] {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
