/* ==========================================================================
   Anikasoft.in - Main Stylesheet
   Author: Anikasoft (13+ Years Experience Freelance Developer)
   Location: Korba, Chhattisgarh, India
   ========================================================================== */

/* --- Root Color Variables --- */
:root {
  --primary-color: #0d9488;        /* Deep Teal */
  --primary-hover: #0f766e;
  --secondary-color: #6366f1;      /* Indigo Accent */
  --dark-bg: #0f172a;              /* Slate 900 */
  --dark-card: #1e293b;            /* Slate 800 */
  --dark-border: #334155;          /* Slate 700 */
  --light-bg: #f8fafc;             /* Slate 50 */
  --light-card: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --gradient-primary: linear-gradient(135deg, #0d9488 0%, #6366f1 100%);
  --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --glow-shadow: 0 0 25px rgba(13, 148, 136, 0.35);
  --transition-fast: all 0.3s ease;
}

/* --- Global Reset & Base Typography --- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-dark);
  background-color: var(--light-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--text-dark);
}

a {
  text-decoration: none;
  transition: var(--transition-fast);
}

/* --- Custom Utilities --- */
.bg-dark-custom {
  background-color: var(--dark-bg) !important;
}

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

.text-cyan {
  color: var(--accent-cyan) !important;
}

.bg-gradient-badge {
  background: rgba(13, 148, 136, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: var(--accent-cyan);
}

.btn-primary-custom {
  background: var(--gradient-primary);
  color: #ffffff;
  border: none;
  padding: 0.8rem 1.8rem;
  font-weight: 600;
  border-radius: 50rem;
  box-shadow: 0 4px 15px rgba(13, 148, 136, 0.3);
  transition: var(--transition-fast);
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(13, 148, 136, 0.5);
  color: #ffffff;
}

.btn-outline-custom {
  background: transparent;
  color: var(--text-light);
  border: 2px solid rgba(255, 255, 255, 0.25);
  padding: 0.8rem 1.8rem;
  font-weight: 600;
  border-radius: 50rem;
  transition: var(--transition-fast);
}

.btn-outline-custom:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-2px);
}

.section-title-wrapper {
  margin-bottom: 3.5rem;
}

.section-subtitle {
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--primary-color);
  background: rgba(13, 148, 136, 0.08);
  padding: 0.35rem 1rem;
  border-radius: 50rem;
  margin-bottom: 0.75rem;
}

.section-subtitle-dark {
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.12);
}

.section-heading {
  font-size: 2.25rem;
  line-height: 1.25;
}

@media (min-width: 992px) {
  .section-heading {
    font-size: 2.75rem;
  }
}

/* --- Navbar --- */
.navbar-custom {
  background-color: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 0;
  transition: var(--transition-fast);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-custom.scrolled {
  padding: 0.6rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff !important;
}

.brand-dot {
  color: var(--accent-cyan);
}

.navbar-custom .nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 500;
  margin: 0 0.4rem;
  padding: 0.5rem 0.8rem !important;
  border-radius: 0.375rem;
  transition: var(--transition-fast);
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08);
}

/* --- Hero Section --- */
.hero-section {
  background: var(--gradient-hero);
  position: relative;
  padding: 8rem 0 6rem 0;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.25) 0%, rgba(99, 102, 241, 0.1) 50%, rgba(0,0,0,0) 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, rgba(0,0,0,0) 70%);
  bottom: -50px;
  left: -100px;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  border-radius: 50rem;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

@media (min-width: 992px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

.hero-subtitle {
  color: #94a3b8;
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-card-glass {
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: var(--shadow-lg), var(--glow-shadow);
  position: relative;
}

.hero-card-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 1.25rem 1.25rem 0 0;
}

.feature-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.6rem 1rem;
  border-radius: 0.75rem;
  color: #e2e8f0;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.feature-pill i {
  color: var(--accent-cyan);
}

/* --- Stats Counter Bar --- */
.stats-section {
  background: #1e293b;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 0;
  color: #ffffff;
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-number {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--accent-cyan);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #94a3b8;
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- About Section --- */
.about-section {
  padding: 6rem 0;
  background-color: var(--light-bg);
}

.about-img-box {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  background: linear-gradient(145deg, #1e293b, #0f172a);
  padding: 2.5rem;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

.about-experience-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--gradient-primary);
  color: #ffffff;
  padding: 1.25rem 1.75rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.about-experience-badge h3 {
  font-size: 2rem;
  margin: 0;
  color: #ffffff;
  line-height: 1;
}

.about-experience-badge p {
  margin: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.location-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(13, 148, 136, 0.1);
  color: var(--primary-color);
  padding: 0.4rem 1rem;
  border-radius: 50rem;
  font-weight: 600;
  font-size: 0.9rem;
}

/* --- Services & Solutions Grid --- */
.services-section {
  padding: 6rem 0;
  background-color: #ffffff;
}

.service-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  padding: 2.25rem 1.75rem;
  height: 100%;
  transition: var(--transition-fast);
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-color);
  box-shadow: 0 20px 30px rgba(13, 148, 136, 0.12);
}

.service-icon-box {
  width: 65px;
  height: 65px;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(99, 102, 241, 0.1));
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  transition: var(--transition-fast);
}

.service-card:hover .service-icon-box {
  background: var(--gradient-primary);
  color: #ffffff;
  transform: scale(1.05);
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.service-tag {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 0.375rem;
}

/* --- Interactive Portfolio Filter & Cards --- */
.portfolio-section {
  padding: 6rem 0;
  background-color: var(--dark-bg);
  color: #ffffff;
}

.portfolio-section .section-heading {
  color: #ffffff;
}

.filter-btn-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background: var(--dark-card);
  color: #94a3b8;
  border: 1px solid var(--dark-border);
  padding: 0.5rem 1.25rem;
  border-radius: 50rem;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-fast);
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient-primary);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(13, 148, 136, 0.4);
}

.portfolio-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 1.25rem;
  overflow: hidden;
  height: 100%;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-cyan);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.portfolio-header-icon {
  background: rgba(15, 23, 42, 0.6);
  padding: 1.75rem 1.5rem 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.portfolio-header-icon i {
  font-size: 2.2rem;
  color: var(--accent-cyan);
}

.portfolio-badge {
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.3);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 50rem;
}

.portfolio-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-title {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.portfolio-desc {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.portfolio-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
}

.portfolio-features li {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.portfolio-features li i {
  color: var(--accent-emerald);
  font-size: 0.8rem;
}

/* --- Tech Stack Showcase --- */
.tech-section {
  padding: 6rem 0;
  background-color: var(--light-bg);
}

.tech-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: var(--transition-fast);
  height: 100%;
}

.tech-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-sm);
  border-color: var(--primary-color);
}

.tech-card i {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

.tech-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin: 0;
}

/* --- Why Choose Us Section --- */
.why-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.why-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: 1rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  transition: var(--transition-fast);
}

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

.why-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 0.75rem;
  background: rgba(13, 148, 136, 0.1);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

/* --- Contact & Location Section --- */
.contact-section {
  padding: 6rem 0;
  background: var(--gradient-hero);
  color: #ffffff;
  position: relative;
}

.contact-card-glass {
  background: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  padding: 2.5rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.info-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 0.75rem;
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.info-content h5 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.info-content p {
  color: #e2e8f0;
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
}

.info-content a {
  color: #38bdf8;
  font-weight: 600;
}

.info-content a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.form-control-custom {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff !important;
  border-radius: 0.6rem;
  padding: 0.8rem 1rem;
}

.form-control-custom:focus {
  background: rgba(15, 23, 42, 0.9);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 0.25rem rgba(6, 182, 212, 0.25);
}

.form-control-custom::placeholder {
  color: #94a3b8;
}

/* --- Footer --- */
footer {
  background-color: #070a12;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 3rem 0;
  color: #f8fafc !important;
  font-size: 0.95rem;
}

footer p {
  color: #e2e8f0 !important;
}

footer .text-muted,
footer .small,
footer span.text-muted {
  color: #cbd5e1 !important;
  font-size: 0.9rem;
}

footer a {
  color: #38bdf8 !important;
}

footer a:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  color: #ffffff;
  transform: translateY(-3px);
}

