/* ------------------------------
   BASIC RESET
------------------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Lato', 'Arial', sans-serif;
}

body {
  background-image: linear-gradient(rgb(0, 102, 255),rgb(255, 255, 255));
}

/* ------------------------------
   HEADINGS
------------------------------ */
h1, p {
  color: #fff;
  text-align: center;
  line-height: 1.4;
}

h1 {
  font-size: 2.2rem;
}

h2 {
  color: #000;
  font-size: 1.3rem;
  text-align: center;
  margin-bottom: 10px;
}

/* ------------------------------
   PAGE STRUCTURE
------------------------------ */
.page-wrapper {
  width: 100%;
  height: auto;
}

.nav-wrapper {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.grad-bar {
  width: 100%;
  height: 5px;
  background: linear-gradient(-45deg, #EE7752, #E73C7E, #23A6D5, #23D5AB);
  background-size: 400% 400%;
  animation: gradbar 15s ease infinite;
}

/* ------------------------------
   NAVBAR
------------------------------ */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 55px;
  padding: 0 20px;
  background-color: rgb(0, 102, 255);
  box-shadow: none;
  position: relative; /* added for logo centering */
}

/* ------------------------------
   FIXED CENTERED LOGO
------------------------------ */
.navbar-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.navbar-logo img {
  height: 40px;
  width: auto;
  transition: transform 0.3s ease;
}

.navbar-logo img:hover {
  transform: scale(1.1);
}

/* ------------------------------
   MENU TOGGLE (ALWAYS VISIBLE)
------------------------------ */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  width: 25px;
  height: 25px;
  margin-left: 10px;
}

.menu-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: #ffffff;
  margin: 3px 0;
  transition: 0.3s ease;
}

.is-active .bar:nth-child(2) {
  opacity: 0;
}

.is-active .bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.is-active .bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ------------------------------
   LANGUAGE BUTTON
------------------------------ */
.lang-btn {
  border: 2px solid white;
  color: white;
  background-color: transparent;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.lang-btn:hover {
  opacity: 0.8;
}

/* ------------------------------
   NAV MENU
------------------------------ */
.nav {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 55px;
  left: 0;
  width: 100%;
  height: calc(100vh - 55px);
  background-color: rgb(235, 235, 235);
  justify-content: flex-start;
  align-items: center;
  padding-top: 40px;
  text-align: center;
  transform: translateX(-100%);
  transition: transform 0.4s ease-in-out;
}

.nav.mobile-nav {
  display: flex;
  transform: translateX(0);
}

.nav-item {
  padding: 15px 0;
}

.nav-item a {
  color: #002fff;
  font-size: 30px;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-item a:hover {
  color: #23a6d5;
}

/* ------------------------------
   HEADLINE SECTION
------------------------------ */
.headline {
  width: 100%;
  height: 95vh;
  min-height: 350px;
  background: linear-gradient(rgb(0, 102, 255),rgb(255, 255, 255));
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ------------------------------
   FEATURES
------------------------------ */
.features {
  width: 100%;
  background-color: #f1f1f1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 50px 20px;
}

.feature-container {
  flex-basis: 30%;
  min-width: 280px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  margin: 10px;
  padding: 20px;
  text-align: center;
  transition: transform 0.2s ease;
}

.feature-container:hover {
  transform: translateY(-5px);
}

.feature-container img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 15px;
}

.feature-container p {
  color: #000;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.centered {
  font-weight: 550;
  color: white;
  font-size: 20px;
  border-radius: 10px;
  border: 3px solid white;
  background-color: transparent;
  padding: 20px;
  transition: 1s ease;
}

.centered:hover {
  transition: 1s ease;
  scale: 1.1;
}

.container-about {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.centered-about {
  width: 60%;
  font-weight: 550;
  color: white;
  font-size: 20px;
  border-radius: 10px;
  border: 3px solid white;
  background-color: transparent;
  padding: 20px;
  transition: 1s ease;
}

/* For Chrome, Edge, Safari */
::-webkit-scrollbar {
  display: none;
}

/* For Firefox */
html {
  scrollbar-width: none;
}

/* For IE/Edge Legacy */
body {
  -ms-overflow-style: none;
}

/* ------------------------------
   KEYFRAMES
------------------------------ */
@keyframes gradbar {
  0% { background-position: 0% 50% }
  50% { background-position: 100% 50% }
  100% { background-position: 0% 50% }
}

/* ------------------------------
   RESPONSIVE
------------------------------ */
@media (max-width: 720px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1rem; }
  p { font-size: 0.9rem; }

  .navbar-logo img {
    height: 32px;
  }
}

/* ---------------------------------------------------- */
/* PARTNERS SECTION */
.partners-section {
  width: 100%;
  height: 1000px;
  background-color: #ffffff;
  padding: 100px 20px;
  text-align: center;
}

.partners-section h2 {
  font-size: 1.8rem;
  margin-bottom: 40px;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

.partner-box {
  background: transparent;
  border-radius: 10px;
  padding: 50px 20px;
  font-weight: 600;
  color: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-img {
  border-radius: 10px;
}

.partner-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

@media (max-width: 720px) {
  .partners-section h2 {
    font-size: 1.4rem;
  }
  .partner-box {
    padding: 40px 10px;
    font-size: 0.95rem;
  }
}
