/* ******************************************************************************************** */
/* *********************=== GLOBAL THEME VARIABLES START FROM HERE === ************************ */
/* ******************************************************************************************** */
:root {
  /* === COLOR VARIABLES === */
  --color-bg: #111;              /* Deep charcoal background for body */
  --color-section-bg: #181818;   /* Slightly lighter black for section backgrounds */
  --color-accent: #ff6600;       /* Primary brand accent (orange) */
  --color-accent-dark: #e65500;  /* Darker shade of brand orange for gradients, hovers */
  --color-white: #f6f6f6;        /* Used for primary text color (near-white) */
  --color-gray: #999;            /* Secondary text color (medium gray) */
  --color-light-gray: #ccc;      /* For borders, subtle text, etc. */
  --color-shadow: rgba(0,0,0,0.5); /* Shadow color with transparency */

  /* === FONT VARIABLES (TYPOGRAPHY) === */
  --font-primary: "Poppins", sans-serif; /* Clean modern font for body */

  /* === LAYOUT VARIABLES (SPACING) === */
  --nav-height: 50px;            /* Height of fixed navbar (used for layout offsets) */
}



/* ******************************************************************************************** */
/* *********************=== GLOBAL RESET AND DEFAULT STYLES START FROM HERE === *************** */
/* ******************************************************************************************** */

body {
  margin: 0;                      /* Remove default browser margins */
  padding: 0;                     /* Remove default browser padding */
  font-family: var(--font-primary); /* Use globally defined font */
  background-color: var(--color-bg); /* Apply dark background */
  color: var(--color-white);      /* Default text color */
  line-height: 1.6;               /* Improve readability */
  scroll-behavior: smooth;        /* Smooth scrolling between anchor links */
  overflow-x: hidden;             /* Prevent horizontal scroll (for safety) */
}


/* ******************************************************************************************** */
/* *********************=== VIDEO SECTION START FROM HERE === ********************************* */
/* ******************************************************************************************** */

/* === VIDEO Section === */
.video-section {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: #000; /* fallback color */
  padding: 0 1rem;
  left: 0;          /* Needed for absolutely positioned text inside */
}

/* === VIDEO CONTAINER: wrapper that holds the video itself === */
.video-container {
  position: relative;
  padding-left: 0;
  margin-left: -20px;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio (height / width * 100) */
  height: 0;
  overflow: hidden;                 /* Fallback color in case video doesn’t cover */
}

/* === VIDEO ELEMENT: styles the <video> itself === */
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;                     /* Fix inline spacing issue */
   opacity: 0;               /* start invisible */
  transition: opacity 1s ease; /* smooth fade-in */
}

.video-container video.loaded {
  opacity: 1;
}

/* ******************************************************************************************** */
/* ******************=== Text Section on VIDEO SECTION START FROM HERE === ******************** */
/* ******************************************************************************************** */
.Videoservice-btn {
  position: absolute;
  top: 30%;                                 /* Below the heading */
  left: 5%;
  background: linear-gradient(135deg, #ff5e00, #ffcc33);
  color: #fff;
  padding: 12px 28px;                       /* Button padding */
  border-radius: 6px;                       /* Rounded corners */
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.15s ease;
  z-index: 3;
  
}
.Videoservice-btn:hover {
  background: #0a0a0a;
  transform: translateY(-2px);
}





/* ******************************************************************************************** */
/* *********************=== OUR-SERVICE SECTION START FROM HERE === ********************************* */
/* ******************************************************************************************** */
.our-service {
  margin-top: 15px;
  padding: 20px 8%;
  background: #000000;
  color: #eee;
  text-align: left;
  
}


/* .services-container{
  min-width:  100%;
} */

.our-service-btn {
  display: inline-block;
  text-decoration: none;
  background: linear-gradient(135deg, #ff6600, #ffcc33);
  color: #111;
  font-weight: 700;
  padding: 10px 25px;
  border-radius: 30px;
  text-transform: uppercase;
  font-size: 1.1rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 94, 0, 0.3);
  }

  .our-service-text{
    font-size: clamp(1.3rem, 1.8vw, 1.8rem);
    color: #f0c5bb;
    text-align: center;
  }


/* Description */
.our-service .our-service-desc {
  max-width: 100%;
  /* white-space: nowrap;  */
  left: 0%;
  margin-top: 15px;
  margin-bottom: 25px;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.5;
  color: #ffffff;
  font-weight: 400;
  letter-spacing: 0.3px;
  display: -webkit-box;
  /* -webkit-line-clamp: 2; */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ✅ Service Cards Layout */
.services-row {
  display: flex;
  /* flex-wrap: wrap; */
   justify-content: center;
  align-items: stretch;
  gap: clamp(10px, 1.5vw, 20px);
   flex-wrap: nowrap; /* ⛔ Prevent wrapping */
    transform-origin: top center;
  transition: transform 0.3s ease;
  background-color: rgba(24, 23, 23, 0);
}

.row-left {
  margin-left: -0%;
  justify-content: flex-start;
}

.row-right {
  margin-right: -0%;
  margin-top: 2%;
  justify-content: flex-end;
}

.service-card {
  background: #0f0f0f;
  border-radius: 15px;
   flex: 0 0 auto;
   width: clamp(200px, 18vw, 220px);
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(255, 102, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
  padding: clamp(10px, 1vw, 15px);

}

.service-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 15px;
  
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 35px rgba(255, 102, 0, 0.5);
}

/* ✅ Slider Controls (hidden on desktop) */
.slider-controls {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}

.slider-btn {
  margin-top: 20px;
  background: var(--color-accent);
  color: #fff;
  border: none;
  padding: 10px 25px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.slider-btn:hover {
  background: var(--color-accent-dark);
}


/* ✅ Responsive scaling for boxes only (maintains same layout) */
@media screen and (max-width: 1599px) {
  .service-card {
    width: clamp(160px, 14vw, 200px);
    padding: clamp(8px, 0.8vw, 12px);
  }

  .our-service-text {
    font-size: clamp(1.2rem, 1.6vw, 1.7rem);
  }

  .our-service .our-service-desc {
    font-size: clamp(0.9rem, 1.1vw, 1.1rem);
  }
}

@media screen and (max-width: 1200px) {
  .service-card {
    width: clamp(140px, 13vw, 180px);
    padding: clamp(6px, 0.8vw, 10px);
  }

  .service-card img {
    transform: scale(0.95);
  }
}

@media screen and (max-width: 1024px) {
  .services-row {
    flex-wrap: nowrap; /* Keep same layout */
  }

  .service-card {
    width: clamp(120px, 15vw, 160px);
  }

  .our-service-text {
    font-size: clamp(1.1rem, 1.5vw, 1.5rem);
  }
}




/* ******************************************************************************************** */
/* *********************=== ABOUT-US SECTION START FROM HERE === ********************************* */
/* ******************************************************************************************** */
.about-us {
  margin-top: 5px;
  margin-bottom: -50px;
  padding: 50px 8%;
  background: #000000;
  color: #eee;
  text-align: left;
}

.about-us-btn {
 display: inline-block;
  text-decoration: none;
  background: linear-gradient(135deg, #ff6600, #ffcc33);
  color: #111;
  font-weight: 700;
  padding: 10px 25px;
  border-radius: 30px;
  text-transform: uppercase;
  font-size: 1.1rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 94, 0, 0.3);
  }


/* Description */
.about-us .about-us-desc {
  max-width: 100%;
  /* white-space: nowrap;  */
  left: 0%;
  margin-top: 15px;
  margin-bottom: 25px;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height:1.2;
  color: #fff;
  font-weight: 400;
  letter-spacing: 0.3px;
  display: -webkit-box;
  /* -webkit-line-clamp: 2; */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* ************************************* */
/* *********  our work section ********* */
/* ************************************* */
.our-work-title {
  background: linear-gradient(135deg, #ff6600, #ffcc33);
  -webkit-background-clip: text;     /* for Chrome, Safari */
  -webkit-text-fill-color: transparent;
  background-clip: text;             /* for Firefox (newer versions) */
  color: transparent;
  display: inline-block;             /* ensures proper clipping */
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 40px;
  color: #ffcc33;
  text-transform: uppercase;
  border-left: 4px solid #ff5e00;
  padding-left: 10px;
  }



.our-work-desc{
  max-width: 100%;
  /* white-space: nowrap;  */
  left: 2%;
  margin-top: 10px;
  margin-bottom: 25px;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.2;
  color: #ffffff;
  font-weight: 400;
  letter-spacing: 0.3px;
  display: -webkit-box;
  /* -webkit-line-clamp: 2; */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;

}

/* Grid Layout for Boxes */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(180px, 25vw, 300px), 1fr));
  gap: 0.8rem;
  justify-content: center;
  align-items: stretch;
  
}

.work-slider{background-color: transparent;

}

/* Each Box */
.flip-box {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1; /* ✅ Keeps perfect square ratio on all screens */
  perspective: 1000px;
  cursor: pointer;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 80%;
  transition: transform 0.8s ease;
  transform-style: preserve-3d;
  box-shadow: 5px 5px 5px rgba(100, 35, 10, 0.8);
}

/* Flip on hover (desktop) */
.flip-box:hover .flip-inner,
.flip-box.flip-active .flip-inner {
  transform: rotateY(180deg);
  width: 88%;
  height: 75%;
  margin-left: 8%;
  
}

/* Front & Back Faces */
.flip-front, .flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  backface-visibility: hidden;
   transform: translateY(-6px);
  /* box-shadow: 0 10px 35px rgba(255, 102, 0, 0.4); */
}

/* Front Image */
.flip-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Back Text */
.flip-back {
  background: linear-gradient(160deg, #1a1a1a, #111);
  transform: rotateY(180deg);
  padding: 30px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.flip-back h3 {
  color: var(--color-accent);
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.flip-back p {
  color: #c7986c;
  font-size: 1rem;
  line-height: 1.6;
}







/* ************************************* */
/* *********  our Team section ********* */
/* ************************************* */

.our-team-title {
  background: linear-gradient(135deg, #ff6600, #ffcc33);
  -webkit-background-clip: text;     /* for Chrome, Safari */
  -webkit-text-fill-color: transparent;
  background-clip: text;             /* for Firefox (newer versions) */
  color: transparent;
  display: inline-block;             /* ensures proper clipping */
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 40px;
  color: #ffcc33;
  text-transform: uppercase;
  border-left: 4px solid #ff5e00;
  padding-left: 10px;
  }


/* === SECTION === */
.our-team {
  /* text-align: center; */
  padding: 80px 8%;
  background: #111;
  white-space: nowrap; /* keep everything in one line */
}


/* === TEAM CONTAINER === */
.team-container {
  
  /* aspect-ratio: auto 16/9; */
  display: flex;
  justify-content: center;
  /* align-items: flex-start; */
  /* transform-origin: top center; */
  flex-wrap: nowrap;
  gap: 1.5rem;
  transition: transform 0.3s ease;
  
}

/* === TEAM CARD === */
.team-card {
  flex: 0 0 auto;
  width: clamp(220px, 22vw, 420px); /* auto-scale smoothly */
  color: #ddd;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
}

/* === OUTER CIRCLE === */
.team-img-box {
  position: relative;
  width: clamp(180px, 20vw, 300px);
  height: clamp(180px, 20vw, 300px);
  margin: 0 auto 35px;
   /* overflow: hidden; important */
   aspect-ratio: 1 / 1; /* keeps it perfectly square */
  /* border-radius: 50%; */
  background: radial-gradient(circle, #1b1b1b 60%, #000);
  border: 2px solid rgba(255, 255, 255, 0.1);
  /* display: flex; */
  /* justify-content: center; */
  /* align-items: center; */
  box-shadow: 0 10px 35px rgba(180, 10, 10, 0.5);
  
   /* overflow: hidden; */
}

/* === INNER SMALLER IMAGE CIRCLE (shifted left) === */
.team-img-box img {
  width: 100%;
  height: 100%;
  /* width: auto; */
  /* height: auto; */
  /* border-radius: 50%; */
  object-fit: fill;
  object-position: center center ;      
  /* position: relative; */
  /* left: -15px; ✅ slight shift to left inside the big circle */
  filter: grayscale(100%);
  transition: all 0.4s ease;
  display: block;
  margin-top: 0%;
}

.team-card:hover .team-img-box img {
  filter: grayscale(0%);
  /* transform: scale(1.05); */
    transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(255, 102, 0, 0.5);
}



/* === TEAM INFO === */
.team-info {
  max-width: 280px;
  margin: 0 auto;
}

.team-info h3 {
  margin-top: 0;
  color: #f0c5bb;
 font-size: clamp(0.9rem, 1.2vw, 1.2rem);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.designation {
  color: var(--color-accent);
  margin-top: -28px;
  font-weight: 600;
  font-size: clamp(0.7rem, 0.9vw, 0.85rem);
  margin-bottom: 5px;
}

/* Optional Bio Paragraph */
.team-info p {
  font-size: 0.88rem;
  color: #cbdb39;
  line-height: 1.5;
  text-decoration: none;
}


.team-nav{display: none;}
 


/* ******************************************************************************************** */
/* *********************=== OUR-PROJECTS SECTION START FROM HERE === ********************************* */
/* ******************************************************************************************** */
.our-project {
  margin-top: 10px;
  padding: 20px 8%;
  background: #000000;
  color: #eee;
  text-align: left;
}


.our-project-btn {
  display: inline-block;
  text-decoration: none;
  background: linear-gradient(135deg, #ff6600, #ffcc33);
  color: #111;
  font-weight: 700;
  padding: 10px 25px;
  border-radius: 30px;
  text-transform: uppercase;
  font-size: 1.1rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 94, 0, 0.3);
}

/* Description */
.our-project .our-project-desc {
  max-width: 100%;
  /* white-space: nowrap;  */
  left: 0%;
  margin-top: 15px;
  margin-bottom: 25px;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 0.90;
  color: #fff;
  font-weight: 400;
  letter-spacing: 0.3px;
  display: -webkit-box;
  /* -webkit-line-clamp: 2; */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/***************** ✅ Projects Section *************************/
.projects-slider {
  overflow: hidden;
  position: relative;
  margin-top: 30px;
  left: -30px;
   box-shadow: 0 10px 25px rgba(255, 102, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
 
}

.projects-wrapper {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap; /* ✅ important */
  margin-left: -0%;
}

.projects-section {
  padding: 60px 8%;
  /* background: var(--color-bg); */
  text-align: left;
}

.projects-section .section-title {
  font-size: 2.8rem;
  font-weight: 700;
                                 
  margin-bottom: 50px;
  color: var(--color-accent);
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.project-section .team-section::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-dark));
  border-radius: 2px;
}

.projects-section .section-subtitle {
  font-size: 1.5rem;
  color: var(--color-accent);
  opacity: 0.7;   /* makes it slightly lighter */
  margin-left: 10px;
  max-width: 700px;
  margin-top: -10px;       /* optional: pull it closer to the title */
  margin-bottom: 40px;     /* spacing before service cards */
  line-height: 1.8;
}



.project-card {
  position: relative;
  flex: 0 0 calc(20% - 16px);  /* ✅ 5 cards per row */
  /* background: #111; */
  border-radius: 12px;
  overflow: hidden;
 
}

.project-card img {
  max-width: 100%;
  max-height: 100%;
  /* width: 120%;
  height: 250px; */
  object-fit:contain;
  margin-bottom: 45px;
  display: block;
}

.project-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: #ffa34d;
  padding: 10px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}

/* ✅ Buttons */
.projects-buttons {
  display: flex;
  justify-content: center;
  margin-top: 25px;
  gap: 20px;
}

.projects-buttons button {
  padding: 10px 20px;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}



.projects-slider:hover {
  /* transform: translateY(-10px); */
  box-shadow: 0 10px 35px rgba(255, 102, 0, 0.5);
}

.projects-buttons button:hover {
  background: #ff7f1f;
}










/* ******************************************************************************************** */
/* *********************=== OUR-CLIENT SECTION START FROM HERE === ********************************* */
/* ******************************************************************************************** */
.our-client {
  /* margin-top: 15px; */
  margin-bottom: 0%;
  padding: 20px 8%;
  background: #000000;
  color: #eee;
  text-align: left;
  height: auto;
}

.our-client-btn {
  display: inline-block;
  text-decoration: none;
  background: linear-gradient(135deg, #ff6600, #ffcc33);
  color: #111;
  font-weight: 700;
  padding: 10px 25px;
  border-radius: 30px;
  text-transform: uppercase;
  font-size: 1.1rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 94, 0, 0.3);
  }


/* Description */
.our-client-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f0c5bb; /* soft pink/orange tone as in screenshot */
  margin-bottom: 50px;
  line-height: 1.3;
}

.clients-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px 60px; /* vertical and horizontal spacing */
}

.clients-logos img {
  max-width: 120px; /* adjust size */
  opacity: 0.85;
  transition: all 0.3s ease;
}

.clients-logos img:hover {
  opacity: 1;
  transform: scale(1.05);
}


@media (min-width: 769px) {
  .work-grid {
    /* display: grid; */
    /* grid-template-columns: repeat(3, 1fr); */
    /* gap: 25px; */
  }

  .work-btn {
    display: none; /* hide arrows on desktop */
  }
}


























































/* ******************************************************************************************** */
/* === RESPONSIVE STYLES START FROM HERE (TABLET + MOBILE @media (max-width: 768px) ) === ***** */
/* ******************************************************************************************** */



/* ******************************************************************************************** */
/* *********************=== VIDEO SECTION START FROM HERE === ********************************* */
/* ******************************************************************************************** */
/* ✅=============================================*/
/*     COMBINED RESPONSIVE STYLES (≤768px)       */
/* =============================================✅*/
@media (max-width: 768px) {

  /* ==== GLOBAL RESET ==== */
  :root {
    --color-bg: #111;
    --color-section-bg: #181818;
    --color-accent: #ff6600;
    --color-accent-dark: #e65500;
    --color-white: #f6f6f6;
    --color-gray: #999;
    --color-light-gray: #ccc;
    --color-shadow: rgba(0,0,0,0.5);
    --font-primary: "Poppins", sans-serif;
  }

  body {
    margin: 0;
    padding: 0;
    background-color: var(--color-bg);
    color: var(--color-white);
    font-family: var(--font-primary);
    overflow-x: hidden;
  }

  /* ==== VIDEO SECTION ==== */
  .video-section {
    position: relative;
  width: 100%;
  max-width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: #000; /* optional background fill */
  /* padding: 0 1rem; adds breathing space on small screens */
  }

  .video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio (height / width * 100) */
  height: 0;
  overflow: hidden;
  }

  .video-container video {
    position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  }
  
  .Videoservice-btn {
   position: absolute;
  top: 83%;                                 /* Below the heading */
  left: 10%;
  background: linear-gradient(135deg, #ff5e00, #ffcc33);
  color: #fff;
  padding: 6px 12px;                       /* Button padding */
  border-radius: 18px;                       /* Rounded corners */
  text-decoration: none;
  font-weight: 300;
  transition: background 0.3s ease, transform 0.15s ease;
  z-index: 3;
  }
  .Videoservice-btn:hover {
    background: #c8db82;
    transform: translateY(-2px);
  }

  /* ==== HERO TEXT OVER VIDEO ==== */
  .hero-overlay {
    font-size: 11px;
    top: 15%;
  }

  .hero-btn {
    top: 90%;
    left: 0%;
    padding: 10px 20px;
    font-size: 16px;
    width: 450px;
    text-align: center;
  }

  /* ==== ABOUT US SECTION ==== */
  .about-us {
    padding: 60px 10%;
  }

  .about-us .section-title {
    font-size: 1.5rem;
    left: 0;
  }

  .about-us .about-desc {
    margin-top: 10px;
    margin-bottom: 30px;
    font-size: 0.95rem;
    line-height: 1.2;
    white-space: normal;
  }

  .about-us-btn{
    margin-top: 0%;
    font-size: 1.2rem;
    /* margin-top: 0%; */
  }

  /* ===***************= OUR WORK =****************************=== */
  .our-work {
    padding: 30px 10%;
    text-align: left;
  }

  .our-work-title{
    font-size: 1.2rem;
    color: #f0c5bb;
    /* background-color: #cc7d15; */
  }

  .work-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
  }

  .work-grid {
  display: flex;
  width: 300%; /* 3 slides */
  transition: transform 0.6s ease-in-out;
  transform: translateX(0); /* ✅ Ensure starts at first box */
}

 

  .flip-box {
  flex: 0 0 100%; /* show one box fully */
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding: 10px;
  }
  




  .flip-back h3 { font-size: 1.1rem; }
  .flip-back p { font-size: 0.9rem; }
 
  .flip-box img {
  border-radius: 12px;
  width: 100%;
  height: autopx;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin-bottom: 10px;
  }





   /* Prev / Next Buttons */
  .work-btn {
    position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 165, 0, 0.8);
  border: none;
  color: #111;
  font-size: 1.8rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  padding: 5px 10px;
  }

  .work-btn:hover {
    background: #ff6600;
  }

  .work-btn.prev {
    left: 10px;
  }

  .work-btn.next {
    right: 10px;
  }






  /* ****************==== TEAM SECTION ==== **************/
 .team-section{aspect-ratio: auto 1/1;}
 
 
 
  .team-container {
    display: flex !important;              /* override flex-wrap desktop */
    flex-wrap: nowrap !important;          /* disable wrapping for slider-like view */
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    margin: 0 auto !important;
    position: relative !important;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    
     box-shadow: 0 10px 35px rgba(214, 50, 0, 0.4);
  }

  .team-card {
    min-width: 100% !important;
    max-width: 350px !important;
    position: absolute !important;
    left: 0;
    right: 0;
    margin: auto;
    opacity: 0;
    
    transform: translateX(100%);
    transition: transform 0.5s ease, opacity 0.5s ease;
    background: #181818;
    border-radius: 20px;
    box-shadow: 0 0 25px rgba(255, 102, 0, 0.3);
  }

  .team-card.active {
    opacity: 1;
    transform: translateX(0);
    position: relative !important;
  }

  .team-img-box {
    width: 100% !important;
    height: 100% !important;
    display: flex;
    justify-content: center;
    margin-bottom: 0px;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  .team-img-box img {
    width: 380px !important;
    height: 350px !important;
    border-radius: 15px !important;
    object-fit: contain;
    object-position: center !important;
    left: 0 !important;
    filter: grayscale(0%) !important;
  }



  
  /* ✅ Show navigation buttons only on mobile */
  .team-nav {
    display: flex; 
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
  }

  .team-btn {
    width: 80%;
    max-width: 200px;
    background: #cc7d15;
    color: #111;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    
  }
  .team-nav button {
  margin-top: 2px;
  background: var(--color-accent);
  color: #fff;
  border: none;
  padding: 10px 25px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
  }

  .team-nav button:hover {
    background: #d4a90d;
  }
  
   .team-btn {

    width: 23%;
    max-width: 100px;
    
  }

  .team-info h3 {
  margin-top: 0;
  color: #f0c5bb;
  font-size: 1.1rem;
  margin-bottom: 1px;
  text-transform: uppercase;
}

.designation {
  color: darkgray;
  margin-top: 5px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0;
}


  /* ==== SERVICES SECTION ==== */
  .services-slider{
   filter: drop-shadow(10px 10px 10px rgb(121, 50, 2));
  }
  
  .our-service-btn{
    font-size: 1.2rem;
  }

  .our-service-text{
    font-size: 1.2rem;
    color: #f0c5bb;
    text-align: center;
  }

  .our-service-desc{
    text-align: left;
    width: auto;
    height: auto;
  }
  


  .services-row {
    justify-content: center;
    margin: 0;
  }

  .service-card {
    min-width: 100%;
    display: none;
    justify-content: center;
  }

  .service-card.active { display: flex; }

  .slider-controls { display: flex; }




  /* ==== PROJECTS SECTION ==== */
  .Our-Project{
    padding-bottom: 10px;
    padding-top: 40px;
  }
  
  .our-project-btn{
    margin-top: -100%;
    font-size: 1.2rem;
  }

  .project-card {
    min-width: 100%;
  }

.projects-slider{
  
  width: 100%;
  margin-left: 30px;
}


  /* ==== CAROUSEL VISIBILITY ==== */
  .team-grid, .services-grid { display: none; }
  .team-carousel, .carousel-container { display: block; }

  /* ==== UNIVERSAL MOBILE CAROUSEL ==== */
  .carousel-item img {
    height: 250px;
  }



  .our-client-btn{
    font-size: 1.2rem;
  }










  /* ==== SMALLER SCREENS (≤480px) ==== */
  @media (max-width: 480px) {
    .carousel-item img { height: 200px; }
    .carousel-btn {
      width: 38px;
      height: 38px;
      font-size: 18px;
    }
  }
}


