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

/* 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;
}
/* ================= CONTAINER ================= */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

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

/* ================= INDUSTRY HERO IMAGE ================= */
.industry-hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
  background: #0b1220;
}

.industry-hero-image img {
  width: 50%;
  max-width: 720px;     /* controls size */
  height: auto;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}


/* ================= INDUSTRY LIST ================= */
.vertical-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 80px 0;
}

/* ================= new =================*/
.card {
  background: linear-gradient(180deg, #0f172a, #0b1220);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* IMPORTANT */
  height: 100%;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: stretch;
}

.card h3,
.card h4 {
  margin-bottom: 12px;
}

.card p {
  color: #cbd5e1;
  line-height: 1.6;
}



/* ================= CARD ================= */
.card {
  display: flex;
  align-items: center;
  gap: 28px;
  background: linear-gradient(180deg, #0f1f4a, #0b1635);
  padding: 34px 36px;
  border-radius: 22px;
  box-shadow: 0 25px 55px rgba(0,0,0,0.55);
  transition: all 0.35s ease;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.8s ease forwards;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 35px 80px rgba(7,123,240,0.3);
}

/* ================= ICON ================= */
.card .icon {
  font-size: 48px;
  min-width: 72px;
  height: 72px;
  border-radius: 18px;
  background: rgba(7,123,240,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

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

.card p {
  font-size: 16px;
  color: #e5e7eb;
  max-width: 720px;
}

.read-more {
  display: inline-block;
  margin-top: 14px;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

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

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

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .card {
    flex-direction: column;
    text-align: center;
  }

  .hero h1 {
    font-size: 32px;
  }
}

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