* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}





body{
  background-color:#0f0f0f;
  color: white;
}
html{
  scroll-behavior: smooth;
}

/* Navbar */
.navbar {
  background-color:#0f0f0f;
}
.navbar-brand {
  font-weight: bold;
  color: rgba(6, 241, 120, 0.886)!important;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  

}
.nav-link {
  color: white !important;
  font-weight: 900 !important;
  font-size: 20px;
}
.nav-link:hover {
  color: #6c63ff !important;
  text-decoration: underline;
  border-color: 3px solid #6c63ff;
  padding-bottom: 5px;
}
.section {
  padding-top: 100px;
}
html ,body {
  overflow-x: hidden;
}

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0f0f0f;
  color: white;
  padding-top: 0;

  text-align: center;
}

.hero-section h3 {
  color: rgba(138, 215, 5, 0.904);
  font-size: 32px;
  font-family: "Playfair Display",serif;

}
.hero-section h1 {
  font-size: 2.8rem;
  font-weight: bold;
}
.hero-section h2 {
  color: #00bcd4;
  font-size: 2rem;
}

.cursor {
  display: inline-block;
  animation: blink 0.8s infinite;
  color: #00bfff;
  font-weight: bold;
  margin-left: 2px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.btn-custom {
  border: 2px solid yellow;
  color: yellow;
  padding: 8px 16px;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
}
.btn-custom:hover {
  background-color: yellow;
  color: black;
}
.kk{
  display: flex;
  justify-content: center;
  gap:15px;
  margin-top: 20px;
}
.icon{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgb(18, 242, 235);
  color: white;
  text-decoration: none;
  font-size: 24px;
  transition: 0.3s;
}
.icon:hover{
  background-color: rgba(255, 200, 0, 0.823);
  color: black;
  border-color: rgb(41, 23, 243);
}





<!------about section---->
.about-photo {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}


.brand-name {
  color: yellow;
  transition: color 0.3s;
}

.brand-name:hover {
  color: #000;
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}

.card:hover {
  transform: scale(1.03);
  transition: 0.3s;
  border-color: #0dcaf0;
}

.btn-outline-warning:hover {
  background-color: #ffc107;
  color: black;
}



.timeline {
  position: relative;
  padding: 2rem 0;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background-color: yellow;
  transform: translateX(-50%);
}
.timeline-item {
  position: relative;
  width: 50%;
  padding: 1rem 2rem;
}
.timeline-item.left {
  left: 0;
  text-align: right;
}
.timeline-item.right {
  left: 50%;
  text-align: left;
}
.timeline-item .content {
  background-color: #222;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255,255,255,0.2);
}
.timeline-item .content h5 {
  margin: 0;
  font-weight: bold;
}
.timeline-item .content p,
.timeline-item .content small {
  margin: 0;
  color: #ccc;
}


.red {
  border: 2px solid yellow;
  color: yellow;
}
.green {
  border: 2px solid yellow;
  color: yellow;
}
.blue {
  border: 2px solid yellow;
  color: yellow;
}
 #education h2 {
  font-size: 48px;
  font-weight: bold;
  color: goldenrod; /* or any color you prefer */
  text-align: center;
  margin-bottom: 50px;
}

 .contact-section {
  padding-top: 100px;
  padding-bottom: 60px;
}

/* Optional: image styling */
.contact-image {
  max-width: 100%;
  height: auto;
}


body {
  background-color: #222;
}
#Skills ul li {
  font-size: 16px;
  margin-bottom: 8px;
  color: #212529;
}

#Skills h5 i {
  color: #0d6efd; /* Bootstrap primary blue */
}

/* Section background */
#Skills {
  background-color: #121212;
}

/* Section heading */
#Skills h2 {
  color: white;
  font-weight: 700;
}

/* Skills card box */
#Skills .skills-box {
  background-color: #f2f4f8;
  padding: 2rem;
  border-radius: 1rem;
  max-width: 500px;
  margin: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Skill label */
#Skills label {
  font-weight: 600;
  color: #333;
}

/* Caret icons */
#Skills i.fa-caret-right {
  color: #f0ad4e;
  margin-right: 8px;
}

/* Progress bar tweaks */
#Skills .progress {
  height: 20px;
  background-color: #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
}

#Skills .progress-bar {
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-align: right;
  padding-right: 10px;
}


@media (max-width: 768px) {
  .hero-section {
    padding-top: 50px;
    min-height: auto;
  }

  .hero-section img {
    max-width: 100%;
  }

  .hero-section h1 {
    font-size: 2.2rem;
  }

  .hero-section h2 {
    font-size: 1.8rem;
  }

  .hero-section h3 {
    font-size: 1.5rem;
  }
  .btn-custom {
    padding: 6px 12px;
  }

  .kk {
    flex-wrap: wrap;
    gap: 10px;
  }
}
/* For mobile screens (max-width: 767px) */
@media (max-width: 767px) {
  #education .row {
    flex-direction: column; /* Stack content vertically */
  }

  #education .col-md-6 {
    margin-bottom: 20px; /* Space between text and image */
  }

  #education img {
    max-width: 80%; /* Limit image size on mobile */
    margin: 0 auto; /* Center the image */
  }
}

/* For mobile screens (max-width: 767px) */
@media (max-width: 767px) {
  /* Timeline container */
  .timeline {
    padding: 1rem; /* Adjust padding for smaller screens */
  }

  /* Timeline line (center line) */
  .timeline::before {
    width: 2px; /* Thinner line for mobile */
  }

  /* Timeline items */
  .timeline-item {
    width: 100%; /* Make items take full width */
    padding: 1rem; /* Adjust padding for better spacing */
    text-align: center; /* Center text for better alignment */
  }

  /* Adjust the position of left/right items to stack */
  .timeline-item.left, .timeline-item.right {
    left: 0;
    text-align: center; /* Ensure text is centered on small screens */
  }

  /* Timeline content */
  .timeline-item .content {
    padding: 1rem;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.2); /* Smaller shadow for mobile */
  }

  .timeline-item .content h5 {
    font-size: 1.2rem; /* Adjust font size */
  }

  .timeline-item .content p,
  .timeline-item .content small {
    font-size: 0.9rem; /* Adjust font size for better readability */
  }
}



@media (max-width: 767px) {
  #contact .row {
    flex-direction: column-reverse;
    text-align: center;
  }
}



