/* ======================================================
   AI V3 DESIGN SYSTEM (PRODUCTION-GRADE UI FRAMEWORK)
   Scoped Safe: .ai-v2
====================================================== */

.ai-v2 {

  /* =========================
     BRAND TOKENS
  ========================== */
  --ai-primary: #1F5A89;
  --ai-secondary: #1FA3B1;

  /* =========================
     SURFACE SYSTEM
  ========================== */
  --ai-bg: #F5F7FA;
  --ai-surface: #FFFFFF;
  --ai-border: #E1E8ED;

  /* =========================
     TYPOGRAPHY
  ========================== */
  --ai-text: #2E3A46;
  --ai-muted: #6B7C93;

  /* =========================
     SHAPE SYSTEM
  ========================== */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  /* =========================
     SHADOW SYSTEM
  ========================== */
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-md: 0 10px 25px rgba(0,0,0,0.08);
  --shadow-lg: 0 18px 40px rgba(0,0,0,0.12);

  /* =========================
     MOTION SYSTEM
  ========================== */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ======================================================
   GLOBAL FOUNDATION
====================================================== */

.ai-v2 {
  background: var(--ai-bg);
  color: var(--ai-text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.ai-v2 * {
  box-sizing: border-box;
}

/* ======================================================
   TYPOGRAPHY SYSTEM
====================================================== */

.ai-v2 h1 {
  font-size: 42px;
  font-weight: 700;
  color: var(--ai-primary);
  letter-spacing: -0.03em;
}

.ai-v2 h2 {
  font-size: 32px;
  font-weight: 600;
  color: var(--ai-primary);
}

.ai-v2 h3 {
  font-size: 22px;
  font-weight: 600;
}

.ai-v2 p {
  color: var(--ai-muted);
  line-height: 1.7;
  font-size: 15.5px;
}

/* ======================================================
   CARD SYSTEM
====================================================== */

.ai-v2 .ai-card {
  background: var(--ai-surface);
  border: 1px solid var(--ai-border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);

  transition: transform 0.35s var(--ease-out),
              box-shadow 0.35s var(--ease-out);

  will-change: transform;
}

.ai-v2 .ai-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* ======================================================
   VALUE TAG SYSTEM
====================================================== */

.ai-v2 .ai-value {
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  transition: transform 0.25s var(--ease-soft);
}

.ai-v2 .ai-value:hover {
  transform: scale(1.06);
}

/* Semantic Colors */
.ai-v2 .v-clarity { background: var(--ai-secondary); }
.ai-v2 .v-integrity { background: #8CC63F; }
.ai-v2 .v-resilience { background: #F4C542; color: #2E3A46; }
.ai-v2 .v-partnership { background: #8E3A8E; }
.ai-v2 .v-results { background: var(--ai-primary); }

/* ======================================================
   BUTTON SYSTEM
====================================================== */

.ai-v2 .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 52px;
  padding: 0 28px;

  font-size: 15px;
  font-weight: 600;

  border-radius: var(--radius-sm);
  text-decoration: none;

  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

/* PRIMARY */
.ai-v2 .btn-primary {
  background: var(--ai-primary);
  color: #fff;
}

.ai-v2 .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* SECONDARY */
.ai-v2 .btn-secondary {
  border: 2px solid var(--ai-secondary);
  color: var(--ai-secondary);
  background: transparent;
}

.ai-v2 .btn-secondary:hover {
  background: var(--ai-secondary);
  color: #fff;
  transform: translateY(-3px);
}

/* GHOST */
.ai-v2 .btn-ghost {
  color: var(--ai-primary);
  background: transparent;
}

.ai-v2 .btn-ghost:hover {
  background: rgba(31, 90, 137, 0.08);
}

/* ======================================================
   MOTION SYSTEM
====================================================== */

.ai-v2 .fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.7s var(--ease-out) forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ai-v2 .delay-1 { animation-delay: 0.1s; }
.ai-v2 .delay-2 { animation-delay: 0.2s; }
.ai-v2 .delay-3 { animation-delay: 0.3s; }

/* ======================================================
   ACCESSIBILITY
====================================================== */

.ai-v2 :focus-visible {
  outline: 2px solid var(--ai-secondary);
  outline-offset: 3px;
}

/* ======================================================
   LAYOUT HELPERS
====================================================== */

.ai-v2 .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.ai-v2 .section {
  padding: 80px 0;
}

/* ======================================================
   RESPONSIVE
====================================================== */

@media (max-width: 768px) {

  .ai-v2 h1 {
    font-size: 30px;
  }

  .ai-v2 h2 {
    font-size: 24px;
  }

  .ai-v2 .btn {
    width: 100%;
  }
}

/* ======================================================
   ABOUT SECTION FIXES (V2 UPGRADE PATCH)
====================================================== */

/* =========================
   GRID SPACING FIX
========================= */

.ai-v2 .ai-about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

/* =========================
   UNIFIED CARD HOVER (VISION / MISSION / VALUES)
========================= */

.ai-v2 .ai-about-card {
  border-radius: 14px;
  transition: transform 0.35s var(--ease-out),
              box-shadow 0.35s var(--ease-out);
  will-change: transform;
}

.ai-v2 .ai-about-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* =========================
   CORE VALUES FIX (SIZE + SPACING)
========================= */

.ai-v2 .ai-values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

/* FORCE equal visual size */
.ai-v2 .ai-value {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-height: 44px;

  padding: 10px 12px;

  font-size: 12px;
  font-weight: 600;

  border-radius: 10px; /* NOT pill anymore */

  color: #fff;

  text-align: center;
  word-break: break-word;

  transition: transform 0.2s var(--ease-soft),
              box-shadow 0.2s var(--ease-soft);
}
.ai-v2 .ai-value:hover {
  transform: scale(1.06);
}

/* =========================
   CTA CENTER ALIGNMENT FIX
========================= */

.ai-v2 .ai-cta-wrap {
  display: flex;
  justify-content: center;   /* center horizontally */
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  text-align: center;
}

/* =========================
   CTA RESPONSIVE FIX
========================= */

@media (max-width: 768px) {
  .ai-v2 .ai-cta-wrap {
    flex-direction: column;
  }

  .ai-v2 .btn {
    width: 100%;
    max-width: 320px;
  }
}

.ai-v2 .footer a,
.ai-v2 .footer p,
.ai-v2 .footer h4 {
  color: #ffffff;
}

.ai-v2 .footer img {
  filter: brightness(0) invert(1);
}

.ai-v2 .footer {
  background: var(--ai-secondary);
  color: #ffffff;
  padding: 60px 0;
}

/* ======================================================
   CORE VALUES - CONSULTING TILE GRID
====================================================== */

.ai-v2 .ai-values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

/* TILE STYLE */
.ai-v2 .ai-value {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 14px 10px;
  min-height: 70px;

  border-radius: 12px;

  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;

  transition: transform 0.25s var(--ease-soft),
              box-shadow 0.25s var(--ease-soft);
}

/* ICON STYLE */
.ai-v2 .ai-icon {
  font-size: 18px;
  margin-bottom: 6px;
  line-height: 1;
}

/* HOVER = CONSULTING CARD LIFT */
.ai-v2 .ai-value:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* COLORS (unchanged but now more premium feel) */
.ai-v2 .v-clarity { background: var(--ai-secondary); }
.ai-v2 .v-integrity { background: #8CC63F; }
.ai-v2 .v-resilience { background: #F4C542; color: #2E3A46; }
.ai-v2 .v-partnership { background: #8E3A8E; }
.ai-v2 .v-results { background: var(--ai-primary); }

/* MOBILE */
@media (max-width: 768px) {
  .ai-v2 .ai-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ======================================================
   DROPDOWN MENU - MATCH FOOTER COLOR THEME
====================================================== */

.ai-v2 .dropdown-menu {
  background: var(--ai-secondary); /* same as footer */
  border-radius: 12px;
  padding: 12px 0;

  box-shadow: var(--shadow-lg);
  border: none;
}
.ai-v2 .dropdown-link {
  color: #ffffff;
  display: block;
  padding: 10px 18px;
  text-decoration: none;

  transition: background 0.25s var(--ease-soft);
}

.ai-v2 .dropdown-link:hover {
  background: rgba(255, 255, 255, 0.12);
}
.ai-v2 .dropdown-menu .divider {
  height: 1px;
  margin: 8px 12px;
  background: rgba(255, 255, 255, 0.25);
}
.ai-v2 .lang-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;

  padding: 6px 10px;
  border-radius: 6px;

  cursor: pointer;
}

.ai-v2 .lang-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}


/* ======================================================
   FOOTER ALIGNMENT SYSTEM (V2 CONSISTENCY)
====================================================== */

.ai-v2 .ai-footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* ======================================================
   CTA BLOCK - WHITE EXECUTIVE STYLE
====================================================== */

.ai-v2 .cta-block {
  background: #ffffff;   /* force white background */
  border-top: 1px solid var(--ai-border);
  border-bottom: 1px solid var(--ai-border);
}


/* ======================================================
   WHY CHOOSE US - CONSULTING TILE GRID
====================================================== */

.ai-v2 .grid.cards-2 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ai-v2 .value-card {
  background: var(--ai-surface);
  border: 1px solid var(--ai-border);
  border-radius: 12px;

  padding: 18px 16px;
  min-height: 70px;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  font-size: 13px;
  font-weight: 500;
  color: var(--ai-text);

  transition: transform 0.25s var(--ease-soft),
              box-shadow 0.25s var(--ease-soft);
}
/* ================================
   VALUE CARD TEXT STYLE SYSTEM
================================ */

/* ================================
   MAIN LAYOUT ALIGNMENT FIX
================================ */

/* ================================
   CONTACT CARD ICON STYLE
================================ */

.card-icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 10px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* optional polish */
.ai-about-card.ai-card {
  text-align: center;
}



.ai-cta-wrap {
  flex-direction: column;
}

.ai-cta-wrap .btn {
  margin: 0 auto;
}
.ai-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* page hero grid center fix */
.page-hero {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* ================================
   CONTACT GRID - AUTO ADJUST LAYOUT
================================ */

.ai-about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  align-items: stretch;
}

/* make all cards equal height */
.ai-about-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* CTA alignment fix */
.ai-cta-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  text-align: center;
  gap: 16px;
}




/* ================================
   VALUE CARD TEXT SYSTEM
================================ */

.vc-text {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;   /* reduced spacing */
  margin: 0;
}

/* DEFAULT: assume dark text on light cards */
.value-card .vc-text {
  color: #ffffff;
}

/* If card is dark (you can control with class) */
.value-card.dark .vc-text {
  color: #ffffff;
}



.ai-v2 .value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
  .ai-v2 .grid.cards-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* ======================================================
   WHY CHOOSE US → CORE VALUES STYLE TILE SYSTEM
====================================================== */

/* GRID */
.ai-v2 .grid.cards-2 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

/* TILE BASE */
.ai-v2 .value-card {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  padding: 14px 12px;
  min-height: 72px;

  border-radius: 12px;

  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;

  color: #fff;

  transition: transform 0.25s var(--ease-soft),
              box-shadow 0.25s var(--ease-soft);
}

/* CORE VALUE STYLE COLORS */
.ai-v2 .grid.cards-2 .value-card:nth-child(1) {
  background: var(--ai-secondary); /* teal */
}

.ai-v2 .grid.cards-2 .value-card:nth-child(2) {
  background: #8CC63F; /* green */
}

.ai-v2 .grid.cards-2 .value-card:nth-child(3) {
  background: #F4C542; /* yellow */
  color: #2E3A46;
}

.ai-v2 .grid.cards-2 .value-card:nth-child(4) {
  background: #8E3A8E; /* purple */
}

.ai-v2 .grid.cards-2 .value-card:nth-child(5) {
  background: var(--ai-primary); /* blue */
}

.ai-v2 .grid.cards-2 .value-card:nth-child(6) {
  background: #4CC3C7; /* turquoise */
}

/* HOVER EFFECT */
.ai-v2 .value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .ai-v2 .grid.cards-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ======================================================
   WHATSAPP ICON ONLY (NO FLOATING CIRCLE STYLE)
====================================================== */
/* ======================================================
   WHATSAPP ICON - LEFT SIDE (CLEAN, ICON ONLY)
====================================================== */

.wa-float {
  position: fixed;
  bottom: 20px;
  left: 20px;   /* moved to left */

  width: auto;
  height: auto;

  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;

  z-index: 9999;
}

/* ICON STYLE */
.wa-float img {
  width: 38px;
  height: 38px;
  display: block;

  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}


/* ======================================================
   NEWS PAGE - PREMIUM CONSULTING / EDITORIAL UI SYSTEM
====================================================== */

.page-news .card {
  background: #fff;
  border: 1px solid var(--ai-border);
  border-radius: 14px;

  padding: 28px;
  margin-bottom: 24px;

  box-shadow: 0 6px 18px rgba(0,0,0,0.04);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.page-news .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.08);
}

/* TITLE HIERARCHY */
.page-news .card h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ai-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

/* META TEXT */
.page-news .card .muted {
  font-size: 12px;
  color: var(--ai-muted);
  margin-bottom: 14px;
}

/* BODY TEXT */
.page-news .card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ai-text);
}

/* IMAGE GRID - PREMIUM LAYOUT */
.page-news .card-image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;

  margin-top: 18px;
}

.page-news .card-image {
  width: 100%;
  height: 110px;
  object-fit: cover;

  border-radius: 10px;
  transition: transform 0.3s ease;
}

.page-news .card-image:hover {
  transform: scale(1.03);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .page-news .card {
    padding: 20px;
  }

  .page-news .card-image-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ======================================================
   FORCE NEWS CARDS BACKGROUND = WHITE (SAFE OVERRIDE)
====================================================== */

.page-news .card {
  background: #ffffff !important;
}

/* ======================================================
   NEWS GRID - CLEAN WHITE SURFACE CONTROL
====================================================== */

.page-news .about-grid {
  background: transparent !important;
}

/* Ensure grid does not tint children */
.page-news .about-grid {
  display: grid;
  gap: 24px;
}

/* Force each card to sit on clean surface */
.page-news .about-grid .card {
  background: #ffffff !important;
  border: 1px solid var(--ai-border);
}
/* ======================================================
   NEWS GRID - CLEAN LAYOUT RESET (PRO FIX)
====================================================== */

.page-news .about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;

  background: transparent !important;
  padding: 0;
  margin: 0;
}

/* Ensure each card is full clean surface */
.page-news .about-grid .card {
  background: #ffffff;
  border: 1px solid var(--ai-border);
  border-radius: 14px;

  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}

/* ======================================================
   NEWS CARD IMAGE GRID - PROFESSIONAL FIX
====================================================== */

.page-news .card-image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;

  margin-top: 18px;
}

/* FORCE CONSISTENT IMAGE BEHAVIOR */
.page-news .card-image {
  width: 100%;
  height: 140px;
  object-fit: cover;

  border-radius: 10px;
  display: block;

  transition: transform 0.25s ease;
}

/* subtle premium hover */
.page-news .card-image:hover {
  transform: scale(1.02);
}

/* ======================================================
   NEWS CARD IMAGE AREA FIX (FOR WHITE GRID LOOK)
====================================================== */

.about-grid .card {
  background: #fff;            /* ensure card is clean white */
}

/* THIS is the container that is showing grey */
.about-grid .card-image-grid {
  background: #fff !important; /* force white background */
  padding: 0;                  /* remove inner gray padding effect */
  margin-top: 16px;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;

  border-radius: 12px;
}

/* image styling for premium clean grid */
.about-grid .card-image-grid img {
  width: 100%;
  height: 160px;
  object-fit: cover;

  border-radius: 10px;
  display: block;

  transition: transform 0.3s ease;
}

.about-grid .card-image-grid img:hover {
  transform: scale(1.03);
}
/* ======================================================
   NEWS CLEAN UI FIX (REMOVE BLUE BORDERS / INK LINES)
====================================================== */

/* remove any inherited border from cards */
.about-grid .card {
  border: none !important;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06); /* soft premium shadow */
}

/* image container clean surface */
.about-grid .card-image-grid {
  background: #fff !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;

  padding: 0;
  margin-top: 16px;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

/* remove any border on images */
.about-grid .card-image-grid img {
  border: none !important;
  outline: none !important;
  box-shadow: none;

  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
}

/* kill any global focus/active blue borders if applied */
.about-grid .card *:focus,
.about-grid .card *:active {
  outline: none !important;
}
/* ======================================================
   NEWS TEXT FIX (BLACK, PREMIUM READABILITY)
====================================================== */

.about-grid .card p {
  color: #1f1f1f !important;   /* solid black/charcoal */
  font-size: 15.5px;
  line-height: 1.75;
  margin-top: 10px;
}

/* specifically override muted class if applied */
.about-grid .card .muted {
  color: #6b6b6b !important;
  font-size: 13.5px;
}

/* remove any accidental link styling inside text */
.about-grid .card p a {
  color: #1f1f1f !important;
  text-decoration: none;
}

/* ======================================================
   PREMIUM FOOTER (CONSISTENT BRAND SYSTEM)
====================================================== */

.footer {
  background: #1F5A89; /* FIXED: consistent brand blue */
  color: #ffffff;
  padding: 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* text clarity */
.footer h4,
.footer p {
  color: #ffffff !important;
}

/* logo alignment */
.footer-mark {
  filter: brightness(0) invert(1);
}

/* social icons */
.footer .social-icons a img {
  filter: brightness(0) invert(1);
  transition: transform 0.25s ease;
}

.footer .social-icons a:hover img {
  transform: translateY(-3px);
}
/* ======================================================
 /* ======================================================
   DROPDOWN MENU (MATCH FOOTER EXACT BLUE)
====================================================== */

.dropdown-menu {
  background: #1F5A89 !important;  /* SAME AS FOOTER */
  border: none !important;
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
  padding: 14px 0;
}

/* menu links */
.dropdown-menu .dropdown-link {
  color: #fff !important;
  font-weight: 500;
  padding: 10px 18px;
  display: block;
  transition: background 0.25s ease, transform 0.2s ease;
}

/* hover */
.dropdown-menu .dropdown-link:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(4px);
}

/* divider */
.dropdown-menu .divider {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: 10px 0;
}

/* language buttons */
.dropdown-menu .lang-btn {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.dropdown-menu .lang-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ======================================================
   CONTACT PAGE - RESTORE PREMIUM CONSISTENT STYLE
====================================================== */

/* page background consistency */
.page-contact {
  background: var(--ai-bg, #F5F7FA);
}

/* grid spacing fix */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* unified card style (override old) */
.page-contact .card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 22px;

  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.page-contact .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.08);
}

/* headings */
.page-contact .card h3 {
  color: #1F5A89;
  font-size: 16px;
  margin-bottom: 10px;
}

/* text links */
.page-contact .card a {
  color: #1f1f1f;
  text-decoration: none;
}

.page-contact .card a:hover {
  color: #1F5A89;
}

/* contact actions layout fix */
.contact-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* WhatsApp button alignment refinement */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.page-contact .page-hero {
  padding-top: 140px; /* creates premium separation from fixed header */
}

/* ===============================
   THEME BUTTON SYSTEM (v2 ALIGNMENT)
================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 12px 18px;
  border-radius: 10px;

  font-weight: 500;
  font-size: 14px;

  transition: all 0.25s ease;
  text-decoration: none;
}

/* PRIMARY BUTTON = BRAND BLUE (FOOTER COLOR) */
.btn-primary {
  background: var(--ai-secondary); /* same as footer */
  color: #fff;
  border: 1px solid transparent;
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

/* SECONDARY BUTTON = OUTLINE STYLE */
.btn-secondary {
  background: transparent;
  color: var(--ai-secondary);
  border: 1px solid var(--ai-secondary);
}

.btn-secondary:hover {
  background: var(--ai-secondary);
  color: #fff;
}

/* WHATSAPP BUTTON = BRAND VARIANT */
.btn-whatsapp {
  background: #25D366;
  color: #fff;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

/* ICON ALIGNMENT FIX */
.whatsapp-icon {
  display: inline-block;
}
/* ======================================================
   PAGE HERO SPACING (FIX HEADER OVERLAP)
====================================================== */

.page-hero {
  padding-top: 120px; /* adjust if header height changes */
}
@media (max-width: 768px) {
  .page-hero {
    padding-top: 140px;
  }
}
/* ======================================================
   WHATSAPP ICON ONLY (FLAT, NO BACKGROUND)
====================================================== */

.wa-float {
  position: fixed;
  bottom: 20px;
  left: 20px;

  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  width: auto;
  height: auto;
  z-index: 9999;
}

/* icon only */
.wa-float img {
  width: 40px;
  height: 40px;
  display: block;
  background: transparent !important;
  border-radius: 0 !important;
}
/* ======================================================
   GLOBAL SAFETY: ENSURE AI V2 IS ACTIVE
====================================================== */

body.ai-v2 {
  margin: 0;
  background: var(--ai-bg);
  color: var(--ai-text);
}

/* ======================================================
   HEADER SPACING FIX (PAGE HERO)
====================================================== */

.page-contact .page-hero {
  padding-top: 140px;
}

/* ======================================================
   CONTACT GRID LAYOUT (VISION/MISSION STYLE)
====================================================== */

.ai-v2 .ai-about-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}

/* cards already handled by ai-card system */

/* ======================================================
   CTA BUTTON ALIGNMENT (CENTER FIX)
====================================================== */

.ai-v2 .contact-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* ======================================================
   BUTTON SYSTEM OVERRIDE (THEME CONSISTENCY)
====================================================== */

.ai-v2 .btn-primary {
  background: var(--ai-primary);
  color: #fff;
}

.ai-v2 .btn-secondary {
  background: transparent;
  color: var(--ai-primary);
  border: 1px solid var(--ai-primary);
}

.ai-v2 .btn-secondary:hover {
  background: var(--ai-primary);
  color: #fff;
}

/* WhatsApp button remains green */
.ai-v2 .btn-whatsapp {
  background: #25D366;
  color: #fff;
}

/* ======================================================
   WHATSAPP ICON ONLY (NO FLOAT BACKGROUND)
====================================================== */

.wa-float {
  position: fixed;
  bottom: 20px;
  left: 20px;

  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.wa-float img {
  width: 40px;
  height: 40px;
  display: block;
  background: transparent;
}

/* ======================================================
   FOOTER (FIXED BRAND COLOR - NO GREY)
====================================================== */

.ai-v2 .footer {
  background: var(--ai-primary) !important;
  color: #fff;
  padding: 60px 0;
  border-top: 1px solid rgba(255,255,255,0.15);
}

/* footer text */
.ai-v2 .footer h4,
.ai-v2 .footer p {
  color: #fff !important;
}

/* footer icons */
.ai-v2 .footer img {
  filter: brightness(0) invert(1);
}

/* ======================================================
   DROPDOWN MENU (MATCH FOOTER BLUE)
====================================================== */

.ai-v2 .dropdown-menu {
  background: var(--ai-primary) !important;
  border: none !important;
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
  padding: 14px 0;
}

.ai-v2 .dropdown-link {
  color: #fff !important;
  font-weight: 500;
  padding: 10px 18px;
  display: block;
  transition: 0.25s ease;
}

.ai-v2 .dropdown-link:hover {
  background: rgba(255,255,255,0.12);
  transform: translateX(4px);
}

.ai-v2 .dropdown-menu .divider {
  border-top: 1px solid rgba(255,255,255,0.2);
  margin: 10px 0;
}

.ai-v2 .lang-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
}

.ai-v2 .lang-btn:hover {
  background: rgba(255,255,255,0.15);
}

/* ======================================================
   CONTACT CARD STYLING POLISH
====================================================== */

.ai-v2 .ai-about-card {
  background: var(--ai-surface);
  border: 1px solid var(--ai-border);
  border-radius: var(--radius-md);
  padding: 22px;

  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ai-v2 .ai-about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* text styling */
.ai-v2 .ai-about-card h3 {
  color: var(--ai-primary);
  margin-bottom: 8px;
}

.ai-v2 .ai-about-card a {
  color: var(--ai-text);
  text-decoration: none;
}

.ai-v2 .ai-about-card a:hover {
  color: var(--ai-primary);
}

/* ======================================================
   RESPONSIVE FIX
====================================================== */

@media (max-width: 768px) {
  .ai-v2 .ai-about-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ai-v2 .contact-actions {
    flex-direction: column;
  }

  .ai-v2 .btn {
    width: 100%;
    max-width: 320px;
  }

  .page-contact .page-hero {
    padding-top: 150px;
  }
}
/* ============================= */
/* MAIN GRID LAYOUT */
/* ============================= */

.ai-about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

/* ============================= */
/* CARDS */
/* ============================= */

.ai-about-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* ============================= */
/* EXPAND VALUES CARD */
/* ============================= */

.ai-values-card {
  grid-column: span 2;
}

/* ============================= */
/* VALUES GRID INSIDE CARD */
/* ============================= */

.ai-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;

  width: 100%;
  margin-top: 12px;
}

/* ============================= */
/* VALUE ITEMS */
/* ============================= */

.ai-value {
  display: flex;
  align-items: center;
  gap: 10px;

  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
}

/* ICON */
.ai-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 992px) {

  .ai-about-grid {
    grid-template-columns: 1fr;
  }

  .ai-values-card {
    grid-column: span 1;
  }

  .ai-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .ai-values-grid {
    grid-template-columns: 1fr;
  }
}
/* MODAL BASE */
.ai-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

/* ACTIVE STATE */
.ai-modal.active {
  display: block;
}

/* OVERLAY */
.ai-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}

/* MODAL BOX */
.ai-modal-content {
  position: relative;
  max-width: 420px;
  margin: 10% auto;
  padding: 24px;

  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);

  animation: fadeUp 0.3s ease;
}

/* FORM */
.ai-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.ai-form input {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.ai-form input:focus {
  outline: none;
  border-color: #395575;
}

/* ANIMATION */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ================================
   INSIGHTS - PREMIUM EDITORIAL GRID
================================ */

.ai-v2 .insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

/* CARD */
.ai-v2 .insight-card {
  background: var(--ai-surface);
  border: 1px solid var(--ai-border);
  border-radius: 14px;
  overflow: hidden;

  box-shadow: var(--shadow-sm);
  transition: 0.3s ease;

  display: flex;
  flex-direction: column;
}

.ai-v2 .insight-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* IMAGE */
.ai-v2 .insight-image {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.ai-v2 .insight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ai-v2 .insight-card:hover img {
  transform: scale(1.05);
}

/* CONTENT */
.ai-v2 .insight-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ai-v2 .insight-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ai-primary);
  line-height: 1.4;
}

.ai-v2 .insight-summary {
  font-size: 14px;
  color: var(--ai-muted);
  line-height: 1.6;
}

/* LINK */
.ai-v2 .insight-link {
  margin-top: auto;
  font-weight: 600;
  color: var(--ai-secondary);
  text-decoration: none;
}

.ai-v2 .insight-link:hover {
  color: var(--ai-primary);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .ai-v2 .insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .ai-v2 .insights-grid {
    grid-template-columns: 1fr;
  }
}




/* ================================ TYPOGRAPHY SYSTEM (H2 + P FIX) Advance Insight - v2 upgrade ================================ */ :root { --text-primary: #0f172a; /* deep navy */ --text-secondary: #475569; /* soft slate */ --text-muted: #64748b; /* muted */ --accent: #395575; /* your brand */ --max-width: 1100px; } /* GLOBAL TEXT RESET */ body { font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color: var(--text-primary); line-height: 1.6; background: #ffffff; } /* ================================ H2 - SECTION HEADINGS ================================ */ h2 { font-size: 2.2rem; font-weight: 700; letter-spacing: -0.02em; color: var(--text-primary); text-align: center; margin: 60px auto 18px auto; position: relative; max-width: var(--max-width); } /* underline accent line */ h2::after { content: ""; display: block; width: 70px; height: 3px; background: linear-gradient(90deg, var(--accent), #7aa6c2); margin: 14px auto 0; border-radius: 10px; } /* ================================ SUB HEADINGS / SMALL TEXT (P under titles) ================================ */ .section-subtitle, section > p, .container > p { font-size: 1.05rem; color: var(--text-secondary); max-width: 850px; margin: 0 auto 40px auto; text-align: center; line-height: 1.75; padding: 0 16px; } /* ================================ NORMAL PARAGRAPHS (INSIDE SECTIONS) ================================ */ section p { font-size: 1rem; color: var(--text-secondary); line-height: 1.8; margin: 14px auto; max-width: 900px; } /* ================================ IMPROVE READABILITY ON DARK CARDS ================================ */ .service-card p, .insight-summary, .value-card, .work-content p { color: #e2e8f0; font-size: 0.95rem; line-height: 1.6; } /* ================================ SECTION SPACING SYSTEM ================================ */ section { padding: 80px 0; } /* reduce clutter on mobile */ @media (max-width: 768px) { h2 { font-size: 1.8rem; } section { padding: 50px 0; } .section-subtitle, section > p { font-size: 0.95rem; } }
/* ================================
   GLOBAL LAYOUT SYSTEM (CENTER FIX)
================================ */

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* force all main sections to behave consistently */
section {
  display: flex;
  justify-content: center;
}

/* ensure inner content stays centered */
section > .container {
  width: 100%;
}

/* ================================
   APPROACH SECTION - CENTER ALIGN ONLY
================================ */

.ai-center-block {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

```css
/* ensure inner wrapper is also centered properly */
.ai-center-block .approach-text {
  max-width: 800px;
 margin: 0 auto 8px auto;
  text-align: center;

}

/* paragraph alignment + visibility improvement */
.ai-center-block .approach-text p {
  text-align: center;
  margin: 16px auto;
  font-weight: 600 !important ;
}
```


/* ================================
   GLOBAL PARAGRAPH STYLE FIX
================================ */

p {
  font-weight: 600;
  line-height: 1.75;
  color: #475569;   /* keep readability */
  margin: 12px auto; /* controlled spacing (not too big) */
}

.ai-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ai-cta-wrap .btn {
  margin-top: 24px;
}


/* ================================
   CUSTOMERS SECTION - CENTER + 3 COLUMN GRID
================================ */
/* ================================
   CUSTOMERS SECTION - CENTER + 3 COLUMN GRID + FAST ANIMATION
================================ */

#customers .section-head {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

#customers .section-head p {
  text-align: center;
  max-width: 800px;
  margin: 12px auto;
  line-height: 1.7;
}

/* GRID LAYOUT */
#customers .logo-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;

  max-width: 1100px;
  margin: 0 auto;
  justify-items: center;
  align-items: center;
}

/* BIGGER LOGO CARDS */
#customers .logo-card {
  width: 100%;
  height: 140px; /* increased height */
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px;
  border-radius: 12px;

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* hover animation */
#customers .logo-card:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

/* IMAGE SIZE INCREASE */
#customers .logo-card img {
  max-width: 180px;
  width: 100%;
  height: auto;
  object-fit: contain;

  transition: transform 0.3s ease;
}

/* slight zoom effect */
#customers .logo-card:hover img {
  transform: scale(1.08);
}

/* FAST SMOOTH AUTO ANIMATION (optional subtle pulse effect) */
@keyframes logoPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

#customers .logo-card {
  animation: logoPulse 3s infinite ease-in-out;
}




/* ================================
   HERO HEIGHT FIX
================================ */

.hero {
  height: 80vh;          /* reduce from full screen */
  min-height: 520px;     /* safety for small screens */
  overflow: hidden;
  position: relative;
}

/* video should not force extra height */
.hero-video {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* mobile adjustment */
@media (max-width: 768px) {
  .hero {
    height: 65vh;
    min-height: 420px;
  }
}








































/* ================================
   SERVICES SECTION - STRUCTURE FIX
================================ */

#services {
  text-align: center;
}

/* H2 spacing control */
#services h2 {
  margin-bottom: 20px;
}



/* ================================
   SERVICE CARDS - REDUCE SIZE + CLEAN GRID FEEL
================================ */

.services-track {
  display: flex;
  gap: 16px;
  align-items: stretch;
}

/* card sizing fix */
.service-card {
  min-width: 260px;      /* smaller cards */
  max-width: 280px;
  padding: 18px 16px;
  border-radius: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}



/* hover effect (premium feel) */
.service-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

/* ================================
   MOBILE FIX
================================ */

@media (max-width: 768px) {
  .service-card {
    min-width: 220px;
  }

  #services > .container > p {
    font-size: 0.95rem;
  }
}















