@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&display=swap");

:root {
  --theme-blue: #1981c2;
  --theme-red: #ff0f0f;
  --light: #fff;
  --light-gray: #ddd;
  --dark: #000;
  --dark-gray: #222;
  --gray: #808080;
  --shadow: 0px 0px 10px 1px var(--gray);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto Condensed";
}
.text-red {
  color: var(--theme-red);
}
.text-blue {
  color: var(--theme-blue);
}
.text-justify {
  text-align: justify;
}
.body-card {
  margin: 20px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  background-color: var(--light-gray);
}
.bg-dark-blue {
  background-color: #0d244f; /* A deep, professional blue */
}
.card-title-blue {
  color: #0d244f;
}
/* A subtle hover effect for cards */
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.3s ease-in-out;
}
.up-animation:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.3s ease-in-out;
}
.fade-in-up {
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 1s ease, transform 1s ease;
  will-change: opacity, transform;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}



/* Optional animation */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }
}
.btn {
  background-color: var(--theme-red);
  color: var(--light);
}
.btn:hover {
  background-color: rgb(228, 6, 6);
  color: var(--light);
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 50px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--light);
}
.logo img {
  width: 120px;
}
.toogle-nav {
  display: none;
}
/* Desktop Navigation */
nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

nav a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 5px;
}

nav a:hover {
  color: var(--theme-blue);
}

nav .submenu {
  position: relative;
}

/* Dropdown */
nav .dropdown {
  background-color: #fff;
  display: none; /* default hidden */
  flex-direction: column;
  position: absolute;
  top: 23px;
  left: -20px;
  width: 200px;
  box-shadow: 0px 0px 5px var(--dark-gray);
  z-index: 999;
}

nav .dropdown a {
  padding: 10px;
  white-space: nowrap;
}

/* Active Menu */
header nav .active {
  color: var(--theme-blue);
  border-bottom: 2px solid var(--theme-red);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  nav a {
    font-size: 15px;
    padding: 8px 0;
  }

  nav .submenu {
    width: 100%;
  }

  nav .dropdown {
    position: static; /* no absolute on mobile */
    width: 100%; /* full width */
    box-shadow: none;
    border-left: 2px solid var(--theme-blue);
    display: none; /* still hidden by JS */
  }

  nav .dropdown a {
    padding-left: 20px;
  }
}

/* Home Page */
.carousel-btn {
  background-color: var(--theme-red);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  border: 5px solid var(--theme-red);
}
.stats {
  margin-top: 50px;
  color: var(--light);
}
.stats .inner-div {
  margin: 10px 50px;
  /* background: url("../img/q1.jpg"); */
  /* background: linear-gradient(#143951e6, #143951e6), */
  /* background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/q1.jpg"); */
  background: linear-gradient(#0b6bace6, #052a42e6), url("../img/about2.jpg");
  background-size: cover;
  background-position: top;
  /* background-position: bottom; */
  padding: 100px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  border-radius: 50px;
  box-shadow: var(--shadow);
  text-shadow: 2px 2px var(--dark-gray);
}
.stats .headings h2 {
  font-size: 50px;
  text-shadow: 2px 2px var(--dark-gray);
}
.stats .headings h2:first-child {
  padding: 10px 20px;
  border-top: 1px solid var(--light);
  border-right: 1px solid var(--light);
}
.stats .headings h2:nth-child(2) {
  padding: 0 20px;
  color: var(--theme-red);
}
.stats .headings h2:nth-child(3) {
  padding: 10px 20px;
  border-bottom: 1px solid var(--light);
  border-left: 1px solid var(--light);
}
.stats-level-1 {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.stats-level-2 {
  padding-top: 10px;
  display: flex;
  gap: 20px;
  border-bottom: 2px solid var(--theme-red);
  justify-content: space-between;
}
.stats-level-2:nth-child(3) {
  border-bottom: 0;
}
.stats-level-3 {
  width: 150px;
}

.power-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 50px;
}
.power-section .card {
  width: 400px;
  overflow: hidden;
}
.power-section h2 {
  padding: 40px;
  margin: 0;
  text-align: center;
  color: var(--light);
  font-size: 25px;
  background-color: var(--theme-blue);
}
.power-section .card:first-child,
.power-section .card:first-child img {
  border-bottom-right-radius: 120px;
}
.power-section .card:nth-child(2),
.power-section .card:nth-child(2) img {
  border-bottom-left-radius: 120px;
}
.power-section .card:nth-child(3) {
  border-top-right-radius: 120px;
}
.power-section .card:nth-child(4) {
  border-top-left-radius: 120px;
}
.info-tab {
  display: flex;
  justify-content: space-around;
  align-items: start;
  flex-wrap: wrap;
}
.info-card {
  background-color: var(--theme-blue);
  padding: 20px;
  margin: 20px;
  font-size: 30px;
  color: var(--light);
  border-radius: 15px;
  width: fit-content;
}
.bullets {
  margin: 20px 0;
  margin-left: 60px;
  color: var(--theme-blue);
  font-size: 40px;
}

/* About Page */
.about-div {
  margin: 50px;
  padding: 50px;
  background: linear-gradient(to bottom, #e1e8ed, #e6e8df);
  border-radius: 100px 0 100px 0;
  position: relative;
  padding-right: 300px;
}
.about-div .img {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 250px;
  height: 250px;
  background-size: cover;
  background-position: center;
  border-radius: 30px 0 30px 0;
}
.about-div .img1 {
  background-image: url("../img/about1.jpg");
}
.about-div .img2 {
  background-image: url("../img/about2.jpg");
}
.about-div .img3 {
  background-image: url("../img/about3.png");
}
.about-div h2 {
  position: absolute;
  background-color: #e1e8ed;
  padding: 20px;
  top: 60px;
  color: var(--theme-blue);
}
.about-div .hr {
  border-bottom: 2px solid var(--theme-blue);
  margin: 50px;
}

.about-div ul {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  border-left: 2px dashed var(--theme-blue);
}
.about-div ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 20px;
}
.about-div ul li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0px;
  width: 12px;
  height: 12px;
  background: var(--theme-blue);
  border-radius: 50%;
}
.about-div p {
  font-size: 20px;
}
.about-div p span {
  color: var(--theme-blue);
}

/* Product Page */
.product-card {
  display: flex;
  justify-content: center;
  align-items: start;
  margin: 50px;
  padding: 50px;
  border-radius: 50px;
  box-shadow: var(--shadow);
  font-size: 25px;
  position: relative;
  color: var(--theme-red);
}
.product-card:nth-child(2) {
  background: url("../img/product/bg1.png");
  background-position: bottom;
  background-size: cover;
}
.product-card:nth-child(3) {
  background: url("../img/product/bg2.png");
  background-position: right;
  background-size: cover;
}
.product-card:nth-child(4) {
  background: url("../img/product/bg3.png");
  background-position: right;
  background-size: cover;
}
.product-card .img {
  width: 30%;
}
.product-card .img img {
  width: 100%;
}
.product-card .content {
  width: 70%;
  line-height: 2;
}
.product-card .content h4 {
  margin: 20px 0;
  font-size: 28px;
}
.product-card-img {
  height: 200px; /* set a fixed height */
  object-fit: contain; /* keep full image visible */
  width: 100%; /* make it responsive */
}
@media (max-width: 500px) {
  .product-card {
    flex-direction: column;
  }
}

/* Contact Page */
.contact-section {
  padding: 60px 20px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}
.contact-section .half {
  width: 40%;
}
.contact-section .get-in-touch {
  padding: 10px;
  text-align: center;
}
.get-in-touch h3 {
  background-color: var(--theme-blue);
  color: var(--light);
  display: inline;
  padding: 5px 25px;
  border-radius: 15px;
  box-shadow: var(--shadow);
}
.contact-grid {
  display: grid;
  align-items: start;
  gap: 10px;
  grid-template-columns: 1fr 4fr;
  margin-top: 20px;
}
.contact-grid .icon {
  text-align: center;
}
.contact-grid i {
  background-color: var(--theme-blue);
  color: var(--light);
  padding: 15px;
  border-radius: 10px;
}

/* Inquiry Form Container */
.inquiry-form {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  max-width: 500px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Headings */
.inquiry-form .heading {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
  text-align: center;
}

.inquiry-form .subheading {
  font-size: 14px;
  color: #666;
  margin-bottom: 25px;
  text-align: center;
}

/* Labels */
.inquiry-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #444;
}

/* Inputs */
.inquiry-form input {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 18px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: 0.3s ease;
}

.inquiry-form input:focus {
  border-color: #0073e6;
  box-shadow: 0 0 5px rgba(0, 115, 230, 0.3);
}

/* Button */
.inquiry-form button {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, #0073e6, #005bb5);
  color: #fff;
  transition: 0.3s ease;
}

.inquiry-form button:hover {
  background: linear-gradient(135deg, #005bb5, #003f80);
  transform: translateY(-2px);
}
.contact-social {
  margin: 50px;
  display: flex;
  justify-content: center;
  font-size: 25px;
}
.contact-social p {
  width: fit-content;
  padding: 10px;
  border-bottom: 2px solid var(--theme-blue);
}
.contact-social a {
  background-color: var(--theme-blue);
  color: var(--light);
  padding: 5px 10px;
  border-top-left-radius: 10px;
  display: inline-block;
  transition: all 0.5s ease;
}
.contact-social a:hover {
  transform: translateY(-5px);
}

/* Footer */
footer {
  background: linear-gradient(to bottom, #081636, #183f99);
  padding: 50px;
  color: var(--light);
  border-radius: 40px 40px 0 0;
  margin-top: 20px;
}
footer h5 {
  border-bottom: 2px solid var(--theme-red);
}
footer .brand-name {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  padding: 20px 0;
}
.footer-level-1 {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.footer-level-2 {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-level-3 {
  display: flex;
  flex-direction: column;
}
.footer-level-3 p {
  line-height: 0.5;
}
footer a {
  color: var(--light);
  text-decoration: none;
}
footer a:hover {
  color: var(--theme-red);
}
footer h4 {
  color: var(--theme-red);
}
footer h4 i {
  color: var(--light);
}
.social-icons {
  font-size: 25px;
  width: 80px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px !important;
  align-items: center;
}
.social-icons a {
  padding: 0 10px;
  text-align: center;
  background-color: var(--light);
  color: var(--theme-blue);
}
.social-icons a:first-child {
  border-radius: 15px 0 0 0;
}
.social-icons a:nth-child(2) {
  border-radius: 0 0 15px 0;
}

.copyright {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--light);
}

@media screen and (max-width: 1000px) {
  /* Product Page */

  /* About Page */
  .about-div {
    padding-right: 50px;
  }
  .about-div .img {
    display: none;
  }
}

@media screen and (max-width: 770px) {
  .body-card {
    padding: 5px;
    margin: 5px;
  }

  /* Header */
  header {
    margin: 0 5px 5px 5px;
    padding: 10px;
    flex-direction: column;
    align-items: start;
  }
  .logo {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  nav {
    display: none;
    flex-direction: column;
    margin: 20px;
  }
  .toogle-nav {
    display: block;
    background-color: var(--light);
    padding: 5px 10px;
    border: 1px solid var(--gray);
  }

  .carousel-btn {
    background-color: var(--theme-red);
    border-radius: 50%;
    width: 25px;
    height: 25px;
    border: 5px solid var(--theme-red);
  }

  /* Homepage */
  .slide {
    padding: 10px;
    background-size: cover;
  }
  .slide .text {
    width: 250px;
    padding: 20px;
  }
  .slide .text h1 {
    font-size: 32px;
  }
  .slide .feature img {
    width: 200px;
  }
  .stats .inner-div {
    margin: 10px;
    padding: 40px 10px;
    gap: 20px;
  }
  .stats .headings h2 {
    font-size: 34px;
    padding: 5px;
  }
  .stats-level-1 {
    gap: 2px;
  }
  .stats-level-2 {
    padding-top: 10px;
    gap: 0px;
  }
  .stats-level-3 {
    width: 120px;
    font-size: 14px;
  }
  .power-section {
    gap: 10px;
    padding: 10px;
  }
  .power-section h2 {
    font-size: 20px;
    padding: 10px;
  }
  .power-section .card:first-child,
  .power-section .card:first-child img {
    border-bottom-right-radius: 60px;
  }
  .power-section .card:nth-child(2),
  .power-section .card:nth-child(2) img {
    border-bottom-left-radius: 60px;
  }
  .power-section .card:nth-child(3) {
    border-top-right-radius: 60px;
  }
  .power-section .card:nth-child(4) {
    border-top-left-radius: 60px;
  }
  .info-tab {
    flex-direction: column;
  }
  .info-card {
    padding: 10px;
    margin: 10px;
    font-size: 18px;
    border-radius: 5px;
  }
  .bullets {
    font-size: 25px;
    margin-left: 10px;
  }

  /* About Page */
  .about-div {
    margin: 10px;
    padding: 30px 20px;
    text-align: justify;
    border-radius: 50px 0 50px 0;
  }
  .about-div h2 {
    top: 55px;
    left: 20px;
    padding: 5px;
    font-size: 18px;
  }
  .about-div .hr {
    margin: 40px;
  }
  .our-strengths h3 {
    font-size: 16px;
  }
  .about-div p {
    font-size: 14px;
  }

  /* Product Page */
  .product-card {
    justify-content: start;
    margin: 10px;
    padding: 10px;
    padding-left: 30px;
    font-size: 15px;
    border-radius: 10px;
  }
  .product-card .content {
    line-height: 1.5;
  }
  .product-card .content h4 {
    font-size: 16px;
  }

  /* Contact Page */
  .contact-section .half {
    width: 100%;
  }
  .inquiry-form {
    margin-top: 20px;
  }
  .contact-social {
    margin: 0;
  }

  /* Footer */
  footer {
    padding: 20px;
  }
  .footer-level-2 {
    flex-direction: row;
  }
  .footer-level-3 p {
    line-height: 1.5;
  }
  .social-icons {
    padding: 20px;
  }

  .copyright {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* product slider */
.slider-container {
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

.slider-wrapper {
  display: flex;
  gap: 20px;
  animation: scroll 25s linear infinite;
}

.slider-wrapper:hover {
  animation-play-state: paused;
}

.slider-wrapper .product-card-sl {
  min-width: calc(33.333% - 14px);
  background: white;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  text-align: center;
}

.slider-wrapper .product-card-sl:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.slider-wrapper .product-image-sl {
  /* width: 100; */
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.slider-wrapper .product-title-sl {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  text-align: center;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-33.333% * 6 - 120px));
  }
}

@media (max-width: 768px) {
  .product-card {
    min-width: calc(50% - 10px);
  }

  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-50% * 6 - 120px));
    }
  }
}

@media (max-width: 480px) {
  .product-card {
    min-width: calc(100% - 20px);
  }

  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-100% * 6 - 120px));
    }
  }
}

.client-section {
  background: white;
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

.section-title p {
  color: #666;
  font-size: 1.1rem;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
  height: 150px;
}

.client-logo img {
  max-width: 100%;
  max-height: 80px;
  transition: all 0.3s ease;
}

.client-logo:hover img {
  transform: scale(1.1);
}

.client-logo:hover {
  background-color: #f8f9fa;
  border-color: #dee2e6;
}

.client-fade-slide {
  animation: fadeSlide 0.6s ease-in-out;
}

@keyframes fadeSlide {
  0% {
    opacity: 0;
    transform: translateX(40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
}

.gallery-item img {
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.15);
}

.certificates .certificate-card {
  width: 300px;
}

.certificates .certificate-card img {
  width: 100%;
}

.mf-flex {
  margin: 50px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-size: 20px;
  color: var(--theme-blue);
  flex-wrap: wrap;
}
.mf-flex div {
  max-width: 500px;
}
.mf-flex h2 {
  display: inline-block;
  background: red;
  color: #fff;
  padding: 10px 20px;
  position: relative;
  font-size: 24px;
  font-weight: bold;
}
.mf-flex h2::after {
  content: "";
  position: absolute;
  top: 0;
  right: -37px;
  width: 37px;
  height: 100%;
  background: red;
  transform: skewX(-25deg);
  transform-origin: top;
}
.mf-flex img {
  height: 300px;
  border-radius: 12px;
}
.mf-flex b {
  color: black;
}
.mf-2 {
  flex-wrap: wrap-reverse;
}
@media (max-width: 500px) {
  .mf-flex {
    margin: 20px;
    font-size: 15px;
  }
  .mf-flex h2 {
    font-size: 20px;
    width: 80%;
  }
  .mf-flex h2::after {
    right: -44px;
    width: 44px;
    height: 100%;
  }
  .mf-flex img {
    width: 200px;
    height: 100%;
    border-radius: 12px;
  }
}

.flags img {
  width: 80px;
  height: 50px;
}

.my-banner-desk {
  width: 100%;
  display: block;
}
.my-banner-mob img{
  width: 100%;
  display: none;
}

@media (max-width: 500px) {
  .my-banner-desk{
    width: 100%;
    display: none !important;
  }
  .my-banner-mob img{
    width: 100%;
    display: block;
  }
}
