:root {
  --primary: #064663;
  --secondary: #ECB365;
  --light: #F1F1F1;
  --dark: #041C32;
  --white: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: var(--light);
  scroll-behavior: smooth;
}

header {
  background: linear-gradient(to right, var(--primary), var(--dark));
  color: var(--white);
  padding-bottom: 5rem;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
}

.navbar .logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--secondary);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--secondary);
}

.hero {
  text-align: center;
  padding: 3rem 2rem;
}

.hero a {
  text-decoration: none;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.btn {
  background-color: var(--secondary);
  color: var(--dark);
  padding: 0.8rem 1.5rem;
  border: none;
  cursor: pointer;
  font-weight: bold;
  border-radius: 6px;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #f0c27b;
}

.section {
  padding: 4rem 2rem;
  text-align: center;
}

h2.section-title {
  font-size: 2.2rem;
  color: var(--primary);
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
}

h2.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60%;
  height: 3px;
  background-color: var(--secondary);
  border-radius: 2px;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: var(--white);
  border-radius: 12px;
  padding: 1rem;
  width: 280px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  height: 70%;
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery img {
  height: 280px;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  object-fit: cover;
}

.gallery img:hover {
  transform: scale(1.03);
}

form {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  max-width: 550px;
  margin: 4rem auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  border: 1px solid #eaeaea;
}

form input,
form textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  font-size: 1rem;
  background: #fdfdfd;
  border: 1px solid #ddd;
  border-radius: 10px;
  outline: none;
  color: #333;
  transition: all 0.3s ease;
  font-family: 'Segoe UI', sans-serif;
  box-shadow: inset 0 0 0 0 var(--primary);
}

form input::placeholder,
form textarea::placeholder {
  color: #aaa;
  transition: color 0.3s;
}

form input:focus,
form textarea:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--primary);
}

form textarea {
  min-height: 140px;
  resize: vertical;
}

form button {
  align-self: flex-end;
  background: linear-gradient(to right, var(--primary), var(--dark));
  color: var(--white);
  padding: 0.9rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

footer {
  background: var(--dark);
  color: var(--white);
  text-align: center;
  padding: 1rem 1rem;
  margin-top: 2rem;
}

@media screen and (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
    margin-top: 1rem;
  }

  .nav-links a {
    padding: 0.5rem 0;
    width: 100%;
    display: block;
  }

  .hero {
    padding: 2rem 1rem;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .section {
    padding: 2rem 1rem;
  }

  h2.section-title {
    font-size: 1.7rem;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 100%;
    max-width: 90%;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  form {
    padding: 2rem 1rem;
    margin: 2rem 1rem;
  }

  form button {
    width: 100%;
    text-align: center;
  }
}
