/* ================= ROOT THEME ================= */
:root {
  --primary:#0b1220;
  --secondary:#132964;
  --light:#02182f;
  --muted:#ffffff;
  --card-bg:#3f76ac;
}

/* ================= GLOBAL ================= */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #020a2f;
  color: #0f172a;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.site-header {
  background: #0b1220;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

/* ================= HEADER ================= */
header {
  background: linear-gradient(180deg, #020617, #020617e6);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(56,189,248,0.15);
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.logo span {
  color: #38bdf8;
}

nav a {
  margin-left: 22px;
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: #38bdf8;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.btn {
  padding: 9px 16px;
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: #020617;
  border-radius: 8px;
  font-weight: 600;
}


/* LOGO FIX (ONLY CHANGE) */
.logo {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff; /* RHAI -> WHITE */
}

.logo span {
  color: #077bf0; /* Tech -> Blue */
}

/* ================= LOGO ================= */
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-wrap img {
  height: 42px;        /* perfect for header */
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.logo-text span {
  color: #38bdf8; /* if you already use accent color */
}

/* ================= BRAND LOGO ================= */
.brand {
  display: flex;
  align-items: center;
  gap: 0; /* NO SPACE between logo and text */
}

.brand img {
  height: 60px;        /* BIG logo */
  width: auto;
  margin-right: 0;     /* ensure no gap */
}

.brand h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.brand h1 span {
  color: #38bdf8;
}



/* NAV */
nav a {
  margin-left: 18px;
  text-decoration: none;
  color: #eeeff3;
  font-weight: 500;
}

nav a.active {
  text-decoration: underline;
}

nav .btn {
  background: #2563eb;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 6px;
}

/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  background: #020617;
  color: #e5e7eb;
  line-height: 1.6;
}

/* ================= BREADCRUMB ================= */
.breadcrumb {
  padding: 20px 8%;
  font-size: 14px;
}

.breadcrumb a {
  color: #83baf9;
  text-decoration: none;
}

.breadcrumb span {
  margin: 0 6px;
  color: #9ca3af;
}

/* ================= HERO ================= */
.hero {
  background: linear-gradient(135deg, #0b1220, #132964);
  text-align: center;
  padding: 80px 20px 70px;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 16px;
  color: #ffffff;
}

.hero p {
  max-width: 780px;
  margin: auto;
  color: #cbd5f5;
  font-size: 18px;
}

/* ================= SOLUTIONS LIST ================= */
.solutions {
  max-width: 1100px;
  margin: auto;
  padding: 70px 20px 90px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* SERVICE GRID */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  padding: 60px 8%;
  background: #030823;
}

/* SERVICE CARD */
.service-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 14px;
  text-align: center;
  font-weight: 600;
  color: #132964;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

/* ================= SERVICE CARD ================= */
.card {
  background: linear-gradient(180deg, #0f1f4a, #0b1635);
  border-radius: 20px;
  padding: 30px 25px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.45);
  transition: all 0.35s ease;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.8s ease forwards;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center; /* ensures text and read-more link are centered */
}

/* Hover effect */
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 70px rgba(7,123,240,0.25);
}

/* ================= CARD ================= */
.solution-card {
  display: flex;
  gap: 26px;
  padding: 30px;
  background: #030e2f;
  border-radius: 18px;
  text-decoration: none;
  color: #52648f;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(19, 41, 100, 0.25);
}

/* ================= ICON ================= */
.solution-card .icon {
  font-size: 44px;
  min-width: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ================= CONTENT ================= */
.solution-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #f4f4f5;
}

.solution-card p {
  font-size: 15px;
  color: #ffffff;
}

/* ================= READ MORE ================= */
.read-more {
  display: inline-block;
  margin-top: 14px;
  color: #ffffff;
  font-weight: 600;
}

/* ================= MOBILE OPTIMIZATION (SAFE) ================= */
@media (max-width: 768px) {

  /* HEADER */
  .header {
    flex-wrap: wrap;
    gap: 10px;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    margin-top: 8px;
  }

  nav a {
    margin: 6px 10px;
    font-size: 14px;
    white-space: nowrap;
  }

  /* Global spacing */
  .container {
    width: 92%;
  }

  /* HERO */
  .hero {
    padding: 70px 0;
  }

  .hero h2 {
    font-size: 28px;
  }

  .hero p {
    font-size: 15px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* TRUST */
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* BUTTONS */
  .btn,
  .btn-primary,
  button {
    width: auto; /* IMPORTANT: not full width for nav */
  }
}

f8;
}

/* ================= GLOBAL LAYOUT FIX (IMPORTANT) ================= */
html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}

main {
  flex: 1; /* pushes footer to bottom */
}

/* ================= FOOTER ================= */
.footer {
  background: #020617;
  color: #e5e7eb;
  padding: 40px 8% 20px;
}

/* CONTAINER */
.footer .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* GRID */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: flex-start;
}

/* BRAND */
.footer-brand .logo {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.85;
}

/* HEADINGS */
.footer h4 {
  font-size: 15px;
  margin-bottom: 10px;
  color: #ffffff;
}

/* LINKS */
.footer a {
  font-size: 14px;
  color: #cbd5e1;
  text-decoration: none;
  margin-bottom: 6px;
  display: block;
}

.footer a:hover {
  color: #3b82f6;
}

/* CONTACT */
.footer-contact p {
  font-size: 14px;
  margin-bottom: 6px;
  color: #cbd5e1;
}

/* BOTTOM BAR */
.footer-bottom {
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .footer {
    padding: 32px 6% 16px;
  }

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

/* ================= FOOTER FIX ================= */

.footer {
  background: #020617; /* match your theme */
  color: #e5e7eb;
  padding: 64px 0 24px;
  margin-top: 0;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* GRID ALIGNMENT */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  align-items: flex-start;
}

/* BRAND */
.footer-brand .logo {
  font-size: 24px;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.85;
}

/* LINKS */
.footer-links,
.footer-legal,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer h4 {
  font-size: 15px;
  margin-bottom: 10px;
  color: #fff;
}

.footer a {
  font-size: 14px;
  color: #ffffff;
  text-decoration: none;
}

.footer a:hover {
  color: #3b82f6;
}

/* BOTTOM BAR */
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 13px;
  opacity: 0.75;
}

/* ================= MOBILE OPTIMIZATION (SAFE) ================= */
@media (max-width: 768px) {

  /* Global spacing */
  .container {
    width: 92%;
  }

  /* HERO */
  .hero {
    padding: 70px 0;
  }

  .hero h2 {
    font-size: 28px;
  }

  .hero p {
    font-size: 15px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-image img {
    border-radius: 14px;
  }

  /* BRAND / LOGO */
  .brand img {
    height: 44px;
  }

  .brand h1 {
    font-size: 22px;
  }

  /* SECTIONS */
  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 26px;
    margin-bottom: 28px;
  }

  /* FLOW SECTION */
  .flow-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .flow-text h2 {
    font-size: 24px;
  }

  .flow-text p {
    font-size: 15px;
  }

  /* TRUST STATS */
  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .trust-title {
    font-size: 26px;
  }

  .trust-card h3 {
    font-size: 32px;
  }

  /* CARDS */
  .card {
    padding: 22px;
  }

  /* BUTTONS */
  .btn,
  .btn-primary,
  button {
    width: 100%;
    text-align: center;
  }

  /* FORMS */
  form {
    width: 100%;
  }

  /* FOOTER */
  .footer {
    padding: 50px 6%;
  }

  .footer-bottom {
    font-size: 12px;
  }

  /* CHATBOT + WHATSAPP FIX */
  #chatbot {
    right: 16px;
    width: 92%;
    bottom: 90px;
  }

  #chatbot-toggle {
    right: 16px;
    bottom: 16px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 90px;
  }
}

/* ================= SMALL PHONES ================= */
@media (max-width: 480px) {

  .hero h2 {
    font-size: 24px;
  }

  .section-title {
    font-size: 22px;
  }

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

  .logo-text {
    font-size: 18px;
  }
}