:root {
  --primary-color: #3b1b76;
  --secondary-color: #6a5ae3;
  --accent-color: #df3d8b;
  --dark-color: #050510;
  --light-color: #f8fafc;
  --text-color: #e2e8f0;
  --text-light: #94a3b8;
  --success-color: #10b981;
}

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: 'Urbanist', sans-serif;
  background: var(--dark-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* =========================
   LOADER
========================= */

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

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

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

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

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

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

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

/* =========================
   HEADER
========================= */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  background: transparent;
  transition: 0.3s ease;
}

.header.scrolled {
  background: rgba(5, 5, 16, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 25px rgba(0,0,0,0.4);
  padding: 1rem 0;
}

.header-container {
  width: 85%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */

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

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

/* Navigation */

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

.nav-links li a {
  color: var(--light-color);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: 0.3s ease;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: -6px;
  background: var(--accent-color);
  transition: 0.3s ease;
}

.nav-links li a:hover::after {
  width: 100%;
}

/* =========================
   HERO SECTION
========================= */

.hero-about-section {
  min-height: 100vh;
  padding: 120px 10% 60px;
  display: flex;
  align-items: center;
}

.hero-about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  width: 100%;
}

/* Hero Image */

.hero-image img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid var(--accent-color);
  box-shadow: 0 0 30px rgba(223,61,139,0.4);
}

/* Hero Content */

.hero-content {
  max-width: 650px;
}

.about-content h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.about-content h1 span {
  color: var(--accent-color);
}

.about-content h3 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.about-content p {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.highlight {
  color: var(--accent-color);
  font-weight: 600;
}

/* Button */

.front-btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 40px;
  text-decoration: none;
  color: var(--light-color);
  font-weight: 600;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--accent-color)
  );
  transition: 0.3s ease;
}

.front-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(223,61,139,0.4);
}

/* =========================
   SKILLS
========================= */

.skills-section {
  padding: 100px 10%;
}

.skills-title {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 4rem;
}

.skills-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.skill-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 2rem;
  transition: 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.skill-card h2 {
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  position: relative;
}

.skill-card h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.skill-tags span {
  padding: 8px 14px;
  border-radius: 20px;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--accent-color)
  );
  font-size: 0.85rem;
  transition: 0.3s ease;
}

.skill-tags span:hover {
  transform: scale(1.08);
}

/* =========================
   PROJECTS
========================= */

.projects {
  padding: 100px 5%;
}

.projects-container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.section-title {
  font-size: 2.7rem;
  margin-bottom: 3rem;
  color: var(--accent-color);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 2rem;
}

.project-card {
  background: #111827;
  border-radius: 18px;
  overflow: hidden;
  padding: 1.5rem;
  transition: 0.3s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

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

.project-card h3 {
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.project-card a,
.coming {
  display: inline-block;
  margin-top: 10px;
}

.project-card a {
  padding: 10px 20px;
  border-radius: 30px;
  color: white;
  text-decoration: none;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--accent-color)
  );
}

.coming {
  color: var(--text-light);
}

/* =========================
   CERTIFICATES
========================= */

.certificates {
  padding: 100px 5%;
  text-align: center;
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.certificate-card {
  background: #1e293b;
  border-radius: 14px;
  overflow: hidden;
  padding: 20px;
  transition: transform 0.3s ease,
              box-shadow 0.3s ease;
}

.certificate-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(223, 61, 139, 0.35);
}

.certificate-card img {
  width: 100%;
  height: 120px;
  object-fit: contain;
}

/* Responsive */

@media (max-width: 768px) {
  .certificates-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .certificates-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   RESUME
========================= */

.resume-section {
  padding: 100px 5%;
  display: flex;
  justify-content: center;
}

.resume-container {
  max-width: 800px;
  width: 100%;
  text-align: center;
  background: #111827;
  padding: 3rem;
  border-radius: 20px;
}

.resume-container h2 {
  color: var(--accent-color);
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.resume-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.download-btn {
  display: inline-block;
  padding: 12px 35px;
  border-radius: 40px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--accent-color)
  );
  transition: 0.3s ease;
}

.download-btn:hover {
  transform: translateY(-4px);
}

/* =========================
   CONTACT
========================= */

#contact {
  padding: 80px 5%;
  text-align: center;
  background: #0b1120;
}

#contact h1 {
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-size: 2.7rem;
}

#contact p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.social-links a {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1.5rem;
  transition: 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-5px) scale(1.1);
}

/* Individual Colors */

.social-links a:nth-child(1) {
  background: #1877f2;
}

.social-links a:nth-child(2) {
  background: #000;
}

.social-links a:nth-child(3) {
  background: #e4405f;
}

.social-links a:nth-child(4) {
  background: #0077b5;
}

.social-links a:nth-child(5) {
  background: #333;
}

.social-links a:nth-child(6) {
  background: #25d366;
}

.social-links a:nth-child(7) {
  background: #ea4335;
}

.social-links a:nth-child(8) {
  background: #f89f1b;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {

  .header-container {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-about-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-image img {
    width: 240px;
    height: 240px;
  }

  .about-content h1 {
    font-size: 2.3rem;
  }

  .section-title,
  .skills-title,
  #contact h1 {
    font-size: 2.2rem;
  }

  .social-links a {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {

  .hero-about-section {
    padding: 120px 6% 60px;
  }

  .about-content h1 {
    font-size: 2rem;
  }

  .about-content h3 {
    font-size: 1.2rem;
  }

  .hero-image img {
    width: 200px;
    height: 200px;
  }

  .social-links a {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
}
/* =========================
   EXPERIENCE SECTION
========================= */

.experience-section {
  padding: 100px 5%;
  background: var(--dark-color);
  text-align: center;
}

.experience-container {
  max-width: 1100px;
  margin: auto;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));

  gap: 2rem;
}

.experience-card {
  background: #111827;

  padding: 2rem;

  border-radius: 18px;

  border: 1px solid rgba(255,255,255,0.08);

  transition: transform 0.3s ease,
              box-shadow 0.3s ease;
}

.experience-card:hover {
  transform: translateY(-8px);

  box-shadow: 0 12px 30px rgba(223, 61, 139, 0.25);
}

.experience-card h3 {
  color: var(--accent-color);

  font-size: 1.5rem;

  margin-bottom: 0.8rem;
}

.experience-card h4 {
  color: var(--light-color);

  font-size: 1.1rem;

  margin-bottom: 0.7rem;
}

.experience-location,
.experience-duration {
  color: var(--text-light);

  font-size: 0.95rem;

  margin-top: 0.4rem;
}

/* Responsive */

@media (max-width: 768px) {

  .experience-section {
    padding: 80px 6%;
  }

  .experience-card {
    padding: 1.5rem;
  }

  .experience-card h3 {
    font-size: 1.3rem;
  }
}