/* 🎨 Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #f0f4ff, #e8faff);
  c

  /* 🏠 Hero Section - Glassmorphism + Gradient */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e3c72, #2a5298, #2575fc, #6a11cb);
    background-size: 400% 400%;
    animation: glassGradient 10s ease infinite;
    color: white;
  }

  @keyframes glassGradient {
    0% {
      background-position: 0% 50%;
    }

    50% {
      background-position: 100% 50%;
    }

    100% {
      background-position: 0% 50%;
    }
  }

  /* 🧊 Glass Content Box */
  /* 🏠 Home Section Background (Image Only) */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: color(srgb red green blue);
    background-attachment: fixed;
    z-index: 1;
  }

  /* Optional: Add a slight overlay for better text visibility */
  .hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* dark overlay for contrast */
    z-index: 0;
  }

  .hero .container {
    position: relative;
    z-index: 2;
  }

  .hero .container {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 60px 40px;
    max-width: 950px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  }

  /* Make image stand out */
  .hero .profile-pic {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 5px solid #fff;
    object-fit: cover;
    transition: transform 0.4s ease;
  }

  .hero .profile-pic:hover {
    transform: scale(1.05);
  }

  color: #333;
}


/* 🌐 Custom Navbar */
/* Navbar Container */
.navbar {
  width: 100%;
  background-color: #0d1117;
  /* Dark background */
  padding: 15px 30px;
  position: fixed;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo / Photo */
.logo-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #20bf6b;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px #20bf6b;
}

/* Navigation Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #20bf6b;
}

/* Mobile Menu Toggle (Hamburger) */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: white;
  border-radius: 3px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 30px;
    background-color: #161b22;
    border-radius: 10px;
    padding: 15px;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }
}


/* 🏠 Hero Section */
/* Optional: make links stand out too */
.social-links a {
  margin-right: 15px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #f9ca24;
}

.hero {
  background: linear-gradient(120deg, #0066ff, #00ccff);
  color: white;
  padding: 100px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* 🧑‍💻 Text side */
.hero-text h1 {
  font-size: 3rem;
  font-weight: 700;
  animation: fadeInLeft 1s ease-in-out;
}

.hero-text p {
  font-size: 1.3rem;
  line-height: 1.6;
  animation: fadeInLeft 1.3s ease-in-out;
}

/* 🖼️ Profile Image - Larger and Fixed */
.hero-img {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 1.2s ease-in-out;
}

.profile-pic {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  border: 4px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 25px rgba(0, 153, 255, 0.7),
    0 0 50px rgba(0, 153, 255, 0.4),
    0 0 100px rgba(0, 153, 255, 0.2);
  animation: glowPulse 3s ease-in-out infinite;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* ✨ Smooth hover animation */
.profile-pic:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(0, 255, 255, 0.9),
    0 0 80px rgba(0, 255, 255, 0.5),
    0 0 120px rgba(0, 255, 255, 0.3);
}

/* 💫 Soft pulsing animation */
@keyframes glowPulse {
  0% {
    box-shadow: 0 0 20px rgba(0, 153, 255, 0.5),
      0 0 40px rgba(0, 153, 255, 0.3),
      0 0 80px rgba(0, 153, 255, 0.15);
  }

  50% {
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.8),
      0 0 60px rgba(0, 255, 255, 0.5),
      0 0 120px rgba(0, 255, 255, 0.3);
  }

  100% {
    box-shadow: 0 0 20px rgba(0, 153, 255, 0.5),
      0 0 40px rgba(0, 153, 255, 0.3),
      0 0 80px rgba(0, 153, 255, 0.15);
  }
}

.profile-pic {
  width: 320px;
  /* ⬅️ Larger size */
  height: 320px;
  border-radius: 50%;
  border: 6px solid #fff;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  background-color: white;
}

.profile-pic:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.hero {
  background: url("home.jpeg") no-repeat center center/cover,
    radial-gradient(circle at 20% 30%, rgba(0, 183, 255, 0.25), transparent 70%),
    radial-gradient(circle at 80% 70%, rgba(255, 0, 150, 0.25), transparent 70%),
    #050818;
  background-blend-mode: overlay;
}

/* ✨ Social Links */
.social-links a {
  display: inline-block;
  margin: 0 10px 10px 0;
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: #ffe600;
  transform: translateY(-3px);
}

/* 📱 Responsive Adjustments */
@media (max-width: 992px) {
  .hero-text {
    text-align: center;
    margin-bottom: 30px;
  }

  .profile-pic {
    width: 250px;
    height: 250px;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 60px 0;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .profile-pic {
    width: 180px;
    height: 180px;
  }
}

/* 🎬 Animations */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* About Section Background */
.about {

  color: #555;
  border-radius: 15px;
  padding: 60px 30px;
  margin-top: 50px;
  box-shadow: 0 0 40px rgba(32, 191, 107, 0.2);
  /* soft glowing effect */
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Animated Gradient Text */
.animated-text-about {
  background: linear-gradient(270deg, #ff6b6b, #f9ca24, #6a89cc, #20bf6b);
  background-size: 800% 800%;
  -webkit-text-fill-color: transparent;
  animation: colorShift 6s ease infinite;
  font-weight: bold;
  margin-bottom: 20px;
  font-size: 2rem;
}

/* Paragraph fade-in animation */
.about p {
  opacity: 0;
  animation: fadeIn 2s ease forwards;
  animation-delay: 0.5s;
  /* Slight delay after heading */
  line-height: 1.8;
  font-size: 1.1rem;
}

/* Gradient animation keyframes */
@keyframes colorShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Fade-in animation */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* 🧠 Projects Section */
.projects h2 {
  margin-bottom: 30px;
}

.repo-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

/* 📦 Project Card Style (equal padding + animation) */
.repo-card {
  background: #fff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 1s ease both;
}

.repo-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* 🔹 Fade In Up Animation */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


/* 🌈 Contact Section - New Look */
.contact {
  background: none;
  padding: 80px 20px;
}

/* 💌 Contact Box (Glassmorphism style) */
.contact-box {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  border-radius: 15px;
  padding: 40px;
  max-width: 550px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  animation: fadeInUp 1.2s ease;
}

/* Floating labels styling */
.form-floating label {
  color: #555;
  transition: 0.3s;
}

.form-control {
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.2);
}

/* ✨ Gradient button */
.btn-gradient {
  background: linear-gradient(120deg, #007bff, #00d4ff);
  border: none;
  color: #fff;
  font-weight: 600;
  border-radius: 12px;
  transition: 0.3s ease;
}

.btn-gradient:hover {
  transform: translateY(-3px);
  background: linear-gradient(120deg, #00d4ff, #007bff);
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
}

/* Status message */
#formStatus {
  font-weight: 500;
  color: #0066ff;
}

/* Responsive */
@media (max-width: 600px) {
  .contact-box {
    padding: 30px 20px;
  }
}

/* ⚡ Footer */
footer {
  text-align: center;
  padding: 25px;
  background: #9cb2d2;
  color: white;
  margin-top: 60px;
}

/* 🎬 Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer {
  background: linear-gradient(135deg, #0d1117, #161b22);
  color: white;
  padding: 40px 20px;
  text-align: center;
  border-top: 2px solid #20bf6b;
  position: relative;
  overflow: hidden;
}

.footer-quote {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 15px;
  background: linear-gradient(270deg, #ff6b6b, #f9ca24, #6a89cc, #20bf6b);
  background-size: 800% 800%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: colorShift 6s ease infinite;
}

.footer-copy {
  font-size: 0.9rem;
  margin-bottom: 10px;
  opacity: 0.8;
}

.footer-time {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #41ee92;
}