/* ===================== RESET & BASE STYLES ===================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f7f9fc;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===================== HEADER ===================== */
header {
  background-color: #004aad;
  padding: 15px 0;
  color: white;
  position: sticky;
  top: 0;
  z-index: 999;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  display: flex;
  gap: 10px;
  align-items: center;
}
.logo img{
  width: 15%;
  height: 35px;
  border-radius: 25px;
}

nav {
  position: relative;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffd966;
}

/* Header Buttons */
.btn-primary {
  background-color: #ffd966;
  color: #004aad;
  border-radius: 30px;
  padding: 12px 28px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: #ffc107;
}

/* ===================== HAMBURGER MENU ===================== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  order: 2;
  margin-left: auto;
}

.hamburger:focus {
  outline: none;
}

.hamburger .bar {
  width: 100%;
  height: 3px;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ===================== HERO SECTION ===================== */
.hero {
  background: linear-gradient(rgba(0,74,173,0.85), rgba(0,74,173,0.85)),
    url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
  color: white;
  padding: 120px 20px 80px;
  text-align: center;
}

.hero h1 {
  font-size: 3.8rem;
  margin-bottom: 10px;
  letter-spacing: 3px;
}

.tagline {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #ffd966;
}

.hero-text {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}


.btn-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
  border-radius: 30px;
  padding: 12px 28px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  background-color: white;
  color: #004aad;
  text-decoration: none;
}

/* ===================== FEATURES ===================== */
.features {
  padding: 60px 0 40px;
  text-align: center;
}

.features h2 {
  font-size: 2.8rem;
  color: #004aad;
  margin-bottom: 40px;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  background: white;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
}

.feature-card i {
  font-size: 3rem;
  color: #004aad;
  margin-bottom: 20px;
}

.feature-card h3 {
  margin-bottom: 15px;
  font-weight: 700;
  font-size: 1.4rem;
  color: #004aad;
}

.feature-card p {
  font-size: 1rem;
  color: #555;
}

/* ===================== SEARCH INFO ===================== */
.search-info {
  background-color: #004aad;
  color: white;
  padding: 50px 20px;
  border-radius: 12px;
  max-width: 900px;
  margin: 60px auto 80px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.5;
}

/* ===================== FOOTER ===================== */
footer {
  background-color: #222;
  color: #eee;
  padding: 30px 20px;
  font-family: Arial, sans-serif;
  text-align: center;
}

.footer {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-head {
  color: #fff;
  margin-bottom: 10px;
}

.contacts {
  flex: 1;
  min-width: 200px;
  margin-bottom: 20px;
}

.footer-content a {
  color: #ffd966;
  text-decoration: none;
}

.footer-content a:hover {
  text-decoration: underline;
}

.contact-info {
  margin-bottom: 10px;
}

.social-icons a {
  margin: 0 12px;
  font-size: 1.4rem;
  color: white;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #ffd966;
}
/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
  nav {
    width: 100%;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: #004aad;
    flex-direction: column;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
    width: 100%;
    order: 3;
  }

  .nav-links.open {
    max-height: 300px;
  }

  .nav-links a {
    margin: 15px 0;
    padding: 10px 20px;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero-text {
    font-size: 1rem;
    padding: 0 10px;
  }

  .hero-buttons a {
    margin: 8px 0;
    width: 80%;
    max-width: 300px;
    text-align: center;
    text-decoration: none;
  }

  .feature-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .search-info {
    font-size: 1rem;
    padding: 30px 15px;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.5rem;
    border-radius: 25px;
  }

  nav a {
    font-size: 1rem;
  }

  .hero h1 {
    font-size: 2.4rem;
  }
}
