/* ==========================================================================
   Sunita Mishra - Dark Emerald Design System
   Theme: Dark (#0a0a0f) + Emerald (#10b981) + Teal glow
   Typography: DM Sans (body) + Sora (headings)
   ========================================================================== */

:root {
  --emerald: #10b981;
  --emerald-light: #34d399;
  --emerald-dark: #059669;
  --teal: #14b8a6;
  --bg-primary: #0a0a0f;
  --bg-card: #12121a;
  --bg-card-hover: #1a1a26;
  --bg-surface: #0e0e16;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: rgba(255,255,255,0.06);
  --border-glow: rgba(16,185,129,0.3);
  --font-body: 'DM Sans', sans-serif;
  --font-heading: 'Sora', sans-serif;
  --glow: 0 0 20px rgba(16,185,129,0.15);
  --glow-strong: 0 0 40px rgba(16,185,129,0.25);
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
body { font-family: var(--font-body); color: var(--text-secondary); background: var(--bg-primary); line-height: 1.7; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--text-primary); font-weight: 600; }
a { text-decoration: none; color: var(--emerald); transition: var(--transition); }
a:hover { color: var(--emerald-light); }
section { padding: 100px 0; overflow: hidden; }

.gradient-text {
  background: linear-gradient(135deg, var(--emerald), var(--teal), #a78bfa);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-label {
  font-family: var(--font-heading); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 4px; color: var(--emerald);
  margin-bottom: 12px; display: flex; align-items: center; gap: 10px;
}
.section-label::before { content: ''; width: 24px; height: 1px; background: var(--emerald); }
.section-label.center { justify-content: center; }
.section-title { font-size: 42px; margin-bottom: 16px; line-height: 1.2; }
.section-subtitle { color: var(--text-muted); max-width: 520px; margin: 0 auto; }

/* Header */
.header {
  background: rgba(10,10,15,0.85); backdrop-filter: blur(20px);
  padding: 16px 0; z-index: 997; border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}
.scrolled .header { background: rgba(10,10,15,0.95); box-shadow: 0 4px 30px rgba(0,0,0,0.5); }
.logo-icon {
  width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--emerald), var(--teal)); color: #fff;
  font-family: var(--font-heading); font-weight: 700; font-size: 16px; margin-right: 10px;
}
.header .sitename {
  font-family: var(--font-heading); font-size: 22px; font-weight: 700;
  color: var(--text-primary); margin: 0;
}
.navmenu ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; }
.navmenu a {
  font-size: 14px; font-weight: 500; color: var(--text-secondary); padding: 8px 18px;
  border-radius: 8px; transition: var(--transition); display: block;
}
.navmenu a:hover, .navmenu a.active { color: var(--emerald); background: rgba(16,185,129,0.08); }

/* Mobile Nav */
.mobile-nav-toggle { font-size: 28px; cursor: pointer; color: var(--text-primary); display: none; }
@media (max-width: 1199px) {
  .mobile-nav-toggle { display: block; }
  .navmenu ul {
    display: none; position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: var(--bg-card); flex-direction: column; padding: 80px 24px 30px;
    gap: 2px; box-shadow: -10px 0 40px rgba(0,0,0,0.6); transition: 0.4s; z-index: 9998;
  }
  .mobile-nav-active .navmenu ul { right: 0; display: flex; }
  .mobile-nav-active .mobile-nav-toggle { position: fixed; right: 20px; top: 18px; z-index: 9999; }
}

/* Hero */
.hero {
  padding: 140px 0 80px; min-height: 100vh; display: flex; align-items: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(16,185,129,0.08) 0%, transparent 60%),
              var(--bg-primary);
  position: relative;
}
.hero-particles {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(16,185,129,0.15) 1px, transparent 1px);
  background-size: 40px 40px; opacity: 0.4;
}
.hero-badge {
  display: inline-block; padding: 8px 20px; border-radius: 50px; font-size: 13px;
  font-weight: 500; color: var(--emerald); border: 1px solid var(--border-glow);
  background: rgba(16,185,129,0.06); margin-bottom: 24px; letter-spacing: 1px;
}
.hero h1 { font-size: 60px; line-height: 1.1; margin-bottom: 24px; }
.hero-desc { font-size: 18px; color: var(--text-muted); max-width: 560px; margin: 0 auto 32px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-glow {
  background: linear-gradient(135deg, var(--emerald), var(--teal)); color: #fff;
  padding: 14px 32px; border-radius: 12px; font-weight: 600; font-size: 15px;
  display: inline-flex; align-items: center; gap: 8px; transition: var(--transition);
  box-shadow: 0 4px 20px rgba(16,185,129,0.3);
}
.btn-glow:hover { transform: translateY(-3px); box-shadow: var(--glow-strong); color: #fff; }
.btn-ghost {
  color: var(--text-primary); padding: 14px 32px; border-radius: 12px; font-weight: 600;
  font-size: 15px; border: 1px solid var(--border-color); transition: var(--transition);
  display: inline-block;
}
.btn-ghost:hover { border-color: var(--emerald); color: var(--emerald); transform: translateY(-3px); }
.hero-img { filter: drop-shadow(0 20px 60px rgba(16,185,129,0.15)); }

/* About */
.about { background: var(--bg-surface); }
.about-visual { position: relative; border-radius: var(--radius); overflow: hidden; }
.about-visual img { width: 100%; display: block; }
.about-float-card {
  position: absolute; bottom: 20px; right: 20px; background: rgba(10,10,15,0.9);
  backdrop-filter: blur(12px); border: 1px solid var(--border-glow); border-radius: var(--radius-sm);
  padding: 16px 24px; text-align: center;
}
.float-number { display: block; font-family: var(--font-heading); font-size: 32px; font-weight: 700; color: var(--emerald); line-height: 1; }
.float-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.about .pulsating-play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 64px; height: 64px; background: var(--emerald); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.about .pulsating-play-btn::before {
  content: ''; position: absolute; width: 100%; height: 100%; border-radius: 50%;
  border: 2px solid var(--emerald); animation: pulse 1.5s ease-out infinite;
}
@keyframes pulse { 0%{transform:scale(1);opacity:0.7} 100%{transform:scale(1.8);opacity:0} }
.about-text { font-size: 16px; color: var(--text-secondary); margin-bottom: 28px; }
.about-features { display: flex; flex-direction: column; gap: 20px; }
.feature-row {
  display: flex; gap: 16px; align-items: flex-start; padding: 16px;
  border-radius: var(--radius-sm); border: 1px solid var(--border-color);
  background: var(--bg-card); transition: var(--transition);
}
.feature-row:hover { border-color: var(--border-glow); box-shadow: var(--glow); }
.feature-icon {
  width: 44px; height: 44px; min-width: 44px; border-radius: 10px;
  background: rgba(16,185,129,0.1); display: flex; align-items: center; justify-content: center;
}
.feature-icon i { font-size: 20px; color: var(--emerald); }
.feature-row h5 { font-family: var(--font-body); font-size: 15px; font-weight: 600; margin-bottom: 4px; color: var(--text-primary); }
.feature-row p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* Stats */
.stats {
  background: var(--bg-card); padding: 60px 0;
  border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item {
  text-align: center; padding: 30px 20px; position: relative;
}
.stat-item:not(:last-child)::after {
  content: ''; position: absolute; right: 0; top: 20%; height: 60%;
  width: 1px; background: var(--border-color);
}
.stat-item .purecounter {
  font-size: 44px; font-weight: 700; font-family: var(--font-heading);
  color: var(--text-primary); display: block;
  background: linear-gradient(135deg, var(--emerald), var(--teal));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-item p { color: var(--text-muted); font-size: 13px; text-transform: uppercase; letter-spacing: 2px; margin: 4px 0 0; }

/* Clients */
.clients { background: var(--bg-primary); padding: 50px 0; }
.clients-marquee {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0;
}
.client-logo {
  display: flex; align-items: center; justify-content: center; padding: 24px 32px;
  transition: var(--transition);
}
.client-logo img { max-height: 40px; filter: grayscale(100%) brightness(0.4); transition: var(--transition); }
.client-logo:hover img { filter: grayscale(0) brightness(1); }

/* Services */
.services { background: var(--bg-surface); }
.service-card {
  background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius);
  padding: 36px 28px; height: 100%; transition: var(--transition); position: relative; overflow: hidden;
}
.service-card:hover { border-color: var(--border-glow); transform: translateY(-6px); box-shadow: var(--glow); }
.service-number {
  font-family: var(--font-heading); font-size: 48px; font-weight: 800;
  color: rgba(255,255,255,0.03); position: absolute; top: 12px; right: 20px; line-height: 1;
}
.service-icon-wrap {
  width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: rgba(16,185,129,0.1); margin-bottom: 20px; border: 1px solid rgba(16,185,129,0.15);
}
.service-icon-wrap i { font-size: 24px; color: var(--emerald); }
.service-card h3 { font-family: var(--font-heading); font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.7; }

/* Portfolio */
.portfolio { background: var(--bg-primary); }
.portfolio-filters {
  list-style: none; padding: 0; display: flex; justify-content: center; gap: 8px;
  flex-wrap: wrap; margin: 32px 0 40px;
}
.portfolio-filters li {
  cursor: pointer; padding: 8px 20px; border-radius: 8px; font-size: 13px; font-weight: 500;
  color: var(--text-muted); border: 1px solid var(--border-color); transition: var(--transition);
}
.portfolio-filters li:hover, .portfolio-filters li.filter-active {
  background: var(--emerald); color: #fff; border-color: var(--emerald);
}
.portfolio-content {
  position: relative; border-radius: var(--radius-sm); overflow: hidden;
  border: 1px solid var(--border-color); transition: var(--transition);
}
.portfolio-content:hover { border-color: var(--border-glow); box-shadow: var(--glow); }
.portfolio-content img { width: 100%; display: block; transition: var(--transition); }
.portfolio-content:hover img { transform: scale(1.06); }
.portfolio-info {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 20px;
  background: linear-gradient(transparent, rgba(10,10,15,0.9));
  opacity: 0; transition: var(--transition);
}
.portfolio-content:hover .portfolio-info { opacity: 1; }
.portfolio-info h4 { color: #fff; font-family: var(--font-heading); font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.portfolio-info p { color: var(--text-muted); font-size: 12px; margin: 0; }
.portfolio-info a {
  color: #fff; font-size: 18px; position: absolute; right: 16px; top: 50%;
  transform: translateY(-50%); width: 34px; height: 34px; border-radius: 8px;
  background: rgba(16,185,129,0.2); display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.portfolio-info a:hover { background: var(--emerald); }
.portfolio-info a + a { right: 58px; }

/* Testimonials */
.testimonials { background: var(--bg-surface); }
.testimonial-item {
  padding: 32px; background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius); margin: 10px; transition: var(--transition);
}
.testimonial-item:hover { border-color: var(--border-glow); }
.testimonial-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.testimonial-img {
  width: 56px; height: 56px; border-radius: 12px; object-fit: cover;
  border: 2px solid var(--border-glow);
}
.testimonial-item h3 { font-family: var(--font-heading); font-size: 16px; font-weight: 600; margin: 0; color: var(--text-primary); }
.testimonial-item h4 { font-family: var(--font-body); font-size: 12px; font-weight: 400; color: var(--text-muted); margin: 2px 0 0; }
.testimonial-item .stars { margin-bottom: 12px; }
.testimonial-item .stars i { color: #fbbf24; font-size: 13px; }
.testimonial-item p { color: var(--text-secondary); font-size: 14px; line-height: 1.8; margin: 0; font-style: italic; }
.quote-icon-left, .quote-icon-right { color: rgba(16,185,129,0.3); font-size: 20px; }
.quote-icon-left { margin-right: 4px; }
.quote-icon-right { margin-left: 4px; }
.swiper-pagination { margin-top: 20px; position: relative; }
.swiper-pagination-bullet { background: var(--text-muted); opacity: 1; width: 8px; height: 8px; }
.swiper-pagination-bullet-active { background: var(--emerald); width: 24px; border-radius: 4px; }

/* Team */
.team { background: var(--bg-primary); }
.team-card {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-color);
  background: var(--bg-card); transition: var(--transition);
}
.team-card:hover { border-color: var(--border-glow); transform: translateY(-6px); box-shadow: var(--glow); }
.team-img { overflow: hidden; }
.team-img img { width: 100%; display: block; transition: var(--transition); }
.team-card:hover .team-img img { transform: scale(1.05); }
.team-body { padding: 20px; text-align: center; }
.team-body h4 { font-family: var(--font-heading); font-size: 16px; font-weight: 600; margin-bottom: 2px; }
.team-body span { font-size: 12px; color: var(--text-muted); display: block; margin-bottom: 12px; }
.team-body .social { display: flex; justify-content: center; gap: 6px; }
.team-body .social a {
  width: 32px; height: 32px; border-radius: 8px; background: rgba(16,185,129,0.08);
  display: flex; align-items: center; justify-content: center; color: var(--text-muted);
  font-size: 14px; transition: var(--transition); border: 1px solid var(--border-color);
}
.team-body .social a:hover { background: var(--emerald); color: #fff; border-color: var(--emerald); }

/* Gallery */
.gallery { background: var(--bg-surface); }
.gallery-item {
  position: relative; overflow: hidden; border-radius: var(--radius-sm);
  border: 1px solid var(--border-color); transition: var(--transition);
}
.gallery-item:hover { border-color: var(--border-glow); }
.gallery-item img { width: 100%; display: block; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
  content: '\F52A'; font-family: 'bootstrap-icons'; position: absolute;
  top: 50%; left: 50%; transform: translate(-50%,-50%) scale(0); font-size: 24px;
  color: var(--emerald); opacity: 0; transition: var(--transition); z-index: 2;
}
.gallery-item::before {
  content: ''; position: absolute; inset: 0; background: rgba(10,10,15,0.6);
  opacity: 0; transition: var(--transition); z-index: 1;
}
.gallery-item:hover::before { opacity: 1; }
.gallery-item:hover::after { opacity: 1; transform: translate(-50%,-50%) scale(1); }

/* Contact */
.contact { background: var(--bg-primary); }
.contact-card {
  padding: 24px; border-radius: var(--radius-sm); background: var(--bg-card);
  border: 1px solid var(--border-color); margin-bottom: 16px; transition: var(--transition);
}
.contact-card:hover { border-color: var(--border-glow); }
.contact-icon {
  width: 44px; height: 44px; border-radius: 10px; background: rgba(16,185,129,0.1);
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
  border: 1px solid rgba(16,185,129,0.15);
}
.contact-icon i { font-size: 20px; color: var(--emerald); }
.contact-card h3 { font-family: var(--font-heading); font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.contact-card p { font-size: 13px; color: var(--text-muted); margin: 0; }
.contact-form .form-control {
  background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-sm);
  padding: 14px 18px; font-size: 14px; color: var(--text-primary); font-family: var(--font-body);
  transition: var(--transition);
}
.contact-form .form-control::placeholder { color: var(--text-muted); }
.contact-form .form-control:focus {
  border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(16,185,129,0.1);
  background: var(--bg-card); color: var(--text-primary);
}
.contact-form button, .php-email-form button {
  background: linear-gradient(135deg, var(--emerald), var(--teal)); color: #fff; border: none;
  padding: 14px 36px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600;
  cursor: pointer; transition: var(--transition); font-family: var(--font-body);
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 20px rgba(16,185,129,0.3);
}
.contact-form button:hover, .php-email-form button:hover { transform: translateY(-2px); box-shadow: var(--glow-strong); }
.php-email-form .loading { display: none; text-align: center; padding: 10px; color: var(--text-secondary); }
.php-email-form .error-message { display: none; background: rgba(239,68,68,0.1); color: #f87171; padding: 12px; border-radius: 8px; margin-bottom: 16px; border: 1px solid rgba(239,68,68,0.2); }
.php-email-form .sent-message { display: none; background: rgba(16,185,129,0.1); color: var(--emerald); padding: 12px; border-radius: 8px; margin-bottom: 16px; border: 1px solid var(--border-glow); }
.php-email-form .loading::before { content: ''; display: inline-block; width: 20px; height: 20px; border: 3px solid var(--emerald); border-top-color: transparent; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Footer */
.footer {
  background: var(--bg-card); border-top: 1px solid var(--border-color);
  color: var(--text-muted); padding-top: 60px;
}
.footer .logo-icon { width: 32px; height: 32px; font-size: 14px; margin-right: 8px; }
.footer .sitename { font-family: var(--font-heading); font-size: 20px; font-weight: 700; color: var(--text-primary); }
.footer-about p { font-size: 14px; line-height: 1.8; margin-top: 14px; }
.footer h4 { font-family: var(--font-heading); font-size: 15px; font-weight: 600; color: var(--text-primary); margin-bottom: 20px; }
.footer-links ul { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); font-size: 14px; transition: var(--transition); }
.footer-links a:hover { color: var(--emerald); padding-left: 4px; }
.footer-contact p { font-size: 14px; line-height: 1.8; }
.social-links { display: flex; gap: 8px; }
.social-links a {
  width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 15px; transition: var(--transition);
}
.social-links a:hover { background: var(--emerald); color: #fff; border-color: var(--emerald); }
.copyright { border-top: 1px solid var(--border-color); padding: 20px 0; font-size: 13px; }
.copyright .sitename { color: var(--emerald); }
.credits a { color: var(--emerald); }

/* Scroll Top */
.scroll-top {
  position: fixed; bottom: 20px; right: 20px; width: 44px; height: 44px;
  border-radius: 12px; background: var(--emerald); color: #fff; font-size: 22px;
  z-index: 99; opacity: 0; visibility: hidden; transition: var(--transition);
  box-shadow: 0 4px 20px rgba(16,185,129,0.3);
}
.scroll-top.active { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-3px); box-shadow: var(--glow-strong); color: #fff; }

/* Preloader */
#preloader {
  position: fixed; inset: 0; background: var(--bg-primary); z-index: 9999;
  display: flex; align-items: center; justify-content: center;
}
#preloader::before {
  content: ''; width: 36px; height: 36px; border: 3px solid var(--border-color);
  border-top-color: var(--emerald); border-radius: 50%; animation: spin 0.8s linear infinite;
}

/* Legal Pages */
.legal-page { padding: 120px 0 80px; background: var(--bg-surface); }
.legal-page h2 { font-size: 36px; margin-bottom: 30px; }
.legal-page p { margin-bottom: 14px; font-size: 15px; line-height: 1.8; color: var(--text-secondary); }
.legal-page b { color: var(--text-primary); }
.legal-page a { color: var(--emerald); }

/* Responsive */
@media (max-width: 991px) {
  .hero h1 { font-size: 40px; }
  .hero { padding: 100px 0 60px; min-height: auto; }
  .section-title { font-size: 32px; }
  section { padding: 70px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2)::after { display: none; }
}
@media (max-width: 767px) {
  .hero h1 { font-size: 32px; }
  .hero-desc { font-size: 16px; }
  .section-title { font-size: 28px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item .purecounter { font-size: 34px; }
  .stat-item::after { display: none; }
  .portfolio-filters { gap: 6px; }
  .portfolio-filters li { padding: 6px 14px; font-size: 12px; }
}
@media (max-width: 575px) {
  .hero h1 { font-size: 28px; }
  .hero { padding: 100px 0 50px; }
  .btn-glow, .btn-ghost { padding: 12px 24px; font-size: 14px; }
  section { padding: 50px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
