body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #ffffff;
    color: #333;
  }

  section {
    scroll-margin-top: 80px;
  }
  
  .hero {
    height: 100vh;
    background: url('hero.jpg') center/cover no-repeat;
    position: relative;
  }
  
  .overlay {
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    inset: 0;
  }
  
  .hero-content {
    position: relative;
    z-index: 1;
  }
  
  h1, h2 {
    font-weight: 700;
  }
  
  section {
    padding: 60px 0;
  }
  
  footer {
    background-color: #000;
  }
  /* Ensure images scale properly */
img {
    max-width: 100%;
    height: auto;
  }
  
  /* Padding for sections */
  section {
    padding: 60px 0;
    scroll-margin-top: 80px;
  }
  
  /* Scroll background effect */
  .navbar-scrolled {
    background-color: #111 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  }

.about-img-wrapper {
    flex-shrink: 0;
    width: 180px;
  }
  
  .about-img {
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
  }
  
  .about-text {
    flex: 1;
  }
  
  /* Optional spacing/tweaks for small devices */
  @media (max-width: 768px) {
    .d-flex {
      gap: 1rem;
    }
  
    .about-text {
      text-align: left;
    }
  
    .about-img-wrapper {
      width: 120px;
      margin-bottom: 0;
    }
  }
  html {
    scroll-behavior: smooth;
  }
  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }
  /* Section background gradient */
#services {
  background: linear-gradient(to right, #e0f7fa, #e3f2fd);
  padding: 80px 0;
}

/* Section heading */
#services h2 {
  font-size: 2.7rem;
  font-weight: 700;
  color: #0a2540;
  text-shadow: 1px 1px 2px #d0d0d0;
}

/* Card base style */
#services .card {
  background: white;
  border-radius: 12px;
  border: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: 0.3s ease;
  padding: 25px 20px;
}

/* Card hover effect */
#services .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  background: linear-gradient(to bottom right, #ffffff, #e3f2fd);
}

/* Card icons (Bootstrap Icons) */
#services .card .bi {
  font-size: 2.5rem;
  color: #fd450d;
  margin-bottom: 15px;
}

/* Card title */
#services .card-title {
  font-weight: 600;
  font-size: 1.3rem;
  color: #14213d;
}

/* Card text */
#services .card-text {
  font-size: 1rem;
  color: #4a4a4a;
  line-height: 1.7;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  #services .card {
    text-align: center;
  }
  #services .card .bi {
    font-size: 2rem;
    margin-bottom: 10px;
  }
}
/*  MY WORK SECTION */
.work-text {
  max-width: 800px;
  margin: 0 auto 60px;
}

.work-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
}
#my-work .card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#my-work .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

 
#my-work .card-img-top {
  width: 100%;
  height: 220px;           
  object-fit: cover;    
}

/* ===== CARD BODY ALIGNMENT ===== */
#my-work .card-body {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

#my-work .card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

#my-work .card-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
  flex-grow: 1;  
}

 
#my-work .btn-primary {
  background-color: #53a7d8;   
  border: none;
  border-radius: 30px;
  padding: 10px 22px;
  font-size: 0.9rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#my-work .btn-primary:hover {
  background-color: #4fc5e3;
  transform: scale(1.05);
}