/* ============================================
   SATHYA DIGITAL — style.css
   Palette: #0A0F2C (navy) | #6C3CE1 (violet) | #FF4D6D (coral) | #FFFFFF | #F0EFF8
============================================ */

:root {
  --navy:   #0A0F2C;
  --violet: #6C3CE1;
  --coral:  #FF4D6D;
  --white:  #FFFFFF;
  --light:  #F0EFF8;
  --muted:  #8B8FA8;
  --card-bg:#12183A;
  --border: rgba(108,60,225,0.2);
  --gradient: linear-gradient(135deg, #6C3CE1 0%, #FF4D6D 100%);
  --shadow: 0 20px 60px rgba(108,60,225,0.2);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4,h5 { font-family: 'Space Grotesk', sans-serif; line-height: 1.15; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { color: rgba(255,255,255,0.72); line-height: 1.7; }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--coral);
  margin-bottom: 0.75rem;
  background: rgba(255,77,109,0.12);
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  border: 1px solid rgba(255,77,109,0.25);
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 7rem 0; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: var(--gradient);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 30px rgba(108,60,225,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(108,60,225,0.55); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.9rem 2rem;
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: var(--violet); background: rgba(108,60,225,0.12); }

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

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: background 0.3s, backdrop-filter 0.3s, padding 0.3s;
}
.navbar.scrolled {
  background: rgba(10,15,44,0.9);
  backdrop-filter: blur(20px);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
}
.logo-s { color: var(--violet); }
.logo-dot { color: var(--coral); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }
.nav-cta {
  background: var(--gradient) !important;
  color: #fff !important;
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  font-weight: 600 !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 5rem;
  position: relative;
  overflow: hidden;
  max-width: 1180px;
  margin: 0 auto;
  gap: 3rem;
}

#particleCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

.hero-content { flex: 1; position: relative; z-index: 2; }
.hero-visual   { flex: 1; position: relative; z-index: 2; display: flex; flex-direction: column; gap: 1rem; align-items: flex-end; }

.hero-badge {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  background: rgba(108,60,225,0.15);
  border: 1px solid rgba(108,60,225,0.35);
  border-radius: 100px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.5rem;
}

.hero-title { margin-bottom: 1.5rem; }

.hero-sub {
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 2.5rem;
  color: rgba(255,255,255,0.68);
}

.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.hero-stats { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.stat-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
}
.stat-pill strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

/* Floating Cards */
.hero-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(18,24,58,0.85);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 1.1rem 1.5rem;
  width: 200px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.card-icon { font-size: 1.8rem; }
.card-label { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.card-val   { font-family: 'Space Grotesk', sans-serif; font-size: 1.4rem; font-weight: 700; color: #fff; }

.card-float { animation: floatY 3s ease-in-out infinite; }
.delay-1    { animation-delay: 0.8s; }
.delay-2    { animation-delay: 1.6s; }

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

/* ── MARQUEE ── */
.marquee-wrap {
  overflow: hidden;
  background: rgba(108,60,225,0.1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.marquee-track {
  display: flex;
  gap: 2.5rem;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  align-items: center;
}
.marquee-track .dot { color: var(--violet); font-size: 0.7rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── SECTION HEADS ── */
.section-head { text-align: center; margin-bottom: 4rem; }
.section-head p { margin-top: 1rem; font-size: 1rem; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  position: relative;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(108,60,225,0.5); box-shadow: var(--shadow); }
.service-card:hover::before { opacity: 1; }
.service-card.featured {
  border-color: rgba(108,60,225,0.5);
  background: linear-gradient(145deg, #14193E, #1a1548);
}
.service-card.featured::before { opacity: 1; }

.svc-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
  background: var(--gradient);
  border-radius: 100px;
  margin-bottom: 1rem;
}
.svc-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.service-card h3 { margin-bottom: 0.75rem; }
.service-card p  { font-size: 0.9rem; margin-bottom: 1.2rem; }

.svc-list { list-style: none; margin-bottom: 1.5rem; }
.svc-list li {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  padding: 0.3rem 0;
  padding-left: 1.2rem;
  position: relative;
}
.svc-list li::before { content: '✓'; position: absolute; left: 0; color: var(--violet); font-weight: 700; }

.svc-link {
  color: var(--violet);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.2s;
}
.svc-link:hover { color: var(--coral); }

/* ── WHY US ── */
.why-section { background: rgba(108,60,225,0.05); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.why-left h2 { margin-bottom: 1rem; }
.why-left p { font-size: 1rem; }

.why-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
  margin-bottom: 0.5rem;
}
.why-item:hover { background: var(--card-bg); border-color: var(--border); }
.why-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: rgba(108,60,225,0.12);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-item h4 { margin-bottom: 0.4rem; }
.why-item p  { font-size: 0.9rem; }

/* ── RESULTS ── */
.results-section { background: var(--card-bg); }
.section-head.light h2 { color: #fff; }

.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.result-card {
  text-align: center;
  padding: 2rem 1rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(108,60,225,0.08);
}
.result-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.result-label { font-size: 0.9rem; color: var(--muted); margin-top: 0.5rem; }

/* Case Studies */
.case-studies { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.case-card {
  background: rgba(10,15,44,0.7);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.75rem;
  transition: transform 0.3s;
}
.case-card:hover { transform: translateY(-4px); }
.case-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.2rem 0.7rem;
  border-radius: 100px;
  background: rgba(255,77,109,0.15);
  color: var(--coral);
  border: 1px solid rgba(255,77,109,0.25);
  margin-bottom: 0.75rem;
}
.case-card h4 { margin-bottom: 0.6rem; }
.case-card p  { font-size: 0.88rem; margin-bottom: 1rem; }
.case-stat {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── TESTIMONIALS ── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.testi-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stars { color: #FFD700; font-size: 1.1rem; margin-bottom: 1rem; }
.testi-card p { font-size: 0.9rem; margin-bottom: 1.5rem; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 0.92rem; }
.testi-author span   { font-size: 0.78rem; color: var(--muted); }

/* ── CONTACT ── */
.contact-section { background: rgba(108,60,225,0.04); }
.contact-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start; }
.contact-left h2 { margin-bottom: 1rem; }
.contact-left p  { margin-bottom: 2rem; }

.contact-details { display: flex; flex-direction: column; gap: 0.9rem; margin-bottom: 2rem; }
.contact-item { display: flex; align-items: center; gap: 0.75rem; font-size: 0.95rem; color: rgba(255,255,255,0.8); }
.ci-icon { width: 36px; height: 36px; background: rgba(108,60,225,0.15); border: 1px solid var(--border); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }

.social-links { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.social-btn {
  padding: 0.5rem 1.1rem;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.social-btn:hover { border-color: var(--violet); color: #fff; }

/* FORM */
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.82rem; font-weight: 500; color: rgba(255,255,255,0.7); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  resize: vertical;
}
.form-group select { appearance: none; cursor: pointer; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(108,60,225,0.15); }
.form-group select option { background: #1a1f44; }

.form-success {
  display: none;
  text-align: center;
  padding: 1rem;
  background: rgba(108,60,225,0.12);
  border: 1px solid rgba(108,60,225,0.3);
  border-radius: 12px;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.9);
}

/* ── FOOTER ── */
.footer {
  background: #07091E;
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p { font-size: 0.88rem; margin-top: 1rem; max-width: 260px; }
.footer-col h5  { font-size: 0.9rem; font-weight: 600; margin-bottom: 1.2rem; color: #fff; }
.footer-col ul  { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a   { font-size: 0.88rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── WHATSAPP ── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 999;
  transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ── AOS (Animate on Scroll) ── */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-aos].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .services-grid    { grid-template-columns: repeat(2, 1fr); }
  .results-grid     { grid-template-columns: repeat(2, 1fr); }
  .footer-grid      { grid-template-columns: 1fr 1fr; }
  .why-grid         { gap: 3rem; }
}

@media (max-width: 768px) {
  .hero { flex-direction: column; padding: 7rem 1.5rem 4rem; text-align: center; min-height: auto; }
  .hero-visual { align-items: center; flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .hero-card   { width: 160px; }
  .hero-sub    { margin: 0 auto 2.5rem; }
  .hero-buttons { justify-content: center; }
  .hero-stats  { justify-content: center; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,15,44,0.98);
    padding: 6rem 2rem 2rem;
    gap: 2rem;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.4rem; }
  .hamburger { display: flex; z-index: 1001; }

  .services-grid    { grid-template-columns: 1fr; }
  .why-grid         { grid-template-columns: 1fr; gap: 2rem; }
  .results-grid     { grid-template-columns: repeat(2,1fr); }
  .case-studies     { grid-template-columns: 1fr; }
  .testimonials-grid{ grid-template-columns: 1fr; }
  .contact-wrap     { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row         { grid-template-columns: 1fr; }
  .footer-grid      { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .section { padding: 4rem 0; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: repeat(2,1fr); }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
}
