/* === Process Banner Section === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  /* overflow-x: hidden; */
  font-family: 'Mulish', sans-serif;
}



/* ==============================
   SAP Services Section
============================== */
.sap-services-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

/* Background Video */
.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Content */
.sap-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 800px;
  padding: 0 40px;
}

/* Heading Animation */
.sap-title {
  font-size: 57px;
  font-weight: 700;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.sap-title.animate {
  opacity: 1;
  transform: translateY(0);
  animation: pulseGlow 2s ease-in-out infinite alternate;
}

/* Pulse animation for glowing effect */
@keyframes pulseGlow {
  0% {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4), 0 0 20px rgba(214, 28, 78, 0.4);
  }

  100% {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.9), 0 0 40px rgba(214, 28, 78, 0.8);
  }
}

/* Paragraph */
.sap-desc {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #fff;
}

/* Button */
.sap-btn {
  display: inline-block;
  background: #fff;
  color: #000;
  padding: 14px 34px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.sap-btn:hover {
  background: #d61c4e;
  color: #fff;
  transform: translateY(-3px);
}

/* ==============================
   Responsive Design
============================== */

/* Tablet & Small Laptop (≤1024px) */
@media (max-width: 1024px) {
  .sap-services-section {
    height: auto;
    padding: 100px 0;
    text-align: center;
  }

  .sap-content {
    max-width: 90%;
    padding: 0 30px;
    text-align: center;
  }

  .sap-title {
    font-size: 44px;
    margin-bottom: 16px;
  }

  .sap-desc {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 25px;
  }

  .sap-btn {
    padding: 12px 28px;
    font-size: 15px;
  }
}

/* Mobile (≤600px) */
@media (max-width: 600px) {
  .sap-services-section {
    height: auto;
    min-height: 100vh;
    padding: 120px 0 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: visible;
    text-align: center;
  }

  .sap-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 90%;
    margin: 0 auto;
    padding: 0 15px;
  }

  .sap-title {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 20px;
    word-break: keep-all;
  }

  .sap-desc {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 30px;
    text-align: center;
  }

  .sap-btn {
    display: inline-block;
    font-size: 14px;
    padding: 10px 24px;
    border-radius: 6px;
  }

  .slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

/* Fix for next section spacing below video */
.next-section {
  margin-top: 0 !important;
}


/* ==============================
   BEST RUN ENTERPRISE SECTION
============================== */
.best-run-section {
  background: #fff;
  color: #000;
  padding: 100px 80px;
}

.best-run-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  gap: 50px;
}

/* Left Heading */

.best-run-heading {
  margin-top: 1%;
  margin-left: 8%;
}

.best-run-heading h2 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.best-run-heading span {
  opacity: 0;
  transform: translateY(25px);
  transition: all 0.5s ease;
}

.best-run-heading span.show {
  opacity: 1;
  transform: translateY(0);
}

/* Right Paragraph */
.best-run-content {
  flex: 1;
  font-size: 16px;
  line-height: 1.8;
  text-align: justify;
  color: #222;
  max-width: 600px;
  /* ✅ Reduce paragraph width */
  /* animation: floatLeftRight 6s ease-in-out infinite alternate;  ✅ Smooth motion */
}

/* Floating animation */
@keyframes floatLeftRight {
  0% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(-10px);
  }

  100% {
    transform: translateX(10px);
  }
}

/* ==============================
   Responsive Design
============================== */

/* Tablet & Small Laptop (≤1024px) */
@media (max-width: 1024px) {
  .best-run-section {
    padding: 80px 50px;
  }

  .best-run-container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
  }

  .best-run-heading {
    margin: 0;
  }

  .best-run-heading h2 {
    font-size: 24px;
    line-height: 1.4;
    text-align: center;
  }

  .best-run-content {
    max-width: 90%;
    font-size: 15px;
    line-height: 1.7;
    animation: none;
    /* disable float for readability */
  }
}

/* Mobile (≤600px) */
@media (max-width: 600px) {
  .best-run-section {
    padding: 40px 20px;
  }

  .best-run-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
  }

  .best-run-heading {
    margin: 0;
  }

  .best-run-heading h2 {
    font-size: 24px;
    line-height: 1.3;
    gap: 5px;
    margin-top: 0;
  }

  .best-run-content {
    font-size: 14px;
    line-height: 1.6;
    max-width: 100%;
    padding: 0;
    animation: none;
    text-align: justify;
  }
}



/* ==============================
   WHAT WE OFFER SECTION
============================== */
.main-content {
  display: flex;
  margin-bottom: 10px;
  gap: 20px;
}

/* .main-content div {
        width: 379px;
        height: 480px;
      } */

.main-content div img {
  width: 400px;
  height: 480px;
  margin-left: 2%;
}

.offer-title {
  font-size: 37px;
  font-weight: 700;
  color: #060606;
  text-align: center;
  /* font-family: "Poppins", sans-serif; */
  margin: 50px 0;
  /* animation: riseGlow 3s 
ease-in-out infinite; */
  margin-left: 4%;
}

/* Animation Keyframes */
@keyframes riseGlow {
  0% {
    transform: translateY(0);
    text-shadow: 0 0 0 rgba(214, 28, 78, 0.5);
    opacity: 0.9;
  }

  50% {
    transform: translateY(-10px);
    text-shadow: 0 0 20px rgba(214, 28, 78, 0.8);
    opacity: 1;
  }

  100% {
    transform: translateY(0);
    text-shadow: 0 0 0 rgba(214, 28, 78, 0.5);
    opacity: 0.9;
  }
}

.header-card-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 10px 20px;
}

.offer-title {
  font-size: 37px;
  font-weight: 700;
  color: #060606;
  margin: 0;
  /* ✅ remove space above & below */
  white-space: nowrap;
  /* ✅ one straight line */
  margin-left: 20px;

}

.header-child-card-content {
  display: flex;
  gap: 12px;
  margin-right: 20px;
  /* adjust value as needed */
}



/* 
      .header-card-content .header-child-card-content {
        display: flex;
        justify-content: space-around;
        width: 5%;
        margin-left: 76%;
        margin-bottom: 5%;
      } */


.header-child-card-content div {
  background-color: red;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.header-child-card-content div:hover {
  background-color: darkred;
  transform: scale(1.1);
}

.cont-section,
.cont-section-01 {
  width: 99%;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease;
  display: none;
}

.cont-section.active,
.cont-section-01.active {
  display: flex;
  justify-content: center;
  opacity: 1;
  transform: translateX(0);
}

.image-box {
  position: relative;
  width: 400px;
  height: 480px;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
}

.image-box img {
  width: 400px;
  height: 480px;
  border-radius: 10px;
  transition: transform 0.4s ease;
}

.overlay-text {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  padding: 20px;
  font-size: 16px;
  line-height: 1.6;
  color: #fff;
  border-radius: 10px;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* ✅ keep text at top */
  align-items: flex-start;
  /* ✅ fix: text moves to TOP LEFT */

  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.image-box:hover .overlay-text {
  opacity: 1;
}

.overlay-text .title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}


.image-box:hover img {
  transform: scale(1.1);
}

.image-box:hover .overlay-text {
  opacity: 1;

}

/* Tablet & Small Laptop View */
@media (max-width: 1024px) {
  .main-content {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  .main-content div {
    width: 90vw;
    height: auto;
    max-width: 500px;
  }

  .main-content div img,
  .image-box,
  .image-box img {
    width: 100%;
    height: auto;
    max-width: 500px;
  }

  .offer-title {
    font-size: 30px;
    margin-left: 0;
    margin-right: 0;
  }

  .header-card-content {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-left: 0;
  }
}

/* Phone View */
@media (max-width: 600px) {
  .main-content {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .main-content div,
  .image-box {
    width: 100%;
    min-width: unset;
    height: auto;
    max-width: 400px;
    overflow: visible;
    margin-bottom: 20px;
    background: #222;
    /* Dark background for text content */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .image-box img {
    width: 100%;
    height: 250px;
    /* Fixed height for image part */
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    display: block;
    transform: none !important;
  }

  /* Text always visible below image on mobile */
  .overlay-text {
    position: relative;
    inset: auto;
    background: transparent;
    padding: 20px;
    font-size: 14px;
    line-height: 1.5;
    color: #fff;
    border-radius: 0 0 10px 10px;
    opacity: 1;
    pointer-events: auto;
    height: auto;
    transform: none;
    text-align: left;
  }

  .overlay-text .title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #d61c4e;
    /* Highlight title */
  }

  /* Disable hover effects on mobile */
  .image-box:hover img {
    transform: none;
  }

  .image-box:hover .overlay-text {
    opacity: 1;
  }
}



/* ==============================
   INDUSTRIES SERVICE SECTION
============================== */
.industries-section {
  max-width: 1100px;
  margin: 60px auto;
  padding: 70px 20px;
  /* font-family: "Poppins", sans-serif; */
}

.industries-section h2 {
  font-size: 30px;
  font-weight: 700;
  color: #111;
  margin-bottom: 20px;
}

/* Tabs */
.industries-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin-bottom: 36px;
}

.tab {
  font-size: 22px;
  font-weight: 700;
  color: #000;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.tab.active {
  color: #e62020;
}

.tab::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #e62020;
  transition: width 0.3s ease;
}

.tab.active::after {
  width: 100%;
}

/* Card Container */
.industries-card-container {
  position: relative;
  min-height: 230px;
}

/* Card Styling */
.industry-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 28%;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 25px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  pointer-events: none;
  text-align: justify;
}

.industry-card.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.industry-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #111;
  margin-bottom: 12px;
}

.industry-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin: 10px 0 15px;
  word-spacing: normal;
  /* ✅ removes extra spacing between words */
  letter-spacing: normal;
  /* ✅ removes unnecessary letter gaps */
  text-align: left;
  /* ✅ keeps proper alignment */
}

.industry-card a {
  font-size: 14px;
  font-weight: 600;
  color: #e62020;
  text-decoration: none;
  transition: color 0.3s;
}

.industry-card a:hover {
  color: #b81010;
}

/* Tablet & Small Laptop View */
@media (max-width: 1024px) {
  .industries-section {
    max-width: 100vw;
    padding: 40px 10px;
  }

  .industries-section h2 {
    font-size: 24px;
  }

  .industries-tabs {
    gap: 16px;
    flex-wrap: wrap;
    font-size: 18px;
  }

  .tab {
    font-size: 18px;
  }

  .industries-card-container {
    min-height: 210px;
  }

  .industry-card {
    width: 80%;
    padding: 18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
  }

  .industry-card h3 {
    font-size: 16px;
  }
}

/* Phone View */
@media (max-width: 600px) {
  .industries-section {
    max-width: 100vw;
    padding: 30px 5vw;
    margin: 30px auto;
  }

  .industries-section h2 {
    font-size: 18px;
    margin-bottom: 14px;
  }

  .industries-tabs {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    align-items: stretch;
  }

  .tab {
    font-size: 15px;
    padding: 8px 0;
    width: 100%;
    border-bottom: 1px solid #eee;
  }

  .industries-card-container {
    min-height: 200px;
  }

  .industry-card {
    position: relative;
    /* Let it flow in document */
    width: 100%;
    left: 0;
    padding: 15px;
    font-size: 14px;
    min-width: unset;
    display: none;
    /* Hide by default on mobile */
    opacity: 1;
    /* Reset opacity from desktop fade */
    transform: none;
    /* Reset transform */
    border: 1px solid #eee;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  }

  .industry-card.active {
    display: block;
    /* Show when active */
    top: 0;
    margin-top: 10px;
  }

  .industry-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .industry-card p {
    font-size: 13px;
    padding-right: 0;
    text-align: left;
    margin-bottom: 12px;
  }

  .industry-card a {
    font-size: 13px;
    display: inline-block;
  }

  /* Increase container min-height to avoid jumpiness */
  .industries-card-container {
    min-height: auto;
    padding-bottom: 20px;
  }
}


/* ===============================
   Explore More
=============================== */
.explore-more {
  background: #1d1a15;
  color: white;
  padding: 50px 100px;
  position: relative;
  overflow: hidden;
}

.explore-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
  margin-top: -2%;
}

.explore-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-left: -6%;
}

.arrows {
  display: flex;
  gap: 15px;
}

.arrow-btn {
  background: transparent;
  border: 2px solid white;
  color: white;
  font-size: 1.8rem;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.arrow-btn:hover {
  background: white;
  color: black;
}

.slider {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  width: 110%;
  transition: all 0.5s ease;
  margin-left: -4%;
}

.card {
  flex: 1;
  height: 290px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: all 0.5s ease;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(80%);
  transition: all 0.5s ease;
}

.card p {
  position: absolute;
  bottom: 25px;
  left: 25px;
  font-size: 1.25rem;
  font-weight: 700;
}

.card.active {
  transform: scale(1.2);
  z-index: 5;
}

/* =====================================
   ✅ Responsive Styles
===================================== */

/* === Tablet & Small Laptop (≤1024px) === */
@media (max-width: 1024px) {
  .explore-more {
    padding: 50px 50px;
  }

  .explore-header {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 0;
    margin-bottom: 40px;
    gap: 20px;
  }

  .explore-header h2 {
    font-size: 2rem;
    margin-left: 0;
  }

  .arrows {
    gap: 10px;
  }

  .arrow-btn {
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
  }

  .slider {
    gap: 30px;
    width: 100%;
    margin-left: 0;
    flex-wrap: wrap;
    justify-content: center;
  }

  .card {
    flex: 1 1 45%;
    height: 260px;
    transform: none !important;
  }

  .card img {
    filter: brightness(85%);
  }

  .card p {
    font-size: 1.1rem;
    bottom: 20px;
    left: 20px;
  }
}

/* === Mobile (≤600px) === */
@media (max-width: 600px) {
  .explore-more {
    padding: 40px 20px;
  }

  .explore-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    margin-bottom: 30px;
  }

  .explore-header h2 {
    font-size: 1.6rem;
    margin-left: 0;
  }

  .arrows {
    justify-content: center;
    gap: 8px;
  }

  .arrow-btn {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }

  .slider {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    margin-left: 0;
  }

  .card {
    width: 100%;
    height: 230px;
    transform: none !important;
  }

  .card img {
    filter: brightness(85%);
  }

  .card p {
    font-size: 1rem;
    bottom: 18px;
    left: 18px;
  }
}



/* ============================
   CONTACT SECTION
============================ */
.contact-section {
  background: url("../images/Frame\ 20\ \(2\).png") center center/cover no-repeat;
  padding: 5px 67px;
  position: relative;
  color: #fff;
}

.contact-overlay {
  padding: 60px 70px;
  border-radius: 6px;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
}

/* Left Content */
.contact-left {
  flex: 1;
  margin-top: 13%;
}

.contact-left h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 32px;
}

.contact-left p {
  font-size: 23px;
  line-height: 1.6;
  color: #e0e0e0;
}

/* Right Form */
.contact-right {
  flex: 1;
  padding: 30px 35px;
  border-radius: 6px;
}

.contact-right h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff;
}

/* Form Layout */
.form-row {
  display: flex;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
  flex: 1;
  position: relative;
}

label {
  font-size: 13px;
  color: #fff;
  margin-bottom: 5px;
}

/* Inputs & Textarea */
input,
textarea {
  padding: 8px 10px;
  font-size: 13px;
  border: none;
  border-bottom: 1px solid #aaa;
  background: transparent;
  color: #fff;
  outline: none;
  transition: border-color 0.3s;
}

input:focus,
textarea:focus {
  border-bottom-color: #d61c4e;
}

/* ============================
   ⭐ SERVICE TYPE DROPDOWN (FIXED)
============================ */
.service-type-group {
  padding-bottom: 130px;
  /* ✅ forces dropdown to open DOWN */
}

select#serviceType {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background: transparent;
  color: #fff;
  font-size: 13px;

  padding: 10px 38px 10px 10px;
  margin-top: 6px;
  /* ✅ space from label */

  border: none;
  border-bottom: 1px solid #aaa;
  outline: none;
  cursor: pointer;

  transition: all 0.3s ease;

  background-image: url("data:image/svg+xml,%3Csvg fill='white' height='14' viewBox='0 0 24 24' width='14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

select#serviceType:focus {
  border-bottom-color: #d61c4e;
}

select#serviceType option {
  color: #000;
}

/* Error */
.error-message {
  font-size: 12px;
  color: #ff4d4d;
  margin-top: 2px;
  height: 14px;
}

/* Submit Button */
.submit-btn {
  background: #d61c4e;
  border: none;
  color: #fff;
  padding: 11px 35px;
  font-size: 14px;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s;
  display: inline-block;
  margin-left: 35%;
}

.submit-btn:hover {
  background: #b21740;
}

/* ============================
   RESPONSIVE
============================ */
@media (max-width: 1024px) {
  .contact-section {
    padding: 50px 40px;
  }

  .contact-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  .contact-left {
    margin-top: 0;
    width: 100%;
    text-align: center;
  }

  .contact-left h2 {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .contact-left p {
    font-size: 18px;
  }

  .contact-right {
    width: 100%;
  }

  .submit-btn {
    margin: 25px auto 0;
    display: block;
  }
}

@media (max-width: 768px) {
  .contact-right {
    width: 100%;
  }

  select#serviceType {
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .contact-section {
    padding: 30px 20px;
  }

  .contact-overlay {
    padding: 25px 20px;
  }

  .contact-right {
    padding: 20px 15px;
  }

  .service-type-group {
    padding-bottom: 160px;
    /* mobile dropdown space */
  }

  select#serviceType {
    font-size: 13px;
    padding: 8px 36px 8px 8px;
  }

  .submit-btn {
    width: 80%;
    margin: 20px auto 0;
    display: block;
  }
}