
.services-container {
  padding: 3rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.services-list {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Flip card container */
.service-card {
  width: 320px;
  height: 320px;
  perspective: 1200px;
  cursor: pointer;
}

/* Flip inner wrapper */
.service-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgb(0 0 0 / 0.05);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.service-card.flipped .service-inner {
  transform: rotateY(180deg);
}

/* Front and back faces */
.service-front,
.service-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  backface-visibility: hidden;
  background: #fff;
  padding: 2rem;
  box-sizing: border-box;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-back {
  transform: rotateY(180deg);
  background: #f5f7fa;
  color: #04274d;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
}

/* Icon container */
.icon-bg {
  background: #d9e8ff;
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px 10px 20px 50px;
  color: #d27a28;
  font-size: 36px;
  margin: 0 auto 1.5rem;
}

.service-title {
  font-weight: 900;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.service-description {
  color: #7a7a7a;
  font-size: 0.95rem;
  line-height: 1.4;
  flex-grow: 1;
}

/* Responsive */
@media (max-width: 700px) {
  .services-list {
    flex-direction: column;
    align-items: center;
  }
  .service-card {
    width: 100%;
    max-width: 320px;
    height: 320px;
  }
}

/*=============== PROJECTS ============ */

.project-gallery {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1rem;
  font-family: 'Poppins', sans-serif;
  color: #04274d;
}

/* Hero / Page intro */
.hero {
  text-align: center;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.1rem;
  color: #555;
}

/* Left panel - project select & details */
.project-gallery .col-md-4 {
  margin-bottom: 2rem;
}

.project-gallery h6 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

#projectDetails {
  margin-top: 1rem;
  padding: 1rem;
  background: #f5f7fa;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

#projectDetails h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

#projectDetails p {
  font-size: 1rem;
  line-height: 1.4;
}

/* Select dropdown */
#projectSelect {
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-bottom: 1rem;
}

/* Slideshow container */
.slideshow {
  position: relative;
  width: 80%;           
  max-width: 800px;     
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  background: #f5f7fa;
  padding: 0.5rem;
  margin: 0 auto;      
  text-align: center;  
}

.slideshow img.slide-img {
  height: 500px;
  width: 100%;
  max-width: 100%;
  display: block;
  margin: 0 auto;       
  border-radius: 6px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.slideshow img.slide-img:hover {
  transform: scale(1.05);
}

/* Thumbnails */
.thumbnails {
  display: flex;
  justify-content: center;
  gap: 0.3rem;
  margin-top: 0.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
}

.thumbnails img {
  width: 90px;  
  height: 70px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.thumbnails img:hover,
.thumbnails img.active {
  border-color: #d27a28;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .slideshow img.slide-img {
    height: 150px;
  }
  .thumbnails img {
    width: 40px;
    height: 28px;
  }
}
.project-gallery .row{
  display:flex;
  gap:40px;
  align-items:flex-start;
  flex-wrap:wrap;
}

/* LEFT SIDE - SELECT + DETAILS */
.project-gallery .col-md-4{
  flex:1;
  min-width:280px;
  max-width:350px;
}

/* RIGHT SIDE - IMAGE SLIDESHOW */
.project-gallery .col-md-8{
  flex:2;
  min-width:400px;
}

/* Project Details Box */
#projectDetails{
  margin-top:15px;
  padding:15px;
  background:#f5f7fa;
  border-radius:8px;
  box-shadow:0 2px 8px rgba(0,0,0,0.05);
}

#projectDetails h2{
  font-size:1.4rem;
  margin-bottom:8px;
}

#projectDetails p{
  font-size:0.95rem;
  line-height:1.5;
}

/* Dropdown */
#projectSelect{
  width:100%;
  padding:8px;
  border-radius:6px;
  border:1px solid #ccc;
  font-size:0.95rem;
}

/* ================= SLIDESHOW ================= */

.slideshow{
  position:relative;
  width:100%;
  max-width:700px;
  margin:auto;
  border-radius:10px;
  overflow:hidden;
  background:#f5f7fa;
}

.slideshow img.slide-img{
  width:100%;
  height:420px;
  object-fit:cover;
  border-radius:8px;
}

/* Caption */
.caption{
  position:absolute;
  bottom:0;
  width:100%;
  background:rgba(0,0,0,0.6);
  color:#fff;
  padding:10px;
  font-size:14px;
}

/* ================= THUMBNAILS ================= */

.thumbnails{
  display:flex;
  gap:8px;
  margin-top:10px;
}

.thumbnails img{
  width:80px;
  height:60px;
  object-fit:cover;
  border-radius:4px;
  cursor:pointer;
  border:2px solid transparent;
  transition:0.3s;
}

.thumbnails img:hover,
.thumbnails img.active{
  border-color:#d27a28;
}

/* ================= MOBILE ================= */

@media (max-width:900px){

.project-gallery .row{
flex-direction:column;
}

.project-gallery .col-md-4,
.project-gallery .col-md-8{
max-width:100%;
}

.slideshow img.slide-img{
height:250px;
}

.thumbnails img{
width:60px;
height:45px;
}

}

/* ================= FEATURE SECTION ================= */
.feature-section {
  padding: 4rem 1rem;
  background: #f9fafc;
  font-family: 'Poppins', sans-serif;
  color: #04274d;
  max-width: 1500px; 
  margin: 0 auto;
}

.feature-section .subtitle {
  font-size: 0.95rem;
  font-weight: 600;
  color: #d27a28;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.feature-section .headline {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
}

.feature-section .description {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 2.5rem;
}

/* Grid container for cards */
.feature-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2rem;  /* row and column gaps */
}

/* Individual card styling */
.feature-card {
  flex: 1 1 45%;          
  max-width: 500px;       /* Max width per card */
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.feature-card:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transform: translateY(-5px);
}


/* Icon wrapper */
.feature-card .icon-wrapper {
  min-width: 48px;
  min-height: 48px;
  background: #d9e8ff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #d27a28;
  font-size: 1.3rem;
  padding: 0.5rem;
  flex-shrink: 0;
  margin-top: 4px; 
}

/* Text container inside the card */
.feature-card h6 {
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 0.5rem 0;
  color: #04274d;
}



/* Responsive: single column on small screens */
@media (max-width: 600px) {
  .feature-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}