/* ===============================
   GLOBAL RESET
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #0b0f1a;
  color: #ffffff;
  overflow-x: hidden;
}

/* ===============================
   HEADER / NAV
================================ */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 60px;                /* slim header */
  background: rgba(0,0,0,0.6);
  position: sticky;
  top: 0;
  z-index: 10;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

/* Scroll effect (JS adds .scrolled) */
header.scrolled {
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(10px);
}

.logo img {
  height: 90px;                     /* BIG logo */
  width: auto;
  display: block;
  position: relative;
  top: 14px;                        /* overflow outside header */
}

nav a {
  color: #ffffff;
  margin-left: 25px;
  text-decoration: none;
  font-size: 15px;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: #4da6ff;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* ===============================
   BUTTON
================================ */
.btn {
  padding: 12px 30px;
  background: #4da6ff;
  color: #ffffff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 rgba(77,166,255,0.6);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(77,166,255,0.45);
}

/* ======================================================
   HOME PAGE ONLY
====================================================== */

/* VIDEO BACKGROUND */
body.home .video-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

body.home .video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.home .video-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

/* HERO CONTENT */
body.home .hero-content {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  opacity: 0;
  transform: translateY(40px);
  animation: heroFadeUp 1.2s ease forwards;
  animation-delay: 0.4s;
}
/* ===============================
   WHITE STATS PANEL
================================ */
.white-stats-panel {
  position: relative;
  background: #ffffff;
  color: #0b0f1a;
  margin-top: -120px;      /* pulls white panel up */
  padding-top: 120px;
  z-index: 2;
  border-radius: 40px 40px 0 0;
  box-shadow: 0 -30px 80px rgba(0,0,0,0.25);
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.home .hero-content h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #ffffff, #4da6ff);
  background-clip: text;              /* standard */
  -webkit-background-clip: text;      /* webkit */
  color: transparent;                 /* standard */
  -webkit-text-fill-color: transparent;
}

body.home .hero-content p {
  font-size: 1.2rem;
  max-width: 700px;
  margin-bottom: 25px;
}
/* ======================================================
   HOME HIGHLIGHTS SECTION
====================================================== */
.home-highlights {
  padding-top: 0 ;
  position: relative;
}

.highlight-wrapper {
  display: flex;
  gap: 40px;
  align-items: stretch;
}

/* LEFT GREEN CARD */
.highlight-stats {
  flex: 1;
  background: #43b649;
  color: #ffffff;
  border-radius: 20px;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 25px 60px rgba(0,0,0,0.4);
}

.stats-icon {
  font-size: 42px;
  margin-bottom: 25px;
}

.highlight-stats p {
  font-size: 20px;
  line-height: 1.6;
}

.highlight-stats h2 {
  font-size: 56px;
  margin: 25px 0 10px;
}

.highlight-stats span {
  font-size: 20px;
  font-weight: bold;
}

/* RIGHT CARDS */
.highlight-cards {
  flex: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.info-card {
  background: #ffffff;
  color: #111;
  border-radius: 18px;
  padding: 45px 30px;
  text-align: center;
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 35px 70px rgba(0,0,0,0.25);
}

.info-card h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.info-card p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #555;
}

.card-btn {
  display: inline-block;
  padding: 10px 26px;
  border: 2px solid #0b0f1a;
  border-radius: 30px;
  text-decoration: none;
  color: #0b0f1a;
  font-weight: bold;
  transition: all 0.3s ease;
}

.card-btn:hover {
  background: #0b0f1a;
  color: #ffffff;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .highlight-wrapper {
    flex-direction: column;
  }

  .highlight-cards {
    grid-template-columns: 1fr;
  }
}


/* ======================================================
   INNOVATIONS PAGE ONLY
====================================================== */

/* VIDEO BANNER */
body.innovations .innovations-video-banner {
  position: relative;
  height: 65vh;
  overflow: hidden;
}

body.innovations .innovations-video-banner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.innovations .innovations-video-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}

body.innovations .banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

body.innovations .banner-overlay h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

body.innovations .banner-overlay p {
  font-size: 1.2rem;
  max-width: 700px;
}
/* ===============================
   WHITE ABOUT PANEL
================================ */
.about-panel {
  background: #ffffff;
  padding: 120px 8%;
  overflow: hidden;
}

.about-panel-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  max-width: 1300px;
  margin: auto;
}

/* TEXT */
.about-text h2 {
  font-size: 40px;
  margin: 15px 0 20px;
  color: #1b2b34;
}

.about-text p {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  max-width: 520px;
}

.section-tag {
  color: #43b649;
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 14px;
}

/* IMAGE */
.about-image img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 30px 70px rgba(244, 238, 238, 0.15);
}

/* ===============================
   ANIMATION
================================ */
/* ===============================
   SAFE SLIDE-IN ANIMATION
   (Never permanently hidden)
================================ */

/* Default visible state (SAFE FALLBACK) */
.slide-right {
  opacity: 1;
  transform: translateX(0);
  transition: transform 1s ease, opacity 1s ease;
}

.reveal:not(.active) .slide-right {
  opacity: 0;
  transform: translateX(120px);
}

.reveal.active .slide-right {
  opacity: 1;
  transform: translateX(0);
}



/* RESPONSIVE */
@media (max-width: 900px) {
  .about-panel-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-text p {
    margin: auto;
  }
}

/* ===============================
   FLIP BOXES
================================ */
body.innovations .innovation-boxes {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 100px 20px;
  background: #0b0f1a;
}

body.innovations .flip-box {
  width: 320px;
  height: 240px;
  perspective: 1000px;
  cursor: pointer;
}

body.innovations .flip-box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease;
  transform-style: preserve-3d;
}

body.innovations .flip-box:hover .flip-box-inner {
  transform: rotateY(180deg);
}

body.innovations .flip-box-front,
body.innovations .flip-box-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 25px;
  text-align: center;
}

body.innovations .flip-box-front {
  background: linear-gradient(135deg, #5eb794, #53ba7c);
}

body.innovations .flip-box-back {
  background: #111;
  transform: rotateY(180deg);
}
/* ======================================================
   PROJECTS STATS SECTION
====================================================== */
.projects-stats {
  padding: 120px 60px;
  background: transparent;
  color: #0b0f1a;
  text-align: center;
}

.stats-subtitle {
  color: #43b649;
  font-weight: bold;
  letter-spacing: 3px;
  margin-bottom: 80px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
  align-items: start;
}

.stat-item {
  max-width: 260px;
  margin: auto;
}

.stat-item h3 {
  margin-top: 25px;
  font-size: 32px;
  color: #3e6f9e;
}

.stat-item p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}

/* CIRCULAR PROGRESS */
.progress-ring {
  transform: rotate(-90deg);
}

.progress-ring circle {
  fill: none;
  stroke-width: 8;
}

.progress-ring .bg {
  stroke: #eeeeee;
}

.progress-ring .progress {
  stroke: #3e6f9e;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.5s ease;
}
.progress-ring {
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}
/* ===== ABOUT SECTIONS ===== */
.about-section {
  padding: 90px 8%;
  overflow: hidden;
}

.white-bg {
  background: #ffffff;
}

.green-bg {
  background: #0f3d2e; /* elegant green */
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.about-text h2 {
  font-size: 40px;
  margin: 15px 0;
  color: #1b2b34;
}

.light-text h2,
.light-text p {
  color: #ffffff;
}

.about-text p {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
}

.section-tag {
  color: #3cb371;
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 14px;
}

.about-link {
  display: inline-block;
  margin-top: 20px;
  color: #3cb371;
  font-weight: 600;
  text-decoration: none;
}

.about-link.light {
  color: #aef3c2;
}

/* ===== IMAGE STYLE ===== */
.about-image img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
}

/* ===== ANIMATION ===== */
.slide-right {
  transform: translateX(120px);
  opacity: 0;
  transition: all 1s ease;
}

.reveal.active .slide-right {
  transform: translateX(0);
  opacity: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
/* ================= CONTACT SPLIT SECTION ================= */

.contact-split-section {
  padding: 100px 6%;
  position: relative;
  z-index: 2;
  color: #0b2a3a;
}

.contact-wrapper {
  background: #ffffff;
  border-radius: 20px;
  padding: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  box-shadow: 0 30px 80px rgba(210, 190, 190, 0.08);
}

/* LEFT */
.contact-left h2 {
  font-size: 42px;
  line-height: 1.3;
  margin-bottom: 40px;
  color: #0b2a3a;
}

/* RIGHT */
.contact-right h3 {
  font-size: 34px;
  margin-bottom: 30px;
  color: #0b2a3a;
}

/* FORM */
.contact-form {
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full {
  margin-top: 20px;
}

.form-group label {
  font-size: 14px;
  margin-bottom: 8px;
  color: #0b2a3a;
}

.form-group input,
.form-group textarea {
  background: #f3f3f3;
  border: none;
  border-radius: 10px;
  padding: 16px;
  font-size: 15px;
  outline: none;
}

.form-group textarea {
  min-height: 140px;
  resize: none;
}

/* BUTTONS */
.btn.primary {
  background: #3bb54a;
  color: #fff;
  padding: 14px 34px;
  border-radius: 10px;
  display: inline-block;
}

.submit-btn {
  margin-top: 30px;
  background: #3bb54a;
  color: #fff;
  border: none;
  padding: 16px 36px;
  border-radius: 10px;
  cursor: pointer;
}

/* INFO CARD */
.contact-info-card {
  margin-top: 80px;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 30px 80px rgba(63, 169, 123, 0.08);
}

.contact-info-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-info-card .info-text {
  padding: 60px;
}

.contact-info-card h4 {
  font-size: 28px;
  margin-bottom: 16px;
  color: #0b2a3a;
}

.contact-info-card p {
  font-size: 16px;
  color: #555;
  line-height: 1.7;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .contact-wrapper,
  .contact-info-card {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    padding: 50px;
  }
}

@media (max-width: 600px) {
  .contact-left h2 {
    font-size: 32px;
  }

  .contact-right h3 {
    font-size: 26px;
  }
}
/* ===============================
   OUR PROJECTS SECTION
================================ */

.projects-section {
  padding: 80px 5%;
  background: #f7f7f7;
}

.projects-title {
  text-align: center;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 50px;
  color: #0f2a3d;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  align-items: stretch;
}

/* Card */
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
aspect-ratio: 4 / 5;
min-height: 380px;
  opacity: 0;
  transform: translateY(60px);
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* Overlay */
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(244, 240, 240, 0.75), rgba(0,0,0,0.2));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
}

.project-overlay h3 {
  color: #fff;
  font-size: 30px;
  margin-bottom: 15px;
  line-height: 1.2;
}

/* Button */
.project-btn {
  background: #2ecc40;
  color: #fff;
  width: fit-content;
  padding: 10px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.project-btn:hover {
  background: #27ae35;
}

/* Hover motion */
.project-card:hover img {
  transform: scale(1.08);
}

/* Scroll animation active */
.project-card.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===============================
   FOOTER
================================ */
footer {
  text-align: center;
  padding: 20px;
  background: rgba(0,0,0,0.8);
  font-size: 14px;
}
