/* Reset */
* {
  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;
}

/* CONTACT SECTION */
.contact {
  padding: 60px 0 80px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact h1 {
  font-size: 2.8rem;
  color: #004aad;
  margin-bottom: 20px;
}

.contact p {
  font-size: 1.15rem;
  color: #555;
  margin-bottom: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.contact-form label {
  font-weight: 600;
  color: #004aad;
  text-align: left;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  border-radius: 6px;
  border: 1.5px solid #ccc;
  font-size: 1rem;
  resize: vertical;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #004aad;
  outline: none;
}

.contact-form textarea {
  min-height: 120px;
}

.contact-form button {
  background-color: #ffd966;
  color: #004aad;
  padding: 15px;
  border: none;
  border-radius: 30px;
  font-weight: 700;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #ffc107;
}

/* CONTACT INFO */
.contact-info {
  font-size: 1rem;
  color: #555;
}

.contact-info a {
  color: #004aad;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

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;
}

/* 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;
}

.hamburger:focus {
  outline: none;
}

.hamburger .bar {
  width: 100%;
  height: 3px;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* NAV LINKS */
.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  margin-left: 25px;
}

/* ===================== 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;
  }

  nav a {
    font-size: 1rem;
  }

  .hero h1 {
    font-size: 2.4rem;
  }
}
