/* ===============================
   PRO SMART BLUE SYSTEM
================================ */
:root{
  --blue-1:#38bdf8;
  --blue-2:#2563eb;
  --blue-3:#1e40af;

  --dark:#0f172a;
  --text:#334155;
  --muted:#64748b;

  --card-bg:rgba(255,255,255,.92);
  --border:rgba(148,163,184,.18);

  --radius-xl:26px;
  --radius-lg:20px;

  --shadow-sm:0 10px 25px rgba(15,23,42,.08);
  --shadow-lg:0 25px 60px rgba(37,99,235,.18);

  --ease:cubic-bezier(.16,1,.3,1);
}

/* ===============================
   GLOBAL + PAGE GRADIENT
================================ */
body{
  margin:0;
  font-family:'Inter','Poppins',system-ui,sans-serif;
  color:var(--text);
  overflow-x:hidden;

  background:
    radial-gradient(1000px 350px at 80% -15%,rgba(56,189,248,.22),transparent 60%),
    radial-gradient(700px 280px at 15% 25%,rgba(37,99,235,.18),transparent 55%),
    linear-gradient(180deg,#f9fbff 0%,#eef3fa 45%,#e7edf6 100%);
}

/* ===============================
   ABOUT SECTION
================================ */
/* --- Base Variables (Ensure these exist) --- */
:root {
  --radius-xl: 26px;
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  --shadow-sm: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --blue-1: #00d2ff;
  --blue-2: #3a7bd5;
  --dark: #1a1a2e;
  --muted: #64748b;
  --border: #e2e8f0;
  --card-bg: #ffffff;
}

.about-section {
  padding: 110px 5%;
  max-width: 1280px;
  margin: auto;
}

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

/* ===============================
   IMAGE STACK
================================ */
.image-stack {
  position: relative;
  display: flex;
  justify-content: center;
}

.main-img {
  width: 85%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  transition: transform .6s var(--ease);
  z-index: 1;
}

.image-stack:hover .main-img {
  transform: translateY(-12px) scale(1.02);
}

.floating-badge {
  position: absolute;
  bottom: -20px;
  right: 5%;
  background: linear-gradient(135deg, var(--blue-1), var(--blue-2));
  color: #fff;
  padding: 22px 28px;
  border-radius: 18px;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(37, 99, 235, .35);
  z-index: 2;
  text-align: center;
}

/* ===============================
   CONTENT
================================ */
.content h4 {
  color: var(--blue-2);
  font-size: .85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.content h2 {
  font-size: 3rem;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 22px;
}

.content p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 38px;
}

/* FEATURES */
    .features {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 18px;
    }

    .feature-box {
      background: var(--card-bg);
      padding: 20px 22px;
      border-radius: 14px;
      border: 1px solid var(--border);
      transition: all .45s var(--ease);
      backdrop-filter:blur(14px);
      position:relative;
      overflow:hidden;
    }

    .feature-box::before{
      content:"";
      position:absolute;
      inset:-60%;
      background:radial-gradient(circle at 0 0,rgba(56,189,248,.2),transparent 60%);
      opacity:0;
      transform:translate3d(-40px,40px,0);
      transition:opacity .45s var(--ease),transform .45s var(--ease);
    }

    .feature-box:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-sm);
      border-color: rgba(37, 99, 235, .35);
    }

    .feature-box:hover::before{
      opacity:1;
      transform:translate3d(0,0,0);
    }

    .feature-box h5{
      margin:0 0 6px;
      font-size:1rem;
      color:var(--dark);
    }

    .feature-box p{
      margin:0;
      font-size:.9rem;
      color:var(--muted);
      line-height:1.6;
    }

/* ===============================
   CONTENT CARDS
================================ */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 80px;
}

/* ... existing card styles ... */
.card {
  position: relative;
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--border);
  transition: all .55s var(--ease);
  overflow: hidden;
}

/* ===============================
   MOBILE & TABLET RESPONSIVENESS
================================ */
@media (max-width: 1024px) {
  .grid-container {
    gap: 40px;
  }
  .content h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 60px 5%;
  }

  .grid-container {
    grid-template-columns: 1fr; /* Stack image and text */
    text-align: center;
    gap: 60px;
  }

  .image-stack {
    order: 1; /* Keep image on top on mobile */
  }

  .main-img {
    width: 100%; /* Take full width on mobile */
  }

  .floating-badge {
    right: 50%;
    transform: translateX(50%); /* Center badge on mobile */
    bottom: -15px;
    padding: 15px 20px;
    font-size: 0.9rem;
    width: 80%;
  }

  .features {
    grid-template-columns: 1fr; /* Stack features */
    text-align: left;
  }

  .content h2 {
    font-size: 2.2rem;
  }

  .content-grid {
    grid-template-columns: 1fr; /* Stack cards */
    margin-top: 50px;
  }
}
/*========Value========*/
/* ===============================
   CORE VALUES SECTION
================================ */
.values-section{
  padding:120px 5%;
}

.values-container{
  max-width:1280px;
  margin:auto;
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:80px;
  align-items:center;
}

/* LEFT */
.values-eyebrow{
  font-size:.8rem;
  letter-spacing:2px;
  text-transform:uppercase;
  color:var(--blue-2);
  font-weight:600;
}

.values-content h2{
  font-size:3rem;
  line-height:1.1;
  margin:14px 0 20px;
  color:var(--dark);
}

.values-content h2 span{
  background:linear-gradient(135deg,var(--blue-2),var(--blue-1));
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.values-intro{
  font-size:1.05rem;
  color:var(--muted);
  line-height:1.7;
  margin-bottom:40px;
}

/* VALUES LIST */
.values-list{
  display:grid;
  gap:18px;
}

.value-item{
  background:var(--card-bg);
  border:1px solid var(--border);
  border-radius:18px;
  padding:22px 26px;
  transition:all .45s var(--ease);
}

.value-item:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow-sm);
  border-color:rgba(37,99,235,.35);
}

.value-item h4{
  margin:0 0 6px;
  font-size:1.15rem;
  color:var(--blue-2);
}

.value-item p{
  margin:0;
  font-size:.95rem;
  color:var(--muted);
  line-height:1.6;
}

/* CTA */
.values-cta{
  display:inline-block;
  margin-top:36px;
  font-weight:700;
  color:var(--blue-2);
  text-decoration:none;
  position:relative;
}

.values-cta::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:100%;
  height:2px;
  background:linear-gradient(135deg,var(--blue-2),var(--blue-1));
  transform:scaleX(0);
  transform-origin:left;
  transition:.4s var(--ease);
}

.values-cta:hover::after{
  transform:scaleX(1);
}

/* RIGHT IMAGE */
.values-image{
  position:relative;
  border-radius:26px;
  overflow:hidden;
  box-shadow:var(--shadow-lg);
}

.values-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .6s var(--ease);
}

.values-image::after{
  content:"";
  position:absolute;
  inset:0;
  
}

.values-image:hover img{
  transform:scale(1.06);
}

/* ===============================
   RESPONSIVE
================================ */
@media(max-width:960px){
  .values-container{
    grid-template-columns:1fr;
  }

  .values-content h2{
    font-size:2.4rem;
  }

  .values-image{
    margin-top:50px;
  }
}
/* ===============================
   BEFORE / AFTER SECTION
================================ */
:root {
  --pos: 50%;
  --blue-1: #00d2ff;
  --blue-2: #3a7bd5;
  --dark: #1a1a2e;
  --muted: #64748b;
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.ba-section { padding: 100px 5%; background: #ffffff; }
.ba-container { max-width: 1280px; margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

/* Content Styling */
.ba-eyebrow { font-size: .85rem; letter-spacing: 2px; text-transform: uppercase; color: var(--blue-2); font-weight: 700; display: block; margin-bottom: 10px; }
.ba-content h2 { font-size: 3rem; line-height: 1.2; margin-bottom: 22px; color: var(--dark); }
.ba-content h2 span { background: linear-gradient(135deg, var(--blue-2), var(--blue-1)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.ba-content p { font-size: 1.1rem; color: var(--muted); line-height: 1.8; margin-bottom: 30px; }
.ba-points { list-style: none; padding: 0; }
.ba-points li { margin-bottom: 12px; font-weight: 500; color: var(--dark); display: flex; align-items: center; }

/* Slider Styling */
.ba-wrapper { position: relative; user-select: none; touch-action: none; }
.ba-slider { position: relative; width: 100%; height: 400px; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); cursor: ew-resize; background: #eee; }
.ba-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }

.ba-img.before { z-index: 1; }
.ba-img.after { 
    z-index: 2; 
    /* This clips the image from the right side */
    clip-path: inset(0 0 0 var(--pos)); 
}

.ba-handle { 
    position: absolute; top: 0; left: var(--pos); 
    height: 100%; width: 4px; background: #fff; 
    cursor: ew-resize; transform: translateX(-50%); 
    z-index: 10; box-shadow: 0 0 10px rgba(0,0,0,0.2); 
}

.ba-handle span { 
    position: absolute; top: 50%; left: 50%; 
    transform: translate(-50%, -50%); width: 50px; height: 50px; 
    border-radius: 50%; background: white; display: flex; 
    align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(0,0,0,0.2); 
}

.ba-handle span::after { 
    content: "◂ ▸"; width: 40px; height: 40px; 
    background: linear-gradient(135deg, var(--blue-1), var(--blue-2)); 
    border-radius: 50%; display: flex; align-items: center; 
    justify-content: center; color: white; font-weight: bold; font-size: 14px; 
}

@media(max-width:960px){
    .ba-container { grid-template-columns: 1fr; gap: 40px; }
    .ba-slider { height: 320px; }
}
/* ===============================
   STATS – SMART GLASS
================================ */
.stats-section{
  margin-top:120px;
  padding:100px 5%;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:26px;
}

.stat-card{
  
  border-radius:22px;
  padding:42px 26px;
  border:1px solid var(--border);
  text-align:center;
  transition:all .45s var(--ease);
}

.stat-card:hover{
  transform:translateY(-10px);
  box-shadow:var(--shadow-sm);
}

.stat-icon-wrapper{
  width:70px;
  height:70px;
  margin:0 auto 22px;
  border-radius:18px;
  background:rgba(56,189,248,.12);
  color:var(--blue-2);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:2rem;
}

.stat-number{
  font-size:2rem;
  font-weight:800;
  background:linear-gradient(135deg,var(--blue-3),var(--blue-1));
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.stat-label{
  margin:8px 0 14px;
  font-size:.75rem;
  letter-spacing:1.8px;
  text-transform:uppercase;
  color:var(--blue-2);
}

.stat-desc{
  font-size:.95rem;
  color:var(--muted);
  line-height:1.6;
}

/* ===============================
   IMAGE SLIDER
================================ */
.image-slider-section{
  padding:70px 5%;
}

.image-slider{
  position:relative;
  max-width:1280px;
  margin:auto;
  overflow:hidden;
  border-radius:26px;
  box-shadow:var(--shadow-lg);
}

.slider-track{
  display:flex;
  transition:transform .7s var(--ease);
}

.slide{
  min-width:100%;
  height:420px;
  position:relative;
}

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

/* SOFT OVERLAY */
.slide::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    135deg,
    rgba(37,99,235,.25),
    rgba(56,189,248,.15)
  );
}

/* CONTROLS */
.slider-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:48px;
  height:48px;
  border-radius:50%;
  border:none;
  background:rgba(255,255,255,.85);
  backdrop-filter:blur(10px);
  font-size:26px;
  font-weight:700;
  color:var(--blue-2);
  cursor:pointer;
  transition:.3s var(--ease);
}

.slider-btn:hover{
  background:#fff;
  box-shadow:0 10px 25px rgba(37,99,235,.25);
}

.slider-btn.prev{ left:18px; }
.slider-btn.next{ right:18px; }

/* MOBILE */
@media(max-width:768px){
  .slide{
    height:300px;
  }

  .slider-btn{
    width:42px;
    height:42px;
  }
}


/* ===============================
   GLOBAL SECTION SPACING FIX
   (REDUCES HUGE GAPS)
================================ */

/* Main vertical rhythm */
.about-section,
.values-section,
.ba-section,
.stats-section{
  padding:80px 5% !important;
  margin-top:0 !important;
}

/* Reduce inner spacing */
.content-grid{
  margin-top:50px !important;
}

.image-showcase{
  margin-top:50px !important;
}

/* Tighten stats block */
.stats-section{
  padding:70px 5% !important;
}

/* Mobile even tighter */
@media(max-width:768px){
  .about-section,
  .values-section,
  .ba-section,
  .stats-section{
    padding:60px 5% !important;
  }

  .content-grid,
  .image-showcase{
    margin-top:40px !important;
  }
}


