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

:root {
  --bg: #0b1121;
  --text: #ffffff;
  --accent: #ffcc00;
  --card-bg: #1e1e1e;
}

body {
  background-color: var(--bg);
  color: var(--text);
  min-height: 100vh;
  font-family: 'Segoe UI', sans-serif;
}

/* Header background, spacing, border */
header {
  padding: 10px 0;
  border-bottom: 2px solid #1f1f1f;
  position: static;
  top: 0;
  z-index: 100;
}

/* Navbar layout inside the header */
.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo styling */
/* Logo styling with gradient text */
.navbar .logo h1 {
  font-size: 4rem;
  margin-left: 2.1rem;
  background: linear-gradient(45deg,#e7ee19, #fafafa);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


/* Nav links - initial sticky position */
.navbar .nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0.5rem 1rem; /* add some padding for better look */
  position: sticky;    /* changed from relative */
  top: 0;              /* sticks to top */
  background: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  z-index: 999;        /* keep above content */
}

/* You can toggle a class "sticky" on .nav-links via JS on scroll */
.navbar .nav-links.sticky {
  position: fixed;
  top: 0;
  right: 11.3rem; /* adjust as per your navbar layout */
  box-shadow: none; /* no shadow */
  z-index: 9999;
  background: rgba(0, 0, 0, 0.4); /* smoky black with transparency */
  backdrop-filter: blur(5px);     /* subtle blur for nice effect */
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.navbar .nav-links li a {
  color: var(--accent);
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;         /* no underline */
}

.navbar .nav-links li a:hover {
  background: none;               /* remove background gradient */
  color: #305a9a;                /* fallback */
  text-decoration: none;         /* no underline */
}

/* Mobile: hide nav links */
@media (max-width: 767px) {
  .navbar .nav-links {
    display: none;
  }
}

/* Hero Section */
.hero {
  padding: 4rem 2rem;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 10rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-img {
  position: relative;
}

.hero-img .img-card {
  position: relative;
  display: inline-block;
  perspective: 800px; /* optional, for subtle depth */
  margin-bottom: 3rem;
  margin-left: 1.5rem;
  margin-top: -2rem;
}

.hero-img .img-card::before {
  content: "";
  position: absolute;
  top: 8px; /* offset to create layered shadow effect */
  left: 8px;
  width: 100%;
  height: 100%;
  background-color: rgba(142, 126, 32, 0.3);
  border: 4px solid var(--accent);
  border-radius: 6px; /* match or slightly bigger than image */
  box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.35);
  z-index: -2;
  transition: all 0.3s ease;
}

.hero-img .img-card::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  width: 100%;
  height: 100%;
  background-color: rgba(142, 126, 32, 0.15);
  border-radius: 6px;
  filter: blur(8px);
  z-index: -3;
}

.hero-img img {
  display: block;
  width: 400px;
  height: auto;
  border: 4px solid white;
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
}

/* Optional hover effect to enhance 3D feel */
.hero-img .img-card:hover img {
  transform: translate(-5px, -5px);
}


/* Hero Text */
.hero-text {
  margin-top: 1rem;
  max-width: 500px;
  /* Ensure consistent alignment */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-text h4 {
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.hero-text h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-text h1 span{
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffcc00;
}

.hero-text h3 span {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--accent); /* Updated to use accent color */
}

.hero-text .auto-type {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.hero-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn:hover {
  background: var(--accent);
  color: #0b1121;
}

/* Social Links */
.hero-content .socials {
  display: flex;
  gap: 1rem; /* keep gaps between icons */
  justify-content: flex-start;
  align-items: center;
  margin-bottom: -4rem;
  margin-left: 0.5rem;
}

.hero-content .socials a {
  color: #22b4dd;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
  margin: 0; /* remove extra margin */
}

.hero-content .socials a img {
  width: 40px;
  height: 40px;
  object-fit: fill;
  margin: 0; /* remove big left and right margins */
  filter: drop-shadow(0 0 4px #ffcc00);
  transition: filter 0.3s ease, transform 0.3s ease;
}

/* Hover effect on the icon */
.hero-content .socials a:hover img {
  transform: scale(1.1);
  /* shadow with accent color */
  box-shadow: 0 0px 8px var(--accent);
  /* optional: smooth transition */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


/* Mobile Styles */
@media (max-width: 767px) {
  header {
    flex-wrap: wrap;
    position: relative; /* ensure relative for absolute nav */
  }

    .navbar .logo h1 {
      font-size: 2.5rem;
      margin-left: 0.7rem; /* increased from 1.2rem */
      background: linear-gradient(45deg, #e7ee19, #fafafa);
      background-clip: text;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
 
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content p{
    flex-direction: column;
    margin-right: 0.3rem;
    margin-left: -0.2rem;
    text-align: justify;
  }

    .hero-img {
    order: -1; /* Image comes first */
    margin-bottom: -12rem;
    margin-right: 2rem;
  }

  .hero-img img {
    width: 200px;
  }
    .hero-content .socials {
      display: flex;
      gap: 1rem; /* keep gaps between icons */
      justify-content: center; /* center the icons horizontally */
      align-items: center;
      margin-left: 5.8rem; /* remove left margin on mobile */
      padding-left: 0;
      margin-top: 0; /* add some spacing from content above */
      margin-bottom: -5rem;
    }

     
    .hero-content .socials a {
      color: #22b4dd;
      text-decoration: none;
      font-size: 1rem;
      margin: 0; /* remove any margin */
    }
  
    .hero-content .socials a img {
      width: 36px;  /* slightly smaller icons for mobile */
      height: 36px;
      object-fit: fill;
      margin: 0;
      filter: drop-shadow(0 0 4px #ffcc00);
      transition: filter 0.3s ease, transform 0.3s ease;
    }
  
    .hero-content .socials a:hover img {
      transform: scale(1.1);
      box-shadow: 0 0 8px var(--accent);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .download-btn {
      width: 100%;
      text-align: center;
      margin-left: 2.4rem; /* remove left margin on mobile */
      display: block;
    }
}

/* About Section */
#about {
  padding: 60px 20px;
  text-align: center;
}

.about-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  color: var(--accent);
}

.about-container h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #ffffff;
}

.about-container p {
  font-size: 18px;
  color: #f6eded;
  line-height: 1.7;
  text-align: justify;
}

/* Download Section */
.download-section {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.download-btn {
  background-color: var(--accent);
  color: rgb(11, 11, 11);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 16px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
  gap: none;
}

.download-btn:hover {
  background-color: #815eea;
}

/* Responsive */
@media (max-width: 768px) {
  .stat-box {
    flex: 1 1 80%;
  }

  .download-btn {
    width: 100%;
    text-align: center;
  }
}

.stats-container {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  padding: 2rem;
}

.stat-box {
  background-color: var(--bg);
  width: 180px;
  height: 180px;
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(154, 152, 152, 0.721);
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  transition: transform 0.4s ease;
}

.stat-box h3 {
  margin: 0.5rem 0 0;
  font-weight: 600;
  font-size: 1.2rem;
}

.stat-box p {
  font-size: 2rem;
  font-weight: bold;
  color: #4caf50;
  margin: 0.5rem 0;
}

.stat-box:hover {
  transform: translateY(-10px);
}

@media (max-width: 767px) {
  .stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }

  .stat-box {
    flex: 0 1 calc(50% - 1rem); /* two per row with gap */
    aspect-ratio: 1 / 1;          /* make perfect square */
    border-radius: 50%;           /* circle */
    background: #111a2d;          /* dark bg like screenshot */
    box-shadow: 0 0 20px rgba(255 255 255 / 0.15); /* subtle glow */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    color: white;
    font-family: 'Courier New', Courier, monospace; /* like your screenshot */
  }

  .stat-box h3 {
    font-size: 1rem;
    margin: 0 0 0.5rem 0;
    text-align: center;
  }

  .stat-box p {
    font-size: 2rem;
    margin: 0;
    font-weight: bold;
    text-align: center;
  }
}


.projects-wrapper {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: auto;
  overflow: hidden; /* only hides slides */
}
.projects-container {
  display: flex;
  padding: 1rem;
  gap: 2rem;
  margin-top: 2rem;
  width: 100%;
  max-width: 700px; /* container max width */
  margin-left: auto;
  margin-right: auto;
  position: relative; /* for buttons positioning */
}

/* Project cards */
.project-card {
  flex: 0 0 calc((100% - 4rem) / 3); /* three cards width with gap */
  background: var(--card-bg);
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 0 12px rgba(159, 158, 158, 0.721);
  text-align: center;
  transition: transform 0.4s ease;
  min-width: 100%;
  justify-content: space-between; /* Ensures buttons stay at bottom */
}

.project-card:hover {
  transform: translateY(-10px);
}

.project-card img {
  width: 100%;
  border-radius: 8px;
}

.project-card h3 {
  margin: 1rem 0 0.5rem;
}

.project-card a {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--accent);
  text-decoration: none;
}

.project-card a:hover {
  transform: translateY(-10px);
  transition: transform 0.3s ease;
}

/* Navigation buttons */
.projects-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: white;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.4s ease, transform 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  user-select: none;
  outline: none;
}

.projects-nav:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

.projects-nav.left {
  left: 10px; /* inside container */
}

.projects-nav.right {
  right: 10px; /* inside container */
}

.projects-nav:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.project-buttons {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.project-buttons .btn {
  padding: 0.4rem 0.8rem;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: 0.3s ease;
}

.live-btn {
  background-color: #333;
  color: white;
}

.github-btn {
  background-color: #333;
  color: white;
}

.project-buttons .btn:hover {
  opacity: 0.8;
}

/* MOBILE: adjust container width and buttons position */
@media (max-width: 767px) {
  .projects-container {
    width: 280px;
    max-width: none;
  }
  .project-card {
    flex: 0 0 100%;
  }
  .projects-nav.left {
    left: 7px;
  }
  .projects-nav.right {
    right: 7px;
  }
} 

footer {
  color: var(--accent);
  padding: 30px 15px 50px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  box-shadow: 0 4px 20px rgba(159, 158, 158, 0.721);
}

/* Main heading in footer */
.footer-main-heading h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--accent);
}

.footer-contact-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 50px;
}

.contact-info-card, .lets-connect-card {
  border-radius: 20px;
  padding: 25px 30px;
  flex: 1 1 250px;
  box-shadow: 0 5px 15px rgba(159, 158, 158, 0.721);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.contact-info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(159, 158, 158, 0.9);
  cursor: pointer;
}

.contact-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  gap: 12px;
}

.contact-info-card h3 {
  color: var(--accent);
  padding: 5px 20px;
  border-radius: 30px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(159, 158, 158, 0.721);
  user-select: none;
  text-align: center;
  cursor: default;

  /* Center the element itself */
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
}

.contact-list {
  list-style: none;
  padding: 0;
  font-size: 1rem;
  color: var(--accent);
}

.contact-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-list li strong {
  min-width: 70px;
  font-weight: 700;
}

/* Lets connect card */
.lets-connect-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lets-connect-card h3 {
  color: var(--accent);
  padding: 5px 20px;
  border-radius: 30px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(159, 158, 158, 0.721);
  margin-bottom: 15px;
  user-select: none;
  text-align: center;
}

.lets-connect-card p {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--accent);
}

.lets-connect-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(159, 158, 158, 0.9);
  cursor: pointer;
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--accent, #0077b6);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  margin-bottom: 10px;
}

.icon-circle img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* Social cards container */
.social-contact-cards {
  display: flex;
  gap: 30px;
  flex: 2 1 400px;
  flex-wrap: wrap;
  justify-content: center;
}

.social-card {
  border-radius: 20px;
  padding: 30px 25px;
  box-shadow: 0 5px 15px rgba(159, 158, 158, 0.721);
  flex: 1 1 180px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(159, 158, 158, 0.9);
  cursor: pointer;
}


/* Social card texts */
.social-contact-cards h4 {
  color: var(--accent);
  padding: 5px 20px;
  border-radius: 30px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(159, 158, 158, 0.721);
  margin-bottom: 15px;
  user-select: none;
  text-align: center;
}

.social-card p {
  color: var(--accent);
  font-size: 0.9rem;
  margin: 0;
}

.social-card button {
  background-color: var(--bg);
  border: none;
  font-weight: 700;
  
  background: linear-gradient(45deg, #58e0ef, #994aed);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.social-card button:hover {
  transform: translateY(-3px);
  
  /* Remove gradient on hover by setting solid text color */
  background: none;
  background-clip: text;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  color: var(--accent);
}


/* Responsive adjustments */
@media (max-width: 768px) {
  .footer-contact-section {
    flex-direction: column;
    align-items: center;
  }
  .contact-info-card,
  .lets-connect-card,
  .social-contact-cards {
    max-width: 450px;
  }
  .social-contact-cards {
    justify-content: center;
  }
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .footer-contact-section {
    flex-direction: column;
    align-items: center;
  }
  .contact-info-card,
  .lets-connect-card,
  .social-contact-cards {
    max-width: 280px;
  }
  .social-contact-cards {
    justify-content: center;
  }

  /* Mobile button gradient text */
  .social-card button {
    background: linear-gradient(45deg, #e7ee19, #fafafa);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  /* Mobile hover/focus/active states */
  .social-card button:hover,
  .social-card button:focus,
  .social-card button:active {
    transform: translateY(-3px);
    background: none !important;
    background-clip: text;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    color: var(--accent) !important;
  }
}
.section h2 {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--accent);
}

.section p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #e8e3e3;
}

.skills-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.skill-card {
  background: var(--bg);
  border-radius: 50px;
  padding: 20px;
  height: 150px;
  width: 380px;
  text-align: center;
  box-shadow: 0 0 15px rgba(106, 105, 105, 0.721);
  transition: transform 0.3s ease;
}

.skill-card h3 {
  color: #edda8e;
  text-align: center;
}

.skill-card:hover {
  transform: translateY(-10px);
}

.skill-icons {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.skill-icons img {
  width: 30px;
  height: 30px;
  object-fit: fill;
  filter: grayscale(0);
  transition: transform 0.4s ease;
  cursor: pointer;
}

.skill-icons img:hover {
  transform: scale(1.2);
}

/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltip-text {
  visibility: hidden;
  opacity: 0;
  width: 160px;
  background-color: #1c1c1c;
  color: #fff;
  text-align: left;
  padding: 10px;
  border-radius: 10px;
  position: absolute;
  z-index: 1;
  bottom: 150%;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

.tooltip .tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -6px;
  border-width: 6px;
  border-style: solid;
  border-color: #1c1c1c transparent transparent transparent;
}

/* Progress bar inside tooltip */
.tooltip .progress-bar {
  margin-top: 5px;
  height: 6px;
  background-color: #444;
  border-radius: 4px;
  overflow: hidden;
}

.tooltip .progress-fill {
  height: 100%;
  background-color: #edda8e;
  width: 0%;
  transition: width 0.5s ease;
}

.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}

.tooltip:hover .progress-fill {
  width: var(--proficiency, 80%);
}

@media (max-width: 767px) {
  .skills-container {
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
  }

  .skill-card {
    width: 90vw;        /* almost full viewport width */
    max-width: 380px;   /* keep max size */
    height: auto;       /* let height adjust with content */
    padding: 15px 20px; /* slightly less padding */
    margin-bottom: 25px; /* added vertical spacing */
  }

  .skill-card h3 {
    font-size: 1.1rem;
  }

  .skill-icons {
    gap: 20px;
  }

  .skill-icons img {
    width: 26px;
    height: 26px;
  }

  /* Tooltip adjustments */
  .tooltip .tooltip-text {
    width: 140px;
    font-size: 0.85rem;
    padding: 8px;
    bottom: 120%;
  }

  .tooltip .progress-bar {
    height: 5px;
  }

  .tooltip .progress-fill {
    transition: width 0.4s ease;
  }
}

#professional-skills {
  padding: 8rem 4rem;
  text-align: center;
}

#professional-skills h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: var(--accent);
}

.donut-charts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4rem;
}

.donut-chart {
  width: 220px;
  height: 220px;
  position: relative;
  transition: transform 0.4s ease;
  filter: drop-shadow(0 5px 7px rgba(139, 136, 136, 0.721));
}

.donut-chart:hover {
  transform: translateY(-10px);
}

.donut-chart svg {
  transform: rotate(0deg); /* to start from top */
  width: 100%;
  height: 100%;
}

.circle-bg {
  fill: none;
  stroke: #222;
  stroke-width: 4;
}

.circle {
  fill: none;
  stroke-linecap: square;
  stroke-width: 4;
  transition: stroke 0.4s ease-in-out;
}

/* Gradient simulation using keyframes */
.gradient-1 {
  animation: gradientGreen 2s linear infinite;
}
.gradient-2 {
  animation: gradientPurple 2s linear infinite;
}
.gradient-3 {
  animation: gradientOrange 2s linear infinite;
}
.gradient-4 {
  animation: gradientBlue 2s linear infinite;
}

/* Keyframe animations */
@keyframes gradientGreen {
  0% { stroke: #1b5e20; }
  25% { stroke: #2e7d32; }
  50% { stroke: #388e3c; }
  75% { stroke: #63d968; }
  100% { stroke: #1b5e20; }
}

@keyframes gradientPurple {
  0% { stroke: #6a1b9a; }
  25% { stroke: #8e24aa; }
  50% { stroke: #ab47bc; }
  75% { stroke: #ce93d8; }
  100% { stroke: #6a1b9a; }
}

@keyframes gradientOrange {
  0% { stroke: #e65100; }
  25% { stroke: #ef6c00; }
  50% { stroke: #f57c00; }
  75% { stroke: #ffb74d; }
  100% { stroke: #e65100; }
}

@keyframes gradientBlue {
  0% { stroke: #0d47a1; }
  25% { stroke: #1976d2; }
  50% { stroke: #2196f3; }
  75% { stroke: #64b5f6; }
  100% { stroke: #0d47a1; }
}

/* Label styles */
.donut-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
}

.donut-label strong {
  display: block;
  font-size: 1.2rem;
  color: #fff;
}

.donut-label span {
  font-size: 0.9rem;
  color: #ccc;
}

@media (max-width: 767px) {
  .donut-charts {
    justify-content: flex-start; /* or center, as you prefer */
    gap: 1.5rem; /* reduced gap for bigger chart */
  }

  .donut-chart {
    width: calc(50% - 0.75rem); /* slightly bigger width */
    height: auto; /* keep aspect ratio or set fixed height if needed */
  }

  .donut-label {
    font-size: 0.9rem; /* base font size smaller */
    /* position remains centered */
  }

  .donut-label strong {
    font-size: 1rem; /* smaller bold text */
  }

  .donut-label span {
    font-size: 0.75rem; /* smaller secondary text */
  }
}
