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

:root {
  --bg-main: #0b2d45;
  --bg-white: #ffffff;

  --text-primary: #0f172a;
  --text-secondary: #334155;

  --accent: #ff6a00;
  --accent-hover: #e55a00;

  --border-soft: #e5e7eb;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  font-feature-settings: "kern" 1;
}

/* ================= UTILITIES ================= */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  will-change: background-color;
}

/* Primary CTA */
.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

/* Header CTA (Book a Call) - ensure consistent across pages */
.btn-nav {
  background: var(--accent);
  color: #ffffff;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}

.btn-nav:hover {
  background: var(--accent-hover);
}

/* Secondary CTA */
.btn-secondary {
  background: var(--accent);
  color: #ffffff;
  border: none;
  padding: 14px 26px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(15,23,42,0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn-secondary:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(15,23,42,0.12);
}

/* Apply Button */
.btn-apply {
  background: var(--accent);
  color: #ffffff;
  border: none;
  padding: 14px 26px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(15,23,42,0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn-apply:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(15,23,42,0.12);
}

/* ================= HEADER ================= */
.header {
  background: var(--bg-main);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

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

.nav {
  display: none;
}
.nav.active {
  display: block;
}


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

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

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: #ffffff;
}

.nav-links a:hover {
  color: #e5e5e5;
}

.nav-links a.active-link {
  color: #ff6a00;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* ================= HERO ================= */
.hero {
  padding: 110px 0;
  background: #EBEEF0;
}


.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 56px);
  line-height: 1.2;
  margin-bottom: 22px;
  font-weight: 800;
  letter-spacing: -1px;
  color: #000000;
}

.hero-content h1 {
  background-size: 200% auto;
}

.hero-content h1 span {
  display: block;
  color: var(--accent);
  background: linear-gradient(135deg, var(--accent) 0%, #ff8c3d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 34px;
  color: var(--text-secondary);
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 18px;
}

/* Hero Image */
.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}


/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    margin-top: 50px;
  }
}

@media (max-width: 768px) {
  .nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: var(--bg-main);
    width: 100%;
    flex-direction: column;
    padding: 24px;
    display: none;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
  }

  .nav.active {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    gap: 16px;
  }

  .menu-toggle {
    display: block;
  }
}

/* ================= WHY VIRTUALSERVE AFRICA ================= */
.why-va {
  background-color: #f4f6f7; /* lighter gray-blue, softer than hero */
  padding: 100px 0;
  color: #0a0a0a; /* dark text for readability */
}

/* Ensure headings and text look good */
.why-va h2,
.why-va h4,
.why-va p,
.why-va .lead {
  color: #0a0a0a;
}

/* Buttons on this lighter background */
.why-va .btn-primary {
  background-color: #0077b6; /* blue accent */
  color: #ffffff;
  border: none;
}

.why-va .btn-primary:hover {
  background-color: #005f8a;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

/* Left Content */
.why-content h2 {
  font-size: 42px;
  margin-bottom: 22px;
}

.why-content .lead {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.why-content p {
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 520px;
}

/* Right Card */
.why-card {
  background: var(--bg-white);
  border-radius: 26px;
  padding: 40px;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.15);
}

/* Individual Item */
.why-item {
  display: flex;
  gap: 18px;
  margin-bottom: 30px;
}

.why-item:last-child {
  margin-bottom: 0;
}

.icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

.why-item h4 {
  font-size: 18px;
  margin-bottom: 6px;
}

.why-item p {
  font-size: 15px;
  color: var(--text-secondary);
}

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

  .why-content {
    text-align: center;
  }

  .why-content p,
  .why-content .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .why-card {
    margin-top: 40px;
  }
}

/* ================= ROLES SECTION ================= */
.roles {
  background-color: #EBEEF0; /* same as hero */
  padding: 100px 0;          /* similar spacing to hero */
  color: #0a0a0a;            /* dark text for contrast */
}

/* Headings & paragraphs */
.roles h2,
.roles h3,
.roles p,
.roles ul li {
  color: #0a0a0a; /* dark text for readability */
}

/* Buttons */
.roles .btn-primary {
  background-color: #0077b6; /* nice bright accent like hero */
  color: #ffffff;
  border: none;
}

.roles .btn-primary:hover {
  background-color: #005f8a; /* slightly darker hover */
}

/* Optional: Cards / images */
.role-image img {
  border-radius: 16px; /* matches hero style */
  max-width: 100%;
  height: auto;
}

.roles-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 80px;
}

.roles-header h2 {
  font-size: 42px;
  margin-bottom: 16px;
}

.roles-header p {
  font-size: 18px;
  color: var(--text-secondary);
}

.role-item {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 36px; /* tighter spacing like the reference */
  align-items: center;
  margin-bottom: 80px;
}

.role-image {
  width: 100%;
  max-width: 520px;
}

.role-image img {
  width: 100%;
  height: 320px;      /* SAME HEIGHT FOR ALL */
  object-fit: cover; /* Crops evenly */
  border-radius: 16px;
}

@media (max-width: 768px) {
  .role-image img {
    height: 240px;
  }
}




.role-item.reverse {
  direction: rtl;
}

.role-item.reverse > * {
  direction: ltr;
}

.role-item.reverse .role-image {
  justify-content: flex-end;
}


/* Text */
.role-text h3 {
  font-size: 26px;
  margin-bottom: 14px;
}

.role-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  max-width: 520px;
}

.role-text ul {
  padding-left: 18px;
}

.role-text li {
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.role-image img {
  width: 92%; /* slightly reduced size */
  max-width: 520px; /* keeps it elegant on large screens */
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  display: block;
  contain: layout style paint;
}

/* CTA */
.roles-cta {
  text-align: center;
  margin-top: 40px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .role-item {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .role-item.reverse {
    direction: ltr;
  }

  .role-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .role-text ul {
    text-align: left;
    display: inline-block;
  }
}

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

body {
  font-family: "Inter", sans-serif;
  background-color: #f8fafc;
  color: #0f172a;
  line-height: 1.6;
}

/* Section */
.services-section {
  padding: 80px 20px;
}

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

/* Header */
.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
  color: #475569;
}

/* Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* Card */
.service-card {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12);
}

/* Icon */
.icon-circle {
  width: 72px;
  height: 72px;
  background-color: #0f172a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.icon-circle i {
  color: #ffffff;
  font-size: 28px;
}

/* Card text */
.service-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.service-card p {
  font-size: 0.95rem;
  color: #475569;
  margin-bottom: 28px;
}

/* Button */
.btn-outline {
  display: inline-block;
  padding: 12px 22px;
  border: 2px solid #f97316;
  color: #f97316;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background-color: #f97316;
  color: #ffffff;
}

/* Responsive */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 2rem;
  }
}

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

body {
  font-family: "Inter", sans-serif;
  background-color: #ffffff;
  color: #0f172a;
  line-height: 1.6;
}

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

/* Section */
.trust-section {
  padding: 90px 0;
}

/* Main Heading */
.main-heading {
  text-align: center;
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 80px;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-bottom: 100px;
}

/* Stat Item */
.stat-item {
  text-align: center;
}

.stat-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1.5px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.stat-icon i {
  font-size: 22px;
  color: #0f172a;
}

.stat-item h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.stat-item p {
  font-size: 0.95rem;
  color: #475569;
}

/* Value Content */
.value-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.value-content h2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.value-content h2 span {
  color: #f97316;
}

.value-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.value-content p {
  font-size: 1rem;
  color: #334155;
  margin-bottom: 14px;
}

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

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .main-heading {
    font-size: 2.1rem;
  }

  .value-content h2 {
    font-size: 2.2rem;
  }
}

:root {
    --primary-color: #0f766e;
    --secondary-color: #0a2540;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --bg-light: #f8fafc;
    --card-bg: #ffffff;
    --border-radius: 14px;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.6;
}

/* Section */
.testimonials-section {
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        var(--bg-light) 100%
    );
    padding: 80px 20px;
}

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

/* Header */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}

.section-header .eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.section-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--secondary-color);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Card */
.testimonial-card {
    background-color: var(--card-bg);
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
    color: var(--text-dark);
    margin-bottom: 28px;
}

/* Footer */
.testimonial-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.author strong {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
}

.author span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Rating */
.rating {
    color: var(--accent-color);
    font-size: 0.9rem;
    white-space: nowrap;
}

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

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        padding: 24px;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }
}

:root {
    --footer-bg: #062b3a;
    --footer-accent: #1cc7b8;
    --footer-cta: #ff6a3d;
    --text-light: #ffffff;
    --text-muted: #b6d4de;
}

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

body {
    font-family: 'Inter', sans-serif;
}

/* Footer */
.site-footer {
    background-color: var(--footer-bg);
    color: var(--text-light);
    padding: 70px 20px 50px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
}

/* Brand */
.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 18px;
}

.footer-brand .logo i {
    color: var(--footer-accent);
    font-size: 1.4rem;
}

.brand-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.copyright {
    font-size: 0.8rem;
    color: #8fb9c6;
}

/* Columns */
.footer-column h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    margin-bottom: 20px;
}

.contact-list {
    list-style: none;
    margin-bottom: 20px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.contact-list a {
    color: var(--text-light);
    text-decoration: none;
}

.contact-list i {
    color: var(--footer-accent);
}

/* CTA */
.cta-button {
  display: inline-block;
  background-color: var(--accent);
  color: #ffffff;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  opacity: 0.95;
  background-color: var(--accent-hover);
}

/* Social */
.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: background 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    background-color: var(--footer-accent);
    transform: translateY(-3px);
}

/* Links */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--footer-accent);
}

/* Responsive */
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand .logo {
        justify-content: center;
    }

    .contact-list li {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}


/* Default: hide menu on mobile */
.nav-links {
  display: none;
  flex-direction: column;
  gap: 1rem;
}

.nav-links.active {
  display: flex;
}

/* Hamburger visible on mobile */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Desktop mode */
@media(min-width: 768px) {
  .nav-links {
    display: flex !important;
    flex-direction: row;
  }

  .hamburger {
    display: none;
  }
}
