/* ============================================================
   DREAMTECH SOFTWARE & SERVICES PVT LTD — MAIN STYLESHEET
   Brand Colors: Deep Blue-Purple #3A3A8A | Red #E53935 | Magenta #FF2D8F
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
  --primary: #3A3A8A;
  --primary-light: #5C5CC9;
  --primary-dark: #272760;
  --red: #E53935;
  --red-light: #FF6B6B;
  --magenta: #FF2D8F;
  --accent: #FF6B35;
  --dark: #0F0F1A;
  --dark-2: #1A1A2E;
  --dark-3: #16213E;
  --mid-dark: #2A2A4A;
  --text: #2D2D4E;
  --text-light: #6B6B9A;
  --text-muted: #9999BB;
  --white: #FFFFFF;
  --off-white: #F7F8FC;
  --border: rgba(58,58,138,0.1);
  --shadow: 0 8px 32px rgba(58,58,138,0.12);
  --shadow-md: 0 16px 48px rgba(58,58,138,0.18);
  --shadow-lg: 0 24px 64px rgba(58,58,138,0.22);
  --gradient: linear-gradient(135deg, #3A3A8A 0%, #E53935 100%);
  --gradient-soft: linear-gradient(135deg, #F0F0FF 0%, #FFF0F0 100%);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Poppins', sans-serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.mt-2 { margin-top: 2rem; }

/* ---- Utility Classes ---- */
.red { color: var(--red); }
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(229,57,53,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(229,57,53,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
}

.btn-full { width: 100%; justify-content: center; }

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

.section-tag {
  display: inline-block;
  background: var(--gradient-soft);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  border: 1px solid var(--border);
  margin-bottom: 16px;
}

.section-tag.light {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.2);
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.7;
}


/* ============================================================
   PRELOADER
   ============================================================ */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--dark-2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  text-align: center;
  color: var(--white);
}

.dss-logo-anim {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dss-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  z-index: 1;
}

.dss-ring {
  position: absolute;
  inset: 0;
  border: 3px solid transparent;
  border-top-color: var(--red);
  border-right-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.preloader-inner p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 1px;
}

@keyframes spin { to { transform: rotate(360deg); } }


/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

#navbar.scrolled {
  background: rgba(15, 15, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(229,57,53,0.4);
  flex-shrink: 0;
}

.brand-icon span {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 1px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-dream {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
}

.brand-text small {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.5px;
}

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

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.btn-nav {
  background: var(--gradient) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: 50px !important;
  box-shadow: 0 4px 16px rgba(229,57,53,0.35);
}

.btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(229,57,53,0.45) !important;
  background: rgba(255,255,255,0.1) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  background: var(--dark-2);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  gap: 60px;
  padding: 0 24px;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.shape-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(58,58,138,0.4) 0%, transparent 70%);
  top: -200px;
  left: -100px;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(229,57,53,0.3) 0%, transparent 70%);
  top: 40%;
  right: -100px;
}

.shape-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,45,143,0.2) 0%, transparent 70%);
  bottom: 0;
  left: 30%;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4CAF50;
  box-shadow: 0 0 8px #4CAF50;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 20px 28px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  width: fit-content;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
}

.stat strong {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.stat span {
  font-size: 1.2rem;
  color: var(--red);
  font-weight: 700;
  display: inline;
}

.stat small {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
  text-align: center;
  letter-spacing: 0.5px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 500px;
}

.hero-card-cluster {
  position: relative;
  width: 380px;
  height: 380px;
}

.hero-center-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
}

.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid transparent;
  animation: rotate 8s linear infinite;
}

.ring-1 {
  inset: 0;
  border-color: rgba(58,58,138,0.5);
  animation-duration: 6s;
}

.ring-2 {
  inset: 12px;
  border-top-color: var(--red);
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-left-color: transparent;
  animation-duration: 4s;
  animation-direction: reverse;
}

.ring-3 {
  inset: 24px;
  border-color: rgba(255,45,143,0.4);
  animation-duration: 3s;
}

@keyframes rotate { to { transform: rotate(360deg); } }

.orb-core {
  position: absolute;
  inset: 36px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(229,57,53,0.5), 0 0 80px rgba(58,58,138,0.3);
}

.orb-dss {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 2px;
}

.float-card {
  position: absolute;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--white);
  box-shadow: var(--shadow);
  animation: float 4s ease-in-out infinite;
  white-space: nowrap;
}

.float-card i { font-size: 1rem; }

.card-ai    { top: 0; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.card-ai i  { color: #7C4DFF; }

.card-cloud { top: 20%; right: -20px; animation-delay: 0.5s; }
.card-cloud i { color: #40C4FF; }

.card-robot { bottom: 20%; right: -20px; animation-delay: 1s; }
.card-robot i { color: #FF6B35; }

.card-drone { bottom: 0; left: 50%; transform: translateX(-50%); animation-delay: 1.5s; }
.card-drone i { color: #69F0AE; }

.card-mobile { top: 20%; left: -20px; animation-delay: 2s; }
.card-mobile i { color: #FF4081; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.card-ai    { animation-name: floatCenter; }
.card-drone { animation-name: floatCenter; }

@keyframes floatCenter {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  animation: bounce 2s ease infinite;
  z-index: 2;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}


/* ============================================================
   TICKER
   ============================================================ */
.ticker-wrapper {
  background: var(--gradient);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
}

.ticker-wrapper::before,
.ticker-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 1;
}
.ticker-wrapper::before { left: 0; background: linear-gradient(to right, #3A3A8A, transparent); }
.ticker-wrapper::after  { right: 0; background: linear-gradient(to left, #E53935, transparent); }

.ticker-track {
  display: inline-flex;
  gap: 0;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}

.ticker-track span {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: 1px;
  padding: 0 20px;
  text-transform: uppercase;
}

.ticker-track .sep {
  color: rgba(255,255,255,0.5);
  font-size: 0.6rem;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ============================================================
   SERVICES
   ============================================================ */
.services-section {
  background: var(--off-white);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, color-mix(in srgb, var(--icon-color) 15%, white), color-mix(in srgb, var(--icon-color) 5%, white));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

/* Fallback for browsers without color-mix */
.service-icon {
  background: rgba(58,58,138,0.08);
}

.service-icon i {
  font-size: 1.5rem;
  color: var(--icon-color);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.service-link:hover {
  color: var(--red);
  gap: 10px;
}


/* ============================================================
   ABOUT
   ============================================================ */
.about-section {
  background: var(--white);
}

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

.about-visual {
  position: relative;
}

.about-card-main {
  background: var(--dark-2);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.about-card-main::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(58,58,138,0.3) 0%, transparent 70%);
  border-radius: 50%;
}

.about-icon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.about-icon-item {
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-icon-item i {
  font-size: 1.8rem;
  color: var(--white);
}

.about-brand-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.badge-dss {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--white);
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(229,57,53,0.4);
}

.badge-info strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
}

.badge-info small {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
}

.about-location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
}

.about-location i { color: var(--red); }

.about-exp-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gradient);
  border-radius: var(--radius);
  padding: 20px 28px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.about-exp-badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.about-exp-badge span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.8);
}

.about-content {
  padding-bottom: 20px;
}

.about-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 20px;
  margin-top: 12px;
}

.about-lead {
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-content > p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 28px;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 8px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text);
}

.highlight-item i {
  color: #4CAF50;
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}


/* ============================================================
   INDUSTRIES
   ============================================================ */
.industries-section {
  background: var(--off-white);
}

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

.industry-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.ind-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border: 2px solid var(--border);
  transition: var(--transition);
}

.industry-card:hover .ind-icon {
  background: var(--gradient);
  border-color: transparent;
}

.ind-icon i {
  font-size: 1.4rem;
  color: var(--primary);
  transition: var(--transition);
}

.industry-card:hover .ind-icon i {
  color: var(--white);
}

.industry-card h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.industry-card p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.6;
}


/* ============================================================
   WHY US
   ============================================================ */
.whyus-section {
  background: var(--dark-2);
  color: var(--white);
}

.whyus-section .section-header h2 {
  color: var(--white);
}

.whyus-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.whyus-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 16px;
  margin-top: 12px;
}

.whyus-content > p {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 36px;
}

.whyus-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.2);
  flex-shrink: 0;
  width: 48px;
  line-height: 1;
}

.feature-info h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.feature-info p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.tech-stack-box {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 20px;
}

.tech-stack-box h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tags span {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 50px;
  transition: var(--transition);
}

.tech-tags span:hover {
  background: var(--gradient);
  border-color: transparent;
  color: var(--white);
}

.cert-badges {
  display: flex;
  gap: 12px;
}

.cert-badge {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: center;
  transition: var(--transition);
}

.cert-badge:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}

.cert-badge i {
  font-size: 1.5rem;
  color: var(--white);
  display: block;
  margin-bottom: 6px;
}

.cert-badge span {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}


/* ============================================================
   PROCESS
   ============================================================ */
.process-section {
  background: var(--white);
}

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
}

.process-step {
  flex: 1;
  text-align: center;
  padding: 0 16px;
  position: relative;
}

.step-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: var(--off-white);
  line-height: 1;
  margin-bottom: 8px;
  transition: var(--transition);
}

.process-step:hover .step-num {
  color: transparent;
  -webkit-text-stroke: 2px var(--red);
}

.step-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gradient-soft);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.process-step:hover .step-icon {
  background: var(--gradient);
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(229,57,53,0.35);
}

.step-icon i {
  font-size: 1.5rem;
  color: var(--primary);
  transition: var(--transition);
}

.process-step:hover .step-icon i {
  color: var(--white);
}

.process-step h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.process-step p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.65;
}

.process-arrow {
  font-size: 1.5rem;
  color: var(--border);
  padding-top: 80px;
  flex-shrink: 0;
}


/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
  background: var(--off-white);
}

.testimonials-slider {
  position: relative;
  max-width: 760px;
  margin: 0 auto 36px;
}

.testimonial-card {
  display: none;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  text-align: center;
  animation: fadeInCard 0.4s ease;
}

.testimonial-card.active {
  display: block;
}

@keyframes fadeInCard {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.testi-stars {
  color: #FFC107;
  font-size: 1rem;
  margin-bottom: 20px;
  gap: 4px;
  display: flex;
  justify-content: center;
}

.testimonial-card > p {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 28px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
}

.author-info { text-align: left; }

.author-info strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.author-info small {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.testi-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.testi-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  color: var(--text-light);
  font-size: 0.85rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.testi-btn:hover {
  background: var(--gradient);
  border-color: transparent;
  color: var(--white);
}

.testi-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.testi-dot.active {
  background: var(--red);
  width: 24px;
  border-radius: 4px;
}


/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--gradient);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-shapes { position: absolute; inset: 0; pointer-events: none; }

.cta-shape {
  position: absolute;
  border-radius: 50%;
}

.cta-shape.s1 {
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.08);
  top: -200px;
  right: 10%;
}

.cta-shape.s2 {
  width: 250px;
  height: 250px;
  background: rgba(255,255,255,0.06);
  bottom: -100px;
  left: 5%;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-inner h2 span {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cta-inner p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}


/* ============================================================
   CONTACT
   ============================================================ */
.contact-section {
  background: var(--white);
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  padding: 20px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.contact-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-card h4 {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.contact-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.65;
}

.contact-card p a {
  color: var(--primary);
  transition: var(--transition);
}

.contact-card p a:hover { color: var(--red); }

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--off-white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--gradient);
  border-color: transparent;
  color: var(--white);
  transform: translateY(-3px);
}

/* Contact Form */
.contact-form-wrap {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full { margin-bottom: 20px; }

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(58,58,138,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-success {
  display: none;
  background: rgba(76,175,80,0.1);
  border: 1px solid rgba(76,175,80,0.3);
  color: #2E7D32;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
}

.form-success.show {
  display: flex;
}

.form-success i { font-size: 1.1rem; }


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
}

.footer-top {
  padding: 80px 0 60px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 48px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  margin-bottom: 24px;
}

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

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gradient);
  border-color: transparent;
  color: var(--white);
  transform: translateY(-3px);
}

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a::before {
  content: '›';
  color: var(--red);
  font-size: 1rem;
}

.footer-col ul li a:hover {
  color: var(--white);
  gap: 10px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fc-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.5);
}

.fc-item i {
  color: var(--red);
  font-size: 0.85rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  padding: 24px 0;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  transition: var(--transition);
}

.footer-bottom-links a:hover { color: rgba(255,255,255,0.8); }


/* ============================================================
   BACK TO TOP + WHATSAPP FLOAT
   ============================================================ */
#backToTop {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(229,57,53,0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 500;
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#backToTop:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(229,57,53,0.5);
}

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  z-index: 500;
  transition: var(--transition);
  animation: whatsappPulse 3s ease infinite;
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 4px 40px rgba(37,211,102,0.7); }
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: #20BD5A;
}


/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

/* Tablet (max 1024px) */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 120px 24px 80px;
    text-align: center;
    justify-items: center;
  }

  .hero-visual { display: none; }
  .hero-cta { justify-content: center; }
  .hero-stats { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .hero-sub { max-width: 100%; }
  .hero-scroll { display: none; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }

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

  .about-exp-badge {
    right: 0;
    bottom: -10px;
  }

  .industries-grid { grid-template-columns: repeat(3, 1fr); }

  .whyus-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

/* Mobile Large (max 768px) */
@media (max-width: 768px) {
  .section { padding: 72px 0; }

  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    bottom: 0;
    width: 280px;
    background: var(--dark-2);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 40px;
    gap: 4px;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    box-shadow: -8px 0 32px rgba(0,0,0,0.4);
  }

  .nav-links.open { right: 0; }

  .nav-links a {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
  }

  .btn-nav {
    width: calc(100% - 32px) !important;
    text-align: center !important;
    justify-content: center !important;
    margin: 8px 16px 0 !important;
  }

  .services-grid { grid-template-columns: 1fr; }

  .about-highlights { grid-template-columns: 1fr; }

  .industries-grid { grid-template-columns: repeat(2, 1fr); }

  .process-steps {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .process-arrow { transform: rotate(90deg); padding: 0; font-size: 1.2rem; }

  .contact-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }

  .testimonial-card { padding: 28px 24px; }

  .hero-stats { padding: 16px 20px; gap: 0; }
  .stat { padding: 0 16px; }
  .stat strong { font-size: 1.5rem; }

  .cert-badges { flex-direction: column; }

  .whyus-inner { gap: 40px; }

  .about-card-main { padding: 28px; }

  .contact-form-wrap { padding: 28px; }
}

/* Mobile Small (max 480px) */
@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.8rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-badge { font-size: 0.75rem; }

  .industries-grid { grid-template-columns: 1fr; }

  .section-header { margin-bottom: 40px; }
  .section-header h2 { font-size: 1.6rem; }

  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 300px; justify-content: center; }

  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
  }

  .stat-divider { display: none; }
  .stat { padding: 0 12px; border-right: 1px solid rgba(255,255,255,0.15); }
  .stat:last-child { border-right: none; }
}
