* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #222;
  background: #f9f9f9;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #004aad;
  color: white;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  height: 40px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: white;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links .active {
  color: #ffd700;
}

.hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 2rem;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/hero.jpg') no-repeat center center/cover;
  color: white;
}

.hero-text {
  max-width: 600px;
  text-align: left;
  margin-left: 2rem;
}

.hero-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.hero-text .btn {
  background: #ffd700;
  color: #000;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.hero-text .btn:hover {
  background: #e6c300;
}

section {
  padding: 3rem 2rem;
}

.about,
.services {
  background: white;
  text-align: center;
}

.services .service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: #fff;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 150px;
  object-fit: contain;
}

.card h3 {
  margin-top: 1rem;
  color: #004aad;
}

.footer {
  background: #004aad;
  color: white;
  text-align: center;
  padding: 1.5rem;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  margin-left: 1rem;
}

.bar {
  height: 3px;
  width: 25px;
  background-color: white;
  margin: 4px 0;
  transition: all 0.3s;
}

/* Responsive Nav */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #004aad;
    position: absolute;
    top: 60px;
    right: 2rem;
    width: 200px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 999;
  }

  .nav-links.show {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }
}

/* Auth Forms (Register/Login) */
.form-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  padding: 2rem;
  background: linear-gradient(to right, #004aad, #0055cc);
}

.form-container {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  text-align: center;
}

.form-container h2 {
  margin-bottom: 0.5rem;
  color: #004aad;
}

.form-container p {
  margin-bottom: 1.5rem;
}

.form-container form input {
  width: 100%;
  padding: 0.9rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: border 0.3s;
}

.form-container form input:focus {
  border-color: #004aad;
  outline: none;
}

.form-container .btn {
  width: 100%;
  padding: 0.8rem;
  font-size: 1rem;
}

/* Whatsapp icon */

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  background-color: #25D366;
  padding: 10px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float img {
  width: 48px;
  height: 48px;
}

.whatsapp-tooltip {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background: #25D366;
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  animation: slideIn 0.5s ease forwards;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.whatsapp-tooltip {
  transition: opacity 1s ease-in-out;
  opacity: 1;
}

