/* ===== CHASKAR ANIKET - Fresh Modern Design ===== */
/* Color Palette: Deep Indigo + Electric Cyan + Warm Gold */

:root {
  --primary: #0f172a;
  --secondary: #1e293b;
  --accent: #06b6d4;
  --accent2: #f59e0b;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --white: #ffffff;
  --card-bg: #1e293b;
  --border: rgba(6,182,212,0.15);
  --gradient: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  --gradient2: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

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

a { color: var(--accent); text-decoration: none; transition: all 0.3s; }
a:hover { color: var(--accent2); }

img { max-width: 100%; }

/* ===== PRELOADER ===== */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s, visibility 0.5s;
}
#preloader.loaded { opacity: 0; visibility: hidden; }
#preloader::after {
  content: '';
  width: 48px; height: 48px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== SCROLL TOP ===== */
.scroll-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 44px; height: 44px;
  background: var(--gradient);
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  opacity: 0; visibility: hidden;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(6,182,212,0.4);
}
.scroll-top.active { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-3px); color: #fff; }

/* ===== HEADER ===== */
#header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15,23,42,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 0;
  transition: all 0.3s;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
}
.logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

/* ===== NAV ===== */
.navmenu ul {
  list-style: none;
  display: flex; gap: 8px;
  align-items: center;
}
.navmenu ul li a {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.3s;
  letter-spacing: 0.3px;
}
.navmenu ul li a:hover,
.navmenu ul li a.active {
  color: var(--accent);
  background: rgba(6,182,212,0.08);
}
.mobile-nav-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
  background: none; border: none;
}

/* ===== SECTION COMMON ===== */
section { padding: 80px 0; }
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.2);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 16px;
}
.section-title span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-subtitle { color: var(--text-muted); font-size: 1rem; max-width: 560px; }

/* ===== HERO ===== */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(6,182,212,0.12) 0%, transparent 70%),
              radial-gradient(ellipse 50% 50% at 20% 80%, rgba(245,158,11,0.08) 0%, transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(6,182,212,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(6,182,212,0.04) 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(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.25);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 24px;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.3)} }
.hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -1px;
}
.hero-heading .highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc { font-size: 1.1rem; color: var(--text-muted); max-width: 520px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary-custom {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gradient);
  color: #fff;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none; cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 24px rgba(6,182,212,0.35);
}
.btn-primary-custom:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(6,182,212,0.5); color: #fff; }
.btn-outline-custom {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--text);
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.3s;
}
.btn-outline-custom:hover { border-color: var(--accent); color: var(--accent); background: rgba(6,182,212,0.05); }
.hero-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.hero-card-float {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
  animation: float 4s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
.hero-card-avatar {
  width: 72px; height: 72px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 700; color: #fff;
  margin-bottom: 16px;
  font-family: var(--font-heading);
}
.hero-card-name { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: var(--white); }
.hero-card-role { color: var(--accent); font-size: 0.85rem; margin-bottom: 20px; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat-item { background: rgba(6,182,212,0.06); border: 1px solid var(--border); border-radius: 12px; padding: 12px; text-align: center; }
.stat-num { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; color: var(--accent); }
.stat-label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* ===== FEATURES STRIP ===== */
#features-strip { padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.feature-pill {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.3s;
}
.feature-pill:hover { border-color: var(--accent); color: var(--accent); }
.feature-pill i { color: var(--accent); font-size: 1rem; }

/* ===== ABOUT ===== */
#about { background: var(--secondary); }
.about-img-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}
.about-img-wrap img { border-radius: 24px; width: 100%; object-fit: cover; }
.about-img-badge {
  position: absolute; bottom: 24px; left: 24px;
  background: var(--gradient);
  color: #fff;
  padding: 12px 20px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(6,182,212,0.4);
}
.about-tabs .nav-pills { gap: 8px; margin-bottom: 24px; }
.about-tabs .nav-link {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s;
}
.about-tabs .nav-link.active {
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
}
.check-item { display: flex; gap: 12px; margin-bottom: 16px; }
.check-item i { color: var(--accent); font-size: 1.1rem; flex-shrink: 0; margin-top: 3px; }
.check-item h5 { font-size: 0.95rem; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.check-item p { font-size: 0.875rem; color: var(--text-muted); margin: 0; }

/* ===== SERVICES ===== */
#services { background: var(--primary); }
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  height: 100%;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.4s;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(6,182,212,0.3); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px;
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.2);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 20px;
  transition: all 0.3s;
}
.service-card:hover .service-icon { background: var(--gradient); border-color: transparent; color: #fff; }
.service-card h4 { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: 0.875rem; margin: 0; }

/* ===== PORTFOLIO ===== */
#portfolio { background: var(--secondary); }
.portfolio-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; list-style: none; padding: 0; }
.portfolio-filters li {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all 0.3s;
}
.portfolio-filters li.filter-active,
.portfolio-filters li:hover { background: var(--gradient); border-color: transparent; color: #fff; }
.portfolio-item { position: relative; overflow: hidden; border-radius: 16px; }
.portfolio-item img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.5s; display: block; }
.portfolio-item:hover img { transform: scale(1.08); }
.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.9) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  display: flex; align-items: flex-end; padding: 20px;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay-actions { display: flex; gap: 10px; }
.portfolio-overlay-actions a {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.3s;
}
.portfolio-overlay-actions a:hover { background: var(--accent); border-color: var(--accent); }

/* ===== TESTIMONIALS ===== */
#testimonials { background: var(--primary); }
.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  height: 100%;
  transition: all 0.3s;
}
.testimonial-card:hover { border-color: rgba(6,182,212,0.3); transform: translateY(-4px); }
.testimonial-stars { color: var(--accent2); margin-bottom: 16px; font-size: 0.9rem; }
.testimonial-text { color: var(--text-muted); font-size: 0.9rem; line-height: 1.8; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); }
.testimonial-author-name { font-weight: 600; color: var(--white); font-size: 0.9rem; }
.testimonial-author-role { color: var(--text-muted); font-size: 0.8rem; }

/* ===== FAQ ===== */
#faq { background: var(--secondary); }
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item.active { border-color: rgba(6,182,212,0.3); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--white);
  font-size: 0.95rem;
  gap: 16px;
}
.faq-question i { color: var(--accent); font-size: 1.1rem; flex-shrink: 0; transition: transform 0.3s; }
.faq-item.active .faq-question i.toggle { transform: rotate(180deg); }
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.8;
}
.faq-item.active .faq-answer { max-height: 300px; padding: 0 24px 20px; }

/* ===== CONTACT ===== */
#contact { background: var(--primary); }
.contact-info-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  height: 100%;
}
.contact-info-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-icon {
  width: 44px; height: 44px;
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 4px; }
.contact-info-value { color: var(--white); font-size: 0.9rem; font-weight: 500; }
.contact-form-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
}
.form-control-custom {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text);
  font-size: 0.9rem;
  font-family: var(--font-body);
  transition: border-color 0.3s;
  outline: none;
}
.form-control-custom::placeholder { color: var(--text-muted); }
.form-control-custom:focus { border-color: var(--accent); background: rgba(6,182,212,0.04); }
textarea.form-control-custom { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-label { font-size: 0.8rem; font-weight: 500; color: var(--text-muted); margin-bottom: 6px; display: block; text-transform: uppercase; letter-spacing: 0.5px; }
.loading, .error-message, .sent-message { display: none; padding: 10px; border-radius: 8px; font-size: 0.875rem; margin-bottom: 12px; }
.loading { color: var(--accent); }
.error-message { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #ef4444; }
.sent-message { background: rgba(6,182,212,0.1); border: 1px solid rgba(6,182,212,0.3); color: var(--accent); }

/* ===== FOOTER ===== */
#footer {
  background: var(--secondary);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}
.footer-brand { margin-bottom: 20px; }
.footer-brand .logo-text { font-size: 1.2rem; }
.footer-desc { color: var(--text-muted); font-size: 0.875rem; line-height: 1.7; margin-bottom: 20px; }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; color: var(--text-muted); font-size: 0.875rem; }
.footer-contact-item i { color: var(--accent); margin-top: 2px; flex-shrink: 0; }
.footer-heading { font-family: var(--font-heading); font-size: 0.9rem; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links li a { color: var(--text-muted); font-size: 0.875rem; transition: color 0.3s; display: flex; align-items: center; gap: 6px; }
.footer-links li a::before { content: '→'; font-size: 0.75rem; color: var(--accent); opacity: 0; transition: opacity 0.3s; }
.footer-links li a:hover { color: var(--accent); }
.footer-links li a:hover::before { opacity: 1; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  margin-top: 40px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy { color: var(--text-muted); font-size: 0.8rem; }
.footer-copy strong { color: var(--accent); }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all 0.3s;
}
.social-links a:hover { background: var(--gradient); border-color: transparent; color: #fff; }

/* ===== LEGAL PAGES ===== */
.legal-hero {
  padding: 80px 0 40px;
  background: var(--secondary);
  border-bottom: 1px solid var(--border);
}
.legal-content {
  padding: 60px 0;
  background: var(--primary);
}
.legal-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  max-width: 860px;
  margin: 0 auto;
}
.legal-card h3 { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: var(--accent); margin: 28px 0 10px; }
.legal-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.8; margin-bottom: 14px; }
.legal-card a { color: var(--accent); }
.legal-card a:hover { color: var(--accent2); }

/* ===== AOS OVERRIDES ===== */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .navmenu ul { display: none; flex-direction: column; position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: var(--secondary); padding: 80px 24px 24px; gap: 4px; z-index: 200; transition: right 0.3s; border-left: 1px solid var(--border); }
  .navmenu ul.open { right: 0; display: flex; }
  .navmenu ul li a { display: block; padding: 12px 16px; border-radius: 10px; font-size: 1rem; }
  .mobile-nav-toggle { display: block; z-index: 201; }
  .mobile-nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 199; }
  .mobile-nav-overlay.open { display: block; }
  .form-row { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 48px; }
  .legal-card { padding: 32px 24px; }
}
@media (max-width: 575px) {
  section { padding: 60px 0; }
  .hero-heading { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; }
  .btn-primary-custom, .btn-outline-custom { justify-content: center; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}
