
/* =====================
   HERO BASE
===================== */

.hero {
  position: relative;
  min-height: 120vh;       /* 👈 reduced height */
  overflow: hidden;
  background: #020617;
 
  
}

/* Background image */
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../img/hero2.png") right center / cover no-repeat;
  z-index: 0;
}

/* Gradient overlay (LEFT dark → RIGHT glow) */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(2, 6, 23, 0.88) 0%,
    rgba(2, 6, 23, 0.6) 40%,
    rgba(2, 6, 23, 0.25) 65%,
    rgba(74, 222, 128, 0.18) 100%
  );
  z-index: 1;
}

/* Right-side glow */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: -20%;
  width: 60%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(74, 222, 128, 0.3),
    transparent 70%
  );
  z-index: 1;
  pointer-events: none;
}

/* =====================
   CONTENT
===================== */

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  margin-top: 350px;
}

.hero-content {
  max-width: 620px;
  padding-left: 6%;
  color: #ffffff;
  margin-top:-120px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 14px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.2;
  margin: 0;
}

.hero h1 span {
  color: #4ade80;
}

.hero p {
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.6;
  color: #e5e7eb;
}

/* =====================
   BUTTONS
===================== */

.hero-buttons {
  display: flex;
  gap: 18px;
  margin-top: 30px;
}

.btn-primary {
  padding: 14px 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #16a34a, #0ea5e9);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.45);
  transition: all 0.25s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(34, 197, 94, 0.6);
}

.btn-secondary {
  padding: 14px 34px;
  border-radius: 999px;
  border: 2px solid #22c55e;
  color: #22c55e;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background: rgba(34, 197, 94, 0.15);
  transform: translateY(-2px);
}

/* =====================
   STARS
===================== */

.stars {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.star {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #ffffff;
  border-radius: 50%;
  opacity: 0;
  animation: shimmer 4s infinite ease-in-out;
}

.s1 { top: 20%; left: 15%; animation-delay: 0s; }
.s2 { top: 35%; left: 40%; animation-delay: 1s; }
.s3 { top: 18%; left: 70%; animation-delay: 2s; }
.s4 { top: 55%; left: 85%; animation-delay: 0.5s; }
.s5 { top: 65%; left: 30%; animation-delay: 1.5s; }
.s6 { top: 45%; left: 60%; animation-delay: 2.5s; }

.star::after {
  content: "";
  position: absolute;
  inset: -6px;
  background: radial-gradient(
    circle,
    rgba(74, 222, 128, 0.6),
    transparent 60%
  );
}

@keyframes shimmer {
  0% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 1; transform: scale(1.4); }
  100% { opacity: 0; transform: scale(0.5); }
}

/* =====================
   MOBILE
===================== */

@media (max-width: 768px) {
  .hero {
    min-height: 115vh;
  }

  .hero-container {
    justify-content: center;
  }

  .hero-content {
    padding: 0 6%;
    text-align: center;
    margin-top: -100px;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero h1 {
    font-size: 36px;
  }
}


/* =====================

/* =====================
   WELCOME SECTION (WHITE)
===================== */

.welcome-section {
  position: relative;
  background: #ffffff;          /* ✅ white background */
  padding: 110px 0 90px;
  overflow: hidden;
}

/* Soft right-side glow (subtle, premium) */
.welcome-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: -20%;
  width: 55%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(74, 222, 128, 0.18),
    transparent 70%
  );
  pointer-events: none;
}

/* =====================
   LAYOUT
===================== */

.welcome-container {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 1200px;
  margin: auto;

  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
}

/* =====================
   IMAGE BLOCK
===================== */

.image-overlay-box {
  position: relative;
  max-width: 960px;
  border-radius: 28px;
  overflow: hidden;

  background: #ffffff;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.15),
    inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

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

/* Soft green overlay (very light) */
.image-overlay-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top right,
    rgba(74, 222, 128, 0.12),
    rgba(14, 165, 233, 0.08)
  );
}

/* Badge */
.image-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 2;

  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(6px);
  color: #ffffff;

  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

/* =====================
   TEXT CONTENT
===================== */

.welcome-right {
  color: #374151;
  font-size: 17px;
  line-height: 1.9;
  text-align: justify;
}

.welcome-intro {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 22px;
  color: #111827;
}

.welcome-right strong {
  color: #16a34a;
}

/* =====================
   BUTTON
===================== */

.btn-learn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding: 14px 34px;

  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #16a34a, #0ea5e9);
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;

  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.35);
  transition: all 0.25s ease;
}

.btn-learn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(34, 197, 94, 0.5);
}

/* =====================
   RESPONSIVE
===================== */

@media (max-width: 900px) {
  .welcome-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .image-overlay-box {
    margin: auto;
  }
}

/* =====================
   VISION & MISSION
===================== */
/* =====================
   VISION & MISSION
===================== */

.vision-mission-section {
  background: #ffffff;
  padding: 10px 0;              /* ⬇ reduced from 100 */
}

/* ROW */
.vm-row {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto 60px;          /* ⬇ reduced spacing */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;                    /* ⬇ reduced gap */
  align-items: center;
}

/* TEXT */
.vm-text h2 {
  font-size: 36px;              /* ⬇ slightly smaller */
  font-weight: 700;
  margin-bottom: 12px;
  color: #064e3b;
}

.vm-text p {
  font-size: 17px;              /* ⬇ slightly smaller */
  line-height: 1.7;
  color: #374151;
  max-width: 480px;
}

/* IMAGE */
.vm-image img {
  width: 100%;
  height: 300px;                /* ⬇ reduced height */
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 16px 32px rgba(0,0,0,0.12);
}

/* =====================
   DIVIDER
===================== */

.section-divider {
  display: block;
  width: 100%;
  height: 70px;                 /* ⬇ reduced height */
  margin-top: -90px;            /* ⬇ less overlap */
  background-color: #3e8e9c2e;  /* lighter */
  filter: drop-shadow(0 -2px 6px rgba(0,0,0,0.06));
}

/* =====================
   RESPONSIVE
===================== */

@media (max-width: 900px) {
  .vm-row {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 50px;
  }

  .vm-text h2 {
    font-size: 30px;
  }

  .vm-image img {
    height: 240px;
  }
}

/* =====================
   WHY US SECTION
===================== */
/* ======================
   WHY CAM2EYE
====================== */
/* ======================
   WHY CAM2EYE SECTION
====================== */



/* =====================
   WHY CAM2EYE (FIXED)
===================== */

.why-cam2eye {
  padding: 65px 0;
  background: #e9f5ef;
}

/* HEADER */
.why-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.why-header h2 {
  font-size: 34px;
  font-weight: 700;
}

.why-header p {
  font-size: 15px;
  color: #475569;
}

/* 🔥 GRID FIXED: 2 COLUMNS CENTERED */
.why-grid {
  width: 92%;
  max-width: 900px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  justify-content: center;
}

/* CARD */
.why-card {
  position: relative;
  height: 280px;
  overflow: hidden;
  border-radius: 12px;
}

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

/* 🔥 COLOR FIXED HERE */
.why-box {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 70%;
  background: linear-gradient(135deg,#22c55e,#16a34a);
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  color: #ffffff;
}

.why-box h3 {
  font-size: 17px;
  font-weight: 700;
}

.why-box p {
  font-size: 13.5px;
  line-height: 1.55;
}

/* =====================
   WHY CAM2EYE RESPONSIVE
===================== */

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

  .why-card {
    height: 240px;
  }

  .why-box {
    width: 80%;
  }
}

/* ======================
   ANIMATIONS
====================== */

@keyframes imageReveal {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes textReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ======================
   RESPONSIVE
====================== */

@media (max-width: 900px) {

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

  .why-card {
    height: 240px;
  }

  .why-box {
    width: 78%;
  }

  .why-header h2 {
    font-size: 28px;
  }
}


.industries-section {
  padding: 55px 6%;
  background: #eef0ee55;
}

.industries-wrapper {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 45px;
  align-items: center;
}

/* LEFT CONTENT */
.industries-badge {
  display: inline-block;
  background: #c5cbc6;
  color: #2563eb;
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.industries-left h2 {
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  margin-top: 10px;
}

.industries-left h2 span {
  color: #2563eb;
}

.industries-left p {
  margin-top: 12px;
  font-size: 15.5px;
  color: #475569;
  max-width: 400px;
}

/* GRID */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.industry-card {
  background: transparent;
}

.industry-card .icon {
  font-size: 26px;
  color: #2563eb;
  margin-bottom: 8px;
}

.industry-card h4 {
  font-size: 18.5px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 6px;
}

.industry-card p {
  font-size: 15.5px;
  line-height: 1.55;
  color: #64748b;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .industries-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .industries-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/************/
/* ===============================
   ESCALATION METRIC SECTION
================================ */
.cam2eye-escalation-section {
  position: relative;
  width: 100%;
  min-height: 520px;
  padding: 60px 20px;
  background: #f8fafc;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
}

/* INNER */
.escalation-inner {
  display: flex;
  max-width: 1200px;
  width: 100%;
  align-items: center;
  gap: 50px;
}

/* LEFT CONTENT */
.escalation-content {
  flex: 1;
  color: #0f172a;

  /* 🔥 CENTER FIX */
  display: flex;
  flex-direction: column;
  align-items: center;     /* horizontal center */
  text-align: center;      /* text center */
}


.escalation-badge {
  display: inline-block;
  background: rgba(34,197,94,0.12);
  color: #16a34a;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 500;
}

.escalation-title {
  font-size: 2.6rem;
  margin: 16px 0;
  line-height: 1.2;
  font-weight: 700;
}

.escalation-title span {
  color: #310891;
}

.escalation-text {
  font-size: 1.05rem;
  color: #475569;
  margin-bottom: 24px;
  max-width: 480px;
  line-height: 1.7;
}


.escalation-btn {
  background: linear-gradient(135deg,#22c55e,#16a34a);
  color: #fff;
  padding: 12px 32px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: 0.3s ease;
  box-shadow: 0 10px 25px rgba(34,197,94,0.25);
}

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

/* RIGHT VISUAL */
.escalation-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* GLASS CARD */
.glass-container {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(14px);
  border-radius: 26px;
  border: 1px solid rgba(0,0,0,0.06);
  padding: 30px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.08);
}

/* METRIC FLOW */
.metric-flow {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.metric-node {
  background: #ffffff;
  width: 100%;
  padding: 14px;
  text-align: center;
  border-radius: 14px;
  font-weight: 600;
  position: relative;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.metric-node.top {
  background: linear-gradient(135deg,#2563eb,#22c55e);
  color: #ffffff;
}

.metric-node:not(.top)::before {
  content: '↑';
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  color: #2563eb;
  font-size: 14px;
}

/* ================= METRICS ================= */
.metrics-section {
  padding: 70px 6%;
  background: #ffffff;
}

.metrics-container {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.metric {
  padding: 26px 20px;
  border-radius: 18px;
  background: #f8fafc;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.metric h3 {
  font-size: 36px;
  font-weight: 700;
  color: #16a34a;
  margin-bottom: 6px;
}

.metric p {
  font-size: 15px;
  color: #475569;
  font-weight: 500;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .escalation-inner {
    flex-direction: column;
    text-align: center;
  }

 
  .metrics-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .escalation-title {
    font-size: 2rem;
  }

  .glass-container {
    padding: 22px;
  }

  .metrics-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {

  /* Force section to ignore parent offsets */
 @media (max-width: 768px) {

  .escalation-text {
    max-width: 100%;
    padding: 0 20px;     /* equal space both sides */
    margin: 0 auto 24px;
    text-align: center;
  }

}

  /* Center everything inside */
  .escalation-inner {
    width: 100%;
    margin: 0 auto;
    flex-direction: column;
    align-items: center;
  }

  .escalation-content {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .escalation-text {
    margin-left: auto;
    margin-right: auto;
  }
}

.framework {
  padding: 80px 20px;
  background: #ffffff;
  font-family: "Inter", sans-serif;
}

.framework-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 60px;
}

.framework-title .green { color: #16a34a; }
.framework-title .blue  { color: #2563eb; }
.framework-title .red   { color: #dc2626; }

/* Desktop Flow */
.framework-flow {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.framework-col {
  flex: 1;
  border: 1px solid #e5e7eb;
  padding: 25px 18px;
  position: relative;
}

.framework-col h3 {
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.framework-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.framework-col ul li {
  font-size: 14px;
  color: #444;
  padding: 10px 0;
  border-bottom: 1px dashed #ddd;
}

.framework-col ul li:last-child {
  border-bottom: none;
}

/* Arrow between columns */
.framework-col:not(:last-child)::after {
  content: "➜";
  position: absolute;
  right: -22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: #999;
}
:root {
  --grad: linear-gradient(135deg, #2563eb, #22c55e);
}

.framework {
  padding: 90px 20px;
  background: #f8fafc;
  font-family: "Inter", sans-serif;
}

.framework-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 70px;
}

.brand {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.framework-flow {
  display: flex;
  gap: 28px;
  justify-content: space-between;
  position: relative;
}

/* CARD */
.framework-card {
  flex: 1;
  background: #ffffff;
  border-radius: 14px;
  padding: 28px 22px 26px;
  border: 1px solid #e5e7eb;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Animated gradient strip */
.framework-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 6px;
  background: var(--grad);
  animation: gradientMove 6s linear infinite;
}

@keyframes gradientMove {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

/* Hover glow */
.framework-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 20px 40px rgba(0,0,0,0.08),
    0 0 0 1px rgba(34,197,94,0.15);
}

/* HEADINGS */
.framework-card h3 {
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 22px;
  letter-spacing: 0.4px;
  color: #0f172a;
}

/* INNER CONTENT BOX */
.framework-card ul {
  list-style: none;
  padding: 14px 14px;
  margin: 0;
  background: linear-gradient(
    180deg,
    rgba(37,99,235,0.04),
    rgba(34,197,94,0.03)
  );
  border-radius: 10px;
}

/* LIST ITEMS */
.framework-card ul li {
  font-size: 14px;
  font-weight: 500;
  color: #1f2937;
  padding: 12px 12px 12px 14px;
  margin-bottom: 10px;
  background: #ffffff;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

/* LEFT ACCENT BAR */
.framework-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10%;
  bottom: 10%;
  width: 4px;
  border-radius: 4px;
  background: var(--grad);
}

.framework-card ul li:last-child {
  margin-bottom: 0;
}

/* FLOW ARROWS */
.framework-card:not(:last-child)::after {
  content: "➜";
  position: absolute;
  right: -32px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: arrowPulse 1.8s infinite ease-in-out;
}

@keyframes arrowPulse {
  0%, 100% {
    opacity: 0.4;
    transform: translateY(-50%) translateX(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-50%) translateX(6px);
  }
}
@media (max-width: 992px) {

  .framework-flow {
    flex-direction: column;
    gap: 18px;
  }

  .framework-card {
    padding: 22px;
  }

  .framework-card::after {
    display: none;
  }

  .framework-card h3 {
    cursor: pointer;
    margin-bottom: 0;
    position: relative;
  }

  .framework-card h3::after {
    content: "+";
    position: absolute;
    right: 0;
    font-size: 22px;
    font-weight: 700;
    color: #2563eb;
  }

  .framework-card.active h3::after {
    content: "−";
  }

  .framework-card ul {
    display: none;
    margin-top: 18px;
  }

  .framework-card.active ul {
    display: block;
  }
}
/* ========= CLIENTS WE SERVE — HARD OVERRIDE ========= */

.clients-section {
  width: 100%;
  padding: 100px 0 !important;
  background: #ffffff !important;
}

.clients-inner {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 8% !important;
  text-align: center !important;
}

/* CENTER FORCE */
.clients-box-wrapper {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
}

/* BOX FORCE */
.clients-box {
  max-width: 900px !important;
  width: 100% !important;
  padding: 35px !important;
  background: #f8fafc !important;
  border-radius: 22px !important;
  box-shadow: 0 25px 50px rgba(0,0,0,0.08) !important;
}

/* IMAGE */
.clients-image {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  border-radius: 14px !important;
}
