/* === General === */

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #333;
  background-color: #f9fbff;
  scroll-behavior: smooth;
}

section {
  padding: 80px 20px;
  text-align: center;
}

h2 {
  color: #005bbb;
  margin-bottom: 20px;
  font-weight: 700;
}

/* === Navbar === */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: #005bbb;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar.transparent {
  background-color: transparent;
  box-shadow: none;
}

.navbar.scrolled {
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

body {
  scroll-padding-top: 80px; /* Prevent content from hiding under navbar */
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover {
  text-decoration: underline;
}

/* === Hero Section === */
.hero {
  background: 
  linear-gradient(rgba(0, 91, 187, 0.6), rgba(0, 91, 187, 0.6)),
  url("assets/background.png") center/cover no-repeat;
  color: white;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 80vh;
  flex-direction: column;
  text-align: center;
  padding-top: 120px;
}

.hero .cta-btn {
  margin-top: 50px;
  background: white;
  color: #007bff;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.hero .cta-btn:hover {
  background: #f1f1f1;
}

/* === About Section === */
.about {
  background: #f9fbff;
  color: #333;
  max-width: 900px;
  margin: auto;
  line-height: 1.6;
}

/* === Services Section === */
.services {
  background: #e9f4ff;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  width: 250px;
  padding: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}

/* === Contact Section === */

  .form-container {
    position: relative;
    width: 100%;
    padding-bottom: 120%; /* Adjust based on form length */
    height: 0;
    overflow: hidden;
    border: 1px solid white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  
  .form-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }
  
  @media (max-width: 768px) {
    .form-container {
    padding-bottom: 100%; /* make taller for mobile scrolling */
    }
  }

/* === Footer === */
footer {
  background: #005bbb;
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 14px;
}

/* === Responsive === */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero {
    height: auto;
    padding: 100px 20px;
  }
  .cards {
    flex-direction: column;
    align-items: center;
  }
}

