
/* ================= HERO SLIDER ================= */
.hero-slider {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    background: #ffffff;
    border: solid 1px #0A0F31;
}
.hero-slider .slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-slider .slide.active { opacity: 1; }

@media (max-width: 768px) {
    .hero-slider { height: 40vh; min-height: 300px; }
    .hero-slider .slide { background-size: cover; }
}
@media (max-width: 480px) {
    .hero-slider { height: 30vh; min-height: 150px; }
    .hero-slider .arrow-nav { font-size: 1.2rem; padding: 6px 10px; }
}

/* Arrow Navigation */
.hero-slider .arrow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #0A0F31;
    border: none;
    color: #ffffff;
    font-size: 1.8rem;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 10;
    display: none;
}
.hero-slider .arrow-nav:hover {
    background: #EB6100;
    color: #fff;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.hero-slider .prev { left: 20px; }
.hero-slider .next { right: 20px; }

@media (max-width: 768px) {
    .hero-slider .arrow-nav { font-size: 1.4rem; padding: 8px 12px; }
    .hero-slider .prev { left: 10px; }
    .hero-slider .next { right: 10px; }
}

/* Bullets */
.hero-slider .slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}
.hero-slider .slider-dots button {
    width: 10px;
    height: 3px;
    border: none;
    background: rgba(10,15,49,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}
.hero-slider .slider-dots button.active {
    background: #0A0F31;
    transform: scale(1.2);
}
/* ================= HERO SLIDER END ================= */
    
/* ================= About Us Section ================= */
.about-us {
  background: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.about-us h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #0A0F31;
  position: relative;
  display: inline-block;
}

.about-us h2 span {
  color: #EB6100;
}

.about-us p {
  max-width: 800px;
  margin: 0 auto 15px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}

.about-us .container {
  max-width: 1000px;
  margin: auto;
}

@media (max-width: 768px) {
  .about-us h2 {
    font-size: 1.6rem;
  }
}

.about-us h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #EB6100;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* ================= About Us Read More Button ================= */
.read-more-btn {
  background-color: #0A0F31;
  color: #fff;
  border: none;
  padding: 10px 20px;
  margin-top: 15px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.read-more-btn:hover {
  background-color: #EB6100;
  color: #fff;
}

/* ================= Services Section ================= */
.services {
  background: #f5f5f5;
  padding: 60px 20px;
}

.services-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
}

.service-card {
  flex: 1 1 30%;
  background: #fff;
  padding: 30px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #0A0F31;
}

.service-card p {
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
}

.service-card.highlight {
  background: #0A0F31;
  color: #fff;
}

.service-card.highlight h3,
.service-card.highlight p {
  color: #fff;
}

/* ================= Responsive ================= */
@media (max-width: 768px) {
  .services-container {
    flex-direction: column;
  }

  .service-card {
    flex: 1 1 100%;
  }
}

/* ================= Products Section ================= */
.products {
  background: #fff;
  padding: 60px 20px;
  position: relative;
  text-align: center;
}

.products h1,
.products h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #0A0F31;
  position: relative;
  display: block;
  width: 100%;
}

.products h1 span,
.products h2 span {
  color: #EB6100;
}

.products h1::after,
.products h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #EB6100;
  margin: 10px auto 0;
  border-radius: 2px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: auto;
}

.products-grid .product-card {
  background: #fdfdfd;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 20px;
  transition: transform 0.3s ease;
  text-align: center;
  border: solid 1px #0A0F31;
}

.products-grid .product-card:hover {
  transform: translateY(-5px);
}

.products-grid .product-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 15px;
}

.products-grid .product-card h3 {
  font-size: 1.2rem;
  color: #0A0F31;
  margin-bottom: 10px;
}

.products-grid .product-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 15px;
}

.products-grid .product-btn {
  background-color: #0A0F31;
  color: #fff;
  border: none;
  padding: 8px 15px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 0.9rem;
  transition: background 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.products-grid .product-btn:hover {
  background-color: #EB6100;
  color: #fff;
}

/* ================= Why Choose Us Section ================= */
.why-choose-us {
  background: #f9f9f9;
  padding: 60px 20px;
  text-align: center;
}

.why-container {
  max-width: 1200px;
  margin: auto;
}

.why-choose-us h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #0A0F31;
}

.why-choose-us h2 span {
  color: #EB6100;
}

.subtitle {
  font-size: 1rem;
  color: #555;
  margin-bottom: 40px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.why-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.why-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.why-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #0A0F31;
}

.why-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* ================= Reviews Section ================= */
.reviews {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
}

.reviews-container {
  max-width: 1200px;
  margin: auto;
}

.reviews h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #0A0F31;
}

.reviews h2 span {
  color: #EB6100;
}

.reviews .subtitle {
  font-size: 1rem;
  color: #555;
  margin-bottom: 40px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.review-card {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.review-text {
  font-size: 1rem;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.6;
  font-style: italic;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 15px;
}

.reviewer img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: 2px solid #0A0F31;
  object-fit: cover;
}

.reviewer h4 {
  font-size: 1rem;
  margin: 0;
  color: #0A0F31;
}

.reviewer span {
  font-size: 0.85rem;
  color: #555;
}

@media (max-width: 768px) {
  .reviews h2 {
    font-size: 1.6rem;
  }
}






/* ================= Advantages Section ================= */
.advantages-section {
  background: #ffffff;
  padding: 60px 20px;
}

.advantages-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
}

.advantages-image {
  flex: 1 1 45%;
  text-align: center;
}

.advantages-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  border: 3px solid #0A0F31;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.advantages-content {
  flex: 1 1 50%;
}

.advantages-content h2 {
  font-size: 2rem;
  color: #0A0F31;
  margin-bottom: 30px;
}

.advantages-content h2 span {
  color: #EB6100;
}

/* Accordion Styles */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.accordion-item {
  border: 1px solid rgba(10,15,49,0.1);
  border-radius: 8px;
  overflow: hidden;
  background: #f9f9f9;
  transition: all 0.3s ease;
}

.accordion-item.active {
  background: #fff;
  border-color: #EB6100;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.accordion-header {
  background: #f5f5f5;
  border: none;
  width: 100%;
  text-align: left;
  padding: 15px 20px;
  font-size: 1rem;
  font-weight: 600;
  color: #0A0F31;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.accordion-item.active .accordion-header {
  background: #EB6100;
  color: #fff;
}

.accordion-body {
  display: none;
  padding: 15px 20px;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

.accordion-item.active .accordion-body {
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .advantages-container {
    flex-direction: column;
    text-align: center;
  }

  .advantages-content h2 {
    font-size: 1.6rem;
  }
}



/* ================= Why Choose JD Section ================= */
.why-choose-jd {
  background: #ffffff;
  padding: 60px 20px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.why-choose-jd h2 {
  font-size: 2rem;
  color: #0A0F31;
  margin-bottom: 40px;
  font-weight: 600;
}

.why-choose-jd h2 span {
  color: #EB6100;
}

.why-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: auto;
}

.why-card {
  background: #fdfdfd;
  border: 1px solid rgba(10, 15, 49, 0.15);
  border-radius: 12px;
  padding: 25px 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  text-align: left;
  transition: all 0.3s ease;
}

.why-card:hover {
  transform: translateY(-8px);
  border-color: #EB6100;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.why-card .icon {
  margin-bottom: 15px;
}

.why-card .icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: invert(18%) sepia(10%) saturate(3000%) hue-rotate(210deg) brightness(90%) contrast(95%);
}

.why-card:hover .icon img {
  filter: invert(48%) sepia(95%) saturate(2100%) hue-rotate(360deg) brightness(95%) contrast(90%);
}

.why-card h3 {
  font-size: 1.1rem;
  color: #0A0F31;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .why-choose-jd h2 {
    font-size: 1.6rem;
  }
  .why-card {
    text-align: center;
  }
  .why-card .icon img {
    margin: 0 auto 10px;
  }
}


/* ================= JD Group Services Section ================= */
.jd-services {
  background: #ffffff;
  padding: 70px 20px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.jd-services h2 {
  font-size: 2rem;
  color: #0A0F31;
  font-weight: 600;
  margin-bottom: 15px;
}

.jd-services h2 span {
  color: #EB6100;
}

.services-intro {
  max-width: 900px;
  margin: 0 auto 50px;
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 40px;
  justify-content: center;
  align-items: start;
  max-width: 1200px;
  margin: auto;
}

.service-item {
  background: #fdfdfd;
  border: 1px solid rgba(10, 15, 49, 0.1);
  border-radius: 12px;
  padding: 25px 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.service-item:hover {
  transform: translateY(-8px);
  border-color: #EB6100;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.service-item img {
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
  transition: filter 0.3s ease, transform 0.3s ease;
  filter: invert(18%) sepia(12%) saturate(2500%) hue-rotate(210deg) brightness(95%) contrast(90%);
}

.service-item:hover img {
  filter: invert(50%) sepia(100%) saturate(1800%) hue-rotate(15deg) brightness(100%) contrast(95%);
  transform: scale(1.1);
}

.service-item h3 {
  font-size: 1rem;
  color: #0A0F31;
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
  .jd-services h2 {
    font-size: 1.6rem;
  }

  .services-intro {
    font-size: 0.95rem;
    padding: 0 10px;
  }

  .service-item {
    padding: 20px 10px;
  }
}







/* ================= Engineering Support Section ================= */
.engineering-support {
  background: #ffffff;
  padding: 70px 20px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.engineering-support .container {
  max-width: 1200px;
  margin: 0 auto;
}

.engineering-support h2 {
  font-size: 2rem;
  color: #0A0F31;
  font-weight: 600;
  margin-bottom: 15px;
}

.engineering-support h2 span {
  color: #EB6100;
}

.eng-intro {
  max-width: 900px;
  margin: 0 auto 50px;
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}

/* Layout */
.eng-layout {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 40px;
  text-align: left;
}

/* Left side boxes */
.eng-left {
  flex: 1 1 55%;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.eng-box {
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.eng-box.dark {
  background: #0A0F31;
  color: #fff;
  border-left: 6px solid #EB6100;
}

.eng-box.light {
  background: #f9f9f9;
  border-left: 6px solid #EB6100;
}

.eng-box h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  border-bottom: 2px solid #EB6100;
  padding-bottom: 8px;
}

.eng-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.eng-box ul li {
  font-size: 0.95rem;
  margin-bottom: 10px;
  line-height: 1.5;
}

/* Right side: Stat box */
.eng-right {
  flex: 1 1 40%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eng-stat-box {
  border-left: 2px dashed rgba(10, 15, 49, 0.15);
  padding-left: 40px;
}

.eng-stat-box h4 {
  font-size: 2rem;
  font-weight: 600;
  color: #0A0F31;
  margin-bottom: 25px;
}

.eng-stat-box h4 span {
  color: #EB6100;
  font-size: 2.4rem;
}

.eng-stat-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.eng-stat-box ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 0.95rem;
  color: #333;
}

.eng-stat-box ul li img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: invert(18%) sepia(10%) saturate(2000%) hue-rotate(210deg) brightness(90%) contrast(95%);
}

.eng-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 900px) {
  .eng-layout {
    flex-direction: column;
  }

  .eng-left, .eng-right {
    flex: 1 1 100%;
  }

  .eng-stat-box {
    border-left: none;
    border-top: 2px dashed rgba(10, 15, 49, 0.15);
    padding-left: 0;
    padding-top: 30px;
    text-align: center;
  }

  .eng-stat-box ul li {
    justify-content: center;
  }
}



/* ================= Technical Advisory Section (2 Columns Grid) ================= */
.technical-advisory {
  background: #f9f9f9;
  padding: 70px 20px;
  font-family: 'Poppins', sans-serif;
}

.technical-advisory .container {
  max-width: 1200px;
  margin: 0 auto;
}

.technical-advisory h2 {
  text-align: center;
  font-size: 2rem;
  color: #0A0F31;
  font-weight: 600;
  margin-bottom: 50px;
}

.technical-advisory h2 span {
  color: #EB6100;
}

/* Layout */
.advisory-layout {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
}

/* LEFT SIDE */
.advisory-left {
  flex: 1 1 35%;
}

.advisory-left h4 {
  font-size: 2rem;
  color: #0A0F31;
  margin-bottom: 15px;
}

.advisory-left h4 span {
  color: #EB6100;
  font-size: 2.5rem;
}

.advisory-left p {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
}

/* RIGHT SIDE */
.advisory-right {
  flex: 1 1 60%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.advisory-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px 20px;
  text-align: center;
  border: 1px solid rgba(10, 15, 49, 0.1);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.advisory-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  border-color: #EB6100;
}

.advisory-card img {
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
  filter: invert(18%) sepia(10%) saturate(2000%) hue-rotate(210deg) brightness(90%) contrast(95%);
  transition: all 0.3s ease;
}

.advisory-card:hover img {
  filter: invert(48%) sepia(95%) saturate(2100%) hue-rotate(360deg) brightness(95%) contrast(90%);
  transform: scale(1.1);
}

.advisory-card h3 {
  font-size: 1.1rem;
  color: #0A0F31;
  margin-bottom: 10px;
}

.advisory-card p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 992px) {
  .advisory-layout {
    flex-direction: column;
    text-align: center;
  }

  .advisory-left {
    flex: 1 1 100%;
    margin-bottom: 40px;
  }

  .advisory-right {
    flex: 1 1 100%;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

