/* =========================
   ROOT VARIABLES (BRAND)
========================= */
:root {
  --primary: #4f6d82;
  --secondary: #e5e5e5;
  --accent: #ffffff;
  --cta: #2fa4a9;
  --dark: #1f2f3a;
}

/* =========================
   RESET & BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: var(--secondary);
  color: var(--dark);
  line-height: 1.6;
}

/* =========================
   HEADER & NAVBAR  (UPDATED]
========================= */

/* ================================
   ROOT THEME VARIABLES
================================ */
:root {
  /* base theme */
  --bg-color: #ffffff;
  --text-color: #111827;
  --nav-bg: #ffffff;
  --accent: #2563eb;

  /* compatibility variables (from last snippet) */
  --bg: var(--bg-color);
  --text: var(--text-color);

  /* fallback if your old code uses these */
  --primary: var(--nav-bg);
  --dark: #111827;
}

/* Dark mode (supports BOTH toggling methods) */
body.dark-mode,
html[data-theme="dark"] {
  --bg-color: #0f172a;
  --text-color: #e5e7eb;
  --nav-bg: #020617;
  --accent: #38bdf8;

  /* compatibility variables */
  --bg: var(--bg-color);
  --text: var(--text-color);
}

/* Optional: if you use body.light-mode somewhere */
body.light-mode {
  --bg: var(--bg-color);
  --text: var(--text-color);
}

/* ================================
   GLOBAL (from 2nd snippet)
================================ */
body {
  background-color: var(--bg);
  color: var(--text);
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* =========================
   HEADER & NAVBAR (original kept + themed)
========================= */
.site-header {
  background: var(--nav-bg);
  width: 100%;
  position: relative;
}

.navbar {
  max-width: 1200px;
  margin: auto;
  padding: 15px 20px; /* keep original padding */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Brand */
.brand a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700; /* from updated snippet */
}

/* =========================
   NAV MENU (original kept + themed)
========================= */
.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 25px;
  margin-left: auto; /* from updated snippet */
  padding: 0;        /* from updated snippet */
}

.nav-menu a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 0; /* keep original */
}

.nav-menu a:hover {
  color: var(--accent);
}

/* If you still use a button as a dropdown trigger */
.dropdown-toggle {
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 0;
}

.dropdown-toggle:hover {
  color: var(--accent);
}

/* =========================
   DROPDOWN (original kept + themed)
========================= */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;

  background: var(--nav-bg);
  min-width: 220px;
  list-style: none;
  padding: 10px 0; /* keep original */
  border-radius: 6px; /* keep original */
  box-shadow: 0 10px 25px rgba(0,0,0,0.15); /* merged */
  z-index: 1000;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px; /* keep original */
  color: var(--text-color);
  font-weight: 400;
  text-decoration: none;
}

.dropdown-menu a:hover {
  background: rgba(0,0,0,0.06);
}

/* Dark hover background for dropdown items (matches theme toggle hover idea) */
body.dark-mode .dropdown-menu a:hover,
html[data-theme="dark"] .dropdown-menu a:hover {
  background: rgba(255,255,255,0.08);
}

/* Desktop hover to open (kept) */
@media (min-width: 768px) {
  .dropdown:hover .dropdown-menu {
    display: block;
  }
}

/* ================================
   THEME TOGGLE (from last 2, kept + compatible)
================================ */

/* Container (far right) */
.nav-theme-toggle {
  margin-left: auto;
  display: flex;
  align-items: center;
}

/* Toggle button (icon-only) */
.theme-toggle {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 8px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.theme-toggle:hover {
  background: rgba(0,0,0,0.06);
  transform: rotate(15deg);
  opacity: 0.8;
}

body.dark-mode .theme-toggle:hover,
html[data-theme="dark"] .theme-toggle:hover {
  background: rgba(255,255,255,0.08);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* Icon base */
.theme-toggle .icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* --- Display-based switching (from last snippet) --- */
.icon-sun { display: none; }
.icon-moon { display: block; }

body.dark-mode .icon-sun,
html[data-theme="dark"] .icon-sun { display: block; }

body.dark-mode .icon-moon,
html[data-theme="dark"] .icon-moon { display: none; }

/* --- Animation-based switching (from 2nd snippet, kept) ---
   Works if you use body.light-mode / body.dark-mode classes.
*/
body.light-mode .icon-sun {
  opacity: 0;
  transform: scale(0.5) rotate(-90deg);
  pointer-events: none;
}

body.dark-mode .icon-moon {
  opacity: 0;
  transform: scale(0.5) rotate(90deg);
  pointer-events: none;
}

body.light-mode .icon-moon,
body.dark-mode .icon-sun {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* ================================
   MOBILE SAFETY (merged)
================================ */
@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
  }

  .nav-menu {
    width: 100%;
    justify-content: space-between;
    margin-top: 1rem;
  }

  .nav-theme-toggle {
    margin-left: 0;
  }
}


/* =========================
   MOBILE MENU
========================= */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  display: block;
  border-radius: 2px;
}

@media (max-width: 767px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    gap: 0;
    display: none;
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .nav-menu li a,
  .dropdown-toggle {
    padding: 15px 0;
    display: block;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    display: none;
    background: var(--primary);
  }

  .dropdown.open > .dropdown-menu {
    display: block;
  }
}

/* =========================
   HERO SECTION
========================= */
/* ===== HERO SECTION (CSS) ===== */

.hero {
  position: relative;
  min-height: 620px; /* adjust height if you want */
  display: flex;
  align-items: center;
  overflow: hidden;

  /* Replace with your image path */
  background-image: url("images/hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Dark overlay on top of image */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 20, 33, 0.72); /* darkness */
}

/* Content container */
.hero-container {
  position: relative;
  z-index: 2;
  width: min(1200px, 92%);
  margin: 0 auto;
  padding: 70px 0;
  color: #fff;
}

/* Heading */
.hero-title {
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.6px;
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 4vw, 3.7rem);
  max-width: 720px;
}

/* Description text */
.hero-text {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 28px;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
}

/* Buttons row */
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Buttons */
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 18px;
  border-radius: 10px;
  text-decoration: none;
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
}

/* Primary filled */
.hero-btn.primary {
  background: #0f4e63;
  color: #fff;
}

.hero-btn.primary:hover {
  transform: translateY(-2px);
  background: #0d4254;
}

/* Primary outline */
.hero-btn.primary.outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
}

.hero-btn.primary.outline:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.75);
}

/* Ghost button */
.hero-btn.ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.92);
}

.hero-btn.ghost:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
}

/* Responsive */
@media (max-width: 700px) {
  .hero {
    min-height: 560px;
  }

  .hero-container {
    padding: 55px 0;
  }

  .hero-title,
  .hero-text {
    max-width: 100%;
  }
}

/* =========================
   BUTTONS
========================= */
.btn {
  background: var(--cta);
  color: white;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 4px;
  margin: 10px;
  display: inline-block;
}

/* =========================
   CONTENT SECTIONS
========================= */
.section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}

/* =========================
   GENERIC CARDS
========================= */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.card {
  background: white;
  padding: 25px;
  border-radius: 6px;
  text-align: center;
}

.card h3 {
  margin-bottom: 10px;
}

/* =====================================================
   SERVICES GRID (ORIGINAL – PRESERVED & UNCHANGED)
===================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  padding: 40px 0;
}

.service-card {
  display: block;
  background: #ffffff;
  border-radius: 12px;
  padding: 28px;
  text-decoration: none;
  color: #1f2933;
  border: 1px solid #e5e7eb;
  transition: all 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(149, 149, 150, 0.08);
  border-color: #2563eb;
}

.service-card .icon {
  width: 48px;
  height: 48px;
  background: #eef2ff;
  color: #2563eb;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 14.5px;
  color: #4b5563;
  margin-bottom: 16px;
}

.service-card ul {
  padding-left: 18px;
  margin-bottom: 18px;
}

.service-card ul li {
  font-size: 14px;
  color: #374151;
  margin-bottom: 6px;
}

.learn-more {
  font-weight: 600;
  color: #2563eb;
  font-size: 14px;
}

/* =========================
   SERVICES SECTION
========================= */

.services-section{
  background:#ffffff;
  padding: 70px 20px;
  width:100%;
}

.services-section h2{
  text-align:center;
  font-size: clamp(2rem, 2.8vw, 3rem);
  font-weight: 800;
  color:#0f172a;
  margin: 0 0 10px;
}

/* Subtitle centered, no black bar */
.services-subtitle{
  text-align:center;
  background:none;
  color:#64748b;
  font-size: 1.05rem;
  margin: 0 auto 34px;
  max-width: 820px;
  padding: 0;
  line-height: 1.6;
}

.services-section .cards{
  max-width: 1200px;
  margin: 0 auto;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); 
  gap: 28px;
  text-align:left;
}

.services-section .card{
  background:#ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 26px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transition: transform .25s ease, box-shadow .25s ease;
  cursor: default; 
}


.services-section .card:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.10);
}


.services-section .card .icon{
  width: 54px;
  height: 54px;
  background:#edf2f5;
  color:#0b5a7c;
  border-radius: 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 22px;
  margin: 0 0 18px;
}

.services-section .card h3{
  margin: 0 0 8px;
  font-size: 1.18rem;
  font-weight: 800;
  color:#0f172a;
}


.services-section .card p{
  margin: 0;
  font-size: 0.98rem;
  color:#64748b;
  line-height: 1.65;
}

.services-section .card.highlighted{
  border: 2px solid #e5e7eb;
}

/* =========================
   CTA STRIP – MATCH PICTURE 2
========================= */

.cta-strip {
  background: #0f4e63;          /* deep professional blue like image */
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.cta-strip h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: 0.2px;
}

.cta-strip .services-subtitle {
  background: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin: 0 auto 30px;
  max-width: 800px;
  padding: 0;
}

/* Button row styling */
.cta-strip .btn {
  display: inline-block;
  margin: 10px 8px;
  padding: 14px 26px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.25s ease;
}

/* Primary button look */
.cta-strip .btn:first-of-type {
  background: #ffffff;
  color: #0f4e63;
}

/* Secondary buttons */
.cta-strip .btn:not(:first-of-type) {
  background: rgb(255, 255, 255);
  color: #0f4e63;
}

/* Hover effects */
.cta-strip .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}


/* =========================
   FOOTER
========================= */
.site-footer {
  background: #ffffff;
  color: #1f2933;
  border-top: 1px solid #e5e7eb;
  font-size: 0.95rem;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 60px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-column h3 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #0f172a;
}

.footer-column p {
  color: #475569;
  line-height: 1.6;
  max-width: 320px;
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 10px;
  color: #475569;
}

.footer-links a {
  text-decoration: none;
  color: #475569;
}

.footer-links a:hover {
  color: var(--cta);
}

.footer-contact i {
  margin-right: 10px;
  color: var(--cta);
}

.footer-divider {
  border-top: 1px solid #e5e7eb;
  max-width: 1200px;
  margin: auto;
}

.footer-bottom {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #475569;
  font-size: 0.9rem;
}

.footer-socials a {
  color: #64748b;
  margin-left: 15px;
  font-size: 1.1rem;
}

.footer-socials a:hover {
  color: var(--cta);
}

/* =========================
   CHATBOT BUTTON
========================= */
.chatbot-btn {
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  z-index: 999;
}

.chatbot-btn:hover {
  background: #083a56;
}

/* =========================
   MOBILE FOOTER
========================= */
@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* =========================
   SIMPLE FOOTER FALLBACK
========================= */
footer {
  background: var(--dark);
  color: white;
  text-align: center;
  padding: 20px;
}

footer a {
  color: var(--cta);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* =========================
    "WHO ARE WE" 
========================= */

.who-are-we,
#about,
.info-section {
  display: flex;
  justify-content: center;
  padding: 70px 20px;
  background: #f3f4f6;
}

.who-are-we > *,
#about > *,
.info-section > * {
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
}

.who-are-we h2,
#about h2,
.info-title {
  font-size: clamp(2rem, 2.8vw, 3rem);
  font-weight: 800;
  margin-bottom: 18px;
  color: #0f172a;
  text-align: center;
}

.who-are-we p,
#about p,
.info-text {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #64748b;
  margin: 0 auto;
  text-align: center;
}


.footer-contact a {
  color: inherit;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}
 

