:root {
  --primary-color: #6366f1;
  --secondary-color: #a855f7;
  --accent-color: #ec4899;
  --dark-color: #0a0a16;
  --darker-color: #050510;
  --light-color: #f8fafc;
  --text-color: #e2e8f0;
  --success-color: #10b981;
}

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

::selection {
  background-color: var(--accent-color);
  color: var(--light-color);
}

body {
  font-family: 'Urbanist', sans-serif;
  background-color: #0d0d0f; /* fallback if SVG fails */
  background-image: url("../images/bg.svg");
  background-repeat: no-repeat;
  background-size: cover;       /* fills whole screen */
  background-attachment: fixed; /* fixed while scrolling */
  background-position: center;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 80px;
}

section {
  background: transparent;  /* make sections see-through */
}




h1, h2, h3, h4, h5 {
  font-weight: 700;
}

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

.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--dark-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.loader {
  position: relative;
  width: 200px;
  height: 200px;
}

.loader-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  font-weight: 700;
  color: var(--light-color);
  z-index: 2;
}

.loader-circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid transparent;
  border-top-color: var(--primary-color);
  animation: spin 1.5s linear infinite;
}

.loader-circle:nth-child(2) {
  border-top-color: var(--secondary-color);
  animation-delay: 2s;
}

.loader-circle:nth-child(3) {
  border-top-color: var(--secondary-color);
  animation-delay: 2.5s;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  z-index: 1;
}

.shape-1 {
  background: var(--primary-color);
  width: 300px;
  height: 300px;
  top: 10%;
  left: -100px;
}

.shape-2 {
  background: var(--secondary-color);
  width: 400px;
  height: 400px;
  top: 60%;
  right: -150px;
}

.shape-3 {
  background: var(--accent-color);
  width: 250px;
  height: 250px;
  top: 10%;
  left: 10px;
}

html, body {
  overflow-x: hidden;
}

/* HEADER */
.header {
  padding: 1.5rem 5%;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: all 0.4s ease;
  background: transparent;
  box-sizing: border-box;
}

.header-scrolled {
  background: rgba(5, 5, 16, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  padding: 1rem 5%;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 100%;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--light-color);
  position: relative;
}

.logo-span {
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  bottom: -5px;
  left: 0;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 1rem;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  left: 0;
  bottom: -3px;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--accent-color);
}

.nav-link:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
}

/* HERO SECTION */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 5%;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  width: 100%;
}

.hero-content {
  flex: 1 1 500px;
  max-width: 500px;
  text-align: left;
  padding-right: 2rem;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  background: #222;
  color: white;
  border-radius: 50%;
  font-size: 18px;
  transition: all 0.3s ease-in-out;
}

.social-link:hover {
  background: linear-gradient(135deg, #ff7e5f, #feb47b);
  transform: scale(1.1);
}

/* HERO IMAGE FRAME */
.hero-visual {
  flex: 1 1 350px;
  max-width: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-frame {
  width: 100%;
  border-radius: 8px;
  background: none;
  box-shadow: none;
}

.hero-visual-frame img {
  width: 250px;   /* fixed width */
  height: auto;   /* keep aspect ratio */
  max-width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

/* FLOAT ANIMATION */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    padding-right: 0;
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }

  .hero-visual {
    max-width: 280px;
  }
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 30px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  color: white;
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(to right, var(--accent-color), var(--primary-color));
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}
.gradient-text {
    background: linear-gradient(90deg, #a855f7, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  display: inline-block;
}

.hero-visual {
  display: flex;
  flex-direction: column; /* stack contents vertically */
  align-items: center;    /* center everything */
}

/* Hero Stats */
.hero-stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2rem; /* adds space below profile image */
}

.hero-stats-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6a11cb, #ff4b2b);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  margin-bottom: 0.8rem; /* adds spacing between icon and text */
}

.hero-stats-text {
  font-size: 16px;
  color: #fff;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.5px;
}


.hero-stats-icon i {
  font-size: 28px;
  color: #fff;
}

.hero-stats-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 20px; /* push it to bottom */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 1px;
  z-index: 10;
}

.scroll-indicator span {
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

/* Line container */
.scroll-indicator-line {
  width: 2px;
  height: 60px;
  background: rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

/* Animated dot */
.scroll-indicator-dot {
  width: 10px;
  height: 10px;
  background: linear-gradient(90deg, #a855f7, #ec4899); /* gradient dot */
  border-radius: 50%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-bounce 2s infinite;
}

/* Keyframes for smooth scroll animation */
@keyframes scroll-bounce {
  0% {
    top: 0;
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  50% {
    top: 70%;
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}
.section.about {
  padding: 100px 20px;
  background: rgba(10, 10, 22, 0.7); /* semi-transparent */
  color: #e2e8f0;
  position: relative;
  overflow: hidden;
}


.section-title-container {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(90deg, #6366f1, #a855f7, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #94a3b8;
  letter-spacing: 1px;
}

/* About container */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 40px;
}

.about-content {
  padding: 20px;
}

/* Tagline */
.about-tagline {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #a855f7;
  margin-bottom: 10px;
}

/* Heading */
.about-heading {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

/* Text */
.about-text {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #cbd5e1;
}

/* Subtle hover animation */
.about-text:hover {
  color: #f1f5f9;
  transition: 0.3s ease;
}

/* Responsive */
@media (max-width: 900px) {
  .about-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.skill-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.skill-item:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.1);
}

.skill-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #60a5fa; /* light blue accent */
}

.skill-name {
  font-size: 1rem;
  font-weight: 600;
  color: #f1f5f9;
}
/* Projects Section */
.projects {
  padding: 60px 20px;
  background: #f9fafb;
}

.section-title-container {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 10px;
  position: relative;
}

/* Projects Section */
#projects {
  background-color: #0a0a16; /* same as Achievements section */
  padding: 80px 20px;
  color: #fff;
}

#projects .section-title-container {
  text-align: center;
  margin-bottom: 50px;
}

#projects .section-title {
  font-size: 2.5rem;
  font-weight: bold;
  background: linear-gradient(90deg, #6366f1, #a855f7, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

#projects .section-subtitle {
  font-size: 1.1rem;
  color: #94a3b8;
}

/* Projects Grid */
#projects .projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* Project Card */
#projects .project-card {
  background: linear-gradient(135deg, #1e1b4b, #3b0764);
  border-radius: 18px;
  overflow: hidden;
  color: #f8fafc;
  text-align: center;
  padding: 0 0 20px; /* top spacing removed, bottom padding for content */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#projects .project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(147, 51, 234, 0.6);
}

/* Project Image */
#projects .project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* Project Title */
#projects .project-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin: 15px 0 8px;
}

/* Description */
#projects .project-description {
  font-size: 0.95rem;
  color: #ddd6fe;
  margin-bottom: 15px;
  padding: 0 10px;
}

/* Tags */
#projects .project-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

#projects .project-tag {
  background: rgba(255, 255, 255, 0.1);
  color: #f8fafc;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
}

/* Links/Buttons */
#projects .project-links {
  margin-top: auto;
}

#projects .project-link {
  text-decoration: none;
  color: #a855f7;
  font-weight: 500;
  transition: color 0.3s ease;
}

#projects .project-link:hover {
  color: #ec4899;
}



       .achievements {
           padding: 80px 0;
           background-color: #0a0a16; /* Dark background */
       }

       .section-title-container {
           text-align: center;
           margin-bottom: 50px;
       }

       .section-title {
           font-size: 2.5rem;
           font-weight: bold;
           color: #f8fafc;
       }

       .section-subtitle {
           font-size: 1.1rem;
           color: #cbd5e1;
       }

       .achievements-container {
           display: grid;
           grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
           gap: 30px;
       }

       /* Card styling with a purple gradient */
      .achievement-card {
          border-radius: 18px;
          padding: 28px;
          text-align: center;
          background: linear-gradient(145deg, #1e1b4b, #312e81, #4c1d95); /* indigo → deep violet */
          color: #e0e7ff; /* soft white-lavender */
          box-shadow: 0 6px 20px rgba(76, 29, 149, 0.35); /* soft violet glow */
          transition: transform 0.3s ease, box-shadow 0.3s ease;
      }

      .achievement-card:hover {
          transform: translateY(-8px);
          box-shadow: 0 12px 32px rgba(147, 51, 234, 0.6); /* stronger glow */
      }

      .achievement-icon {
          font-size: 2.5rem;
          color: #c4b5fd; /* lavender icon */
          margin-bottom: 15px;
      }

      .achievement-title {
          font-size: 1.25rem;
          font-weight: 600;
          color: #f5f3ff; /* very light violet */
          margin-bottom: 10px;
      }

      .achievement-description {
          font-size: 0.95rem;
          color: #ddd6fe; /* muted lavender */
          margin-bottom: 12px;
      }

      .achievement-date {
          font-size: 0.85rem;
          font-weight: 500;
          color: #a78bfa; /* indigo accent */
      }

.contact {
    background-color: #0a0a16; /* matches your dark theme background */
    padding: 50px 20px;
}

.contact-links {
    display: flex;
    flex-direction: column;   /* stack vertically */
    align-items: flex-start;  /* align items to the left */
    gap: 20px;                /* space between items */
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.contact-item:hover {
    background: rgba(99, 102, 241, 0.1); /* soft highlight on hover */
    transform: translateX(5px); /* slight slide effect */
}

.contact-link {
    font-size: 22px;
    color: #6366f1; /* accent color */
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #a855f7; /* purple glow on hover */
}

.contact-link-text {
    display: flex;
    flex-direction: column;
    transition: color 0.3s ease;
}

.contact-item:hover .contact-link-value {
    color: #a855f7; /* highlight text on hover */
}


/* Contact Section */
.section.contact {
    background-color: #0a0a16; /* dark background like your about/projects section */
    color: #e2e8f0;
    padding: 60px 20px;
}

.section-title-container {
    text-align: left;
    margin-bottom: 30px;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    color: #ffffff;
}

.section-subtitle {
    color: #a1a1aa;
    font-size: 1rem;
    margin-top: 8px;
}

/* Contact Links */
.contact-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.2s ease, background 0.3s ease;
    padding: 10px;
    border-radius: 10px;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

/* Contact Icons */
.contact-link {
    font-size: 1.5rem;
    color: #6366f1; /* accent color */
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #a855f7; /* secondary accent on hover */
}

/* Contact Text */
.contact-link-text {
    display: flex;
    flex-direction: column;
}

.contact-link-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #9ca3af;
}

.contact-link-value {
    font-size: 1rem;
    color: #e5e7eb;
}

/* Contact Form */
.contact-form {
    width: 100%;
    max-width: 500px;
}

.contact-form .form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-bottom: 5px;
    font-weight: 500;
    color: #d1d5db;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border-radius: 8px;
    border: none;
    outline: none;
    background: #1f2937;
    color: #ffffff;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border: 1px solid #6366f1;
    background: #111827;
}

/* Button */
.contact-form button {
    padding: 12px 20px;
    background: #6366f1;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
}

.contact-form button:hover {
    background: #4f46e5;
    transform: translateY(-2px);
}

/* Contact two-column layout */
.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px; /* space between links and form */
  margin-top: 40px;
}

/* Make columns equal width */
.contact-links, .contact-form {
  flex: 1;
}

/* Responsive: stack on small screens */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }
}
.section-title-container {
  text-align: center;
  margin-bottom: 40px; /* spacing below heading */
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #bbb;
  max-width: 700px;
  margin: 0 auto; /* center subtitle text */
}

     .footer {
            background: #0a0a16;
            color: #e2e8f0;
            padding: 20px 0;
            text-align: center;
        }
        .footer-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
        }
        .footer p {
            margin: 0;
            font-size: 14px;
        }
        .social-links {
            display: flex;
            gap: 15px;
        }
        .social-links a {
            color: #e2e8f0;
            font-size: 20px;
            transition: color 0.3s ease;
        }
        .social-links a:hover {
            color: #a855f7; /* Purple hover effect */
        }

.resume-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: linear-gradient(135deg, #ff7eb3, #ff758c, #ff6a88);
    border-radius: 50px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(255, 118, 146, 0.4);
    position: relative;
    overflow: hidden;
    transition: 0.3s ease;
}

.resume-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transform: skewX(-20deg);
    transition: 0.5s;
}

.resume-btn:hover::before {
    left: 120%;
}

.resume-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(255, 118, 146, 0.55);
}

