.welcome-text {
  background-color: #000;
  color: #00ffff;
  font-weight: bold;
  font-size: 2.2rem;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  margin-top: 60px;
  padding: 20px 20px;
  text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.typed-text {
  border-right: 2px solid #00ffff;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  animation: typing 4s steps(40, end) forwards;
}

.cursor {
  font-weight: bold;
  font-size: 2.2rem;
  color: #00ffff;
  animation: blink 0.7s infinite;
  margin-left: 2px;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink {
  0%, 50%, 100% {
    opacity: 1;
  }
  25%, 75% {
    opacity: 0;
  }
}

.home-section {
  background-color: #000;
  padding: 80px 20px;
  color: #fff;
}

.home-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.photo-box {
  width: 500px;
  height: 500px;
  border: 4px solid #00ffff;
  border-radius: 12px;
  overflow: hidden;
}

.home-photo {
  width: 100%;
  height: 700px;
  object-fit: cover;
}
  

.name-box {
  background-color: #111;
  padding: 25px 35px;
  border-radius: 12px;
  box-shadow: 0 0 15px #00ffff;
  text-align: center;
  max-width: 500px;
}

.name-box h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #00ffff;
}

.name-box p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.download-btn {
  display: inline-block;
  background-color: #00ffff;
  color: #000;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
}

.download-btn:hover {
  background-color: #00dddd;
  
}

.social-icons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icons img {
  width: 30px;
  height: 30px;
  
  transition: transform 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.2);
}

/* Navbar Styles */
nav {
  background-color: #000;
  padding: 20px 40px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  box-shadow: 0 2px 5px rgba(0, 255, 255, 0.2);
}
nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 35px;
  margin: 0;
  padding: 0;
}
nav ul li a {
  color: #00ffff;
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
  transition: color 0.3s;
}
nav ul li a:hover {
  color: #00dddd;
  transform: translateY(-8px);
  box-shadow: 0 0 80px rgba(0, 255, 255, 0.9);

}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* About Me Section */
.about-container {
  padding: 60px 20px;
  color: #fff;
  background-color: #111;
  text-align: center;
}
.about-description h2 {
  font-size: 32px;
  color: #00ffff;
  margin-bottom: 20px;
}
.about-description p {
  margin: 10px 0;
  font-size: 18px;
}

/* Education Boxes */
.education-section {
  margin-top: 50px;
}
.education-section h2 {
  font-size: 36px;
  font-weight: bold;
  color: #00ffff;
  text-align: center;
  margin-bottom: 30px;
}
.education-boxes {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 20px;
}
.edu-box {
  background-color: #222;
  border-left: 5px solid #00ffff;
  padding: 30px;
  width: 400px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  
}
.edu-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 80px rgba(0, 255, 255, 0.9);
}
.edu-content h4 {
  color: #00ffff;
  margin-bottom: 10px;
  font-size: 20px;
}
.edu-content p {
  margin: 6px 0;
  color: #eee;
  font-size: 18px;
  
}

/* Skills Section */
.skills-section {
  background-color: #111;
  padding: 60px 20px;
  color: #fff;
}
.skills-section h2 {
  font-size: 36px;
  font-weight: bold;
  color: #00ffff;
  text-align: center;
  margin-bottom: 40px;
}
.skill {
  margin: 20px auto;
  max-width: 600px;
}
.skill-name {
  font-size: 20px;
  margin-bottom: 5px;
}
.skill-bar {
  width: 100%;
  background-color: #333;
  border-radius: 20px;
  overflow: hidden;
  height: 25px;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
}
.skill-level {
  height: 100%;
  background-color: #00ffff;
  text-align: right;
  padding-right: 10px;
  color: #000;
  font-weight: bold;
  border-radius: 20px;
  animation: fillBar 2s ease forwards;
}

.skill-bar:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 80px rgba(0, 255, 255, 0.9);
}

@keyframes fillBar {
  from {
    width: 0;
  }
  to {
    width: var(--level);
  }
}

/* Projects Section */
.projects-section {
  padding: 60px 20px;
  background-color: #000;
  color: #fff;
}

.projects-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #00ffff;
  font-weight: bold;
}

.project-box {
  width: 50%;
  margin: 0 auto 30px auto;
  background-color: #111;
  border: 5px solid #00ffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.project-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 80px rgba(0, 255, 255, 0.9);
}

.project-box img {
  
  width: 100%;
  height: 400px;
  
  border-radius: 8px;
  margin-bottom: 15px;
  border: 2px solid #00ffff;
  
  transform: translateY(-6px);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.9);
}

.project-details {
  text-align: center;
}

.project-details h4 {
  font-size: 1.5rem;
  color: #00ffff;
  margin-bottom: 10px;
}

.project-details p {
  font-size: 1rem;
  margin: 5px 0;
  line-height: 1.5;
  color: #ccc;
}

/* Certifications Section */
.certifications-section {
  padding: 60px 20px;
  background-color: #000;
  color: #fff;
}

.certifications-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #00ffff;
  margin-bottom: 40px;
  font-weight: bold;
}

.certification-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.certification-card {
  background-color: #111;
  border: 5px solid #00ffff;
  border-radius: 24px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.certification-card:hover {

  transform: translateY(-6px);
  box-shadow: 0 0 80px rgba(0, 255, 255, 0.9);
}

.certification-card h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #00ffff;
}

.certification-card p {
  color: #ccc;
  font-size: 1rem;
}

.certification-card img {
  width: 100%;
  height: 180px;
  
  border-radius: 8px;
  margin-bottom: 15px;
  border: 2px solid #00ffff;
}

#contact {
  padding: 80px 20px;
  background-color: #000;
  text-align: center;
}

.section-title {
  font-size: 36px;
  color: #00ffff;
  margin-bottom: 30px;
}

.contact-form-box {
  max-width: 600px;
  margin: auto;
  padding: 25px;
  border: 2px solid #00ffff;
  border-radius: 15px;
  background-color: #111;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form-box input,
.contact-form-box textarea {
  padding: 10px;
  border: 1px solid #00ffff;
  border-radius: 8px;
  background-color: #000;
  color: #fff;
}

.contact-form-box button.submit-btn {
  padding: 10px;
  background-color: #00ffff;
  color: #000;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
}

.contact-form-box button.submit-btn:hover {
  background-color: #00dddd;
}

/* Base state for all sections */
section {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* When section is in view */
section.reveal {
  opacity: 1;
  transform: translateY(0);
}

/* Smooth scroll for navbar */
html {
  scroll-behavior: smooth;
}

/*flower animation*/
.flower-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.flower {
  position: absolute;
  top: -10%;
  width: 30px;
  height: 30px;
  background-image: url('https://i.ibb.co/BnjRhW5/flower.png'); /* Change if needed */
  background-size: cover;
  opacity: 0.7;
  animation: fall 10s linear infinite;
}

.flower:nth-child(1) { left: 10%; animation-delay: 0s; }
.flower:nth-child(2) { left: 30%; animation-delay: 2s; }
.flower:nth-child(3) { left: 50%; animation-delay: 4s; }
.flower:nth-child(4) { left: 70%; animation-delay: 6s; }
.flower:nth-child(5) { left: 90%; animation-delay: 8s; }

@keyframes fall {
  0% { transform: translateY(0) rotate(0deg); opacity: 0.7; }
  100% { transform: translateY(100vh) rotate(360deg); opacity: 0; }
}

/*bubbles effect*/
.bubbles {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bubbles span {
  position: absolute;
  display: block;
  width: 20px;
  height: 20px;
  background: rgba(0, 255, 204, 0.3);
  bottom: -150px;
  animation: bubble 20s linear infinite;
  border-radius: 50%;
  filter: blur(1px);
  left: calc(100% * var(--i) / 30);
  animation-delay: calc(-1s * var(--i));
}

@keyframes bubble {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.5;
  }
  100% {
    transform: translateY(-100vh) scale(1.5);
    opacity: 0;
  }
}
