:root {
  --primary: #0c3059;
  --primary-hover: #153e80;
  --secondary: #162b45;
  --white: #ffffff;
  --muted: #7b8ca6;
  --light: #f8fafc;
  --border: #d1d5db;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.12);

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;

  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family:
    "Poppins",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Helvetica Neue",
    Arial,
    sans-serif;
  line-height: 1.6;
  background: #fff;
  color: #111827;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}
h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}
h3 {
  font-size: 1.4rem;
}
h4 {
  font-size: 1.2rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  font-weight: 600;
  color: var(--secondary);
}

p {
  max-width: 75ch;
  color: var(--muted);
  font-size: 1rem;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1rem;
}

.section {
  padding: clamp(3rem, 6vw, 6rem) 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.card {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.text-center {
  text-align: center;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hidden {
  display: none;
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 999;
  border-bottom: 1px solid var(--border);
}

.navbar {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 65px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.animated-link {
  display: inline-block;
  position: relative;
  padding: 0.5rem 1rem;
  color: var(--secondary);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
  z-index: 1;
}
.animated-link.active {
  color: var(--primary);
  background: rgba(12, 48, 89, 0.08);
  border: 2px solid var(--primary);
  border-radius: 6px;
  pointer-events: none;
}

.animated-link::before,
.animated-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 2px solid var(--primary);
  border-radius: 6px;
  transition: all 0.4s cubic-bezier(0.39, 0.575, 0.565, 1);
  z-index: 0;
  opacity: 0;
  pointer-events: none;
}

.animated-link::before {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}

.animated-link::after {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}

.animated-link:hover::before,
.animated-link:hover::after {
  width: 100%;
  height: 100%;
  opacity: 1;
}

.animated-link:hover {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  font-size: 1.4rem;
}

.nav-toggle i {
  transition: transform 0.3s ease;
}

.nav-links.show ~ .nav-toggle i {
  transform: rotate(90deg);
}

.hero {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.6)
  );
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.slide-text {
  color: var(--white);
  font-size: 3rem;
  font-weight: bold;
  text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.7);
  animation: fadeInUp 1s ease-in-out;
  max-width: 900px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: var(--muted);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10;
}

.hero-nav:hover {
  cursor: pointer;
}

.prev {
  left: 20px;
}
.next {
  right: 20px;
}

.logo-carousel {
  padding: var(--space-xl) 0;
  position: relative;
}

.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: var(--space-md);
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.carousel-item {
  flex: 0 0 auto;
  width: calc((100% - (var(--space-lg) * 2)) / 4);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.carousel-item img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}
.carousel-item:hover img {
  transform: scale(1.15);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
}

/* Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.carousel-arrow:hover {
  background: var(--white);
  color: #fff;
}

.carousel-arrow.left {
  left: 10px;
  color: var(--primary);
}

.carousel-arrow.right {
  right: 10px;
  color: var(--primary);
}

.about-section {
  padding: var(--space-xl) 0;
  background: var(--light);
}

.about-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-lg);
}

.about-text {
  flex: 1 1 50%;
  max-width: 600px;
}

.about-pretitle {
  display: inline-block;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.2rem;
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--secondary);
  margin-bottom: var(--space-md);
}

.about-description {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}
.about-image {
  flex: 1 1 50%;
  display: flex;
  justify-content: center;
}

.about-image img {
  border-radius: var(--radius-md);
  max-width: 100%;
  object-fit: cover;
}

.contact {
  display: flex;
  justify-content: center;
}

.about-banner {
  position: relative;
  width: 100%;
  min-height: 50vh;
  background: url("../images/about-banner.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-page-banner {
  background: url("../images/contact-page-banner.jpeg") center/cover no-repeat;
}
.contact-product-banner {
  background: url("../images/contact-banner.jpeg") center/cover no-repeat;
}
.about-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(12, 48, 89, 0.45), rgba(12, 48, 89, 0.45));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl) 1rem;
}

.about-banner .container {
  position: relative;
  z-index: 2;
}

.about-banner h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: var(--space-sm);
}

.partners {
  background: var(--light);
}

.partners-title {
  text-align: center;
  margin-bottom: 3rem;
}

.partners-title h2 {
  font-size: 2.2rem;
  margin-top: 0.75rem;
  font-weight: 700;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.partner-card {
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.partner-card img {
  width: 200px;
  height: 150px;
  object-fit: contain;
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}
.partner-card:hover img {
  transform: scale(1.15);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
}

.office-section {
  padding: var(--space-xl) 0;
}

.office-container {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: 1rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.office-box {
  padding: 2rem;
}

.office-box h3 {
  font-size: 1rem;
  letter-spacing: 0.18em;
  color: var(--primary);
  margin-bottom: var(--space-md);
  font-weight: 600;
}

.office-box p {
  font-size: 1rem;
  line-height: 1.7;
  margin: 0.15rem 0;
  color: var(--muted);
}

.office-box .company {
  font-weight: 600;
  color: var(--secondary);
}

.office-box strong {
  color: var(--secondary);
}

.office-box .spacer {
  margin-top: var(--space-md);
}

.mapform-section {
  padding: var(--space-xl) 0;
  background: var(--white);
}

.mapform-container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-lg);
  align-items: stretch;
}

.map-box iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.form-box {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.form-box h3 {
  margin-bottom: var(--space-md);
  font-size: 1.4rem;
  color: var(--secondary);
  letter-spacing: 0.05em;
}

.success-msg {
  background: #e7f8ef;
  color: #1e7f43;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
  font-size: 0.85rem;
  box-shadow: var(--shadow-sm);
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
}

.success-msg.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.form-group {
  margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.form-group textarea {
  resize: none;
  height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}

.btn-submit {
  width: 100%;
  padding: 0.75rem;
  background: var(--primary);
  color: var(--white);
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-submit:hover {
  background: var(--primary-hover);
}

.footer {
  background-color: var(--primary);
  display: flex;
  justify-content: center;
  padding: var(--space-lg) 0;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
}

.footer p {
  color: var(--white);
}
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  height: 56px;
  padding: 0 16px;
  background-color: #25d366;
  color: #fff;
  border-radius: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  text-decoration: none;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  width: 56px;
  overflow: hidden;
  transition:
    width 0.35s ease,
    background-color 0.3s ease;
}

.whatsapp-float i {
  font-size: 28px;
  min-width: 28px;
}

.whatsapp-text {
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.whatsapp-float:hover {
  width: 160px;
  background-color: #1ebe5d;
}

.whatsapp-float:hover .whatsapp-text {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 1200px) {
  .carousel-item {
    width: calc((100% - (var(--space-md) * 3)) / 4);
  }
}

@media (max-width: 1024px) {
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .carousel-item {
    width: calc((100% - (var(--space-md) * 1)) / 3);
  }
  .mapform-container {
    grid-template-columns: 1fr;
  }

  .map-box iframe {
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .logo img {
    height: 36px;
  }

  .nav-toggle {
    display: block;
    color: var(--primary);
  }

  .nav-links {
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    transition: var(--transition);
  }

  .nav-links.show {
    transform: translateY(0);
    top: 70px;
  }

  .slide-text {
    font-size: 2rem;
  }
  .hero-nav {
    font-size: 2rem;
    padding: 15px;
  }

  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .lg-break {
    display: none;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .office-container {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 600px) {
  .carousel-item {
    width: calc(100% / 2);
  }
}
