/* Page Loader */

/* Loader Screen */
.jd-loader {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* JD Logo Core */
.jd-logo {
  font-size: 120px;
  font-weight: 900;
  letter-spacing: 4px;
  color: #fff;
  position: relative;
  opacity: 0;
  transform: scale(0.2);
  filter: blur(10px);
  animation: zoomInFade 1.8s ease-out forwards;
  transform-origin: center;
  text-align: center;
  line-height: 0.7;
}

.small-text{
  font-size: 50px;
  font-weight: 900;
  /* letter-spacing: 4px; */
  color: #fff;
  position: relative;
  opacity: 0;
  transform: scale(0.2);
  filter: blur(10px);
  animation: zoomInFade 2s forwards cubic-bezier(0.19, 1, 0.22, 1);
}

/* Golden Shine Effect */
.jd-logo::after {
  content: "JD";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  color: transparent;
  background-image: linear-gradient(
    120deg,
    transparent 0%,
    rgb(236, 200, 0) 45%,
    transparent 90%
  );
  background-size: 200%;
  background-clip: text;
  -webkit-background-clip: text;
  animation: shimmer 2.2s 0.5s forwards;
  filter: blur(0.5px);
  transform: scale(1);
  pointer-events: none;
}

/* Main Logo Motion */
@keyframes zoomInFade {
  0% {
    transform: scale(0.2);
    opacity: 0;
    filter: blur(4px);
  }
  40% {
    transform: scale(0.7);
    opacity: 1;
    filter: blur(1px);
  }
  70% {
    transform: scale(1.15);
    opacity: 1;
    filter: blur(0px);
  }
  100% {
    transform: scale(1);
    opacity: 1;
    filter: blur(0px);
  }
}

@keyframes shimmer {
  0% {
    background-position: -150% center;
    opacity: 0.4;
  }
  20% {
    background-position: -80% center;
    opacity: 0.9;
  }
  40% {
    background-position: -20% center;
    opacity: 1;
  }
  60% {
    background-position: 40% center;
    opacity: 1;
  }
  80% {
    background-position: 100% center;
    opacity: 0.9;
  }
  100% {
    background-position: 160% center;
    opacity: 0; /* disappears smoothly */
  }
}


/* Hide site initially */
.site-content {
  opacity: 0;
  transition: opacity 1.2s ease-out;
}




/* ---------------------------------------------------------------------------------------------------------------------------- */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family: Poppins, sans-serif;
}

body{
  background:#fefae0;
}


/* -----------------------------------NAVBAR-------------------------------------------------------------------------------------------- */
nav{
  width:100%;
  height: 8vh;
  background:#283618; /* Primary Dark */
  color:#fefae0;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px 40px;
  position:fixed;
  top:0;
  left:0;
  z-index:1000;
  border-bottom:3px solid #606c38; /* Subtle accent */
}

nav .logo{
  font-size:1.4rem;
  font-weight:600;
  letter-spacing:1px;
  color:#fefae0;
}

nav ul{
  display:flex;
  gap:30px;
}

nav ul li{
  list-style:none;
}

nav ul li a{
  text-decoration:none;
  color:#fefae0;
  font-size:1rem;
  transition:0.3s ease;
  padding-bottom:3px;
}

nav ul li a:hover{
  color:#dda15e; /* Highlight */
  border-bottom:2px solid #bc6c25; /* Brown accent */
}

/* Hamburger */
.hamburger{
  display:none;
  flex-direction:column;
  cursor:pointer;
  gap:6px;
}

.hamburger div{
  width:25px;
  height:3px;
  background:#fefae0;
  transition:0.4s;
}

/* Responsive */
@media(max-width:850px){
  nav ul{
    position:fixed;
    top:60px;
    left:-100%;
    width:100%;
    height:100vh;
    background:#283618;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:40px;
    transition:0.4s ease;
    border-top:3px solid #606c38;
  }

  nav ul.active{
    left:0;
  }

  .hamburger{
    display:flex;
  }
}


/* Carousal CSS */
.carousel-container {
  position: relative;
  height: 96vh;
  max-width: 100%;
  margin: 30px auto;
  overflow: hidden;
  border-radius: 8px;
}

/* Buttons on left & right */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(96,108,56,0.8); /* #606c38 with opacity */
  color: #fefae0;
  border: none;
  font-size: 2rem;
  padding: 10px 16px;
  cursor: pointer;
  border-radius: 4px;
  z-index: 10;
  transition: 0.3s ease;
}

.carousel-caption {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  color: #fff;
  background: rgba(0,0,0,0.35);
  padding: 14px 20px;
  border-radius: 6px;
  font-size: 1.3rem;
  text-align: center;
  z-index: 30; /* keep above fading layer */
  pointer-events: none;
}


.carousel-btn:hover {
  background: #dda15e;
  color: #283618;
}

/* Left button */
.carousel-btn.prev {
  left: 10px;
}

/* Right button */
.carousel-btn.next {
  right: 10px;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s ease-in-out; /* smooth motion */
  width: 100%;
}
.carousel-slide {
  min-width: 100%;
  position: relative;
}

/* Responsiveness */
@media(max-width: 768px){
  .carousel-btn {
    font-size: 1.6rem;
    padding: 6px 12px;
  }
}

/* .carousel-slide{
  display:none;
  position:relative;
}

.carousel-slide.current{
  display:block;
} */

.carousel-slide img{
  width:100%;
  height:96vh;
  object-fit:cover;
}


.carousel-controls{
  text-align:center;
  margin-top:15px;
}

.carousel-controls button{
  background:#606c38; /* your secondary */
  color:#fefae0;
  border:none;
  padding:10px 18px;
  margin:0 6px;
  font-size:1.4rem;
  cursor:pointer;
  border-radius:4px;
  transition:0.3s ease;
}

.carousel-controls button:hover{
  background:#dda15e; /* highlight */
  color:#283618;
}

/* About Section */
.jd-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 60px 7%;
  background: #fefae0;
  flex-wrap: wrap;
}

.jd-content {
  flex: 1 1 500px;
}

.jd-content h5 {
  color: #c58a2f;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.jd-content h1 {
  color: #283618;
  font-weight: 800;
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 25px;
}

.jd-content p {
  color: #283618;
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 18px;
}

.jd-content strong {
  color: #bc6c25;
  font-weight: 700;
}

.jd-image {
  flex: 1 1 450px;
}

.jd-image img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

/* JD Hero Image Parallax */
.jd-hero .jd-image {
  overflow: hidden; /* hide overflow during movement */
  perspective: 1000px; /* gives depth for 3D effect */
  border-radius: 12px;
}

.jd-hero .jd-image img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
  transform-style: preserve-3d;
  border-radius: 10px; /* optional: rounded edges */
  
}

/* Parallax Hover Effect */
.jd-hero .jd-image:hover img {
  transform: scale(1.1) translateX(15px) translateY(-10px) rotateY(5deg) rotateX(3deg);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4); /* subtle depth */
}

@media(max-width: 900px){
  .jd-content h1 {
    font-size: 32px;
  }
}

@media(max-width: 768px){
  .jd-hero {
    padding: 40px 5%;
  }
}

@media(max-width: 600px){
  .jd-content h1 {
    font-size: 28px;
  }
}

/* ---------------------------------------------------------------------------------------------------------------------------------    */

/* Product Section */
.products-hero {
  padding: 70px 7%;
  background: #283618; /* dark contrast */
  text-align: center;
}

.products-heading h5 {
  color: #dda15e; /* highlight */
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.products-heading h2 {
  color: #fefae0; /* light contrast */
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 18px;
}

.products-heading p {
  max-width: 820px;
  margin: 0 auto 45px;
  font-size: 17px;
  line-height: 1.7;
  color: #fefae0; /* readable */
  opacity: 0.9;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.product-card {
  background: #fefae0; /* bright against dark */
  border-radius: 10px;
  padding: 18px;
  border: 1px solid #dda15e55;
  transition: 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: #dda15e;
  box-shadow: 0 4px 18px rgba(0,0,0,0.25);
}

.product-card img {
  width: 100%;
  border-radius: 7px;
  margin-bottom: 14px;
}

.product-card h4 {
  color: #bc6c25;
  font-weight: 700;
  margin-bottom: 6px;
}

.product-card p {
  font-size: 14px;
  color: #283618;
  line-height: 1.45;
}

@media(max-width: 992px){
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 600px){
  .products-grid {
    grid-template-columns: 1fr;
  }

  .products-heading h2 {
    font-size: 30px;
  }
}

/* ------------------------------------------------------------------------------------------------------------------------------------ */
.certifications-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 60px 7%;
  background: #fefae0; /* light background */
  flex-wrap: wrap;
  color: #283618;
  transition: background 0.5s ease;
}

.certifications-content {
  flex: 1 1 500px;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}

.certifications-content h5 {
  color: #c58a2f;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.certifications-content h1 {
  color: #283618;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 25px;
  transition: color 0.3s ease;
}

.certifications-content p {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 30px;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.certifications-logos {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.cert-card {
  background: #fff;
  color: #283618;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  flex: 1 1 120px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.2s;
}

.certifications-logos .cert-card img {
  width: 90px;        /* same width */
  height: 90px;       /* same height */
  object-fit: contain; /* keeps full logo visible */
  border-radius: 6px;  /* optional */
  margin-bottom: 10px;
}


.cert-card:nth-child(2) {
  animation-delay: 0.4s;
}

.cert-card:nth-child(3) {
  animation-delay: 0.6s;
}

.cert-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.cert-card img {
  width: 60px;
  margin-bottom: 10px;
  transition: transform 0.4s ease;
}

.cert-card img:hover {
  transform: scale(1.1);
}

.certifications-image {
  flex: 1 1 400px;
  overflow: hidden;
  perspective: 1000px;
}

.certifications-image img {
  width: 100%;
  border-radius: 12px;
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.certifications-image img:hover {
  transform: scale(1.08) rotate(1deg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

/* Fade-in-up animation */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media(max-width: 900px){
  .certifications-content h1 {
    font-size: 32px;
  }
}

@media(max-width: 768px){
  .certifications-hero {
    flex-direction: column-reverse;
    padding: 40px 5%;
    text-align: center;
  }

  .certifications-logos {
    justify-content: center;
  }

  .certifications-image {
    margin-bottom: 30px;
  }
}

/* ul items */ 
.list-items {
  list-style-type: disc; /* default bullet style */
  padding-left: 25px; /* space from the left edge */
  margin-bottom: 20px; /* optional spacing below the list */
  color: #283618;
  font-size: 16px;
  line-height: 1.7;
}

.list-items li {
  margin-bottom: 12px; /* space between each bullet point */
}

/* Group Section */
.group-structure-hero {
  background: #283618; /* Primary Dark */
  color: #fefae0;
  padding: 80px 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;      /* center content horizontally */
  text-align: center;       /* center text */
  gap: 40px;
}

/* Headings */
.group-structure-content h5 {
  font-size: 14px;
  letter-spacing: 2px;
  color: #dda15e;
  margin-bottom: 12px;
  opacity: 0;
  animation: fadeInDown 0.8s forwards;
}

.group-structure-content h1 {
  font-size: 42px;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInDown 1s forwards;
}

.group-structure-content p {
  font-size: 17px;
  color: #fefae0;
  margin-bottom: 30px;
  line-height: 1.65;
  max-width: 900px;      /* keeps text block centered */
  opacity: 0;
  animation: fadeIn 1.3s forwards;
  margin-left: auto;
  margin-right: auto;
}

/* Flow layout */
.company-flow {
  display: flex;
  align-items: center;
  justify-content: center;   /* center align cards and arrows */
  gap: 22px;
  margin-bottom: 15px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 1.4s forwards;
}

/* Company cards */
.company-node {
  background: #606c38;
  padding: 22px 18px;
  border-radius: 12px;
  width: 260px;
  max-width: 100%;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.35s ease;
}

.company-node h3 {
  margin-bottom: 12px;
  color: #fefae0;
  font-size: 22px;
}

.company-node p {
  font-size: 15px;
  color: #fefae0;
  opacity: 0.9;
}

/* Hover effect */
.company-node:hover {
  background: #bc6c25;
  border-color: #dda15e;
  transform: translateY(-6px) scale(1.03);
  cursor: pointer;
}

/* Flow arrows */
.flow-arrow {
  font-size: 34px;
  color: #dda15e;
  font-weight: bold;
  transition: 0.3s;
}

.flow-arrow:hover {
  color: #bc6c25;
  transform: translateX(4px);
}

/* CTA Button */
.cta-btn {
  background: #dda15e;
  color: #283618;
  padding: 14px 34px;
  border-radius: 6px;
  border: none;
  font-size: 16px;
  font-weight: bold;
  transition: 0.3s ease;
  opacity: 0;
  animation: fadeInUp 1.6s forwards;
  margin-top: 10px;    /* space below cards */
}

.cta-btn:hover {
  background: #bc6c25;
  color: #fefae0;
  cursor: pointer;
}

/* =============================
   Animations
   ============================= */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =============================
   Responsive
   ============================= */

/* Tablets */
@media (max-width: 992px) {
  .group-structure-hero {
    padding: 60px 8%;
  }

  .company-flow {
    justify-content: center;
  }
}

/* Large Phones */
@media (max-width: 768px) {
  .group-structure-content h1 {
    font-size: 32px;
  }

  .company-flow {
    flex-direction: column;
    gap: 30px;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }
}

/* Small Phones */
@media (max-width: 480px) {
  .group-structure-content h1 {
    font-size: 26px;
  }

  .company-node {
    width: 92%;
    padding: 20px;
  }
}

/* ===============================
   EXECUTIVE HERO - LAYOUT
   =============================== */
.executive-hero {
  background: #fefae0;
  padding: 80px 10%;
  color: #283618;
  position: relative;
}

/* Top-left Label */
.leadership-label {
  font-size: 13px;
  letter-spacing: 2px;
  color: #bc6c25;
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeInDown 0.8s forwards;
  font-weight: bold;
  text-align: left;
}

/* Two-column Grid */
.executive-grid {
  display: grid;
  grid-template-columns: 420px auto;
  align-items: center;
  gap: 70px;
}

/* Photo Block */
.exec-photo-block img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
  opacity: 0;
  animation: fadeIn 1s forwards;
}

/* Content Block */
.exec-content-block h1 {
  font-size: 38px;
  color: #283618;
  opacity: 0;
  animation: fadeInDown 1.1s forwards;
}

.exec-content-block h4 {
  font-size: 20px;
  color: #606c38;
  margin-bottom: 18px;
  opacity: 0;
  animation: fadeInDown 1.3s forwards;
}

.exec-content-block p {
  font-size: 17px;
  line-height: 1.6;
  opacity: 0;
  animation: fadeIn 1.4s forwards;
  margin-bottom: 24px;
}

/* Highlights */
.exec-highlights {
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeInUp 1.6s forwards;
}

.exec-highlights li {
  font-size: 16px;
  margin-bottom: 8px;
  position: relative;
  padding-left: 18px;
}

.exec-highlights li::before {
  color: #dda15e;
  position: absolute;
  left: 0;
  margin-left: 10px;
}

/* CTA */
.cta-exec {
  background: #283618;
  color: #fefae0;
  padding: 14px 34px;
  border-radius: 6px;
  border: none;
  font-size: 16px;
  font-weight: bold;
  transition: 0.35s;
  opacity: 0;
  animation: fadeInUp 1.8s forwards;
}

.cta-exec:hover {
  background: #bc6c25;
  cursor: pointer;
}

/* Animations */
@keyframes fadeIn { from { opacity: 0;} to { opacity: 1;} }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px);} to { opacity: 1; transform: translateY(0);} }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-14px);} to { opacity: 1; transform: translateY(0);} }

/* Responsive Tablets */
@media(max-width: 992px) {
  .executive-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .exec-photo-block img {
    height: 420px;
  }
}

/* Phones */
@media(max-width: 600px) {
  .exec-photo-block img {
    height: auto;
    width: 100%;
  }

  .exec-content-block h1 { font-size: 30px; }
  .exec-content-block h4 { font-size: 18px; }
}

/* ============================
   JD FOOTER
   ============================ */
.jd-footer {
  background: #283618;
  color: #fefae0;
  padding: 70px 10% 30px;
  font-family: "Poppins", sans-serif;
}

/* Footer Grid Layout */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeIn 1.2s forwards;
}

/* Footer Columns */
.footer-col {
  text-align: center;
}

.footer-col h2 {
  font-size: 32px;
  margin-bottom: 14px;
  color: #dda15e;
}
.footer-col h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: #dda15e;
}
.footer-col p {
  font-size: 15px;
  line-height: 1.6;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  color: #fefae0;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col .twitter{
  margin:0 15px;
}

/* Hover Animation on Links */
.footer-col ul li a:hover {
  color: #dda15e;
  padding-left: 6px;
}

/* Social Icons */
.social-icons a {
  color: #fefae0;
  margin-right: 12px;
  font-size: 22px;
  transition: 0.3s;
}
.social-icons a:hover {
  color: #dda15e;
  transform: scale(1.15);
}

/* CTA Button */

.whatsapp-btn{
  text-decoration: none;
  margin: 0;
  padding: 0;
}


.footer-cta {
  margin: 0 auto;
  background: #dda15e;
  color: #283618;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: bold;
  transition: 0.35s;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}
.footer-cta:hover {
  background: #bc6c25;
  color: #fefae0;
  cursor: pointer;
  transform: translateY(-3px);
}

/* Bottom Strip */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 16px;
  text-align: center;
  font-size: 14px;
  opacity: 0;
  animation: fadeInUp 1.3s forwards;
}

/* Animations */
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}
@keyframes fadeInUp {
  from {opacity: 0; transform: translateY(10px);}
  to {opacity: 1; transform: translateY(0);}
}

/* Responsive */
@media(max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
  }
}
@media(max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-col {
    text-align: center;
  }
  .social-icons {
    justify-content: center;
  }
}

.a-tag {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.a-tag:hover,
.a-tag:focus,
.a-tag:active,
.a-tag:visited {
  text-decoration: none;
  color: inherit;
}
