/* 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;
  align-items: center;
}

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;
}

/* SERVICES SECTION */
.services {
  padding: 60px 0 80px;
  text-align: center;
}

.services h1 {
  font-size: 2.8rem;
  color: #004aad;
  margin-bottom: 20px;
}

.services .intro {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #555;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.service-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;
  text-align: left;
}

.service-card:hover {
  transform: translateY(-8px);
}

.service-card i {
  font-size: 3rem;
  color: #004aad;
  margin-bottom: 20px;
}

.service-card h2 {
  margin-bottom: 15px;
  font-weight: 700;
  font-size: 1.4rem;
  color: #004aad;
}

.service-card p {
  font-size: 1rem;
  color: #555;
}

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; /* hidden on desktop */
  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;
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
  }

  nav {
    width: 100%;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  nav a {
    margin: 10px 0;
    font-size: 1.1rem;
  }

  .services h1 {
    font-size: 2.4rem;
  }

  .services .intro {
    font-size: 1rem;
    padding: 0 10px;
  }

  .service-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hamburger {
    display: flex;
    order: 2;
    margin-left: auto;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: #004aad;
    flex-direction: column;
    overflow: hidden;
    max-height: 0;
    width: 100%;
    transition: max-height 0.3s ease;
    order: 3;
  }

  .nav-links.open {
    max-height: 300px;
  }

  .nav-links a {
    margin: 15px 0;
    padding: 10px 20px;
  }

  nav {
    position: relative;
  }
}

@media (max-width: 480px) {
  header .logo {
    font-size: 1.5rem;
  }

  nav a {
    font-size: 1rem;
  }

  .services h1 {
    font-size: 2rem;
  }
}
