body {
  margin: 0;
  font-family: Arial;
  background: #f8fbff;
  color: #1e3a8a;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.nav-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.navbar {
  background: #fffafa;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar nav {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.navbar a {
  margin-left:40px;
  text-decoration: none;
  color: #1e3a8a;
}

.btn-nav {
  background: #3b82f6;
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
}

.logo {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.navbar .logo {
  height: 70px;
}

.contact-hero {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(to right, #e0f2fe, #f8fbff);
  border-radius: 0 0 40px 40px;
}

.contact-hero h1 {
  font-size: 42px;
}

.contact-hero p {
  color: #555;
  margin-top: 20px;
  line-height: 25px;
}

.contact-section {
  padding: 60px 0;
}

.contact-grid {
  display: flex;
  justify-content: center;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  width: 100%;
  max-width: 900px;
}

.contact-form input,
.contact-form textarea {
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;

  background-color: #f0f9ff; 
  color: #1e3a8a;            
  border-color: #3b82f6;      
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #64748b; 
}

.contact-form button {
  background: #3b82f6;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.contact-form button:hover {
  background: #1e3a8a;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-box {
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, background 0.3s ease;
  color: #1e3a8a; 
}

.info-box:nth-child(1) {
  background: #e0f2fe;   
}

.info-box:nth-child(2) {
  background: #bfdbfe;   
}

.info-box:nth-child(3) {
  background: #93c5fd;   
}

.info-box i {
  font-size: 28px;
  margin-bottom: 10px;
  color: #1e40af; 
}

.info-box:hover {
  transform: translateY(-5px);
  background: #3b82f6;   
  color: #ffffff;        
}

footer {
  text-align: center;
  padding: 20px;
  background: #e0f2fe;
}

.socials {
  margin-top: 15px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #e0f2fe;
  border-radius: 50%;
  color: #1e3a8a;
  font-size: 18px;
}

.socials a:hover {
  background: #3b82f6;
  color: white;
  transform: translateY(-3px);
  transition: 0.3s;
}

@media (max-width: 992px) {
  .contact-hero h1 {
    font-size: 36px;
  }

  .contact-info {
    grid-template-columns: 1fr 1fr; 
  }
}

@media (max-width: 768px) {
  .nav-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .navbar nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

  .navbar a {
    margin: 8px 0;
    padding: 10px;
    width: 100%;
    text-align: center;
    border-radius: 8px;
    background: #f8fbff;
  }

  .btn-nav {
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }

  .contact-hero h1 {
    font-size: 28px;
  }

  .contact-hero p {
    font-size: 15px;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%; 
  }

  .contact-form button {
    width: 100%; 
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: auto;  
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: #1e3a8a; 
  border-radius: 2px;
  transition: 0.3s;
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.nav-toggle span {
  transition: 0.3s;
}

@media (max-width: 480px) {
  .nav-toggle {
      display: flex; 
  }

  .navbar nav {
    display: none; 
    flex-direction: column;
    width: 100%;
    margin-top: 15px;
    background: #fffafa;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }

  .navbar nav.active {
    display: flex; 
  }

  .nav-flex {
    padding: 15px;
  }

  .navbar a {
    font-size: 16px;
    margin: 6px 0;
  }

  .btn-nav {
    font-size: 16px;
    padding: 10px;
  }

  .contact-hero {
    padding: 40px 0;
  }

  .contact-hero h1 {
    font-size: 22px;
  }

  .contact-hero p {
    font-size: 14px;
    line-height: 22px;
  }

  .info-box {
    padding: 15px;
    font-size: 14px;
  }

  .info-box i {
    font-size: 22px;
    margin-bottom: 8px;
  }

  .socials a {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
}

