/* ========== STYLE.CSS - COMPLETE PORTFOLIO STYLESHEET ========== */
/* Professional Color Scheme: Cyberpunk - Bold & Modern */
/* DARK MODE ONLY - Light mode completely removed */
/* ============================================================== */

:root {
  /* Dark Theme Only - Cyberpunk */
  --bg-dark: #0B0F17;        /* Near black - background */
  --bg-card: #1A1F2F;         /* Dark blue - cards */
  --text-primary: #FFFFFF;    /* Pure white for main text - HIGHLY VISIBLE */
  --text-secondary: #E0E7FF;  /* Light periwinkle for secondary text */
  --text-muted: #94A3B8;      /* Muted gray for less important text */
  --accent: #6366F1;          /* Indigo - #6366F1 as requested */
  --accent-hover: #4F46E5;    /* Deep indigo for hover */
  --accent-light: #A5B4FC;    /* Light indigo for gradients */
  --accent-subtle: rgba(99, 102, 241, 0.25); /* More visible subtle borders */
  
  /* Glass Effects - Dark mode only */
  --card-dark: rgba(26, 31, 47, 0.8);
  --border-subtle: rgba(99, 102, 241, 0.25);
  
  /* Cyberpunk Glow Effects */
  --glow-primary: 0 0 20px rgba(99, 102, 241, 0.4);
  --glow-hover: 0 0 30px rgba(99, 102, 241, 0.6);
  --glow-text: 0 0 10px rgba(99, 102, 241, 0.4);
}

/* ========== GLOBAL STYLES ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  position: relative;
  line-height: 1.6;
}

/* Elegant side borders with cyberpunk glow */
body::before,
body::after {
  content: "";
  position: fixed;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--accent-light), var(--accent));
  opacity: 0.6;
  z-index: 999;
  pointer-events: none;
  box-shadow: var(--glow-primary);
}

body::before { left: 0; }
body::after { right: 0; }

/* All text elements with high visibility */
p, span, div, li, a, h1, h2, h3, h4, h5, h6 {
  color: inherit;
}

p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  opacity: 0.95;   /* Makes text softer but visible */
}
.section {
  padding: 80px 10%;
  position: relative;
}

/* Alternate section backgrounds for depth */
.section:nth-child(even) {
  background: rgba(26, 31, 47, 0.6);
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #FFFFFF;   /* Force bright white */
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 3.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
  text-shadow: var(--glow-text);
}

* Section paragraph text color */
#about p,
#skills p,
#projects p,
#certifications p,
#work p,
#contact p {
  color: #DCE3FF;
}

/* Underline for section headings — dynamic width */
h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80%;   /* ✅ matches text width */
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 2px;
  box-shadow: var(--glow-primary);
}

/* Center underline for mobile */
@media (max-width: 768px) {
  h2 {
    display: block;
    text-align: center;
  }
  
  h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* ========== NAVBAR ========== */
.navbar {
  display: flex;
  justify-content: flex-end;
  gap: 30px;
  padding: 20px 10%;
  background: rgba(11, 15, 23, 0.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-subtle);
}

.navbar a {
  text-decoration: none;
  color: #E0E7FF;  /* Brighter */
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  padding: 5px 0;
  position: relative;
}

.navbar a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transition: width 0.3s ease;
  box-shadow: var(--glow-primary);
}

.navbar a:hover {
  color: #FFFFFF;
  text-shadow: var(--glow-text);
}

.navbar a:hover::after {
  width: 100%;
}

/* ========== THEME TOGGLE - REMOVED (Dark mode only) ========== */
#theme-toggle {
  display: none;
}

/* ========== SIMPLE CIRCLE LOGO ========== */
.logo-circle {
  position: fixed;
  top: 10px;
  left: 20px;
  width: 55px;
  height: 55px;
  background: var(--bg-card);
  border: 2px solid var(--border-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 1px;
  box-shadow: var(--glow-primary);
  z-index: 102;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Hover glow */
.logo-circle:hover {
  transform: scale(1.1);
  box-shadow: var(--glow-hover);
}

/* P letter */
.logo-circle .p-letter {
  color: #FFFFFF;
}

/* G letter in accent color */
.logo-circle .g-letter {
  color: #6366F1;  /* Accent color */
  text-shadow: var(--glow-text);
}
/* ========== HERO SECTION ========== */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 10%;
  gap: 40px;
  flex-wrap: wrap;
  min-height: 90vh;
}

.hero-left h1,
.hero-left .name {
  color: #FFFFFF;
}

.hero-left p {
  color: #E6EDFF;   /* Slightly brighter than secondary */
}
.hero-right {
  flex: 1 1 300px;
  text-align: center;
}

.name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.5rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-primary); /* Pure white */
  text-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
  animation: nameReveal 1.5s ease forwards;
  position: relative;
}

/* "Gupta" in accent color #6366F1 */
.name .highlight {
  color: var(--accent);
  text-shadow: 0 0 20px rgba(71, 72, 145, 0.8);
}

/* Elegant underline */
.name::after {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  margin-top: 15px;
  transition: width 0.5s ease;
  border-radius: 2px;
  box-shadow: var(--glow-primary);
}

.name:hover::after {
  width: 280px;
}

@keyframes nameReveal {
  from {
    opacity: 0;
    letter-spacing: 10px;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    letter-spacing: 4px;
    transform: translateY(0);
  }
}


/* Hero description text */
.hero-left p {
  color: var(--text-secondary);
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 500px;
}

.hero-left p strong {
  color: var(--accent);
}

.typing-text {
  color: var(--accent);
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 20px;
  text-shadow: var(--glow-text);
}

.hero-right img {
  width: 100%;
  max-width: 380px;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), var(--glow-primary);
  animation: float 4s infinite ease-in-out;
  border: 2px solid var(--border-subtle);
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* ========== BUTTONS ========== */
.btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: white;
  padding: 14px 35px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  display: inline-block;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: var(--glow-primary);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow-hover);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--text-primary);
  box-shadow: none;
}

.btn-outline:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: white;
  border-color: transparent;
}

/* ========== ABOUT SECTION ========== */
#about {
  padding: 80px 10%;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-content p {
  color: #95a4e1;
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* ========== SKILLS SECTION ========== */
#skills {
  padding: 80px 10%;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Glass Card Style */
.skill-box {
  position: relative;
  padding: 35px;
  border-radius: 20px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  transition: all 0.4s ease;
  overflow: hidden;
}

/* Gradient border glow */
.skill-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(120deg, transparent, var(--accent), var(--accent-light), transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, 
                linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, 
        linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
} 

.skill-box:hover::before {
  opacity: 1;
}

/* Hover animation */
.skill-box:hover {
  transform: translateY(-10px);
  box-shadow: var(--glow-primary);
  border-color: rgba(99, 102, 241, 0.4);
}

/* Title with Icon */
.skill-box h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  font-size: 1.5rem;
  color: #5a77ec;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 15px;
}

.skill-box h3 i {
  color: var(--accent);
  font-size: 2rem;
  filter: drop-shadow(var(--glow-primary));
}

/* Individual skill */
.skill {
  margin-bottom: 20px;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 1rem;
}

.skill-name {
  font-weight: 500;
  color: #DCE3FF;
  font-size: 1.1rem;
}

.percent {
  color: var(--accent);
  font-weight: 600;
  font-size: 1.1rem;
  text-shadow: var(--glow-text);
}

/* Progress bar background */
.bar {
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

/* Progress fill */
.fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 10px;
  transition: width 1s ease-in-out;
  position: relative;
  width: 0%; /* Will be set by JavaScript */
  box-shadow: var(--glow-primary);
}

/* ========== PROJECTS SECTION ========== */
#projects {
  padding: 80px 10%;
}

.project-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.project-card {
  background: var(--bg-card);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: all 0.4s ease;
  cursor: pointer;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
}

.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-card h3 {
  padding: 20px 20px 10px;
  font-size: 1.4rem;
  color: var(--text-primary);
}

.project-card p {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: var(--text-secondary);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--glow-primary);
  border-color: rgba(99, 102, 241, 0.4);
}

/* Project tags */
.project-tags {
  padding: 0 20px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-tag {
  background: rgba(99, 102, 241, 0.15);
  color: var(--accent-light);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  border: 1px solid var(--border-subtle);
}

/* ========== CERTIFICATIONS SECTION ========== */
#certifications {
  padding: 80px 10%;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.cert-card {
  padding: 35px;
  border-radius: 15px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all 0.4s ease;
  text-align: left;
}

.cert-card i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 15px;
  filter: drop-shadow(var(--glow-primary));
}

.cert-card h3 {
  margin-bottom: 10px;
  color: #e1ac3a;
  font-size: 1.3rem;
}

.cert-card p {
  color: #DCE3FF;
  font-size: 1rem;
  margin-bottom: 0;
  line-height: 1.6;
}

.cert-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--glow-primary);
  border-color: rgba(99, 102, 241, 0.4);
}

/* ========== WORK/BLOG SECTION ========== */
#work {
  padding: 80px 10%;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.work-card {
  text-decoration: none;
  color: inherit;
  display: block;
  padding: 35px;
  background: var(--bg-card);
  border-radius: 15px;
  border: 1px solid var(--border-subtle);
  transition: all 0.4s ease;
  text-align: left;
}

.work-card i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 15px;
  filter: drop-shadow(var(--glow-primary));
}

.work-card h3 {
  color: var(--text-primary);
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.work-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

.work-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--glow-primary);
  border-color: rgba(99, 102, 241, 0.4);
}

/* ========== VIDEO SECTION ========== */
#video {
  padding: 80px 10%;
  text-align: center;
}

#video h2 {
  margin-bottom: 2rem;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 40px auto 0;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), var(--glow-primary);
  border: 1px solid var(--border-subtle);
}

.video-container iframe {
  width: 100%;
  height: 500px;
  border: none;
  display: block;
}

/* ========== CONTACT SECTION ========== */
#contact {
  padding: 80px 10%;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 40px;
}

.contact-info {
  padding: 35px;
  background: var(--bg-card);
  border-radius: 15px;
  border: 1px solid var(--border-subtle);
}

.contact-info h3 {
  margin-bottom: 25px;
  color: var(--text-primary);
  font-size: 1.8rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.contact-detail i {
  color: var(--accent);
  font-size: 1.5rem;
  width: 30px;
  filter: drop-shadow(var(--glow-primary));
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: var(--glow-primary);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-secondary);
  opacity: 0.7;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form button {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--glow-primary);
  position: relative;
  overflow: hidden;
}

.contact-form button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.contact-form button:hover::before {
  left: 100%;
}

.contact-form button:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow-hover);
}

/* ========== FOOTER ========== */
footer {
  padding: 50px 10%;
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
}

.social-links a {
  color: var(--text-secondary);
  font-size: 1.8rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: var(--accent);
  transform: translateY(-3px);
  filter: drop-shadow(var(--glow-primary));
}

footer p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
  .section {
    padding: 60px 5%;
  }
  
  .navbar {
    padding: 15px 5%;
  }
  
  .logo-octagon {
    top: 15px;
    left: 15px;
    width: 40px;
    height: 40px;
  }
  
  .logo-octagon span {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
    padding: 40px 5%;
  }
  
  .hero-left {
    text-align: center;
  }
  
  .hero-left p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .name::after {
    margin-left: auto;
    margin-right: auto;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .navbar {
    justify-content: center;
    gap: 20px;
  }
  
  .navbar a {
    font-size: 1rem;
  }
  
  h1 {
    font-size: 2.8rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .video-container iframe {
    height: 350px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 40px 5%;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .skills-grid,
  .project-container,
  .cert-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }
  
  .navbar {
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .navbar a {
    font-size: 0.9rem;
  }
  
  .btn {
    padding: 12px 25px;
    font-size: 1rem;
  }
  
  .hero-right img {
    max-width: 280px;
  }
  
  .logo-octagon {
    display: none; /* Hide on very small screens */
  }
}

/* ========== ANIMATIONS & UTILITIES ========== */
.fade-in {
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-in-left {
  animation: slideInLeft 1s ease forwards;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-right {
  animation: slideInRight 1s ease forwards;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Cyberpunk pulse animation */
@keyframes cyberpunk-pulse {
  0% {
    box-shadow: 0 0 5px var(--accent);
  }
  50% {
    box-shadow: 0 0 25px var(--accent), 0 0 35px var(--accent-light);
  }
  100% {
    box-shadow: 0 0 5px var(--accent);
  }
}

.cyberpunk-pulse {
  animation: cyberpunk-pulse 2s infinite;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent), var(--accent-light));
  border-radius: 5px;
  box-shadow: var(--glow-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--accent-hover), var(--accent));
}

/* Selection styling */
::selection {
  background: var(--accent);
  color: white;
  text-shadow: none;
}

/* Loading animation for progress bars */
@keyframes loadProgress {
  from { width: 0; }
  to { width: var(--target-width); }
}

/* Glass morphism effect class */
.glass {
  background: rgba(26, 31, 47, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(99, 102, 241, 0.25);
}

/* Gradient text utility */
.gradient-text {
  background: linear-gradient(135deg, var(--text-primary), var(--accent-light), var(--accent));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: var(--glow-text);
}

/* ================= TAGLINE STYLE ================= */
.hero-left .tagline {
  color: #FFFFFF;   /* pure white */
  font-style: italic;
  letter-spacing: 0.4px;
}

/* ================= VISITOR STATS SECTION ================= */
#visitor-stats {
  background: rgba(26, 31, 47, 0.4);
  position: relative;
  overflow: hidden;
}

#visitor-stats::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
  z-index: 0;
}

.visitor-stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin: 40px 0;
  position: relative;
  z-index: 1;
}

.visitor-stats-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 30px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.visitor-stats-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.visitor-stats-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--glow-primary);
  border-color: var(--accent);
}

.visitor-stats-card:hover::before {
  opacity: 1;
}

.visitor-stats-icon {
  width: 70px;
  height: 70px;
  background: rgba(99, 102, 241, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
}

.visitor-stats-icon i {
  font-size: 2rem;
  color: var(--accent);
  filter: drop-shadow(var(--glow-primary));
}

.visitor-stats-content {
  flex: 1;
}

.visitor-count {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  text-shadow: var(--glow-text);
  font-family: 'Playfair Display', serif;
}

.visitor-label {
  color: var(--text-secondary);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Progress bar for monthly goal */
.visitor-progress {
  max-width: 600px;
  margin: 50px auto 30px;
  padding: 20px;
  background: var(--bg-card);
  border-radius: 15px;
  border: 1px solid var(--border-subtle);
  position: relative;
  z-index: 1;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

#progress-percent {
  color: var(--accent);
  font-weight: 600;
}

.progress-bar-container {
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 10px;
  box-shadow: var(--glow-primary);
  transition: width 1s ease;
}

/* ================= LIVE VISITOR COUNTER SECTION ================= */
#visitor-stats {
  background: rgba(26, 31, 47, 0.4);
  position: relative;
  overflow: hidden;
  padding: 60px 10%;
}

.visitor-counter-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 0;
}

.visitor-counter-card {
  background: var(--bg-card);
  border: 2px solid var(--accent);
  border-radius: 30px;
  padding: 50px 80px;
  display: flex;
  align-items: center;
  gap: 40px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--glow-primary);
  max-width: 600px;
  width: 100%;
}

.visitor-counter-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--glow-hover);
}

.visitor-counter-icon {
  width: 100px;
  height: 100px;
  background: rgba(99, 102, 241, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent);
  position: relative;
}

.visitor-counter-icon i {
  font-size: 3rem;
  color: var(--accent);
  filter: drop-shadow(var(--glow-primary));
}

.visitor-counter-content {
  flex: 1;
  text-align: left;
}

.visitor-counter-number {
  font-size: 4rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  text-shadow: var(--glow-text);
  font-family: 'Playfair Display', serif;
  margin-bottom: 5px;
}

.visitor-counter-label {
  color:white;
  font-size: 1.2rem;
  letter-spacing: 1px;
}

/* Live badge */
.live-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--accent);
  color: white;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--glow-primary);
  animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
  0% { opacity: 0.8; }
  50% { opacity: 1; box-shadow: 0 0 20px var(--accent); }
  100% { opacity: 0.8; }
}

.pulse-icon {
  animation: iconPulse 2s infinite;
}

@keyframes iconPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); filter: drop-shadow(0 0 15px var(--accent)); }
  100% { transform: scale(1); }
}

/* Live indicator */
.live-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  color: white;
  font-size: 1rem;
}

.live-dot {
  width: 12px;
  height: 12px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.2); opacity: 0.8; box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { transform: scale(1); opacity: 1; }
}

#finicount_views {
  color: rgb(106, 106, 227);
  font-size: inherit;
  font-weight: inherit;
}

/* Responsive */
@media (max-width: 768px) {
  .visitor-counter-card {
    flex-direction: column;
    text-align: center;
    padding: 40px 30px;
    gap: 20px;
  }
  
  .visitor-counter-content {
    text-align: center;
  }
  
  .visitor-counter-number {
    font-size: 3rem;
  }
  
  .visitor-counter-icon {
    width: 80px;
    height: 80px;
  }
  
  .visitor-counter-icon i {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .visitor-counter-number {
    font-size: 2.5rem;
  }
  
  .visitor-counter-label {
    font-size: 1rem;
  }
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.work-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
  transition: transform 0.4s ease;
}

.work-card:hover img {
  transform: scale(1.05);
}