html, body{
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  scroll-behavior: smooth;
  color: #000;
  background: #fff;
}

/* For scrolling from top section til title */
html {
    scroll-behavior: smooth;
    scroll-padding: var(--scroll-padding, 5rem);
}

.navbar .nav-link{
  color: #fff;
  font-weight: 500;
}

.navbar .nav-link:hover{
  color: #e5e5e5;
}

.navbar .btn-outline-dark{
  color: #fff;
  border-color: #fff;
  background-color: transparent;
}

.navbar .btn-outline-dark:hover{
  background-color: #fff;
  color: #000;
  border-color: #fff;
}

/* Remove default icon */
.navbar-toggler-icon {
  display: none;
}

/* Base bars */
.custom-toggler {
  border: none;
  background: none;
  width: 35px;
  height: 24px;
  position: relative;
}

.toggler-bar {
  display: block;
  width: 100%;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: 0.3s ease;
}

/* Bar positions */
.top-bar {
  top: 0;
}

.middle-bar {
  top: 10px;
}

.bottom-bar {
  top: 20px;
}

/* When menu is opened (Bootstrap adds .collapsed removal) */
.custom-toggler:not(.collapsed) .top-bar {
  transform: rotate(45deg);
  top: 10px;
}

.custom-toggler:not(.collapsed) .middle-bar {
  opacity: 0;
}

.custom-toggler:not(.collapsed) .bottom-bar {
  transform: rotate(-45deg);
  top: 10px;
}

.logo{
  height: auto;
  object-fit: contain;
}

.background-image {
  background-image: url(images/jmd-design-home-background.webp);
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero {
  padding-top: 30px;
}

.hero-text {
  max-width: 925px;
  padding: 15px;
}

.h1-text {
  font-size: 50px;
}

.home-text {
  font-size: 22px;
}

/* About Section */
#about {
  background-color: #fff;
  color: #000;
}
.about-text{
  width: 90%;
}

.cta-2:hover{
  background-color: black;
}

.img-card{
  text-align: center;
}

.card{
    cursor: pointer;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.card:hover {
    filter: grayscale(0%);
}

.portfolio-img{
  height: 250px;
  object-fit: cover;
  width: 100%;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.project-badge{
  font-size: 10px;
  padding: 5px 8px;
  border-radius: 5px;
  background:#000;
  color:#fff;
}

.cta-3:hover{
  background-color: black;
}

.testimonial-img {
  height: auto;
  object-fit: contain;
}

#testimonials {
    background: #000;
    color: #fff;
}

#testimonials .carousel-item p.lead {
    font-style: italic;
    color: #fff;   
}

#contact{
  background: #fff;
  color: #000;
}

#contact h3, #contact h5, #contact h6{
  font-weight: 600;
}

#contact .form-control{
  border-radius: 5px;
  border: 1px solid #ccc;
  box-shadow: none;
}

#contact .btn-dark{
  background: #000;
  border: none;
}

#contact .btn-dark:hover{
  background: #333;
}

#contact .bg-light{
  background: #f8f8f8 !important;
}

#contact a{
  color: #000;
  text-decoration: none;
}

#contact a:hover{
  text-decoration: underline;
}

footer{
  background: #000;
  color: #fff;
}

@media (max-width: 767px){

  ul{
    height: 100vh;
  }

  nav ul li{
    margin: 10px;
    text-align: center;
  }

  .nav-link{
    font-size: 20px;
  }

  .navbar-nav{
    margin-top: 50px;
  }

  .container{
    padding-left: 24px;
    padding-right: 24px;
  }

  .h1-text {
    font-size: 35px;
  }

  .home-text {
    font-size: 15px;
  }

  .para-text{
    margin-bottom: 0px;
  }

  #about{
    text-align: center;
  }

  .about-text{
    width: 100%;
  }

  .testimonial-img{
  width: 20%;
  }

  .h4{
    text-align: center;
  }

  .contact-text{
    text-align: center;
  }

  .m-pt{
    padding-bottom: 20px;
    width: 100%;
  }
}

/* Costom Scroll Bar */
::-webkit-scrollbar{
    color: black;
    width: 15px;
}

::-webkit-scrollbar-thumb{
    background-color: black;
}

 #services {
  margin-top: 80px; /* push section below navbar */
}

 #founder {
  margin-top: 80px; /* push section below navbar */
}

/* Team Hover Card */
.team-hover {
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.3s ease;
  width: 75%;       /* shrink images to 75% of column */
  margin: 0 auto;   /* center within column */
}

.team-hover:hover {
  transform: scale(1.05);
}

/* Team Image */
.team-img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* Overlay with name + role */
.team-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
  padding: 10px;
}

.team-hover:hover .team-overlay {
  opacity: 1;
}

.team-overlay h5 {
  margin-bottom: 5px;
  font-size: 1rem;
  font-weight: 600;
}

.team-overlay p {
  font-size: 0.85rem;
  margin: 0;
}
