* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #06111d;
  font-family: Poppins, sans-serif;
  color: white;
}

img {
  width: 100%;
  display: block;
}

section,
header {
  width: 90%;
  margin: auto;
}

h1,
h2,
h3 {
  font-family: Cinzel, serif;
}

.hero {
  width: 100%;
  height: 100vh;
  display: grid;
  grid-template-columns: 42% 58%;
  background: linear-gradient(135deg, #020d1c 0%, #071a35 45%, #0d2549 100%);
  overflow: hidden;
  position: relative;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
}

.hero-left {
  padding: 35px 50px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(90deg,
      rgba(2, 10, 20, 0.97) 0%,
      rgba(7, 25, 50, 0.92) 100%);
}

.hero-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 70px;
}

.hero-nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

.hero-nav a {
  text-decoration: none;
  color: #d2d2d2;
  font-size: 14px;
  transition: 0.3s;
}

.hero-nav a:hover {
  color: #e7c476;
}

.hero-content {
  margin-top: auto;
  margin-bottom: auto;
}

.subtitle {
  font-size: 22px;
  color: #7bb7ff;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-family: Cinzel;
}

.hero h1 {
  font-size: 74px;
  line-height: 0.95;
  margin: 18px 0 30px;
  color: #ffffff;
  text-shadow: 0 0 30px rgba(79, 140, 255, 0.35);
  font-family: Cinzel;
}

.hero p {
  max-width: 430px;
  line-height: 1.8;
  color: #c8c8d6;
  margin-bottom: 35px;
}

.hero-info {
  display: flex;
  gap: 30px;
}

.hero-info div {
  padding: 10px 16px;
  border-radius: 40px;
  background: rgba(79, 140, 255, 0.08);
  border: 1px solid rgba(79, 140, 255, 0.25);
  color: #d8e7ff;
  backdrop-filter: blur(10px);
  font-size: 15px;
}

.hero-right {
  position: relative;
  overflow: hidden;
  width: 980px;
}

.hero-right::before {
  content: '';

  position: absolute;

  inset: 0;

  background:
    radial-gradient(circle at 70% 40%,
      rgba(79, 140, 255, 0.35),
      transparent 45%),
    radial-gradient(circle at 80% 60%,
      rgba(120, 190, 255, 0.15),
      transparent 55%),
    linear-gradient(90deg, rgba(5, 15, 30, 0.9), transparent 35%);
}

.hero-right img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.hero-text h1 {
  font-size: 60px;
  color: #e5c177;

  margin-bottom: 30px;
}

.hero-text p {
  font-size: 18px;
  line-height: 1.8;
  color: #b8c1d4;

  margin-bottom: 40px;
}

.buttons {
  display: flex;
  gap: 20px;
}

.buttons a {
  padding: 16px 36px;

  text-decoration: none;

  border-radius: 40px;

  background: #d9b56d;

  color: black;

  font-weight: 600;

  transition: 0.3s;
}

.buttons a:hover {
  transform: translateY(-4px);
}

.buttons .outline {
  background: transparent;

  border: 1px solid #d9b56d;

  color: #d9b56d;
}

.hero-image img {
  border-radius: 25px;

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.search-hero {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}

.search-container {
    width: 100%;
    max-width: 800px;
    text-align: center;

    background: linear-gradient(145deg, #141c2e, #0f1726);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 16px;

    padding: 40px 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.search-container h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #f5e6b3;
}

.search-form {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.search-form input {
    flex: 1;
    min-width: 250px;

    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);

    background: #0b1220;
    color: #fff;
    font-size: 16px;
}

.search-form input:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 10px rgba(212,175,55,0.3);
}

.search-form button {
    padding: 14px 20px;
    border-radius: 10px;
    border: none;

    background: #d4af37;
    color: #0b1220;

    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.search-form button:hover {
    background: #f0d27a;
}

.hint {
    margin-top: 12px;
    font-size: 13px;
    color: #9aa4b2;
}

.feature {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 80px;

  padding: 120px 0;

  align-items: center;
}

.feature:nth-child(even) {
  direction: rtl;
}

.feature:nth-child(even) * {
  direction: ltr;
}

.feature h2 {
  font-size: 48px;

  color: #d9b56d;

  margin-bottom: 25px;
}

.feature p {
  line-height: 1.9;

  color: #b5bfd2;

  margin-bottom: 35px;
}

.feature a {
  display: inline-block;

  padding: 15px 35px;

  border-radius: 50px;

  background: #d9b56d;

  color: black;

  text-decoration: none;

  font-weight: 600;
}

.feature img {
  border-radius: 25px;
}

.cards {
  display: grid;

  grid-template-columns: 2fr 1fr 1fr;

  gap: 30px;

  padding-bottom: 120px;
}

.image-card img {
  border-radius: 25px;

  height: 100%;

  object-fit: cover;
}

.info-card {
  padding: 45px;

  border-radius: 20px;

  background: rgba(255, 255, 255, 0.02);

  border: 1px solid rgba(214, 178, 107, 0.25);

  transition: 0.4s;
}

.info-card:hover {
  transform: translateY(-10px);

  border-color: #d9b56d;

  box-shadow: 0 0 30px rgba(214, 178, 107, 0.25);
}

.info-card h3 {
  font-size: 28px;

  color: #d9b56d;

  margin-bottom: 20px;
}

.info-card p {
  line-height: 1.8;

  color: #b8c2d3;
}

.why {
  padding-bottom: 120px;

  text-align: center;
}

.why h2 {
  font-size: 48px;

  color: #d9b56d;

  margin-bottom: 60px;
}

.grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 25px;
}

.box {
  padding: 40px;

  border-radius: 18px;

  background: rgba(255, 255, 255, 0.02);

  border: 1px solid rgba(214, 178, 107, 0.2);

  transition: 0.35s;
}

.box:hover {
  transform: translateY(-8px);

  box-shadow: 0 0 30px rgba(214, 178, 107, 0.15);
}

.box h3 {
  margin-bottom: 20px;

  color: #d9b56d;
}

.box p {
  color: #b8c2d3;

  line-height: 1.8;
}

@media (max-width: 1024px) {

    .hero {
        grid-template-columns: 55% 45%;
        height: auto;
    }

    .hero h1 {
        font-size: 60px;
    }
}

@media (max-width: 900px) {

  .hero,
  .feature,
  .cards,
  .grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 42px;
  }

  .stats {
    gap: 30px;
  }
}

@media (max-width: 853px) {
  .hero {
        grid-template-columns: 1fr;
        height: 75vh;
        text-align: center;
    }

  .hide-mobile {
    display: none;
  }

  .hero-left {
        padding: 40px 30px;
    }

    .hero h1 {
        font-size: 44px;
    }

    .hero p {
        max-width: 100%;
        font-size: 18px;
    }

    .hero-info {
        flex-wrap: wrap;
        gap: 12px;
        justify-self: center;
    }

    .hero-info div {
      font-size: 17px;
    }
}

@media (max-width: 820px) {

  .hero {
        grid-template-columns: 1fr;
        height: 75vh;
        text-align: center;
    }

  .hide-mobile {
    display: none;
  }

  .hero-left {
        padding: 40px 30px;
    }

    .hero h1 {
        font-size: 44px;
    }

    .hero p {
        max-width: 100%;
        font-size: 18px;
    }

    .hero-info {
        flex-wrap: wrap;
        gap: 12px;
        justify-self: center;
    }

    .hero-info div {
      font-size: 17px;
    }
}

@media (max-width: 768px) {

    .hero {
        grid-template-columns: 1fr;
        height: 75vh;
        text-align: center;
    }

    /* Hide right image completely */
    .hide-mobile {
        display: none;
    }

    .hero-left {
        padding: 40px 30px;
    }

    .hero h1 {
        font-size: 44px;
    }

    .hero p {
        max-width: 100%;
    }

    .hero-info {
        flex-wrap: wrap;
        gap: 12px;
        justify-self: center;
    }
}

@media (max-width: 540px) {

    .hero h1 {
        font-size: 34px;
        line-height: 1.05;
    }

    .hero-nav ul {
        display: none; /* optional: hides menu for mobile */
    }

    .subtitle {
        font-size: 16px;
    }
}

@media (max-width: 480px) {

    .hero h1 {
        font-size: 34px;
        line-height: 1.05;
    }

    .hero-nav ul {
        display: none; /* optional: hides menu for mobile */
    }

    .subtitle {
        font-size: 16px;
    }
}

@media (max-width: 412px) {
  .hero-info div {
    font-size: 16px;
  }
}

@media (max-width: 390px) {
  .hero-info div {
    font-size: 13px;
  }
}

@media (max-width: 375px) {
  .hero {
    height: 88vh;
  }

  .hero-info div {
    font-size: 13px;
  }
}

@media (max-width: 360px) {
  .hero {
    height: 89vh;
  }

  .hero-info div {
    font-size: 12px;
  }
}

@media (max-width: 344px) {
  .hero-info div {
    font-size: 11px;
  }
}

@media (max-width: 320px) {
  .hero-left {
    padding: 40px 24px;
  }

  .hero-info {
    gap: 7px;
  }

  .hero p {
    font-size: 15px;
  }
}