body {
  font-family: 'Poppins', sans-serif;
  background-color: #f4f7fa;
  color: #2c2c2c;
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  letter-spacing: 1px;
}

header {
  background: linear-gradient(135deg, #141e30, #243b55);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 10;
}

header h1 {
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.glass-navbar {
  background: rgba(30, 60, 114, 0.65);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease-in-out;
}

.navbar .nav-link {
  margin: 0 10px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar .nav-link:hover,
.navbar .dropdown-item:hover {
  color: #ffd700;
}

.dropdown-menu {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  padding: 10px;
}

.dropdown-item {
  transition: background-color 0.3s ease;
}

.dropdown-item:hover {
  background-color: #f1f1f1;
}



.btn-outline-light:hover {
  background-color: #ffffff;
  color: #000;
  transition: all 0.3s ease-in-out;
  border-color: #ffffff;
}

section {
  transition: all 0.5s ease;
}

/* Hero Section Styling */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: white;
  padding: 60px 20px;
}

/* Name Glow Effect */
.hero-name {
  text-shadow: 0 0 10px rgba(255,255,255,0.3), 0 0 20px rgba(0,200,255,0.4);
  animation: glow 2s infinite alternate;
}

@keyframes glow {
  from { text-shadow: 0 0 10px rgba(0,200,255,0.3), 0 0 20px rgba(0,200,255,0.5); }
  to { text-shadow: 0 0 20px rgba(255,255,255,0.6), 0 0 40px rgba(0,200,255,0.8); }
}

/* Tech Stack */
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.tech-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 1rem;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease-in-out;
}

.tech-item:hover {
  background: rgba(0, 200, 255, 0.2);
  transform: scale(1.1);
}

/* Button */
.hero-btn {
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  color: white;
  font-size: 1.1rem;
  padding: 12px 28px;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(0,114,255,0.4);
  transition: all 0.3s ease-in-out;
}

.hero-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,114,255,0.6);
}


/* Section Title Gradient */
.text-gradient {
  background: linear-gradient(90deg, #4b6cb7, #182848);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Profile Image Container */
.profile-pic-container {
  position: relative;
  display: inline-block;
  padding: 8px;
  background: linear-gradient(135deg, #4b6cb7, #182848);
  border-radius: 50%;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.profile-pic {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid white;
  transition: transform 0.4s ease-in-out;
}

.profile-pic:hover {
  transform: scale(1.06);
}

/* Animated Ring Effect */
.profile-ring {
  position: absolute;
  top: -6px;
  left: -6px;
  width: calc(100% + 12px);
  height: calc(100% + 12px);
  border-radius: 50%;
  border: 3px dashed rgba(255, 255, 255, 0.5);
  animation: spin 8s linear infinite;
}

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

/* Skill Badges */
.skill-badges .badge {
  font-size: 0.9rem;
  padding: 0.5em 0.9em;
  border-radius: 20px;
  margin: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-badges .badge:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

/* Highlight Text */
.highlight {
  color: #4b6cb7;
  font-weight: bold;
}

.about-list li {
  margin-bottom: 8px;
}

/* CV Section Styling */
.cv-section {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.cv-btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 1.1rem;
  font-weight: bold;
  color: white;
  background: linear-gradient(90deg, #0072ff, #00c6ff);
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0, 114, 255, 0.4);
  transition: all 0.3s ease-in-out;
}

.cv-btn i {
  margin-right: 8px;
  transition: transform 0.3s ease;
}

.cv-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 114, 255, 0.6);
}

.cv-btn:hover i {
  transform: translateY(-3px);
}

.view-btn {
  background: linear-gradient(90deg, #ff7eb3, #ff758c);
}



/* Project Section */
.project-card {
  border-radius: 18px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.85);
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.project-card:hover {
  transform: translateY(-10px) rotate3d(1,1,0,2deg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  border-image: linear-gradient(45deg, #ff6a00, #ee0979) 1;
}

.project-img-container {
  position: relative;
  overflow: hidden;
}
.project-img-container img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover img {
  transform: scale(1.15);
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}
.project-card:hover .overlay {
  opacity: 1;
}

.tags {
  margin-top: 10px;
}
.tags span {
  display: inline-block;
  background: linear-gradient(45deg, #ff6a00, #ee0979);
  color: white;
  padding: 4px 10px;
  font-size: 0.8rem;
  border-radius: 20px;
  margin: 2px;
  animation: fadeInUp 0.6s ease forwards;
}
@keyframes fadeInUp {
  from {opacity: 0; transform: translateY(10px);}
  to {opacity: 1; transform: translateY(0);}
}

  /* Education */
.edu-card {
   background: linear-gradient(to right, #f8f9fa, #e9ecef);
   border-left: 5px solid #2a5298;
   transition: all 0.3s ease;
}

.edu-card:hover {
   transform: translateY(-5px);
   box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
   background: linear-gradient(to right, #dee2e6, #ced4da);
}
.timeline {
   position: relative;
   margin: 0 auto;
   padding: 20px 0;
   max-width: 700px;
}

.timeline::before {
   content: "";
   position: absolute;
   left: 50%;
   transform: translateX(-50%);
   width: 4px;
   height: 100%;
   background: #2a5298;
}

.timeline-item {
   position: relative;
   width: 50%;
   padding: 20px 40px;
   box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
   left: 0;
   text-align: right;
}

.timeline-item:nth-child(even) {
   left: 50%;
}

.timeline-icon {
   position: absolute;
   top: 20px;
   left: 50%;
   transform: translate(-50%, 0);
   background: #2a5298;
   color: white;
   border-radius: 50%;
   padding: 10px;
   z-index: 1;
}

.timeline-content {
   background: linear-gradient(to right, #f8f9fa, #e9ecef);
   padding: 15px;
   border-radius: 8px;
   position: relative;
   box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
   transition: all 0.3s ease;
}

.timeline-content:hover {
   transform: translateY(-5px);
   background: linear-gradient(to right, #dee2e6, #ced4da);
}

/* 📱 Mobile Responsive Styles */
@media (max-width: 768px) {
   .timeline::before {
      left: 20px;
   }

   .timeline-item {
      width: 100%;
      padding-left: 60px;
      padding-right: 20px;
      text-align: left !important;
      left: 0 !important;
   }

   .timeline-icon {
      left: 20px;
      transform: none;
   }
}


/* Skill Section */
.skill-item {
  background: rgba(255, 255, 255, 0.9);
  padding: 15px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}
.skill-item:hover {
  transform: translateY(-5px);
}

.skill-info {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 5px;
}

.skill-info i {
  margin-right: 8px;
  font-size: 1.2rem;
}

.progress {
  height: 20px;
  background-color: #f0f0f0;
  border-radius: 50px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  border-radius: 50px;
  width: 0;
  transition: width 1.5s ease-in-out;
}

/* Gradient styles */
.gradient-html {
  background: linear-gradient(90deg, #ff512f, #dd2476);
}
.gradient-css {
  background: linear-gradient(90deg, #1e3c72, #2a5298);
}
.gradient-js {
  background: linear-gradient(90deg, #f7971e, #ffd200);
}
.gradient-java {
  background: linear-gradient(90deg, #00c6ff, #0072ff);
}




#contact input,
#contact textarea {
  background-color: #2c2c2c;
  color: white;
  border: 1px solid #444;
  border-radius: 8px;
}

#contact input::placeholder,
#contact textarea::placeholder {
  color: #aaa;
}

.contact-section input::placeholder,
.contact-section textarea::placeholder {
  color: #bbb;
}

.contact-section h5 {
  font-weight: 600;
}

.contact-section .btn-outline-light:hover {
  background-color: white;
  color: #000;
}

/* Scroll to Top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  font-size: 20px;
  border: none;
  outline: none;
  background-color: #343a40;
  color: white;
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 8px;
  display: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease;
}

#scrollTopBtn:hover {
  background-color: #555;
}

/* AOS Animation Enhancements */
[data-aos] {
  opacity: 0;
  transition-property: transform, opacity;
}

[data-aos].aos-animate {
  opacity: 1;
}

/* Typing animation for hero */
.typing-effect {
  font-size: 1.25rem;
  color: #ddd;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #fff;
  width: 0;
  animation: typing 3s steps(30, end) forwards, blink 0.75s step-end infinite;
}

/* CV Section */
#download-cv {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

#download-cv h2 {
  font-weight: bold;
}

#download-cv .btn {
  transition: all 0.3s ease-in-out;
}

#download-cv .btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


@keyframes typing {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@keyframes blink {

  from,
  to {
    border-color: transparent;
  }

  50% {
    border-color: white;
  }
}