/* ======================================================
   V3 LAYOUT SYSTEM (ENHANCED CONTACT UI FIX)
   SAFE: ALIGNMENT + SPACING ONLY (NO V2 OVERRIDES)
====================================================== */


/* =========================
   GLOBAL CONTAINER CONTROL
========================= */

.ai-v2 .container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
}


/* =========================
   PAGE BASE SPACING (FIXED FLOW)
========================= */

.ai-v2 main {
  display: flex;
  flex-direction: column;
  gap: 60px;
}


/* =========================
   SECTION TYPOGRAPHY HARMONY
========================= */

.ai-v2 h2 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
     font-family: 'STC Forward', 'STC', sans-serif;
   
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 18px;
}

.ai-v2 p {
  font-size: 15.5px;
  line-height: 1.7;
  opacity: 0.9;
  max-width: 720px;
  margin: 0 auto;
}


/* =========================
   HERO / INTRO CLEAN FIX
========================= */

.ai-v2 #contact-intro {
  padding-top: 120px;
  text-align: center;
}

.ai-v2 .section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.ai-v2 .approach-text {
  max-width: 820px;
}


/* =========================
   CONTACT GRID (MAJOR FIX)
   - balanced spacing
   - modern card layout
========================= */

.ai-v2 .ai-about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 0;
}

/* tablet */
@media (max-width: 992px) {
  .ai-v2 .ai-about-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

/* mobile */
@media (max-width: 600px) {
  .ai-v2 .ai-about-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}


/* =========================
   CONTACT CARDS (CLEAN UI FIX)
========================= */

.ai-v2 .ai-about-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 26px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}

/* hover polish (safe visual only) */
.ai-v2 .ai-about-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 31, 212, 0.35);
  box-shadow: 0 12px 26px rgba(0,0,0,0.08);
}


/* =========================
   ICON FIX (CENTERED + CLEAN)
========================= */

.ai-v2 .card-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 6px;
}

.ai-v2 .card-icon img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}


/* =========================
   CARD TEXT STRUCTURE
========================= */

.ai-v2 .ai-about-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.ai-v2 .ai-about-card p {
  font-size: 14.5px;
  margin: 0;
  opacity: 0.85;
}


/* =========================
   CTA SECTION FIX
========================= */

.ai-v2 .ai-cta-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  text-align: center;
}

/* mobile CTA stacking */
@media (max-width: 768px) {
  .ai-v2 .ai-cta-wrap {
    flex-direction: column;
    width: 100%;
  }
}


/* =========================
   BUTTON ALIGNMENT (SAFE)
========================= */

.ai-v2 .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 12px 18px;
  font-weight: 500;
}

/* mobile full width */
@media (max-width: 768px) {
  .ai-v2 .btn {
    width: 100%;
    max-width: 340px;
  }
}


/* =========================
   PRELOADER CENTER FIX
========================= */

.ai-v2 .preloader {
  display: flex;
  justify-content: center;
  align-items: center;
}


/* =========================
   MODAL CENTER IMPROVEMENT
========================= */

.ai-v2 .ai-modal-content {
  margin: 6% auto;
  border-radius: 12px;
  padding: 24px;
}


/* =========================
   FOOTER (SAFE BALANCE ONLY)
   DO NOT BREAK STRUCTURE
========================= */

.ai-v2 .footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  text-align: center;
}

@media (max-width: 768px) {
  .ai-v2 .footer-inner {
    flex-direction: column;
  }
}


/* =========================
   TEXT CONSISTENCY FIX
========================= */

.ai-v2 h2,
.ai-v2 p {
  text-align: center;
}

.ai-v2 .ai-about-card p {
  text-align: center;
}

/* =========================
   PARAGRAPH GAP FIX (CLEAN RHYTHM)
========================= */

.ai-v2 p {
  margin: 0;
}

/* restore controlled spacing ONLY where needed */
.ai-v2 .section p {
  margin-top: 10px;
  margin-bottom: -10px;
}

/* contact cards text spacing fix */
.ai-v2 .ai-about-card p {
  margin-top: 6px;
  margin-bottom: -10px;
}

/* intro paragraph breathing space */
.ai-v2 #contact-intro p {
  margin-top: 12px;
  max-width: 820px;
}
/* ======================================================
   V3 ABOUT PAGE LAYOUT FIX (SAFE OVERRIDE ONLY)
   PURPOSE: ALIGNMENT + GRID + SPACING ONLY
====================================================== */

/* =========================
   HERO CENTER STRUCTURE
========================= */

.ai-v2 .ai-about-wrap {
  max-width: 1200px;
  margin: 0 auto;
}

/* prevent stretched intro text */
.ai-v2 .ai-about-head {
  margin-bottom: 40px;
}

.ai-v2 .ai-about-title {
  margin-bottom: 12px;
}

/* =========================
   PARAGRAPH RHYTHM FIX
========================= */

.ai-v2 .ai-about-sub {
  margin: 0 auto;
  max-width: 780px;
  line-height: 1.6;
}

/* =========================
   GRID CONTROL (ABOUT CARDS)
========================= */

.ai-v2 .ai-about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
}

/* tablet */
@media (max-width: 992px) {
  .ai-v2 .ai-about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* mobile */
@media (max-width: 640px) {
  .ai-v2 .ai-about-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   CARD ALIGNMENT FIX
========================= */

.ai-v2 .ai-about-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
  height: 100%;
}

/* spacing between title + text inside cards */
.ai-v2 .ai-about-card h3 {
  margin-bottom: 10px;
}

.ai-v2 .ai-about-card p {
  margin: 0;
  line-height: 1.6;
}

/* =========================
   VALUES BLOCK (IMPORTANT FIX)
========================= */

.ai-v2 .ai-values-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* better spacing for values grid */
.ai-v2 .ai-values-grid {
  margin-top: 12px;
}

/* make value items visually aligned */
.ai-v2 .ai-value {
  justify-content: flex-start;
  border-radius: 6px;
}

/* =========================
   CTA ALIGNMENT (ABOUT PAGE)
========================= */

.ai-v2 .ai-cta-wrap {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .ai-v2 .ai-cta-wrap {
    flex-direction: column;
    align-items: center;
  }
}

/* =========================
   BUTTON FIX (NO FUNCTION CHANGE)
========================= */

.ai-v2 .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

/* =========================
   FOOTER STABILITY (NO BREAK)
========================= */

.ai-v2 .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .ai-v2 .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* =========================
   MODAL CENTER FIX
========================= */

.ai-v2 .ai-modal-content {
  margin: 8% auto;
}


/* =========================
   ABOUT GRID → CENTERED SINGLE COLUMN
   (LAYOUT ONLY - NO TYPOGRAPHY OVERRIDES)
========================= */

.ai-v2 .ai-about-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  width: 100%;
}

/* CARD WIDTH CONTROL ONLY */
.ai-v2 .ai-about-card {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
}

/* =========================
   ICON POSITION ONLY (NO STYLE CHANGE)
========================= */

.ai-v2 .card-icon {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* =========================
   VALUES GRID ONLY FIX (NO TEXT CHANGES)
========================= */

.ai-v2 .ai-values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

/* =========================
   RESPONSIVE CONTROL
========================= */

@media (max-width: 768px) {
  .ai-v2 .ai-about-card {
    max-width: 100%;
  }

  .ai-v2 .ai-values-grid {
    grid-template-columns: 1fr;
  }
}

.footer-left{
    display: flex;
    align-items: center;
    height: 100%;
}

.footer-left .footer-mark{
    height: 70px;      /* increase logo size */
    width: auto;
    object-fit: contain;
    display: block;
}
.footer-container{
    min-height: 90px;
    padding: 20px 0;
}




















/* GLOBAL FONT */
body{
    font-family: 'Inter', sans-serif;
    color: #d6dbe4;
    line-height: 1.7;
    font-size: 16px;
    background: #0b1120;
}

/* PARAGRAPHS */
p{
    font-size: 1.05rem;
   

 margin-top: 10px;
    margin-bottom: 10px;
    line-height: 1.8;
}

/* HEADINGS */
h1,h2,h3,h4,h5,h6{
    font-family: 'Poppins', sans-serif;
   
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 18px;
}

/* LINKS */
a{
    color: #60a5fa;
    text-decoration: none;
}

/* SECTION SPACING */
section{
    padding-top: 80px;
    padding-bottom: 80px;
}

#services p,
.Services p,
.approach-text p{
    line-height: 1.8;
    margin: 0 0 12px 0;
}
.approach-text p{
    text-align: justify;
    text-justify: inter-word;
}




footer.footer{
    background-color: #001fd4 !important;
}

.cursor-ring{
    width: 20px;
    height: 20px;
}

.logo-slider{
    overflow: hidden;
    position: relative;
    height: 180px; /* important for vertical movement */
}

.logo-track{
    display: flex;
    flex-direction: column; /* 🔥 vertical stack */
    gap: 25px;
    animation: scrollLogosVertical 8s linear infinite; /* faster loop */
}

/* Each logo card */
.logo-card{
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Logo image */
.logo-card img{
    height: 60px;
    width: auto;
    object-fit: contain;

    /* ❌ remove grayscale (this was your issue) */
    filter: none;

    opacity: 0.9;
    transition: 0.3s ease;
}

.logo-card img:hover{
    opacity: 1;
    transform: scale(1.05);
}

/* Vertical loop animation */
@keyframes scrollLogosVertical{
    0%{
        transform: translateY(0);
    }
    100%{
        transform: translateY(-50%);
    }
}
#customers{
    padding-top: 20px;
    padding-bottom: 120px;
}

.logo-slider{
    overflow: hidden;
    position: relative;
    height: 300px;   /* 🔥 increase this value */
}
.insights-grid{
    margin-top: 80px;   /* adjust value */
}
.services-slider{
    margin-top: 60px;   /* adjust as needed */
}

.how-value-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.hero{
    position: relative;
    overflow: hidden;
}

.hero-video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5); /* adjust darkness */
    z-index: 1;
}

.hero-content{
    position: relative;
    z-index: 2;   /* 🔥 THIS is what makes text visible */
    text-align: center;
}

.hero-content h1,
.hero-content h3{
    color: #ffffff;
}

.hero-content h1,
.hero-content h3{
    color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block;
    position: relative;
}
.value-grid{
    display: grid;
    
    grid-template-columns: repeat(2, 1fr);  /* 🔥 force 2 per row */
    gap: 30px;
        margin-top: 40px;   /* small gap above grid */

}
/* CARD STYLE (same as insights-card) */
.value-card{
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.value-card:hover{
    transform: translateY(-6px);
}

/* IMAGE SIZE CONTROL (IMPORTANT FIX YOU ASKED) */
.value-image{
    width: 100%;
    height: 180px;     /* 🔥 matches insight template */
    overflow: hidden;
}

.value-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;  /* keeps cropping clean */
}

/* CONTENT */
.value-content{
    padding: 18px;
}

.value-content h3{
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #0b1120;
}

.value-content p{
    font-size: 0.95rem;
    line-height: 1.6;
    color: #64748b;
}
@media (max-width: 768px){
    .value-grid{
        grid-template-columns: 1fr; /* 1 per row on mobile */
    }
}

.hero{
    position: relative;
    height: 100vh;          /* 🔥 critical */
    overflow: hidden;
    display: flex;
    align-items: center;    /* vertical center */
    justify-content: center;/* horizontal center */
}

.hero-video{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

p {
  text-align: justify !important;
  text-justify: inter-word;
}