:root {
  --primary-blue: #002e5a;
  --highlight-blue: #00aeef;
  --light-blue-bg: #e6f3f8;
  --light-bg: #f5f8fa;
  --dark-blue-bg: #0a2540;
  --text-dark: #0a2540;
  --text-body: #4a5568;
  --text-light: #ffffff;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  --border-radius-sm: 0.25rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 1rem;
  --border-radius-xl: 2rem;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "hanken grotesk", sans-serif;
}

body {
  font-family: "Inter", "Open Sans", sans-serif;
  color: var(--text-body);
  line-height: 1.6;
  background-color: #f4f3ef;
  overflow-x: hidden;
}

/* .wrapper {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
} */

ul {
  list-style: none;
}

li {
  font-size: 15px;
  margin-bottom: 10px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Hanken Grotesk", sans-serif;
  color: var(--primary-blue);
  margin-bottom: var(--spacing-sm);
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 45px;
  font-weight: 700;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  margin-bottom: var(--spacing-sm);
  font-weight: 300;
  font-family: "hanken grotesk" !important;
  font-size: 18px;
}

a {
  text-decoration: none;
}

.highlight {
  color: #00aeef;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: none;
  font-family: "Inter", sans-serif;
}

.btn-primary {
  background-color: #002e5a;
  color: var(--text-light);
}

/* .btn-primary:hover {
  background-color: #0080c0;
} */

.btn-secondary {
  background-color: #7b7c7f;
  color: white;
  border: 1px solid #7b7c7f;
}

/* .btn-secondary:hover {
  background-color: #f0f0f0;
} */

.btn-secondary img {
  margin-left: 0.5rem;
}

/* Section Tags */
.section-tag {
  display: inline-block;
  background-color: transparent;
  color: #7b7c7f;
  padding: 0.5rem 1.5rem;
  border-radius: var(--border-radius-xl);
  font-weight: 400;
  font-size: 0.875rem;
  margin-bottom: var(--spacing-md);
  border: 1px solid #7b7c7f;
}
.section-tag p {
  font-size: 14px;
}

/* Header / Navigation */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0%;
  z-index: 100;

  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  max-width: 260px;
  height: 53px;
  object-fit: contain;
}

.logo img {
  width: 100%;
  height: auto !important;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  margin-right: var(--spacing-md);
}

.nav-links li {
  margin-left: var(--spacing-md);
  margin-right: var(--spacing-md);
}

.nav-links a {
  text-decoration: none;
  color: black;
  font-weight: 300;
  transition: var(--transition);
  font-size: 16px;
}

.nav-links a:hover {
  color: var(--highlight-blue);
}

.imageview_ecc4badbe757 {
  width: 775px;
  height: 763px;
  z-index: 1;
  position: absolute !important;
  left: 1176px;
  top: 126px;
  opacity: 0.800000011920929;
}

.client-portal {
  display: flex;
  align-items: center;
  background-color: var(--primary-blue);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-md);
  cursor: pointer;
}

.client-portal p {
  margin-bottom: 0;
  margin-right: 0.5rem;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  padding: 5% 0%;
  position: relative;
  overflow: hidden;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-content {
  flex: 1;
  /* max-width: 600px; */
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: var(--spacing-sm);
  line-height: 1.2;
}

.hero h2 {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-body);
  margin-bottom: var(--spacing-md);
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.hero-tagline {
  font-size: 0.9rem;
  opacity: 0.8;
}

.hero-image {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 100%;
  padding-left: 60px;
}

.sub-title {
  padding: 9.17px 16.5px 9.17px 16.5px;
  border-top: #7b7c7fff solid 1.83px;
  border-right: #7b7c7fff solid 1.83px;
  border-bottom: #7b7c7fff solid 1.83px;
  border-left: #7b7c7fff solid 1.83px;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  border-radius: 91.67px 91.67px 91.67px 91.67px;
  font-size: 16px;
}

.hero-image .decoration {
  position: absolute;
  z-index: 1;
}

/* About Us Section */
.about-us {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 5% 0%;
  align-items: center;
  width: 1400px;
  margin: 0 auto;
  gap: 50px;
}

/* .section-header {
  flex: 1;
  max-width: 600px;
} */

.about-image img {
  max-width: 100%;
}

/* Services Section */
.services {
  padding: 100px 120px;
  background-color: #002e5a;
  color: var(--text-light);
  max-width: 1400px;
  margin: 0 auto;
  border-radius: 29px;
  text-align: center;
}

.services .section-header h2,
.services .section-header p {
  color: var(--text-light);
}

.services-grid {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.service-item {
  background-color: white;
  padding: 40px;
  border-radius: var(--border-radius-lg);
  flex: 1;
  text-align: left;
  position: relative;
}

.service-item h3 {
  color: var(--text-dark);
  font-size: 23px;
}

.service-item p {
  color: var(--text-body);
}

.services-image {
  margin-top: var(--spacing-md);
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
}

.services-image img {
  max-width: 45%;
  border-radius: var(--border-radius-lg);
}

/* Who We Serve Section */
.who-we-serve {
  display: flex;
  grid-template-columns: 1fr 1fr;
  max-width: 1400px;
  margin: 0 auto;
  gap: 50px;
}

.clients-grid {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
  flex-direction: column;
}

.client-item {
  flex: 1;
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.client-icon {
  position: relative;
  margin-bottom: var(--spacing-sm);
}

/* .client-icon img:first-child {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
} */

/* .client-icon img:last-child {
  border-radius: var(--border-radius-md);
} */

.client-item h3 {
  margin-bottom: var(--spacing-xs);
}

/* Client Care Section */
.client-care {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  max-width: 1400px;
  margin: 0 auto;
}

.client-care-content {
  flex: 1;
}

.client-care-image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}

.client-care-image img {
  max-width: 100%;
  z-index: 2;
}

.client-care-image .decoration {
  position: absolute;
  z-index: 1;
}

/* Contact Section */
.contact {
  color: white;
  text-align: center;
  border-radius: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background-image: url("/assets/home/above-footer-image.png");
  background-position: center;
  background-repeat: no-repeat;
  text-align: left;
  background-size: cover;
}

.contact-form.page input {
  height: 67px;
  font-size: 18px;
}

.Professional-Team-Excellence ul li {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 300;
}

.Operational-Efficiency ul li {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 300;
}

.overlay {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #002f5aa2;
  padding: 3% 5%;
  border-radius: 40px;
}

/* .content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  padding-top: 40vh;
  font-size: 2rem;
} */

.contact h2,
.contact p {
  color: white;
}
.contact h2 {
  font-size: 45px;
}

.contact h2 .highlight {
  color: #00aeef;
  font-weight: 700;
}

.contact-info {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  margin-top: var(--spacing-md);
  align-items: center;
}

.phone,
.email {
  display: flex;
  align-items: center;
}

.phone img,
.email img {
  margin-right: var(--spacing-xs);
}

/* Footer */
/* footer {
  padding: 5%;
} */

.footer-form {
  margin-bottom: var(--spacing-lg) !important;
}

.footer-logo {
  margin-bottom: 20px;
  margin-left: 30px;
}

/* .footer-top img {
  margin-bottom: var(--spacing-sm);
} */

.social-icons {
  display: flex;
  justify-content: flex-start;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

/* .consultation-form {
  background-color: white;
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  margin-bottom: var(--spacing-lg);
} */

.consultation-form h2 {
  margin-bottom: var(--spacing-md);
  font-size: 45px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: var(--spacing-xs);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: 2px solid #002e5a;
  border-radius: 10px;
  font-family: inherit;
  background: transparent;
}

.form-group textarea {
  min-height: 100px;
}

.submit-btn {
  grid-column: 1 / -1;
  background-color: var(--primary-blue);
  color: white;
  border: none;
  border-radius: var(--border-radius-md);
  padding: 9px 27px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  width: fit-content;
}

.submit-btn:hover {
  background-color: #15365a;
}

.submit-btn img {
  margin-right: var(--spacing-xs);
}

/* .footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: var(--spacing-md);
  border-top: 1px solid #e2e8f0;
  font-size: 0.875rem;
} */

/* Hexagon shape styling */
.hexagon-container {
  position: relative;
}

.hexagon-image {
  clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 25% 100%, 0% 50%);
  border-radius: 1.5rem;
  overflow: hidden;
}

.faq-item {
  background: #e1eeef;
  padding: 30px;
  margin-bottom: 10px;
  border-radius: 20px;
}

.faq-container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 20px;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 20px;
  font-weight: 500;
  color: #002e5a;
  cursor: pointer;
  transition: all 0.3s ease;
  padding-right: 10px;
}

.faq-question:hover {
  color: #0066cc;
}

.faq-icon {
  font-size: 50px;
  font-weight: bold;
  transition: transform 0.3s ease;
  color: #00aeef;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-left: 10px;
  text-align: left;
  font-size: 16px;
  color: black;
}

.faq-answer p {
  margin: 0;
  padding: 15px 0 5px 0;
  color: #555;
  line-height: 1.5;
}

/* Active state */
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-item.active .faq-answer {
  max-height: 200px;
  /* Adjust based on your content */
}

/* Hamburger menu styles */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 100;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #333;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Mobile menu overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 90;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -450px;
  width: 350px;
  height: 100%;
  background-color: white;
  z-index: 95;
  padding: 4rem 2rem 2rem;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  overflow-y: auto;
}

.mobile-nav .nav-links {
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav .nav-links li a {
  display: block;
  font-size: 1.2rem;
}

.mobile-nav .client-portal {
  margin-top: 2rem;
  justify-content: center;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .mobile-nav {
  right: 0;
}

body.menu-open .mobile-nav-overlay {
  display: block;
  opacity: 1;
}

body.menu-open .hamburger span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

body.menu-open .hamburger span:nth-child(2) {
  opacity: 0;
}

body.menu-open .hamburger span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .footer-logo {
    margin-bottom: 20px;
    margin-left: 0px;
  }

  .main-nav {
    display: none;
  }

  .desktop.client-portal {
    display: none;
  }

  .hamburger {
    display: flex;
  }
  .main-header {
    padding: 1rem;
  }

  .about-us,
  .who-we-serve,
  .footer-form {
    grid-template-columns: 1fr !important;
  }
  .who-we-serve {
    flex-direction: column-reverse !important;
  }
  .footer-form {
    padding: 30px;
    text-align: center;
  }
  .footer-top {
    text-align: center !important;
    margin: 0;
    padding: 0 !important;
  }
  .footer-bottom-divv {
    flex-direction: column !important;
    align-items: center !important;
  }
  .social-icons {
    display: flex;
    justify-content: center;
  }
  /* section{
              padding: 0 30px;
            } */
  .about-us,
  .contact,
  .who-we-serve {
    width: 100% !important;
  }
  .contact {
    padding: 0 !important;
  }
  .contact .content {
    padding: 20px;
    text-align: center;
  }
  .services-grid {
    flex-direction: column;
  }
  section {
    padding: 50px 30px !important;
  }
  .services {
    padding: 30px;
  }
  .hide-on-mobile {
    display: none;
  }
  /* .contact-info {
              align-items: flex-start;
            } */
  .padding-mobile {
    padding: 20px !important;
  }
  .mobile-grid {
    grid-template-columns: 1fr !important;
  }
  .about-us-fix-padding {
    padding: 0 !important;
  }
  .page-title {
    padding: 30px;
    height: 170px !important;
  }
  .page-title h1 {
    font-size: 30px !important;
  }
  .smart-inventory-fix-padding {
    padding: 50px 0px !important;
  }
  .fix-padding-left {
    padding: 0px !important;
  }
  .btn-primary,
  .btn-secondary {
    font-size: 14px !important;
  }
  .logo {
    height: auto !important;
  }
  h2 {
    font-size: 26px !important;
  }
  .top-image {
    display: none !important;
  }
  .imageview_ecc4badbe757 {
    display: none !important;
  }
  .faq-container {
    padding: 20px 0 !important;
  }
  .faq-question {
    text-align: left !important;
  }
  .faq-item {
    padding: 20px;
  }
  .fix-padding-right {
    padding: 0px !important;
  }
  .prev {
    left: -20px !important;
  }
  .next {
    right: -20px !important;
  }
  .client-item {
    flex-direction: column;
  }
  .client-item.none {
    flex-direction: row !important;
  }
  .client-item p {
    font-size: 18px !important;
  }
  .consultation-form.contact-page {
    padding: 30px !important;
  }
}

@media (max-width: 576px) {
  .main-header {
    padding: 1rem;
  }

  .logo img {
    height: 32px;
  }
}

/* Team carousel styling */
.carousel-container {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
  padding-top: 50px;
}

.carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-item {
  flex: 0 0 33.33%; /* Default for desktop: three items visible */
  padding: 10px;
  box-sizing: border-box;
  transition: opacity 0.3s ease-in-out;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 65px;
  height: 65px;
  background-color: rgba(255, 255, 255, 0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border: 1px solid #00aeef;
}

.carousel-control.prev {
  left: 0px;
}

.carousel-control.next {
  right: 0px;
}

.carousel-control svg {
  width: 34px;
  height: 34px;
  fill: #00aeef;
}

/* Team card styling */
.team-card {
  border-radius: 15px;
  overflow: hidden;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.team-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: grayscale(100%);
  transition: all 0.5s ease;
}

/* .carousel-item.active .team-image {
  filter: grayscale(0%);
} */

.team-info {
  padding: 30px;
  text-align: center;
  border-radius: 20px;
  background: white;
  color: #333;
  transition: all 0.5s ease;
  margin: 0 auto;
  z-index: 10000;
  position: relative;
  border: 2px solid #00aeef;
  margin-left: 20px;
  margin-right: 20px;
}

.carousel-item.active .team-info {
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 400px;
}

.carousel-item.active .team-info {
  background: #00aeef;
  color: white !important;
}

.carousel-item.active .team-card .team-name,
.carousel-item.active .team-card .team-title {
  color: white !important;
}

.team-name {
  color: #00aeef;
  margin-bottom: 5px;
  font-size: 20px;
}

.team-title {
  /* color: #00aeef; */
  margin: 10px 0;
  font-size: 16px;
}

.team-email {
  font-size: 14px;
  word-break: break-all;
  color: #002e5a;
  font-weight: bold;
}

.carousel-item.active .team-email {
  color: #ffffff;
}

/* Item state styling */
.carousel-item {
  /* opacity: 0.7; */
  transform: scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.carousel-item.active {
  opacity: 1;
  transform: scale(1);
}

/* .carousel-item.active .team-card {
  box-shadow: 0 6px 20px rgba(0, 46, 90, 0.2);
} */

/* Responsive styles */
@media (max-width: 992px) {
  .carousel-item {
    flex: 0 0 100%; /* One item per view on mobile */
  }

  /* On mobile, we want to show only the active item clearly */
  .carousel-item {
    opacity: 0.5;
    transform: scale(0.85);
  }

  .carousel-item.active {
    opacity: 1;
    transform: scale(1);
  }

  .carousel-control {
    width: 30px;
    height: 30px;
  }

  .carousel-control svg {
    width: 20px;
    height: 20px;
  }
  .mobile-grid .item-1 {
    order: 2;
  }
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .hero h1 {
    font-size: 2.3rem;
  }

  .services-grid,
  .clients-grid {
    flex-direction: column;
  }
}

@media (max-width: 992px) {
  .hero,
  .about-us,
  .client-care {
    flex-direction: column;
    padding: 0px;
  }
  .hero {
    flex-direction: column-reverse !important;
  }
  .hero-image img {
    padding: 0;
  }

  .hero-content,
  .section-header,
  .client-care-content {
    max-width: 100%;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* .main-header {
    flex-direction: column;
    align-items: flex-start;
  } */

  .nav-links {
    margin: var(--spacing-sm) 0;
    flex-direction: column;
  }

  .nav-links li {
    margin: var(--spacing-xs) 0;
  }

  /* .hero-buttons {
    flex-direction: column;
  } */

  .contact-info {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-xs);
  }
  .prev {
    left: 0px !important;
  }
  .next {
    right: 0px !important;
  }
}
