/* ================= ROOT THEME ================= */
:root {
  --primary:#020617;
  --secondary:#0b1f4a;
  --bg:#020617;
  --card-bg:#020b2d;
  --accent:#3b82f6;
  --text:#e5e7eb;
  --muted:#c7d2fe;
}

/* ================= GLOBAL ================= */
*{
  box-sizing:border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.container {
  max-width: 1150px;
  margin: auto;
  padding: 0 24px;
}

.service-hero {
  padding: 80px 0;
}

.service-hero-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}

.service-hero-content h1 {
  font-size: 42px;
  margin-bottom: 20px;
}

.service-hero-content p {
  font-size: 17px;
  line-height: 1.7;
  color: #cbd5e1;
}

.service-hero-image img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
}

/* MOBILE */
@media (max-width: 768px) {
  .service-hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .service-hero-image {
    order: -1;
  }
}

/* new img adding */

.service-hero {
  padding: 120px 0;
  background: #0b1220;
  display: flex;
  justify-content: center;
  text-align: center;
}

.service-hero-container {
  max-width: 1400px;
  width: 100%;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.service-hero-content h1 {
  font-size: 48px;
  color: #ffffff;
  margin-bottom: 20px;
}

.service-hero-content p {
  font-size: 18px;
  line-height: 1.8;
  color: #cbd5e1;
  max-width: 850px;
}

.service-hero-image {
  width: 50%;
  display: flex;
  justify-content: center;
}

.service-hero-image img {
  width: 80%;
  max-width: 900px;
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.6);
}

/* MOBILE */
@media (max-width: 768px) {
  .service-hero-content h1 {
    font-size: 34px;
  }

  .service-hero-image img {
    width: 100%;
  }
}

.security-image-wrapper {
  display: flex;
  justify-content: center;   /* horizontal center */
  align-items: center;       /* vertical center (if height exists) */
  margin-top: 40px;
}

.security-image {
  max-width: 100%;
  border-radius: 16px;
}


/* ================= HEADER ================= */
.site-header {
  background: var(--primary);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 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 */
.logo {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
}

.logo span {
  color: var(--accent);
}

/* ================= 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: 20px;
  text-decoration: none;
  color: #c7d2fe;
  font-weight: 500;
}

nav a.active {
  color: #ffffff;
}

nav .btn {
  background: var(--accent);
  padding: 8px 18px;
  border-radius: 8px;
  color: #ffffff;
}

/* ================= HERO ================= */
.hero {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 110px 0 90px;
  text-align: center;
}

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

.hero p {
  font-size: 18px;
  max-width: 820px;
  margin: auto;
  color: var(--muted);
}

/* ================= SECTION ================= */
.section {
  padding: 90px 0;
}

.section h2 {
  text-align: center;
  font-size: 34px;
  margin-bottom: 60px;
}

/* ================= SERVICES GRID ================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  justify-items: center;
  padding: 0 10px;
}

/* SERVICE HERO */
.service-hero {
  background: linear-gradient(135deg, #020617, #0b1f4a);
  color: #fff;
  padding: 110px 20px 90px;
  text-align: center;
}

.service-hero h1 {
  font-size: 46px;
  margin-bottom: 18px;
}

.service-hero p {
  max-width: 820px;
  margin: auto;
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
}

/* SERVICE GRID */
.service-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 80px 0 100px;
}

/* SERVICE CARD (OLD GRID CARD – KEPT) */
.service-card {
  background: #0e076b;
  padding: 25px;
  border-radius: 14px;
  text-align: center;
  font-weight: 600;
  color: #ffffff;
  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 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: linear-gradient(180deg, #0f1f4a, #0b1635);
  padding: 25px;
  border-radius: 14px;
  text-align: center;
  font-weight: 600;
  color: #fcfdff;
  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);
}

/* ================= ICON ================= */
.card .icon {
  width: 66px;
  height: 66px;
  background: rgba(59,130,246,0.18);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 32px;
  flex-shrink: 0;
}

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

.card p {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 14px;
  max-width: 820px;
}

.read-more {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.read-more:hover {
  text-decoration: underline;
}

/* ================= New ================= */
.agent-flow {
  background: radial-gradient(circle at top, #0b1220, #050814);
}

.agent-flow-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.agent-steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.process-step {
  border-left: 3px solid #2563eb;
  padding-left: 20px;
}

.process-step span {
  color: #60a5fa;
  font-weight: 700;
}

.agent-visual h3 {
  font-size: 28px;
  margin-bottom: 12px;
}

/* Mobile */
@media (max-width: 900px) {
  .agent-flow-grid {
    grid-template-columns: 1fr;
  }
}

.center-title {
  text-align: center;
  margin-bottom: 50px;
}

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.usecase-card {
  background: linear-gradient(145deg, #0f172a, #020617);
  padding: 26px;
  border-radius: 14px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.usecase-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(37,99,235,0.25);
}

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

/* Mobile */
@media (max-width: 600px) {
  .usecase-grid {
    grid-template-columns: 1fr;
  }
}

.center-text {
  text-align: center;
  max-width: 800px;
  margin: auto;
}

.section-desc {
  margin-top: 12px;
  color: #9ca3af;
  font-size: 1.05rem;
}


.center-title {
  text-align: center;
  margin-bottom: 10px;
}

.center-text {
  text-align: center;
  max-width: 800px;
  margin: auto;
}

.tech-stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.tech-group {
  background: #0f172a;
  padding: 22px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
}

.tech-group h4 {
  margin-bottom: 12px;
  color: #fff;
}

.tech-group ul {
  list-style: none;
  padding: 0;
}

.tech-group li {
  color: #9ca3af;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.cta-desc {
  margin: 16px auto 28px;
  color: #cbd5f5;
  font-size: 1.05rem;
}

.cta-points {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 30px;
  color: #9ca3af;
}

.large-btn {
  padding: 14px 32px;
  font-size: 1rem;
}

/* ===== GLOBAL ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: #0b1220;
  color: #e5e7eb;
  line-height: 1.7;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ===== HEADER ===== */
.site-header {
  background: #020617;
  border-bottom: 1px solid #1e293b;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 40px;
}

.brand span {
  color: #38bdf8;
}

nav a {
  color: #cbd5f5;
  margin-left: 20px;
  text-decoration: none;
}

.btn {
  background: #2563eb;
  padding: 10px 18px;
  border-radius: 6px;
  color: #fff;
}

.primary {
  background: #38bdf8;
  color: #020617;
}

/* ===== HERO ===== */
.hero {
  padding: 100px 20px;
  text-align: center;
  background: radial-gradient(circle at top, #020617, #020617 40%, #020617);
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 15px;
}

.hero p {
  max-width: 700px;
  margin: auto;
  color: #94a3b8;
}

/* ===== SPLIT SECTION ===== */
.split-section {
  padding: 80px 0;
}

.split-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.split-text ul {
  margin-top: 20px;
}

.split-text li {
  margin-bottom: 10px;
}

.split-image img {
  width: 100%;
  border-radius: 12px;
}

/* ===== FEATURES ===== */
.features {
  padding: 80px 0;
  background: #020617;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background: #0b1220;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #1e293b;
}

/* ===== PROCESS ===== */
.process {
  padding: 80px 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.step span {
  font-size: 28px;
  color: #38bdf8;
}

/* ===== METRICS ===== */
.metrics {
  background: #020617;
  padding: 60px 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

/* ===== CTA ===== */
.cta {
  padding: 80px 20px;
  text-align: center;
}

/* ===== Technology Stack Section ===== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.tech-card {
  background: #1f2937; /* dark card background */
  color: #f3f4f6;      /* light text */
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.tech-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #60a5fa; /* accent color for titles */
}

.tech-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #e5e7eb;
}

.tech-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.3);
}

.center-title {
  text-align: center;
  margin-bottom: 10px;
  font-size: 2rem;
  color: #fff;
}

.section-desc {
  text-align: center;
  color: #d1d5db;
  max-width: 700px;
  margin: 0 auto 20px;
}


/* ================= ANIMATION ================= */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .hero h1,
  .service-hero h1 {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .hero h1,
  .service-hero h1 {
    font-size: 32px;
  }

  .card {
    flex-direction: column;
    text-align: center;
    padding: 30px;
  }

  .card .icon {
    margin-bottom: 12px;
  }

  nav a {
    margin-left: 12px;
  }
}

/* ================= COMMON HEADER FIX ================= */
.site-header,
.site-header header {
  background: var(--primary) !important;
}

.site-header nav a,
.site-header i,
.site-header svg {
  color: #ffffff !important;
}

/* REMOVE UNDERLINE FROM SERVICE CARDS */
.service-card,
.service-card * ,
.card,
.card * {
  text-decoration: none !important;
}

/* Optional: only underline Read More on hover */
.card .read-more:hover {
  text-decoration: underline;
}


/* ================= FOOTER ================= */
.footer {
  background: #0b1526;
  padding: 60px 8%;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.footer h4 {
  color: #fff;
  margin-bottom: 12px;
}

.footer a {
  display: block;
  color: #cbd5e1;
  text-decoration: none;
  margin-bottom: 6px;
}

.footer a:hover {
  color: #38bdf8;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 30px;
  padding-top: 16px;
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
}

/* ================= 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;
}

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

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
}