/* ============================================================
   STYLE.CSS - Custom CSS for SSFirms Website
   Handles: animations, ticker, lightbox, scrollbar, 
   hero slider, and anything Tailwind can't do
   ============================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ---- CSS Variables / Design Tokens ---- */
:root {
  --primary:    #3b0da8;   /* deep purple - headings, buttons */
  --primary-lt: #5a2ee8;
  --accent:     #e0194e;   /* crimson-pink - logo text, accents */
  --accent2:    #f0a500;   /* gold - star ratings */
  --purple-dark:#1a0463;
  --footer-bg:  #1e0b52;
  --footer-card:#2a1260;
  --text-dark:  #1a1a2e;
  --text-body:  #444;
  --text-muted: #777;
  --light-bg:   #f0f2f8;
  --border-col: #e2e4f0;
  --white:      #ffffff;
  --hero-overlay: rgba(0,0,0,0.45);
  --transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}

/* ---- Base Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---- Custom Scrollbar ---- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f0f2f8; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-lt); }

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1300px;
  margin: 0 auto;
  padding: 8px 24px;
}

/* Logo */
.logo-wrap { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.logo-wrap img { height: 70px; width: auto; object-fit: contain; }
.logo-text {
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 1px;
}

/* Nav links */
.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link .chevron {
  font-size: 11px;
  transition: transform 0.3s;
}

.nav-item:hover .chevron { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  min-width: 220px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  border-top: 3px solid var(--primary);
  z-index: 100;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-link {
  display: block;
  padding: 11px 20px;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--text-dark);
  border-bottom: 1px solid #f0f2f8;
  transition: var(--transition);
}
.dropdown-link:last-child { border-bottom: none; }
.dropdown-link:hover {
  color: var(--primary);
  background: var(--light-bg);
  padding-left: 26px;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 26px; height: 3px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  max-height: calc(100vh - 86px);
  overflow-y: auto;
  display: none;
  position: fixed;
  top: 86px; left: 0; right: 0;
  background: #fff;
  z-index: 999;
  padding: 16px 0 24px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  border-top: 2px solid var(--light-bg);
}
.mobile-nav.open { display: block; }
.mobile-nav .nav-link {
  display: block;
  padding: 12px 28px;
  border-bottom: 1px solid #f0f2f8;
  border-radius: 0;
}
.mobile-dropdown { display: none; background: #f8f9fc; }
.mobile-dropdown.open { display: block; }
.mobile-dropdown .dropdown-link { padding-left: 44px; }

/* ============================================================
   PAGE BODY OFFSET (for fixed header)
   ============================================================ */
.page-body { padding-top: 86px; }

/* ============================================================
   SECTION BANNER (inner pages)
   ============================================================ */
.page-banner {
  min-height: 480px;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, #f2f4fc 0%, #e8e6f8 50%, #d8d3f5 100%);
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 600px; height: 600px;
  background: linear-gradient(135deg, #5a2ee8 0%, #8b5cf6 100%);
  border-radius: 50% 50% 50% 0;
  opacity: 0.85;
  z-index: 0;
}

.banner-content {
  position: relative; z-index: 1;
  max-width: 1300px; margin: 0 auto;
  padding: 60px 24px;
  width: 100%;
}

.banner-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.banner-heading {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
}

.banner-illustration {
  position: absolute;
  right: 40px; bottom: 0;
  height: 90%;
  object-fit: contain;
  z-index: 1;
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider {
  position: relative;
  width: 100%;
  height: 75vh;
  min-height: 480px;
  overflow: hidden;
  background: #888;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.hero-slide.active { opacity: 1; z-index: 1; }

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #9e9e9e;
  transition: transform 8s ease;
}

.hero-slide.active .hero-slide-bg { transform: scale(1.05); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

.hero-title {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: clamp(1.6rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  max-width: 650px;
  line-height: 1.25;
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s 0.3s, transform 0.8s 0.3s;
}

.hero-slide.active .hero-title { opacity: 1; transform: translateY(0); }

.hero-btn {
  display: inline-block;
  padding: 14px 36px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 30px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: background 0.3s, opacity 0.8s 0.5s, transform 0.8s 0.5s;
}

.hero-slide.active .hero-btn { opacity: 1; transform: translateY(0); }
.hero-btn:hover { background: var(--primary-lt); }

/* Arrow buttons */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}
.slider-arrow:hover { background: rgba(255,255,255,0.35); }
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

/* Slider dots */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 8px;
}
.slider-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: var(--transition);
}
.slider-dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* ============================================================
   COMMON SECTION STYLES
   ============================================================ */
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-title-white { color: #fff; }

.section-divider {
  width: 70px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin: 0 0 24px 0;
}

.section-divider-center { margin: 0 auto 24px; }

.section-body {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.8;
  max-width: 650px;
}

/* ============================================================
   ABOUT US SECTION (homepage)
   ============================================================ */
.about-section { background: #fff; }

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

.about-text-col { }

.about-img-col img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

/* ============================================================
   SERVICES DARK SECTION
   ============================================================ */
.services-dark {
  position: relative;
  background: #1a1a2e;
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 100px 0;
  overflow: hidden;
}

.services-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20, 10, 60, 0.75);
}

.services-dark-content { position: relative; z-index: 1; }

.services-dark-divider {
  width: 70px;
  height: 2px;
  background: rgba(255,255,255,0.4);
  margin: 18px auto;
}

/* ============================================================
   INDUSTRIES SLIDER
   ============================================================ */
.industries-section { background: var(--light-bg); }

.industries-slider-wrap {
  position: relative;
  overflow: hidden;
  margin-top: 20px;
}

.industries-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: scrollTicker 30s linear infinite;
}
.industries-track:hover {
  animation-play-state: paused;
}
@keyframes scrollTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 12px)); }
}



.industry-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #ddd;
  border-radius: 24px 24px 24px 24px;
}

/* rounded top image style */
.industry-card {
  flex: 0 0 250px;
  border-radius: 125px 125px 25px 25px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  padding: 10px;
}

.industry-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 36px rgba(59,13,168,0.15);
}

.industry-img-wrap {
  border-radius: 115px 115px 0 0;
  overflow: hidden;
  background: transparent;
}

.industry-img-wrap img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.industry-label {
  padding: 14px 10px 8px;
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
}

.ind-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  width: 100%;
  pointer-events: none;
  z-index: 5;
}

.ind-arrow {
  pointer-events: all;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}
.ind-arrow:hover { background: var(--primary-lt); }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-section { background: #fff; }

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

.why-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.why-feature-btn {
  display: block;
  padding: 18px 20px;
  background: #fff;
  border: 1.5px solid var(--border-col);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.why-feature-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(59,13,168,0.2);
}

.why-img-col img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  position: relative;
  background: #0d1b3e;
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 40, 0.7);
}

.cta-content { position: relative; z-index: 1; }

.cta-title {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 600;
  color: #fff;
  margin-bottom: 30px;
}

.cta-form {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.cta-input {
  flex: 1;
  padding: 18px 24px;
  border: none;
  font-size: 15px;
  outline: none;
  font-family: inherit;
}

.cta-btn {
  padding: 18px 28px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: var(--transition);
}
.cta-btn:hover { background: var(--primary-lt); }

/* ============================================================
   PARTNERS
   ============================================================ */
.partners-section { background: var(--light-bg); }
.partners-section .section-title { text-align: center; }
.partners-section .section-divider { margin: 0 auto 40px; }

.partners-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  width: 200px;
  height: 80px;
  transition: var(--transition);
}

.partner-logo:hover { transform: scale(1.05); }
.partner-logo img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }

/* ============================================================
   CONTACT SECTION (homepage & contact page)
   ============================================================ */
.contact-section {
  background: var(--footer-bg);
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-heading {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.contact-body {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 30px;
}

.contact-form { display: flex; flex-direction: column; gap: 14px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.form-input,
.form-textarea {
  width: 100%;
  padding: 15px 18px;
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255,255,255,0.4);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--primary-lt);
  background: rgba(255,255,255,0.12);
}

.form-textarea { min-height: 120px; resize: vertical; }

.form-submit {
  width: 100%;
  padding: 16px;
  background: #7c3aed;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
}
.form-submit:hover { background: var(--primary-lt); }

.address-cards { display: flex; flex-direction: column; gap: 20px; }

.address-card {
  background: var(--footer-card);
  border-radius: 12px;
  padding: 24px 28px;
}

.address-card-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-lt);
  margin-bottom: 16px;
}

.address-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
}

.address-detail i {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
  flex-shrink: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--footer-bg);
  padding-top: 60px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand { }
.footer-logo-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo-wrap img { height: 60px; }
.footer-logo-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
}

.footer-about {
  font-size: 13.5px;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-social { display: flex; gap: 10px; }

.social-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.75);
  font-size: 16px;
  transition: var(--transition);
}
.social-btn:hover { background: var(--primary-lt); color: #fff; }

.footer-col-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
}

.footer-link-list { display: flex; flex-direction: column; gap: 10px; }

.footer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}

.footer-link i { font-size: 12px; color: var(--primary-lt); }

.footer-link:hover { color: #fff; padding-left: 4px; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 12px;
  line-height: 1.6;
}
.footer-contact-item i { color: var(--primary-lt); font-size: 16px; margin-top: 2px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   WHO ARE WE SECTION (About page)
   ============================================================ */
.who-section { background: var(--light-bg); }

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

.vision-mission-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 30px;
}

.vm-card {
  text-align: center;
  padding: 24px 16px;
}

.vm-icon-wrap {
  width: 90px; height: 90px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.vm-icon-wrap.vision { background: rgba(255, 182, 193, 0.35); color: #5a2ee8; }
.vm-icon-wrap.mission { background: rgba(144, 238, 144, 0.3); color: #1a7a4a; }

.vm-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.vm-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   MARKET TRENDS SECTION (About page)
   ============================================================ */
.market-section {
  background: #fff;
  display: grid;
}

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

.market-img { border-radius: 12px; overflow: hidden; }
.market-img img { width: 100%; border-radius: 12px; }

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
.testimonials-section { background: var(--light-bg); padding: 80px 0; overflow: hidden; }

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}

.testimonials-intro-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
}

.testimonials-intro-body {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.8;
}

.testimonials-slider-wrap { overflow: hidden; position: relative; }

.testimonials-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.testimonial-card {
  flex: 0 0 calc(50% - 10px);
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

.stars { color: var(--accent2); font-size: 18px; margin-bottom: 14px; }

.testimonial-quote {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 20px;
}

.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: #ddd;
}
.author-name { font-size: 15px; font-weight: 600; color: var(--text-dark); }
.author-role { font-size: 12px; color: var(--text-muted); }

/* ============================================================
   READY TO START BANNER (About page)
   ============================================================ */
.ready-banner {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  padding: 70px 0;
  text-align: left;
}

.ready-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.ready-heading {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: #fff;
}

.ready-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin-top: 6px;
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-page-banner {
  position: relative;
  background: linear-gradient(135deg, #f2f4fc 0%, #ede9fe 100%);
  min-height: 480px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.services-page-banner::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(135deg, #5b21b6, #7c3aed);
  border-radius: 50% 0 0 100%;
}

.services-page-banner .banner-content { z-index: 2; }
.services-page-banner .banner-illustration { z-index: 3; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border-col);
  border-radius: 0;
  overflow: hidden;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 36px 28px;
  border-right: 1px solid var(--border-col);
  border-bottom: 1px solid var(--border-col);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.service-item:nth-child(3n) { border-right: none; }
.service-item:nth-last-child(-n+3) { border-bottom: none; }

.service-item:hover { background: #f8f9ff; }

/* Special: center item in last row */
.service-item.center-last {
  grid-column: 2;
}

.service-icon { 
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
}

.service-icon-placeholder {
  width: 72px; height: 72px;
  background: var(--light-bg);
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary);
}

.service-item-info { }
.service-item-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.service-item-link {
  font-size: 13.5px;
  color: var(--primary);
  font-weight: 500;
  transition: var(--transition);
}
.service-item:hover .service-item-link { color: var(--accent); }

.services-promo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: var(--light-bg);
}

.promo-left {
  padding: 60px;
  background: var(--primary);
  color: #fff;
}

.promo-left-text {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.3;
}

.promo-right {
  padding: 60px;
  position: relative;
}

.promo-right-label {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.video-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
}

.play-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: var(--transition);
}

.video-play-btn:hover .play-circle {
  background: var(--primary);
  color: #fff;
}

/* ============================================================
   SUB-SERVICE PAGE CONTENT
   ============================================================ */
.subservice-content { padding: 70px 0; background: #fff; }

.subservice-intro { margin-bottom: 50px; }
.subservice-intro-heading {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.subservice-intro-body {
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.85;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.capability-card {
  padding: 30px 28px;
  border: 1.5px solid var(--border-col);
  border-radius: 12px;
  transition: var(--transition);
}

.capability-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(59,13,168,0.1);
  transform: translateY(-4px);
}

.capability-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.capability-body {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.75;
}

/* ============================================================
   INDUSTRIES PAGE
   ============================================================ */
.industries-page-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.industry-page-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: var(--transition);
  cursor: pointer;
  background: #fff;
}

.industry-page-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(59,13,168,0.15);
}

.industry-page-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #ccc;
}

.industry-page-body { padding: 20px; }

.industry-page-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.industry-page-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   CLIENTS / CAREERS EMPTY STATE
   ============================================================ */
.empty-page {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}

.empty-page-heading {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
}

.empty-page-body {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.8;
}

/* ============================================================
   VIDEO LIGHTBOX
   ============================================================ */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.lightbox-overlay.open { display: flex; }

.lightbox-inner {
  position: relative;
  width: 90%;
  max-width: 900px;
  aspect-ratio: 16/9;
}

.lightbox-inner iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: -44px; right: 0;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  transition: var(--transition);
}
.lightbox-close:hover { color: var(--accent); transform: scale(1.2); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 30px;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: var(--transition);
}
.btn-primary:hover {
  background: var(--primary-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59,13,168,0.3);
}

.btn-outline-white {
  display: inline-block;
  padding: 14px 36px;
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 30px;
  border: 2px solid #fff;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
}
.btn-outline-white:hover {
  background: #fff;
  color: var(--primary);
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-in {
  opacity: 0;
  transition: opacity 0.7s ease;
}
.fade-in.visible { opacity: 1; }

.slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.slide-left.visible { opacity: 1; transform: translateX(0); }

.slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.slide-right.visible { opacity: 1; transform: translateX(0); }

/* Stagger delays */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-page-body { background: #fff; }
.map-wrap { 
  margin-top: 50px; 
  border-radius: 12px; 
  overflow: hidden; 
  height: 350px;
}
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-top > *:last-child { grid-column: 1 / -1; }
  .industries-page-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .nav-list { display: none; }
  .hamburger { display: flex; }

  .about-grid,
  .why-grid,
  .market-grid,
  .who-grid,
  .contact-grid,
  .testimonials-grid,
  .services-promo { grid-template-columns: 1fr; }

  .about-grid .about-img-col { order: -1; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-item:nth-child(3n) { border-right: 1px solid var(--border-col); }
  .service-item:nth-child(2n) { border-right: none; }

  .industries-page-grid { grid-template-columns: repeat(2, 1fr); }
  .capabilities-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .ready-inner { flex-direction: column; text-align: center; }
  .banner-illustration { display: none; }
  .testimonial-card { flex: 0 0 100%; }

  .services-page-banner::after { display: none; }
  .services-page-banner { background: linear-gradient(135deg, #ede9fe, #c4b5fd); }
}

@media (max-width: 600px) {
  .section { padding: 55px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .service-item:nth-child(2n) { border-right: 1px solid var(--border-col); }
  .service-item { border-right: none !important; }
  .industries-page-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .why-features { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-form { flex-direction: column; border-radius: 8px; }
  .cta-input, .cta-btn { width: 100%; text-align: center; }
  .vision-mission-row { grid-template-columns: 1fr; }
  .capabilities-grid { grid-template-columns: 1fr; }
  .page-banner { min-height: 320px; }
  .banner-heading { font-size: 2rem; }
}

/* ============================================================
   FORCED MOBILE 3-COLUMNS OVERRIDES
   ============================================================ */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .service-item {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 6px !important;
    padding: 12px 6px !important;
    border-right: 1px solid var(--border-col) !important;
    border-bottom: 1px solid var(--border-col) !important;
  }
  .service-item:nth-child(3n) {
    border-right: none !important;
  }
  .service-icon-placeholder {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    font-size: 14px !important;
    margin: 0 !important;
  }
  .service-item-title {
    font-size: 9px !important;
    line-height: 1.2 !important;
    margin-bottom: 2px !important;
  }
  .service-item-link {
    font-size: 8px !important;
  }
}
