/* ===== ROOT VARIABLES ===== */
:root {
  --primary: #2196F3;
  --primary-dark: #1976D2;
  --accent: #e8a020;
  --accent-light: #f5c55a;

  /* Text Colors for Light Backgrounds */
  --text-dark: #111827;
  /* Main Headings */
  --text-sub: #1F2937;
  /* Sub Headings */
  --text-mid: #4B5563;
  /* Body Text */
  --text-light: #6B7280;
  /* Labels / Subs */
  --stats-num: #0F62FE;
  /* Statistics Numbers */

  --bg-light: #F8FAFC;
  --bg-white: #fff;
  --border: #dde3ee;
  --shadow: 0 4px 24px rgba(33, 150, 243, 0.12);
  --shadow-lg: 0 8px 40px rgba(33, 150, 243, 0.20);
  --radius: 10px;
  --radius-lg: 18px;
  --transition: 0.28s cubic-bezier(.4, 0, .2, 1);
  --font-head: 'Merriweather', Georgia, serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* Dark Background Override */
.topbar,
.hero-slider,
.slide,
.stats-strip,
.why-section,
.footer,
.page-header,
.careers-info,
.bg-dark,
.btn-primary {
  --text-dark: #FFFFFF;
  --text-sub: #FFFFFF;
  --text-mid: rgba(255, 255, 255, 0.9);
  --text-light: rgba(255, 255, 255, 0.8);
  --stats-num: #FFFFFF;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-white);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700;900&family=Open+Sans:wght@400;500;600;700&display=swap');

/* ===== UTILITY ===== */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad {
  padding: 80px 0;
}

.section-pad-sm {
  padding: 50px 0;
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary);
}

.text-accent {
  color: var(--accent);
}

.btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  letter-spacing: .3px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 51, 102, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--primary);
}

.btn-white:hover {
  background: var(--bg-light);
  color: var(--primary);
}

/* ===== SECTION HEADINGS ===== */
.section-heading {
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 14px;
  line-height: 1.3;
}

.section-sub {
  color: var(--text-sub);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto 40px;
}

.divider-accent {
  display: block;
  width: 56px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: 12px auto 20px;
}

/* ===== TOPBAR ===== */
.topbar {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  padding: 7px 0;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.topbar a {
  color: rgba(255, 255, 255, 0.8);
}

.topbar a:hover {
  color: var(--accent);
}

.topbar-right {
  display: flex;
  gap: 20px;
  align-items: center;
}

/* ===== NAVBAR ===== */
.navbar {
  background: #fff;
  box-shadow: 0 2px 16px #2196F3;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(0, 51, 102, 0.16);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 95%;
  padding: 0 30px;
}

.navbar-logo {
  height: 38px;
  width: auto;
  flex-shrink: 0;
  transition: height var(--transition);
}

.brand-text {
  color: var(--primary);
  white-space: nowrap;
  transition: font-size var(--transition);
}

.nav-logo .logo-text {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-menu {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav-menu a {
  padding: 8px 15px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--text-dark);
  transition: all var(--transition);
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width var(--transition), left var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 60%;
  left: 20%;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
}

.nav-menu .btn-primary {
  padding: 9px 22px;
  border-radius: 50px;
}

.nav-menu .btn-primary::after {
  display: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== HERO / SLIDER ===== */
.hero-slider {
  position: relative;
  height: 88vh;
  min-height: 500px;
  max-height: 820px;
  overflow: hidden;
  background: var(--primary-dark);
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 1s ease;
  background-color: var(--primary-dark);
  background-size: cover;
  background-position: center;
}

.slide:nth-child(1) {
  background-image: url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
}

.slide:nth-child(2) {
  background-image: url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
}

.slide:nth-child(3) {
  background-image: url('https://images.unsplash.com/photo-1553484771-371a605b060b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.slide-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
  max-width: 780px;
  padding: 0 24px;
}

.slide-content h1 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 18px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.slide-content h2 {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2.5vw, 1.8rem);
  font-weight: 400;
  margin-bottom: 28px;
  opacity: 0.9;
}

.slide-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.hero-arrows {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.hero-arrow {
  background: rgba(255, 255, 255, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all var(--transition);
  backdrop-filter: blur(6px);
}

.hero-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.hero-dots {
  position: absolute;
  bottom: 40px;
  right: 40px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all var(--transition);
}

.hero-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

/* ===== STATS STRIP ===== */
.stats-strip {
  background: #2196F3;
  color: #fff;
  padding: 32px 0;
}

.stats-strip .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
}

.stat-item {
  text-align: center;
}

.stat-item .stat-num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--stats-num);
}

.stat-item .stat-label {
  font-size: 13px;
  color: var(--text-light);
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: .8px;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  background: var(--bg-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.about-list {
  list-style: none;
  padding: 0;
}

.about-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 16px;
  line-height: 1.6;
  color: var(--text-sub);
}

.about-list li .icon {
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--accent);
}

.about-img-wrap {
  position: relative;
}

.about-img-wrap img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--accent);
  color: #fff;
  padding: 18px 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}

.about-badge strong {
  font-size: 2rem;
  font-family: var(--font-head);
  display: block;
}

.about-badge span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.about-list {
  margin: 20px 0;
}

.about-list li {
  padding: 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  border-bottom: 1px solid var(--border);
}

.about-list li:last-child {
  border-bottom: none;
}

.about-list li .icon {
  color: var(--accent);
  font-size: 15px;
  margin-top: 3px;
}

/* ===== CLIENTS TICKER ===== */
.clients-section {
  padding: 50px 0;
  overflow: hidden;
}

.clients-section h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--text-sub);
  text-align: center;
  margin-bottom: 8px;
}

.clients-section p {
  text-align: center;
  color: var(--text-mid);
  margin-bottom: 30px;
  font-size: 14.5px;
}

.ticker-wrap {
  overflow: hidden;
}

.ticker-track {
  display: flex;
  gap: 50px;
  align-items: center;
  animation: ticker 28s linear infinite;
  width: max-content;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  min-width: 140px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-mid);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ===== SERVICES GRID ===== */
.services-section {
  background: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 20px;
}

.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
  transform: scaleY(0);
  transition: transform var(--transition);
  transform-origin: bottom;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleY(1);
}

.service-icon {
  width: 58px;
  height: 58px;
  background: var(--bg-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
  transition: background var(--transition);
}

.service-card:hover .service-icon {
  background: var(--accent);
}

.service-card h4 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--text-sub);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.65;
}

.service-card ul {
  margin-top: 10px;
}

.service-card ul li {
  font-size: 13.5px;
  color: var(--text-mid);
  padding: 3px 0;
}

/* ===== WHY CHOOSE ===== */
.why-section {
  background: var(--primary);
  color: #fff;
}

.why-section .section-heading {
  color: #fff;
}

.why-section .section-sub {
  color: rgba(255, 255, 255, 0.75);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin-top: 20px;
}

.why-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  transition: all var(--transition);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
}

.why-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin: 0 auto 16px;
  filter: brightness(0) invert(1) opacity(0.9);
}

.why-card h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text-sub);
}

.why-card p {
  font-size: 13.5px;
  opacity: 0.8;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-head);
  color: var(--text-dark);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.contact-info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-info-text strong {
  display: block;
  color: var(--text-sub);
  font-size: 14px;
}

.contact-info-text span {
  font-size: 13.5px;
  color: var(--text-mid);
}

.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-family: var(--font-head);
  color: var(--text-dark);
  font-size: 1.4rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 7px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--text-dark);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9CA3AF;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  color: #c0392b;
  font-size: 12.5px;
  margin-top: 5px;
  display: none;
}

.form-error.show {
  display: block;
}

/* ===== SUCCESS MODAL ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.modal-overlay.show {
  display: flex;
}

.modal-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  text-align: center;
  max-width: 420px;
  width: 90%;
  box-shadow: var(--shadow-lg);
  animation: modalPop .35s cubic-bezier(.34, 1.56, .64, 1);
}

@keyframes modalPop {
  from {
    transform: scale(.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-icon {
  font-size: 3rem;
  color: #27ae60;
  margin-bottom: 14px;
}

.modal-box h5 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.modal-box p {
  color: var(--text-mid);
  font-size: 14.5px;
  margin-bottom: 22px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.9);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-text {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
}

.footer-brand .logo-text span {
  color: var(--accent);
}

.footer-brand p {
  font-size: 13.5px;
  line-height: 1.75;
  opacity: 0.85;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  color: #fff;
}

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: #fff;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13.5px;
  transition: all var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  opacity: 0.9;
  align-items: flex-start;
}

.footer-contact-item i {
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  opacity: 0.8;
}

/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  padding: 70px 0 50px;
  text-align: center;
}

.page-header h1 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 12px;
}

.page-header p {
  opacity: 0.8;
  font-size: 1.05rem;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin-top: 14px;
  font-size: 13.5px;
  opacity: 0.7;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb span {
  opacity: 0.5;
}

/* ===== ABOUT PAGE ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.team-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all var(--transition);
  border: 1px solid var(--border);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.team-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.team-img-placeholder {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, var(--bg-light), var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--primary);
}

.team-info {
  padding: 20px;
}

.team-info h4 {
  font-family: var(--font-head);
  color: var(--text-sub);
  font-size: 1rem;
  margin-bottom: 4px;
}

.team-info p {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}

.team-social {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.team-social a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--primary);
  transition: all var(--transition);
}

.team-social a:hover {
  background: var(--accent);
  color: #fff;
}

.tab-nav {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 24px;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-mid);
  transition: all var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.tab-pane {
  display: none;
  animation: fadeIn .3s;
}

.tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ===== SERVICES PAGE ===== */
.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.service-detail-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.service-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-detail-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.service-detail-body {
  padding: 24px;
}

.service-detail-body h4 {
  font-family: var(--font-head);
  color: var(--text-sub);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.service-detail-body p {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 14px;
}

.read-more-btn {
  background: none;
  border: none;
  color: var(--accent);
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
  padding: 0;
  transition: color var(--transition);
}

.read-more-btn:hover {
  color: var(--primary);
}

/* ===== SKILL BARS ===== */
.skill-bars {
  max-width: 680px;
}

.skill-bar-item {
  margin-bottom: 20px;
}

.skill-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.skill-bar-track {
  height: 10px;
  background: var(--border);
  border-radius: 5px;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 5px;
  width: 0;
  transition: width 1.4s cubic-bezier(.4, 0, .2, 1);
}

/* ===== CASE STUDIES ===== */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 28px;
}

.case-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.case-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.case-card-body {
  padding: 22px;
}

.case-card-body h4 {
  font-family: var(--font-head);
  color: var(--text-sub);
  font-size: 1rem;
  margin-bottom: 8px;
}

.case-card-body p {
  font-size: 13.5px;
  color: var(--text-mid);
}

.case-highlight {
  display: inline-block;
  background: var(--bg-light);
  color: var(--accent);
  font-weight: 700;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

/* ===== FAQ PAGE ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-dark);
  transition: background var(--transition);
  gap: 12px;
}

.faq-question:hover {
  background: var(--bg-light);
}

.faq-icon {
  width: 28px;
  height: 28px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: all var(--transition);
  color: var(--accent);
}

.faq-item.open .faq-icon {
  background: var(--accent);
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
  padding: 0 22px;
  font-size: 14.5px;
  color: var(--text-mid);
  line-height: 1.75;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 22px 18px;
}

.faq-answer ul {
  margin-top: 8px;
}

.faq-answer ul li {
  padding: 3px 0;
  list-style: disc;
  margin-left: 20px;
}

/* ===== BLOG PAGE ===== */
.blog-grid {
  display: block;
}

.blog-posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.blog-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
}

.blog-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.6);
}

.blog-card-body {
  padding: 24px;
}

.blog-meta {
  font-size: 12.5px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.blog-meta span {
  margin: 0 6px;
}

.blog-card-body h3 {
  font-family: var(--font-head);
  color: var(--text-dark);
  font-size: 1.15rem;
  margin-bottom: 10px;
  cursor: pointer;
  transition: color var(--transition);
}

.blog-card-body h3:hover {
  color: var(--accent);
}

.blog-card-body p {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 14px;
}

.blog-read-btn {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent);
  cursor: pointer;
}

.blog-read-btn:hover {
  color: var(--primary);
}

.blog-sidebar-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}

.blog-sidebar-card h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--text-sub);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}

.sidebar-post {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.sidebar-post-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  color: var(--primary);
}

.sidebar-post-text a {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  display: block;
  margin-bottom: 3px;
}

.sidebar-post-text a:hover {
  color: var(--accent);
}

.sidebar-post-text span {
  font-size: 11.5px;
  color: var(--text-light);
}

.category-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 50px;
  background: var(--bg-light);
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 600;
  margin: 4px;
  cursor: pointer;
  transition: all var(--transition);
}

.category-tag:hover {
  background: var(--primary);
  color: #fff;
}

/* ===== CAREERS PAGE ===== */
.careers-info {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  margin-bottom: 40px;
}

.careers-info h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  margin-bottom: 14px;
  color: var(--accent-light);
}

.careers-info p {
  font-size: 14.5px;
  line-height: 1.8;
  opacity: 0.88;
}

.careers-form-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.careers-form-wrap h2 {
  font-family: var(--font-head);
  color: var(--text-dark);
  font-size: 1.5rem;
  margin-bottom: 28px;
}

.file-upload-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
}

.file-upload-area:hover {
  border-color: var(--accent);
  background: #fff9f0;
}

.file-upload-area input {
  display: none;
}

.file-upload-area .upload-icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 8px;
}

.file-upload-area p {
  font-size: 13.5px;
  color: var(--text-light);
}

.file-upload-area span {
  font-size: 12px;
  color: var(--text-light);
  display: block;
  margin-top: 4px;
}

/* ===== MODAL (Blog/Service Details) ===== */
.detail-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.detail-modal-overlay.show {
  display: flex;
}

.detail-modal {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 640px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: modalPop .3s cubic-bezier(.34, 1.56, .64, 1);
}

.detail-modal-header {
  background: var(--primary);
  color: #fff;
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
}

.detail-modal-header h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.modal-close-btn:hover {
  background: var(--accent);
}

.detail-modal-body {
  padding: 28px;
  font-size: 14.5px;
  color: var(--text-mid);
  line-height: 1.8;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 16px rgba(232, 160, 32, 0.4);
  opacity: 0;
  transform: translateY(16px);
  transition: all var(--transition);
  z-index: 800;
}

.back-to-top.show {
  opacity: 1;
  transform: none;
}

.back-to-top:hover {
  background: var(--primary);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {

  .about-grid,
  .contact-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-badge {
    right: 0;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    z-index: 999;
    gap: 4px;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    padding: 12px 16px;
    border-radius: 8px;
  }

  .nav-toggle {
    display: flex;
  }

  .topbar {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-pad {
    padding: 55px 0;
  }

  .hero-slider {
    height: 70vh;
  }

  .stats-strip .container {
    grid-template-columns: 1fr 1fr;
  }

  .navbar .container {
    padding: 0 16px;
  }

  .careers-info,
  .careers-form-wrap,
  .contact-form {
    padding: 30px 20px;
  }

  .navbar-logo {
    height: 32px;
  }

  .brand-text {
    font-size: 1.15rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 16px;
  }
}

@media (max-width: 480px) {
  .section-heading {
    font-size: 1.5rem;
  }

  .stats-strip .container {
    grid-template-columns: 1fr 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .navbar-logo {
    height: 28px;
  }

  .brand-text {
    font-size: 0.95rem;
  }
}

@media (max-width: 360px) {
  .brand-text {
    font-size: 0.85rem;
  }
  .navbar-logo {
    height: 24px;
  }
}