/* =========================
   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;
  }
}
/* ===== SERVER MANAGEMENT HERO ===== */
.server-hero {
  position: relative;
  min-height: 440px;
  height: 56vh;
  max-height: 650px;
  display: grid;
  place-items: center;
  overflow: hidden;

  /* Replace with your real background image path */
  background-image: url("../images/server-management-hero.jpg");
  background-size: cover;
  background-position: center;
}

/* Dark overlay like the screenshot */
.server-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      90deg,
      rgba(6, 16, 32, 0.78) 0%,
      rgba(6, 16, 32, 0.62) 45%,
      rgba(6, 16, 32, 0.55) 100%
    );
  z-index: 1;
}

/* Center content */
.server-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 30px 18px;
  max-width: 1100px;
}

/* Icon circle */
.server-hero__icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;

  background: rgba(39, 122, 150, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
}

.server-hero__svg {
  width: 30px;
  height: 30px;
}

/* Title */
.server-hero__title {
  color: #ffffff;
  font-size: clamp(2.6rem, 4.5vw, 4.2rem);
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: 0.2px;
}

/* Subtitle */
.server-hero__subtitle {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 1.9vw, 1.25rem);
  line-height: 1.7;
  margin: 0 0 28px;
}

/* Button */
.server-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;

  background: #ffffff;
  color: #0f4e63;
  text-decoration: none;

  font-weight: 700;
  font-size: 0.95rem;

  padding: 12px 26px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);

  transition: transform 0.15s ease, opacity 0.15s ease;
}

.server-hero__btn:hover {
  transform: translateY(-2px);
  opacity: 0.96;
}

.server-hero__arrow {
  font-size: 1.2rem;
  line-height: 1;
}

/* Mobile */
@media (max-width: 520px) {
  .server-hero {
    height: auto;
    min-height: 440px;
    padding: 40px 0;
  }

  .server-hero__subtitle br {
    display: none;
  }
}
/* ===== SERVER MANAGEMENT INFO (Text Section) ===== */
.srv-info {
  background: #ffffff;
  padding: 78px 20px 95px;
}

.srv-info__inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.srv-info__title {
  font-size: clamp(2rem, 3vw, 2.85rem);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 24px;
  letter-spacing: 0.2px;
}

.srv-info__text {
  max-width: 900px;
  margin: 0 auto 28px;
  color: #64748b;
  font-size: 1.03rem;
  line-height: 1.9;
}

.srv-info__text:last-child {
  margin-bottom: 0;
}
/* ===== WHY CHOOSE SERVER SECTION WITH ICONS ===== */

.why-server {
  background: #f8fafc;
  padding: 90px 20px 110px;
}

.why-server-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.why-server-title {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 18px;
}

.why-server-intro {
  max-width: 900px;
  margin: 0 auto 45px;
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Grid layout */

.why-server-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  text-align: left;
}

/* Cards */

.why-server-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 26px 22px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.why-server-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

/* Icon styling */

.icon-box {
  width: 48px;
  height: 48px;
  background: #0f4e63;
  color: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.icon-box i {
  font-size: 20px;
}

.why-server-card h3 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: 1.2rem;
  font-weight: 700;
}

.why-server-card p {
  margin: 0;
  color: #64748b;
  font-size: 0.97rem;
  line-height: 1.7;
}

/* Responsive */

@media (max-width: 600px) {
  .why-server {
    padding: 70px 18px 80px;
  }

  .why-server-grid {
    grid-template-columns: 1fr;
  }
}
/* ===== WHY CHOOSE OUR SERVER MANAGEMENT SERVICES ===== */
.why-srv {
  background: #ffffff;
  padding: 70px 20px 95px;
}

.why-srv__inner {
  max-width: 1150px;
  margin: 0 auto;
}

.why-srv__title {
  text-align: center;
  font-size: clamp(2rem, 3vw, 2.85rem);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 44px;
  letter-spacing: 0.2px;
}

/* Grid */
.why-srv__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

/* Card */
.why-srv__card {
  background: #ffffff;
  border: 2px solid #e6edf3;
  border-radius: 8px;
  padding: 26px 28px;
  box-shadow: 0 2px 0 rgba(15, 23, 42, 0.03);
}

/* Header row */
.why-srv__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

/* Circle icon */
.why-srv__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0f4e63;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 18px;
  line-height: 1;
  flex: 0 0 44px;
}

/* Card title */
.why-srv__card-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
}

/* Text */
.why-srv__text {
  margin: 0;
  color: #6b7c8f;
  font-size: 1rem;
  line-height: 1.9;
}

/* Responsive */
@media (max-width: 900px) {
  .why-srv__grid {
    grid-template-columns: 1fr;
  }

  .why-srv__text br {
    display: none;
  }
}
/* ===== SERVER CALL TO ACTION SECTION ===== */

.server-cta {
  background: #0f4e63;
  padding: 90px 20px;
  text-align: center;
}

.server-cta-container {
  max-width: 900px;
  margin: 0 auto;
}

.server-cta-title {
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: #ffffff;
  font-weight: 800;
  margin-bottom: 16px;
}

.server-cta-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

.server-cta-button {
  display: inline-block;
  background: #ffffff;
  color: #0f4e63;
  padding: 14px 30px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.server-cta-button:hover {
  background: #e5f2f6;
  transform: translateY(-2px);
}


/* Section wrapper */
.software-copy {
  background: #ffffff;
  padding: 70px 20px 90px;
}

/* Centered column like the screenshot */
.software-copy__container {
  max-width: 920px;        /* controls the line length (similar to image) */
  margin: 0 auto;
  text-align: center;
}

/* Heading */
.software-copy__container h2 {
  margin: 0 0 22px;
  font-size: clamp(1.9rem, 2.6vw, 2.55rem);
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #0f172a;          /* deep navy/black */
}

/* Paragraphs */
.software-copy__container p {
  margin: 0 auto 18px;
  max-width: 760px;        /* keeps paragraphs narrower than the heading */
  font-size: 1.03rem;
  line-height: 1.85;
  color: #475569;          /* soft slate */
}

/* Extra spacing between the two paragraphs like the screenshot */
.software-copy__container p:first-of-type {
  margin-bottom: 26px;
}
/* MAIN SECTION */
.offer-section {
  padding: 90px 20px;
  background: #ffffff;
}

/* Container */
.offer-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

/* Section Title */
.offer-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 50px;
  color: #0f172a;
}

/* Grid Layout */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px 50px;
  text-align: left;
}

/* Individual Item */
.offer-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Check Icon */
.offer-icon {
  color: #0f4e63;
  font-size: 18px;
  font-weight: bold;
}

/* Item Text */
.offer-text {
  font-size: 16px;
  color: #0f172a;
}

/* Responsive Design */
@media (max-width: 1000px) {
  .offer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .offer-grid {
    grid-template-columns: 1fr;
  }

  .offer-title {
    font-size: 28px;
  }
}
/* WHY CHOOSE SECTION */
.why-section {
  background: #ffffff;
  padding: 80px 20px;
}

.why-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

/* TITLE */
.why-title {
  font-size: 34px;
  font-weight: bold;
  margin-bottom: 40px;
  color: #0f172a;
}

/* GRID LAYOUT - 2 columns like picture */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  text-align: left;
}

/* CARD STYLE */
.why-card {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  padding: 22px;
}

/* CARD HEADER (icon + title) */
.why-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

/* CHECK ICON */
.why-icon {
  background: #0f4e63;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
}

/* CARD TITLE */
.why-card-title {
  margin: 0;
  font-size: 20px;
  font-weight: bold;
  color: #0f172a;
}

/* CARD TEXT */
.why-card-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}
/* CTA SECTION (dark teal block) */
.cta-soft {
  background: #0f4e63;
  padding: 80px 20px 90px;
}

.cta-soft__container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.cta-soft__title {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 800;
  letter-spacing: 0.2px;
}

.cta-soft__text {
  margin: 0 auto 34px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 820px;
}

.cta-soft__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* Buttons */
.cta-soft__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  min-width: 210px; /* keeps both buttons similar width like screenshot */
}

/* Left button (white filled) */
.cta-soft__btn--primary {
  background: #ffffff;
  color: #0f172a;
  border: 2px solid #ffffff;
}

/* Right button (outline) */
.cta-soft__btn--outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.85);
}

.cta-soft__btn:hover {
  transform: translateY(-1px);
}

/* Phone icon */
.cta-soft__btnicon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cta-soft__svg {
  width: 18px;
  height: 18px;
  display: block;
}
/* =========================
   FOOTER (UPDATED)
========================= */
.site-footer {
  background: #ffffff;
  color: #1f2933;
  border-top: 1px solid #e5e7eb;
  font-size: 0.95rem;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 70px 20px;              /* a bit more vertical space like pic 2 */
  display: grid;
  grid-template-columns: repeat(3, minmax(250px, 1fr));
  gap: 40px;
  align-items: start;
}

/* Column headings */
.footer-column h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: #0f172a;
  font-weight: 800;
  text-align: center;              /* center headings like pic 2 */
}

/* Column paragraph */
.footer-column p {
  color: #475569;
  line-height: 1.6;
  max-width: 420px;
  margin: 0 auto;                  /* centers the paragraph block */
  text-align: center;              /* centers text like pic 2 */
}

/* Lists reset */
.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* QUICK LINKS (center) */
.footer-links li {
  margin-bottom: 12px;
  text-align: center;
}

.footer-links a {
  text-decoration: none;
  color: #475569;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--cta);
}

/* CONTACT US (icon + text centered like pic 2) */
.footer-contact li {
  margin-bottom: 12px;
  color: #475569;
  display: flex;
  justify-content: center;         /* centers the whole row */
  gap: 12px;
}

.footer-contact i {
  color: var(--cta);
  min-width: 18px;                 /* keeps icons aligned vertically */
  margin: 0;                       /* remove old margin-right behavior */
  margin-top: 2px;
}

/* Make contact links look like normal text (NOT blue/underlined) */
.footer-contact a {
  color: #475569;
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--cta);
  text-decoration: underline;
}

/* Divider */
.footer-divider {
  border-top: 1px solid #e5e7eb;
  max-width: 1200px;
  margin: auto;
}

/* Bottom row */
.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;
}