/* Global Resets and Basic Styles */
@charset "utf-8";
* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

body {
  font-family: Microsoft YaHei, Arial;
  font-size: 14px;
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  outline: none;
  cursor: pointer;
}

a:hover {
  color: #f60;
}

img {
  border: none;
  vertical-align: bottom;
}

i,
em,
cite {
  font-style: normal;
}

ul,
li {
  list-style: none;
  margin: 0;
  padding: 0;
}

* input {
  vertical-align: middle;
  float: left;
  outline: none;
  border: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}
/* End of Global Resets and Basic Styles */

/* Utility Classes */
.fl {
  float: left;
}

.fr {
  float: right;
}

.clear {
  clear: both;
}

.hidden {
  display: none;
}

.visible {
  display: block;
}

.nodata {
  display: none;
}

.loading {
  display: none;
}
/* End of Utility Classes */

/* Body Styles */
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
}
/* End of Body Styles */

/* Container Styles */
.container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 50px;
  box-sizing: border-box;
}
/* End of Container Styles */

/* Header Styles */
.head-block{height: 74px;}
header{position: fixed;z-index: 9999;left: 0;top: 0;width: 100%;box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);background-color: #fff;}
.site-header {
  padding: 10px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1920px;
  margin: 0 auto;
  box-sizing: border-box;
}

.site-logo {
  height: 54px;
  width: auto;
}
/* End of Header Styles */

/* Navigation Styles */
.main-nav .mainnavul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.main-nav li {
  margin-left: 48px;
  position: relative;
}

.main-nav a {
  position: relative;
  text-decoration: none;
  color: #374151;
  font-size: 20px;
  transition: color 0.3s ease;
  padding: 10px 10px; /* Add padding for better click area */
  display: block; /* Make links block level */
}
.main-nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #1e3a8a;
    transition: all 0.3s ease-out;
    transform: translateX(-50%);
}

.main-nav a:hover,
.main-nav a.menu-on {
  font-weight: bold;
  color: #1e3a8a;
}
.main-nav a.menu-on::before,.main-nav a:hover::before {
    width: 100%;
}

/* Dropdown Styles */
.main-nav li.has-submenu .navson { /* Target only ul within .has-submenu */
  position: fixed;
  top: 60px;
  left: 0;
  padding: 10px 0;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  width: 100vw;
  z-index: 999999;
  text-align: center;
  display: none;
}
.main-nav li.has-submenu .webmenu{ /* Target only ul within .has-submenu */
  position: fixed;
  top: 60px;
  left: 0;
  padding: 30px 0 10px;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  width: 100vw;
  z-index: 999999;
  text-align: center;
  display: none;
}
.webmenu .webmenu-box{display: inline-block;text-align: left;padding: 10px;margin: 5px 5px;border-radius: 5px;}
.webmenu .webmenu-box:nth-child(1){background: #e0f0fc;}
.webmenu .webmenu-box:nth-child(2){background: #ddf7e5;}
.webmenu .webmenu-box:nth-child(3){background: #f9e6c9;}
.webmenu .webmenu-box:nth-child(4){background: #f9c9d0;}
.webmenu .webmenu-box img{height: 165px;float: left;display: block;}
.webmenu .webmenu-box .webmenu-li-box{padding-left: 10px;height: 165px;float: right;display: block;}
.webmenu .webmenu-box a{font-size: 16px;line-height: 20px;display: inline-block;padding: 10px 5px;font-weight: bold;color: #151515;}
.main-nav li.has-submenu ul.webmenu .webmenu-box li{margin: 0;display: block;}
.webmenu-box li.webmenuli11,.webmenu-box li.webmenuli12,.webmenu-box li.webmenuli13{display: none !important;}
.main-nav li.has-submenu ul.webmenu .webmenu-box ul li a{font-size: 16px;font-weight: normal !important;}

.main-nav li.has-submenu ul li{display: inline-block;
    margin: 0 20px;
    position: relative;vertical-align: top;}

.main-nav li.has-submenu ul ul{position: relative;width: 100%;top: 0;display: block !important;}
.main-nav li.has-submenu ul ul li{display: block;}
.main-nav li.has-submenu ul ul li a{color: #666;font-size: 14px;}



/* End of Navigation Styles */

/* Search Icon Styles */
.search-icon {
  margin-left: 30px;
  width: 24px;
  height: 24px;
  position: relative;
}
/* End of Search Icon Styles */


/* Hero Section Styles */
.hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: #fff;
  text-align: center;
  background: linear-gradient(to right, #1e40af, #3b82f6);
}

.swiper-wrapper {}

.hero-section .swiper-slide {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-section .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition-duration: 1000ms;
}
.hero-section .swiper-slide.swiper-slide-active img {
  transform: scale(1);
}

.swiper-pagination.hero-buttons {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  text-align: center;
}

.hero-section .swiper-pagination-bullet {
  background: #5190ca;
  border-radius: 9999px;
  margin: 0;
  width: 30px;
  height: 8px;
  top: calc(50% - -419px);
  box-shadow: 0px 4px 6px -4px rgba(0, 0, 0, 0.1), 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.hero-section .swiper-pagination-bullet-active {
  background: #ffffff;
}
/* End of Hero Section Styles */

/* Certifications Section Background */
.certifications-section {
  background: url(../images/section4.png) center top no-repeat;
}
/* End of Certifications Section Background */

/* Section Padding */
.solutions-section,
.about-us-section,
.certifications-section,
.projects-section {
  padding: 90px 0;
}
/* End of Section Padding */

/* Solutions Section Styles */
.solutions-section {
  background: linear-gradient(to right, #1e40af, #3b82f6);
  color: #ffffff;
  position: relative;
}

.section-heading {
  font-size: 52px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #000;
}

.solutions-section .section-heading {
  color: #fff;
}

.solutions-section .section-description {
  color: #fff;
}

.background10 {
  background: #1e40af;
  width: 96px;
  height: 4px;
  display: block;
  margin: 0 auto;
}

.background11 {
  background: #3b82f6;
  width: 96px;
  height: 4px;
  display: block;
  margin: 0 auto;
}

.section-description {
  font-size: 18px;
  text-align: center;
  color: #555;
  margin-bottom: 70px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.solutions-carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.swiper-wrapper {}

.solutions-wrapper::-webkit-scrollbar {
  display: none;
}

.swiper-slide.solution-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.solution-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.card-content {
  padding: 20px 25px;
}

.solution-card .card-title {
  font-size: 20px;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 10px;
  background: linear-gradient(90deg, rgba(30, 64, 175, 1) 0%, rgba(59, 130, 246, 1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #1e40af;
}

.solution-card .card-text {
  font-size: 16px;
  color: #333333;
  margin-top: 0;
  margin-bottom: 0;
}

.carousel-indicators {
  text-align: center;
  margin-top: 20px;
}

.indicator {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ccc;
  margin: 0 5px;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.3s ease;
}

.indicator.active {
  background-color: #1e3a8a;
}

.section-btn {
  text-align: center;
  padding-top: 70px;
  margin-bottom: -20px;
}

.section-btn .carousel-arrow {
  width: 32px;
  height: 32px;
  background-color: rgba(255, 255, 255, 0.6);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: inline-block;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin: 0 10px;
}

.section-btn .carousel-arrow:hover {
  background-color: #fff;
}

.section-btn .carousel-arrow img.icon2 {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
  vertical-align: middle;
}

.solution-image {
  text-align: center;
}

.solution-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* End of Solutions Section Styles */

/* About Us Section Styles */
.about-us-section {
  padding: 90px 0;
}

.about-us-section .container {
  display: flex;
  align-items: center;
  gap: 70px;
}

.about-content {
  flex: 1;
  min-width: 300px;
}

.about-content .section-heading {
  text-align: left;
  font-size: 42px;
}

.about-text {
  font-size: 18px;
  color: #374151;
  margin-bottom: 20px;
  line-height: 36px;
}

.btn-primary {
  float: right;
  display: block;
  background-color: #1e40af;
  color: #fff;
  padding: 0 25px;
  line-height: 40px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #0056b3;
}

.about-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  height: auto;
}

.shadow-image {
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* End of About Us Section Styles */

/* Certifications Section Styles */
.certifications-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  justify-items: center;
  justify-content: center;
}

.certification-card {
  position: relative;
  max-width: 100%;
  width: 281px;
  height: 212px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0px 4px 6px -4px rgba(0, 0, 0, 0.1), 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  font-family: "Inter-Bold", sans-serif;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #111827;
  transition-duration: 350ms;
  cursor: pointer;
}
.certification-card:hover {
  transform: translateY(-5px);
}
.certification-card h4 {
  margin-bottom: 15px;
  font-size: 18px;
  line-height: 28px;
  color: #111827;
  transition-duration: 0;
}
.certification-card:hover h4 {
  color: #fff;
}

.certification-card p {
  color: #6b7280;
  font-size: 14px;
  line-height: 20px;
}

.cerbackbox {
  background: #1e40af;
  border-radius: 0px 0px 999px 0px;
  width: 80px;
  height: 80px;
  position: absolute;
  left: -40px;
  top: -40px;
  transition-duration: 350ms;
}

.card-icon {
  width: 64px;
  height: 64px;
  margin: 0 0 20px;
  position: relative;
  background: #cffafe;
  border-radius: 50%;
  transition-duration: 350ms;
}

.cerli12 .card-icon {
  background: #dbeafe;
}

.cerli14 .card-icon {
  background: #d1fae5;
}

.cerli16 .card-icon {
  background: #f3e8ff;
}

.cerli18 .card-icon {
  background: #e0e7ff;
}

.cerli20 .card-icon {
  background: #fee2e2;
}

.cerli22 .card-icon {
  background: #cffafe;
}

.cerli24 .card-icon {
  background: #ccfbf1;
}

.cerli26 .card-icon {
  background: #ffedd5;
}

.cerli28 .card-icon {
  background: #dbeafe;
}

.cerli30 .card-icon {
  background: #ede9fe;
}

.background12 {
  background: #1e40af;
}

.background14 {
  background: #059669;
}

.background16 {
  background: #9333ea;
}

.background18 {
  background: #4f46e5;
}

.background20 {
  background: #dc2626;
}

.background22 {
  background: #0891b2;
}

.background24 {
  background: #0d9488;
}

.background26 {
  background: #ea580c;
}

.background28 {
  background: #3b82f6;
}

.background30 {
  background: #7c3aed;
}

.certification-card:hover .cerbackbox {
  border-radius: 0px 200px 300px 200px;
  width: 120px;
  height: 120px;
}

.certification-card.cerli12:hover {
  background: linear-gradient(to right, #5283ef, #4c73e1);
  color: #fff
}

.certification-card.cerli14:hover {
  background: linear-gradient(to right, #37ab87, #369379);
  color: #fff
}

.certification-card.cerli16:hover {
  background: linear-gradient(to right, #a85bee, #984ed8);
  color: #fff
}

.certification-card.cerli18:hover {
  background: linear-gradient(to right, #726bea, #6960d5);
  color: #fff
}

.certification-card.cerli20:hover {
  background: linear-gradient(to right, #e35151, #c74949);
  color: #fff
}

.certification-card.cerli22:hover {
  background: linear-gradient(to right, #3aa7c2, #3e91a7);
  color: #fff
}

.certification-card.cerli24:hover {
  background: linear-gradient(to right, #40aba1, #41938c);
  color: #fff
}

.certification-card.cerli26:hover {
  background: linear-gradient(to right, #ed793c, #cf683d);
  color: #fff
}

.certification-card.cerli28:hover {
  background: linear-gradient(to right, #619af7, #5183ef);
  color: #fff
}

.certification-card.cerli30:hover {
  background: linear-gradient(to right, #9763f0, #8b55e1);
  color: #fff
}

.certification-card:hover p {
  color: rgba(255, 255, 255, 0.8);
}

.certification-card:hover .card-icon {
  background: #fff;
}

.icon-vector {
  position: absolute;
  left: 50%;
  translate: -50% -50%;
  top: 50%;
  cursor: pointer;
}
/* End of Certifications Section Styles */


/* Projects Section Styles */
.projects-grid {
    padding: 60px 0 10px;
    width: 100%;
    overflow: hidden;
    position: relative;

}

.project-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.1), 0px 4px 6px -1px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  width: 100%;
  transition-duration: 300ms;
}

.project-card span{width: 100%;height: 187px;overflow: hidden;display: block;position: relative;}
.project-card img {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  height: 100%;
  width: auto;
  min-width: 100%;
}
.project-card:hover {
  transform: translateY(-5px); /* Optional: Lift the card slightly on hover */
}
.card-overlay {
  background: #fff;
  color: #374151;
  padding: 10px;
  text-align: center;
  font-size: 14px;
}

.overlay-text {
  margin: 0;
}
.carousel-buttons{position: relative;}
.carousel-button {
  position: absolute;
  top: -140px;
  text-align: center;
  display: block;
  margin: 0 5px;
  width: 30px;
  height: 30px;
  z-index: 999;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
}
.carousel-button.projects-button-prev{transform: translateX(-50px);}
.carousel-button.projects-button-next{right: 0;transform: translateX(50px);}

.carousel-button:hover {
  background-color: #999;
}
/* End of Projects Section Styles */


/* Footer Styles */
/* Footer Styles */
.site-footer {
  background-color: #1e3a8a;
  color: #fff;
  padding: 50px 50px 40px;
  max-width: 1920px;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 30px;
}

.footer-brand{
  flex: 1;
  max-width: 380px;
}

.footer-links{
  flex: 1;
  min-width: 800px;
}
.footer-misc {
  flex: 1;
  max-width: 127px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  height: auto;
  margin-bottom: 20px;
}

.copyright {
  font-size: 16px;
  color: #bfdbfe;
}

.footer-links {
  display: flex;
  gap: 70px;
}

.footer-heading {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #fff;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu1 li:nth-child(n+5){display: none;}
.footer-menu2 li{display: none;}
.footer-menu2 li:nth-child(n+5){display: block;}
.footer-nav li {
  margin-bottom: 10px;
}

.footer-nav a {
  text-decoration: none;
  font-size: 16px;
  color: #bfdbfe;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #fff;
}


.footer-contact .contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 16px;
  color: #bfdbfe;
}

.contact-item .icon {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  mask-size: cover;
  mask-repeat: no-repeat;
  mask-position: center;
}
.contact-item .icon img{width: 100%;height: 100%;display: block;}
/* End of Footer Styles */

/* Animation Styles */
.fade-in-up,
.fade-in-left,
.fade-in-right {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out; /* Smooth transition for both */
}

/* Initial states for specific directions */
.fade-in-up {
    transform: translateY(30px); /* Start slightly below */
}

.fade-in-left {
    transform: translateX(-50px); /* Start to the left */
}

.fade-in-right {
    transform: translateX(50px); /* Start to the right */
}

/* Animated state (applies to all when 'animate' class is added) */
.fade-in-up.animate,
.fade-in-left.animate,
.fade-in-right.animate {
    opacity: 1;
    transform: translate(0, 0); /* Move to original position */
}
/* End of Animation Styles */

/* Mobile Navigation Styles */
.mobile-menu-toggle {
    display: none; /* Hidden by default on desktop */
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 20px;
    justify-content: space-between;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease-in-out;
}

.mobile-menu-toggle.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 7px);
}

.mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-nav {
    display: none; /* Hidden by default */
    background-color: #fff;
    z-index: 99999;
    position: fixed;
    top: 74px; /* Adjust based on your header height */
    left: 0;
    width: 100vw;
    height: calc(100vh - 74px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 9998;
    padding-bottom: 20px; /* Add some padding at the bottom */
}
.mobile-nav ul {
    list-style: none;
    margin: 0;
    height: 100%;
    overflow-y: auto;
}
.mobile-nav li ul {
    padding: 0 0 0 1rem;
}

.mobile-nav li {
    border-bottom: 1px solid #eee;
}

.mobile-nav li:last-child {
    border-bottom: none;
}

.mobile-nav a {
    display: block;
    padding: 15px 20px;
    color: #374151;
    text-decoration: none;
    font-size: 16px;
}

.mobile-nav a:hover,
.mobile-nav .menu-on a {
    background-color: #dfefff;
    color: #1e3a8a;
}

.mobile-nav li.has-submenu ul { /* Target only ul within .has-submenu for mobile */
    display: none; /* Submenu hidden by default on mobile */
    background-color: #f8f8f8;
    padding-left: 20px;
}

.mobile-nav li ul li {
  display: inline-block;
}

.mobile-nav li ul li:last-child {
    border-bottom: none;
}

.mobile-nav li ul li a {
    padding: 10px 10px;
    font-size: 15px;
    color: #555;
    text-align: left; /* Keep mobile submenu text left-aligned for better readability */
}

.mobile-nav li.has-submenu.active > a {
    color: #1e3a8a; /* Active submenu parent color */
}


/* Media Queries */
@media (max-width: 1024px) {
  .solutions-section, .about-us-section, .certifications-section, .projects-section{padding: 60px 0;}
  .site-header {
    align-items: center;
    padding: 10px 20px;
    justify-content: space-between; /* Space out logo and toggle */
  }
  .site-header .main-nav {
    display: none; /* Hide desktop nav on smaller screens */
  }
  .search-icon {
    display: none; /* Hide search icon on mobile or reposition as needed */
  }
  .mobile-menu-toggle {
    display: flex; /* Show hamburger icon */
  }

  .container {
    padding: 0 20px;
  }
  .about-us-section .container {
    flex-direction: column;
  }

  .about-text,
  .about-image {
    min-width: unset;
    width: 100%;
  }
  .about-image img {
    max-width: 400px;
  }
    .site-footer {
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    text-align: center;
  }
  .footer-brand,
  .footer-links,
  .footer-contact,
  .footer-misc {
    min-width: unset;
    width: 100%;
  }
  .footer-links .footer-nav{display: none;}
  .footer-brand {
    align-items: center;
  }
  .footer-nav ul {
    justify-content: center;
  }
  .footer-contact .contact-item {
    justify-content: center;
  }
  .misc-image,
  .qr-code {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .solutions-section, .about-us-section, .certifications-section, .projects-section{padding: 40px 0;}
  .projects-grid{padding: 30px 0 10px;}
  .carousel-button.projects-button-prev{transform: translateX(-20px);top: -180px;}
  .carousel-button.projects-button-next{right: 0;transform: translateX(20px);top: -180px;}
  .section-heading {
    font-size: 32px;
  }
  .section-description {
    font-size: 16px;
    margin-bottom: 35px;
  }
  .card-title {
    font-size: 18px;
  }
  .card-text {
    font-size: 14px;
  }
  .about-image img {
    max-width: 100%;
  }
  .certifications-grid {
    grid-template-columns: repeat(2, 1fr); /* Display 2 columns on screens up to 768px */
    gap: 20px; /* Adjust gap for smaller screens */
  }

}

@media (max-width: 480px) {
  .certifications-grid {
    grid-template-columns: 1fr; /* Display 1 column on screens up to 480px */
    gap: 15px; /* Further adjust gap */
  }
  .certification-card {
    width: 100%; /* Make cards full width on very small screens */
  }
}



/* End of Media Queries */
.nodata{display: none;}
.loading{display: none;}


/* Search Box Styles */
.search-box {
  position: fixed;
  top: 74px; /* Adjust based on header height */
  left: 0;
  width: 100vw;
  background-color: rgba(255, 255, 255, 0.95); /* Slightly transparent white */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 20px;
  z-index: 99999; /* Ensure it's above other content */
  display: none; /* Hidden by default */
  text-align: center; /* Center the content horizontally */
}

.search-box form {
  display: flex;
  justify-content: center; /* Center form elements horizontally */
  align-items: center; /* Center form elements vertically */
  max-width: 600px; /* Limit the max-width of the form */
  margin: 0 auto; /* Center the form itself */
}

.search-box input[type="text"] {
  flex-grow: 1; /* Allow input to take available space */
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 5px 0 0 5px; /* Rounded left corners */
  font-size: 16px;
  outline: none;
  line-height: 30px;
  height: 50px; /* Match button height */
  color: #333;
}

.search-box button {
  background-color: #1e40af; /* Primary blue color */
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 0 5px 5px 0; /* Rounded right corners */
  cursor: pointer;
  font-size: 16px;
  height: 50px;
  transition: background-color 0.3s ease;
  display: flex; /* Use flex to center icon if needed */
  align-items: center;
  justify-content: center;
}

.search-box button:hover {
  background-color: #0056b3;
}

.search-box button i {
  /* Ensure Font Awesome icon is correctly sized if used */
  font-size: 18px;
}

/* Adjustments for smaller screens for the search box */
@media (max-width: 768px) {
  .search-box {
    padding: 15px;
  }
  .search-box form {
    flex-direction: column; /* Stack input and button vertically on small screens */
  }
  .search-box input[type="text"] {
    width: 100%;
    margin-bottom: 10px; /* Add space between input and button */
    border-radius: 5px; /* Full rounded corners */
  }
  .search-box button {
    width: 100%;
    border-radius: 5px; /* Full rounded corners */
  }
}