@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;700;900&display=swap');

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: 'Barlow', sans-serif;
  background: linear-gradient(to bottom right, #e8f0ff, #ffffff);
  color: #222;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ====== HERO BANNER SECTION ====== */
.hero-banner {
  background-image: url("images/banner.jpg");
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  height: 300px;
  position: relative;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;   /* ✅ vertical center */
  align-items: center;       /* ✅ horizontal center */
  margin-top: 75px;
}

.about-centered {
  margin: 0 auto;                /* ✅ horizontally center */
  padding: 2rem;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 1rem;
  max-width: 900px;
  width: calc(100% - 3rem);
  box-sizing: border-box;
  text-align: center;            /* optional: aligns text centrally too */
}


/* ====== NAVBAR ====== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 2rem;
  box-sizing: border-box;
  backdrop-filter: blur(4px);
}

.navbar .logo {
  font-size: 1.75rem;
  font-weight: 900;
  background: linear-gradient(to right, #ffffff, #aad4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navbar nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar nav ul li a {
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background 0.2s;
}

.navbar nav ul li a:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ====== LANGUAGE SWITCHER ====== */
.lang-switcher {
  display: flex;
  gap: 0.5rem;
  z-index: 1001;
  position: relative;
  padding-right: 6px;
}

.lang-switcher button {
  padding: 0.4rem 1rem;
  background: white;
  border: 2px solid #0047ab;
  color: #0047ab;
  font-weight: bold;
  border-radius: 20px;
  cursor: pointer;
}

.lang-switcher button:hover {
  background-color: white;
  color: #0046ad;
}

/* ====== HERO TEXT ====== */
.hero-text {
  text-align: center;
  margin-top: 130px;
  padding: 0 2rem;
}

.hero-text h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 1px 1px 2px #00000066;
}

.hero-text p {
  font-size: 1.1rem;
  margin-top: 1rem;
  color: #f0f0f0;
  text-shadow: 1px 1px 1px #00000055;
}

/* ====== SECTION STYLING ====== */ 
section {
  padding: 1.5rem 1rem;
}


.features-box {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(to bottom right, #f5faff, #ffffff);
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}


.features-box h2 {
  margin: 0 0 0.5rem 0 !important;
  padding: 0 !important;
}


.products-box,
.fea-box {
  max-width: 1100px;
  margin: auto;
  background: linear-gradient(to bottom right, #f5faff, #ffffff);
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.fea-box h2 {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

h2 {
  font-size: 1.5rem;
  font-weight: 550 ;
  margin-bottom: 0.8rem;
  color: #000000 ;
  background: none ;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
}


/* ====== WHAT WE DO ====== */
.features {
  padding: 0.5rem 1rem 0.5rem 1rem; /* keep top/bottom tight */
  margin-top: 0;
  margin-bottom: 0;               /* tighten bottom gap */
}


.features .emoji {
  font-size: 1.8rem;
  vertical-align: middle;
  margin-right: 0.4rem;
}

/* ====== PRODUCT GRID ====== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.grid div {
  background: white;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.grid div:hover {
  transform: translateY(-4px);
}

.grid img {
  width: 100%;
  height: 120px;
  object-fit: contain;
}

.grid p {
  margin-top: 0.5rem;
  font-weight: bold;
  color: #0046ad;
}

/* ====== FOOTER ====== */
footer {
  background-color: #002147;
  color: white;
  padding: 0.1rem 2rem 2rem;
  text-align: center;
}

footer h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: #aad4ff;
}

footer p, footer a {
  color: #c9dcf3;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Containers */
.products-container {
  padding: 1rem 1.5rem;
  margin-top: 0;
}

.fea-container {
  padding-top: 0.5rem ;
  margin-top: 0;
}

/* ABOUT SECTION */
.about-centered {
  background: rgba(0, 0, 0, 0.35);
  padding: 2rem;
  border-radius: 1rem;
  max-width: 900px;
  margin: auto;
}

.about-centered h2 {
  color: #ffffff;
  background: none;
  -webkit-text-fill-color: #ffffff;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.about-centered p {
  color: #f0f0f0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

/* Optional: List style for bullet services */
.what-we-do-list {
  list-style: disc;
  padding-left: 1.5rem;
  margin-top: 1.5rem;
  font-size: 1rem;
  line-height: 1.8;
  color: #222;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.grid-4 > div {
  width: 100%;
  height: 200px;                 /* uniform outer frame */
  background: white;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

.grid-4 > div:hover {
  transform: translateY(-4px);
}

.grid-4 img {
  height: 100 px;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.grid-4 p {
  margin: 0;
  padding-top: 0.75rem;
  font-weight: bold;
  color: #000000;
  text-align: center;
}

.product-layout {
  display: flex;
  flex-wrap: nowrap; /* Prevent stacking */
  gap: 2rem;
  align-items: flex-start;
  justify-content: flex-start;
}

.products-group {
  flex: 1 1 300px;
  max-width: 350px;
}

.products-grid {
  flex: 2 1 650px;
}

/* Navbar Logo Styling */
.navbar .logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.kd-icon {
  height: 50px;               /* base size that fits inside navbar */
  width: auto;
  transform: scale(1.5);      /* visually enlarge it */
  transform-origin: left center;
  margin-right: 0.5rem;
  background: none;
  display: block;
}

.kedkep-text {
  font-size: 1.75rem;
  font-weight: 900;
  background: linear-gradient(to right, #ffffff, #aad4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.features-container {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  box-sizing: border-box;
}

.features-title {
  font-size: 1.5rem;
  font-weight: 550;
  margin-bottom: 1rem;
  color: black;
  background: none;
  -webkit-background-clip: initial ;
  -webkit-text-fill-color: initial ;
}


.features-list {
  padding-left: 1.2rem;
  margin: 0;
  list-style: disc;
}

.features-list li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  list-style: disc;
}

.features-list a {
  color: #0046ad;
  text-decoration: none;
  list-style: disc;
}

.features-list a:hover {
  text-decoration: underline;
  list-style: disc;
}

.block-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1rem;
}

.side-by-side-lists {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 6rem;
  align-items: start;  /* Make sure rows align to top */
}

.side-by-side-lists > div {
  align-self: start;   /* Force each column to top of the row */
}

/* ====== MOBILE RESPONSIVENESS ====== */
@media screen and (max-width: 768px) {
  .hero-banner {
    margin-top: 330px; /* adjust based on your navbar height */
  }


  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 1rem;
  }

  .navbar nav ul {
    flex-direction: column;
    width: 100%;
    gap: 0.25rem;
    margin-top: 0.5rem;
  }

  .navbar nav ul li a {
    padding: 0.5rem;
    display: block;
    width: 100%;
  }

  .lang-switcher {
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
    margin-top: 0.5rem;
  }

  .hero-banner {
    height: auto;
    padding: 2rem 1rem;
    text-align: center;
    background-position: center;
  }

  .about-centered {
    padding: 1rem;
    width: 100%;
  }

  .features-container,
  .product-layout,
  .fea-container {
    flex-direction: column !important;
    gap: 1rem;
  }

  .side-by-side-lists {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }

  .products-grid .grid,
  .grid-4 {
    grid-template-columns: 1fr !important;
  }

  .grid-4 > div,
  .grid div {
    height: auto;
  }

  .fea-box,
  .products-box,
  .features-box {
    padding: 1rem;
    width: 100%;
    box-sizing: border-box;
  }

  .kd-icon {
    transform: scale(1.2);
  }
}
