/* You can add custom CSS and extend Bootstrap styles in this file. Remember, Bootstrap is just CSS at the end of the day! */

.navbar {
  background-color: #1e90ff; /* DodgerBlue */
}

#hero-section {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("img/tulips.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #87ceeb;
  text-align: center;
  margin-top: 30px;
  padding: 120px 0;
}

#hero-section img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin-bottom: 25px;
  border: 10px solid rgba(255, 255, 255, 0.2);
  object-fit: cover;
  object-position: center top;
  animation: fadeInScale 1s ease-out;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

#hero-section h1 {
  font-size: 2.8rem;
  font-weight: 600;
  margin-bottom: 15px;
  animation: fadeInUp 1s ease-out 0.3s;
  animation-fill-mode: both;
}

#hero-section p {
  font-size: 1.4rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease-out 0.6s;
  animation-fill-mode: both;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#projects-section {
  background-color: lightgreen; /* PapayaWhip */
  padding: 30px 0;
}

#mission-section {
  background-color: #ffefd5; /* PapayaWhip */
  padding: 30px 0;
}

#mission-section h2 {
  color: #ff6347; /* Tomato */
  margin-bottom: 20px;
}

#mission-section img {
  width: 80%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#mission-section p {
  font-size: 18px;
  line-height: 1.8;
  padding: 30px 20px;
  color: #6a5acd; /* SlateBlue */
  text-align: left;
}

#skills-section {
  background-color: #fafad2;
  padding: 30px 0 50px;
}

#skills-section .col-12 {
  padding: 20px;
  transition: transform 0.3s ease;
}

#skills-section .col-12:hover {
  transform: translateY(-10px);
}

#skills-section .icon-large {
  background: white;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

#skills-section p {
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 250px;
  margin: 0 auto;
}

#contact-section {
  background-color: #e0ffff; /* LightCyan */
  padding: 30px 0 50px;
}

.contact-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #333;
  transition: transform 0.3s ease;
}

.contact-link:hover {
  transform: translateY(-5px);
  color: #007bff;
}

.contact-label {
  margin-top: 10px;
  font-size: 1.1rem;
}

#carousel-section {
  background-color: #ffe4e1; /* MistyRose */
  padding-bottom: 50px;
}

#footer-section {
  background-color: #2c3e50;
  padding: 30px 0;
  color: #fff;
  text-align: center;
}

#footer-section p {
  margin: 0;
  opacity: 0.9;
}

#footer-section .social-links {
  margin-top: 15px;
}

#footer-section .social-links a {
  color: #fff;
  margin: 0 10px;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

#footer-section .social-links a:hover {
  color: #3498db;
}

/* Custom styles for hover effects on icons */
.bi:hover {
  color: #ff4500; /* OrangeRed */
}

/* Make icons larger */
.icon-large {
  font-size: 3rem; /* Adjust the size as needed */
}

/* hover effect */
.icon-large:hover {
  color: #32cd32; /* LimeGreen */
}

h2 {
  color: #007bff;
  padding: 50px;
}

.project-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

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

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-content {
  padding: 1.5rem;
}

.project-content h3 {
  color: #333;
  margin-bottom: 1rem;
}

.tech-stack {
  margin: 1rem 0;
}

.tech-stack .badge {
  margin: 0.2rem;
  padding: 0.5rem 1rem;
}

.project-description {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
}

.scroll-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  z-index: 1000;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  padding: 0;
  line-height: 40px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.scroll-top-btn.visible {
  display: block;
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.carousel-caption {
  background: rgba(0,0,0,0.8);
  border-radius: 10px;
  padding: 15px;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  max-width: 60%;
  margin: 0;
}

.carousel-caption h5 {
  margin: 0 0 8px 0;
  font-size: 1.2rem;
}

.carousel-caption p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
}