* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #002559;
  --primary-light: #182c3d;
  --dark-bg: #1a1f3a;
  --light-bg: #f4f6f9;
  --text-dark: #2d3436;
  --text-light: #636e72;
  --border-color: #e0e3e8;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--light-bg);
}

.body {
  background-color: var(--white);
}
/* Header */
.header {
  background-color: var(--white);
  padding: 0.7rem 1.8rem;
  max-width: 80vw;
  margin: 0 auto;
  position: sticky;
  top: 0;
  z-index: 1000;
  /* box-shadow: 0 2px 3px rgba(0, 0, 0, 0.08); */
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.logo img {
  height: 60px;
  width: auto;
}

.nav .nav-list {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 500;
}

.nav .nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
}

/* main */

/* Main slider container */
.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  max-width: 1400px;
  margin: auto;
}

/* Slide track */
.slides {
  display: flex;
  transition: transform 0.6s ease-in-out;
  color: var(--white);
}

/* Each slide */
.slide {
  width: 100%;
  height: 500px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  padding: 20px;
}

/* Slide backgrounds */
.slide-1 {
  background: var(--dark-bg);
}
.slide-2 {
  background: rgb(163, 162, 162);
}
.slide-3 {
  background: rgb(161, 161, 223);
}
/* button  */

.slide div button {
  width: 120px;
  padding: 16px 10px;
  background-color: var(--dark-bg);
  color: var(--white);
  border: none;
  border-radius: 3px;
  font-weight: 600;
  margin-top: 12px;
}

.slide-1 div button {
  background-color: var(--white);
  color: var(--dark-bg);
}
/* Arrows */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  padding: 10px 16px;
  color: white;
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
  border-radius: 4px;
}

.prev {
  left: 20px;
}
.next {
  right: 20px;
}

.arrow:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Dots */
.dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.dots button {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: none;
  background: #aaa;
  cursor: pointer;
  transition: 0.3s;
}

.dots button.active {
  background: white;
  transform: scale(1.2);
}

/* Partner */
.partner {
  background: var(--white);
  padding: 20px;
}
.partner .container {
  margin: 0 12rem;
}

.carousel {
  overflow: hidden;
  width: 100%;
  position: relative;
  display: flex;
}

.partner_list {
  display: flex;
  gap: 2rem;
  list-style-type: none;
  padding: 10px;
  margin: 0;
  animation: scroll 15s linear infinite;
}

.partner_list li {
  min-width: 300px;
  white-space: nowrap;
  font-size: 1.2rem;
  font-weight: bold;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.carousel:hover .partner_list {
  animation-play-state: paused;
}

/* features */
/* Whole slider container */
.slider-f {
  position: relative;
  width: 100%;
  overflow: hidden;
  max-width: 1400px;
  margin: auto;
}

/* Slides wrapper */
.slides-f {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

/* Each slide */
.slide-f {
  flex-shrink: 0;
  width: 100%;
  height: 500px;
  display: flex; /* ← SIDE BY SIDE */
  position: relative;
  background: var(--dark-bg);
}

/* Image container = 70% width */
.img-f-bg {
  margin: auto;
  width: 75%;
  height: 90%;
  overflow: hidden;
  position: relative;

  display: flex; /* center container */
  justify-content: center; /* center horizontally */
  align-items: center;
  background-color: var(--primary-light);
}

.img-f-bg img {
  height: 100%; /* fill vertically */
  width: auto; /* keep natural ratio */
  object-fit: cover;
}

/* TEXT BOX — white background, overlaying image */
.slide-f-text {
  width: 350px;
  z-index: 5;
  background: white;
  color: black;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.25);

  position: relative; /* ← NO MORE absolute! */
  margin-left: 40px;
  margin-right: -120px; /* ← Overlap amount */
  align-self: center; /* ← Vertically centered */
}

.slide-f-text h1 {
  font-size: 34px;
  margin: 10px 0;
}

.slide-f-text a {
  color: #003d99;
  font-weight: 600;
  margin-top: 15px;
  display: inline-block;
}

/* Arrows + dots (unchanged from earlier code) */
.arrow-f {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.55);
  border: none;
  padding: 12px 18px;
  color: white;
  font-size: 22px;
  cursor: pointer;
  border-radius: 4px;
  z-index: 10;
}

.prev-f {
  left: 20px;
}
.next-f {
  right: 20px;
}

.dots-f {
  position: absolute;
  bottom: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.dots-f button.active {
  background: white;
  transform: scale(1.2);
}

/* Footer */
.footer {
  background-color: var(--white);
  color: #2a2a2c;
  padding: 3rsem 2rem 1rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
}

.footer-col h3 {
  color: #2a2a2c;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  text-decoration: none;
  color: #777879;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--primary-color);
}

.footer-brand {
  text-align: center;
}

.footer-brand img {
  max-width: 80px;
  margin-bottom: 0.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
  font-size: 1.5rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(26, 179, 148, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--primary-color);
  color: #2a2a2c;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(22, 21, 21, 0.1);
  padding-top: 1.5rem;
  color: #7d8692;
  font-size: 0.9rem;
}
