/* ===== VIKASH KUMAR - Fresh Modern Design ===== */
/* Palette: Emerald Teal + Warm Coral + Slate Dark */

:root {
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --primary-light: #5eead4;
  --secondary: #f97316;
  --accent: #ec4899;
  --dark: #0f1729;
  --dark-2: #1a2332;
  --text: #475569;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #f1f5f9;
  --gradient: linear-gradient(135deg, #0d9488 0%, #06b6d4 100%);
  --gradient-warm: linear-gradient(135deg, #f97316 0%, #ec4899 100%);
  --shadow-xs: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-sm: 0 4px 12px rgba(13,148,136,0.08);
  --shadow-md: 0 12px 40px rgba(13,148,136,0.12);
  --shadow-lg: 0 25px 60px rgba(13,148,136,0.16);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Space Grotesk', sans-serif; color: var(--text); background: var(--bg); line-height: 1.7; overflow-x: hidden; }
h1,h2,h3,h4,h5,h6 { font-family: 'Outfit', sans-serif; color: var(--dark); font-weight: 700; line-height: 1.2; }
a { text-decoration: none; color: var(--primary); transition: 0.3s; }
a:hover { color: var(--primary-dark); }
section { padding: 100px 0; }
img { max-width: 100%; }

/* Section Labels */
.sec-label { display: inline-block; padding: 6px 14px; background: rgba(13,148,136,0.08); color: var(--primary); border-radius: 6px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 14px; }
.sec-title { font-size: 2.5rem; margin-bottom: 12px; }
.sec-subtitle { color: var(--text-light); font-size: 1.05rem; }
.sec-desc { color: var(--text); font-size: 1.05rem; margin-bottom: 28px; }

/* ===== HEADER ===== */
.header { background: rgba(255,255,255,0.92); backdrop-filter: blur(16px); padding: 14px 0; border-bottom: 1px solid rgba(0,0,0,0.04); z-index: 9999; transition: 0.3s; }
.scrolled .header { padding: 10px 0; box-shadow: var(--shadow-xs); }
.header .logo .sitename { font-size: 1.3rem; font-weight: 800; color: var(--dark); margin: 0; }
.navmenu ul { display: flex; list-style: none; gap: 4px; margin: 0; padding: 0; }
.navmenu a { padding: 8px 16px; font-size: 0.9rem; font-weight: 500; color: var(--text); border-radius: 8px; }
.navmenu a:hover, .navmenu a.active { color: var(--primary); background: rgba(13,148,136,0.06); }
.btn-getstarted { padding: 10px 24px; background: var(--gradient); color: #fff !important; border-radius: 8px; font-weight: 600; font-size: 0.88rem; box-shadow: 0 4px 14px rgba(13,148,136,0.25); }
.btn-getstarted:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(13,148,136,0.35); }
.mobile-nav-toggle { display: none; font-size: 1.6rem; cursor: pointer; color: var(--dark); }

/* ===== HERO ===== */
.hero { background: var(--bg-alt); padding-top: 80px; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; top: 0; right: 0; width: 50%; height: 100%; background: linear-gradient(180deg, rgba(13,148,136,0.03) 0%, transparent 100%); pointer-events: none; }
.hero-tag { font-size: 1rem; color: var(--text-light); margin-bottom: 12px; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 3.8rem); font-weight: 900; margin-bottom: 20px; color: var(--dark); }
.hero-desc { font-size: 1.15rem; color: var(--text); max-width: 480px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.btn-hero-primary { padding: 14px 30px; background: var(--gradient); color: #fff; border-radius: 10px; font-weight: 600; box-shadow: 0 4px 18px rgba(13,148,136,0.3); }
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(13,148,136,0.4); color: #fff; }
.btn-hero-secondary { padding: 14px 30px; border: 2px solid var(--border); color: var(--dark); border-radius: 10px; font-weight: 600; }
.btn-hero-secondary:hover { border-color: var(--primary); color: var(--primary); }

.hero-stats { display: flex; gap: 36px; }
.hero-stat strong { display: block; font-family: 'Outfit', sans-serif; font-size: 1.6rem; color: var(--dark); }
.hero-stat span { font-size: 0.85rem; color: var(--text-light); }

.hero-graphic { position: relative; height: 500px; display: flex; align-items: center; justify-content: center; }
.hero-img { width: 320px; height: 320px; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); position: relative; z-index: 2; }
.hero-shape { position: absolute; border-radius: 50%; }
.shape-1 { width: 400px; height: 400px; background: rgba(13,148,136,0.06); top: 10%; left: 10%; animation: morphFloat 8s ease-in-out infinite; }
.shape-2 { width: 200px; height: 200px; background: rgba(249,115,22,0.08); top: 5%; right: 15%; animation: morphFloat 6s ease-in-out infinite reverse; }
.shape-3 { width: 120px; height: 120px; background: var(--gradient); opacity: 0.2; bottom: 15%; left: 5%; animation: morphFloat 5s ease-in-out infinite; }
@keyframes morphFloat { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-20px) scale(1.05); } }

/* ===== CLIENTS ===== */
.clients { padding: 50px 0; background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.client-logo { opacity: 0.4; filter: grayscale(100%); transition: 0.3s; max-height: 40px; }
.client-logo:hover { opacity: 1; filter: none; }

/* ===== ABOUT ===== */
.about { background: var(--bg); }
.about-image { position: relative; }
.about-image img { border-radius: var(--radius-xl); box-shadow: var(--shadow-md); }
.about-badge { position: absolute; bottom: -16px; left: 50%; transform: translateX(-50%); background: var(--gradient); color: #fff; padding: 10px 20px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; white-space: nowrap; box-shadow: var(--shadow-sm); }
.about-badge i { margin-right: 6px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.about-grid-item { padding: 20px; background: var(--bg-alt); border-radius: var(--radius); border: 1px solid var(--border); transition: 0.3s; }
.about-grid-item:hover { box-shadow: var(--shadow-sm); border-color: var(--primary-light); }
.about-grid-item i { font-size: 1.4rem; color: var(--primary); margin-bottom: 10px; display: block; }
.about-grid-item h5 { font-size: 0.95rem; margin-bottom: 4px; }
.about-grid-item p { font-size: 0.85rem; color: var(--text-light); margin: 0; }

/* ===== STATS ===== */
.stats { background: var(--dark); padding: 70px 0; }
.stats-row { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 30px; }
.stat-item { text-align: center; }
.stat-item .purecounter { font-family: 'Outfit', sans-serif; font-size: 3rem; font-weight: 800; color: var(--primary-light); }
.stat-item p { color: rgba(255,255,255,0.6); margin: 4px 0 0; font-size: 0.9rem; }

/* ===== WHY US ===== */
.why-us { background: var(--bg-alt); }
.why-card { background: var(--bg); padding: 32px; border-radius: var(--radius-lg); border: 1px solid var(--border); height: 100%; transition: 0.3s; }
.why-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.why-card-highlight { background: var(--gradient); border: none; color: #fff; }
.why-card-highlight h3 { color: #fff; font-size: 1.5rem; margin-bottom: 16px; }
.why-card-highlight p { color: rgba(255,255,255,0.85); margin-bottom: 20px; }
.why-link { color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.why-link:hover { color: #fff; gap: 10px; }
.why-icon { width: 50px; height: 50px; background: rgba(13,148,136,0.08); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.3rem; margin-bottom: 16px; }
.why-card h4 { font-size: 1.1rem; margin-bottom: 8px; }
.why-card p { color: var(--text-light); font-size: 0.9rem; margin: 0; }

/* ===== CTA ===== */
.cta { padding: 80px 0; background: var(--bg); }
.cta-box { background: var(--dark); border-radius: var(--radius-xl); padding: 50px 60px; position: relative; overflow: hidden; }
.cta-box::before { content: ''; position: absolute; top: -40%; right: -10%; width: 400px; height: 400px; border-radius: 50%; background: rgba(13,148,136,0.15); }
.cta-box h2 { color: #fff; font-size: 2rem; margin-bottom: 8px; }
.cta-box p { color: rgba(255,255,255,0.7); font-size: 1.05rem; margin: 0; }
.btn-cta { display: inline-block; padding: 14px 36px; background: var(--gradient); color: #fff; border-radius: 10px; font-weight: 600; box-shadow: 0 4px 18px rgba(13,148,136,0.4); }
.btn-cta:hover { transform: translateY(-3px); color: #fff; box-shadow: 0 8px 28px rgba(13,148,136,0.5); }

/* ===== SERVICES ===== */
.services { background: var(--bg-alt); }
.svc-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 28px; height: 100%; position: relative; overflow: hidden; transition: 0.3s; }
.svc-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); border-color: var(--primary-light); }
.svc-num { position: absolute; top: 16px; right: 20px; font-family: 'Outfit', sans-serif; font-size: 2.5rem; font-weight: 800; color: rgba(13,148,136,0.06); }
.svc-icon { width: 52px; height: 52px; background: var(--gradient); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.3rem; margin-bottom: 18px; }
.svc-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.svc-card p { color: var(--text-light); font-size: 0.9rem; margin: 0; }

/* ===== PORTFOLIO ===== */
.portfolio { background: var(--bg); }
.portfolio-filters { display: flex; justify-content: center; gap: 10px; list-style: none; padding: 0; margin: 30px 0 40px; flex-wrap: wrap; }
.portfolio-filters li { padding: 8px 20px; border-radius: 8px; cursor: pointer; font-weight: 500; font-size: 0.88rem; color: var(--text); border: 1px solid var(--border); transition: 0.3s; }
.portfolio-filters li:hover, .portfolio-filters .filter-active { background: var(--primary); color: #fff; border-color: var(--primary); }
.folio-card { border-radius: var(--radius); overflow: hidden; position: relative; }
.folio-card img { width: 100%; height: 250px; object-fit: cover; transition: 0.4s; }
.folio-card:hover img { transform: scale(1.08); filter: brightness(0.7); }
.folio-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.4s; }
.folio-card:hover .folio-overlay { opacity: 1; }
.folio-overlay span { background: var(--gradient); color: #fff; padding: 8px 20px; border-radius: 6px; font-weight: 600; font-size: 0.9rem; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--bg-alt); }
.testi-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; max-width: 650px; margin: 0 auto; }
.testi-rating { color: var(--secondary); font-size: 0.9rem; margin-bottom: 16px; }
.testi-card > p { font-size: 1.05rem; color: var(--text); line-height: 1.8; margin-bottom: 24px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-author img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.testi-author h5 { font-size: 1rem; margin: 0 0 2px; }
.testi-author span { font-size: 0.8rem; color: var(--text-light); }
.swiper-pagination { position: relative; margin-top: 28px; }
.swiper-pagination-bullet { width: 8px; height: 8px; background: var(--border); opacity: 1; }
.swiper-pagination-bullet-active { background: var(--primary); width: 24px; border-radius: 4px; }

/* ===== TEAM ===== */
.team { background: var(--bg); }
.team-card { border-radius: var(--radius-lg); overflow: hidden; background: var(--bg); border: 1px solid var(--border); transition: 0.3s; }
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); }
.team-card img { width: 100%; height: 260px; object-fit: cover; }
.team-body { padding: 20px; text-align: center; }
.team-body h4 { font-size: 1.05rem; margin-bottom: 4px; }
.team-body span { color: var(--primary); font-size: 0.85rem; font-weight: 500; }
.team-links { margin-top: 14px; display: flex; gap: 10px; justify-content: center; }
.team-links a { width: 34px; height: 34px; border-radius: 8px; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; color: var(--text-light); font-size: 0.8rem; transition: 0.3s; }
.team-links a:hover { background: var(--primary); color: #fff; }

/* ===== CONTACT ===== */
.contact { background: var(--bg-alt); }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item i { width: 44px; height: 44px; min-width: 44px; background: var(--gradient); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.1rem; }
.contact-item h5 { font-size: 0.95rem; margin-bottom: 4px; }
.contact-item p { font-size: 0.9rem; color: var(--text-light); margin: 0; }
.contact-form .form-control { padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.9rem; background: var(--bg); transition: 0.3s; }
.contact-form .form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(13,148,136,0.08); }
.contact-form button { padding: 14px 36px; background: var(--gradient); color: #fff; border: none; border-radius: 10px; font-weight: 600; cursor: pointer; transition: 0.3s; box-shadow: 0 4px 14px rgba(13,148,136,0.25); }
.contact-form button:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(13,148,136,0.35); }
.contact-form .loading, .contact-form .error-message, .contact-form .sent-message { display: none; }
.contact-form .sent-message { color: #059669; padding: 12px; background: #d1fae5; border-radius: var(--radius); margin-bottom: 12px; }
.contact-form .error-message { color: #dc2626; padding: 12px; background: #fee2e2; border-radius: var(--radius); margin-bottom: 12px; }

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: rgba(255,255,255,0.65); padding: 70px 0 24px; }
.footer-brand { font-family: 'Outfit', sans-serif; font-size: 1.4rem; font-weight: 800; color: #fff; margin-bottom: 14px; }
.footer h5 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer p { font-size: 0.9rem; margin-bottom: 18px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); transition: 0.3s; }
.footer-socials a:hover { background: var(--primary); color: #fff; }
.footer-nav { list-style: none; padding: 0; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav a { color: rgba(255,255,255,0.55); font-size: 0.88rem; }
.footer-nav a:hover { color: var(--primary-light); }
.footer-contact { list-style: none; padding: 0; }
.footer-contact li { margin-bottom: 12px; font-size: 0.88rem; display: flex; gap: 8px; align-items: flex-start; }
.footer-contact i { color: var(--primary-light); margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 40px; padding-top: 20px; text-align: center; }
.footer-bottom p { font-size: 0.85rem; margin: 0; }
.footer-bottom strong { color: var(--primary-light); }

/* ===== SCROLL TOP ===== */
.scroll-top { position: fixed; bottom: 20px; right: 20px; width: 42px; height: 42px; background: var(--gradient); border-radius: 10px; color: #fff; font-size: 1.3rem; z-index: 9999; opacity: 0; visibility: hidden; transition: 0.3s; box-shadow: var(--shadow-sm); }
.scroll-top.active { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-3px); color: #fff; }

/* ===== PRELOADER ===== */
#preloader { position: fixed; inset: 0; z-index: 99999; background: var(--bg); display: flex; align-items: center; justify-content: center; }
#preloader::after { content: ''; width: 36px; height: 36px; border: 3px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== LEGAL PAGES ===== */
.legal-content { max-width: 780px; }
.legal-content h4 { font-size: 1.1rem; margin: 24px 0 8px; }
.legal-content p { font-size: 0.92rem; color: var(--text); line-height: 1.8; margin-bottom: 10px; }
.legal-content a { color: var(--primary); font-weight: 500; }

/* ===== MOBILE NAV ===== */
@media (max-width: 1199px) {
  .mobile-nav-toggle { display: block; }
  .navmenu ul { position: fixed; top: 0; right: -100%; width: 260px; height: 100vh; background: var(--bg); flex-direction: column; padding: 70px 24px 24px; box-shadow: -8px 0 24px rgba(0,0,0,0.08); transition: 0.4s; z-index: 9998; }
  .mobile-nav-active .navmenu ul { right: 0; }
  .navmenu a { padding: 10px 14px; }
  .btn-getstarted { display: none; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  section { padding: 70px 0; }
  .sec-title { font-size: 2rem; }
  .hero h1 { font-size: 2.5rem; }
  .hero-stats { gap: 24px; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .cta-box { padding: 36px; }
  .cta-box h2 { font-size: 1.6rem; }
}
@media (max-width: 767px) {
  section { padding: 50px 0; }
  .sec-title { font-size: 1.6rem; }
  .hero { padding-top: 100px; padding-bottom: 50px; min-height: auto; }
  .hero h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .hero-stats { gap: 20px; }
  .hero-stat strong { font-size: 1.3rem; }
  .about-image { margin-bottom: 40px; }
  .about-grid { grid-template-columns: 1fr; }
  .stats-row { gap: 20px; }
  .stat-item .purecounter { font-size: 2rem; }
  .cta-box { padding: 28px; text-align: center; }
  .cta-box h2 { font-size: 1.4rem; }
  .folio-card img { height: 200px; }
  .portfolio-filters { gap: 6px; }
  .portfolio-filters li { padding: 6px 14px; font-size: 0.8rem; }
  .team-card img { height: 220px; }
  .testi-card { padding: 24px; }
  .footer { padding: 50px 0 20px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.7rem; }
  .hero-desc { font-size: 1rem; }
  .stat-item .purecounter { font-size: 1.7rem; }
  .svc-card { padding: 24px 20px; }
}

section[id] { scroll-margin-top: 80px; }
