/* Custom styles */
/* Hero Section Styles */
.hero {
  height: 100vh;
  background-image: url(startbg.jpg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  color: white;
  border-bottom-left-radius: 60% 60px;
  border-bottom-right-radius: 59% 123px;
  border-bottom: #515931 10px solid;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  border-bottom-left-radius: 60% 60px;
  border-bottom-right-radius: 59% 123px;
}

.hero-textbg {
  background: black;
  padding: 1rem;
}

section {
  padding-top: 80px;
  padding-bottom: 80px;
}

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

.social-links a {
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #0d6efd !important;
}

.spacerimg {
  background-image: url(startbg.jpg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  height: 5vh;
  height: 10vh;
  border-bottom-left-radius: 5% 23px;
  border-top-right-radius: 59% 20px;
  border-top-left-radius: 73% 10px;
  border-bottom: #2d7ba4 10px solid;
}

.forest_bg_cover {
  background-image: url(startbg.jpg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* about me sec */
.about-me-img {
  border-radius: 100%;
}

/* Journey section image hover effect */
#journey {
  overflow: hidden;
}

#journey h4 {
  color: green;
  font-size: 1.2rem;
  font-weight: 300;
}

.journey img {
  transition: transform 0.3s ease;
}

.journey img:hover {
  transform: scale(1.05);
}

.social-media-icon {
  width: 30px;
  padding-right: 10px;
}

#projects {
  border-bottom-left-radius: 60% 60px;
  border-bottom-right-radius: 59% 123px;
}

.line-row-1 {
  height: 75px;
  background-image: url(../project/public/line-RtoL.svg );
  background-size: contain;
  background-repeat: no-repeat;
  margin: 2rem 0;
}

.line-row-2 {
  height: 75px;
  background-image: url(../project/public/line-LtoR.svg );
  background-size: contain;
  background-repeat: no-repeat;
  margin: 2rem 0;
}

/* other things */ 
.card {
  min-height: 31rem;
}

.card-body {
  display: flex;
  flex-direction: column;
}

.card-body img {
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  object-fit:cover
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero {
    height: 80vh;
  }
  
  section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .journey-image {
    height: auto;
  }

  .line-row-2 {
    display: none;
  }
}