* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: #e9ded3;
  font-family: "Inter", "Open Sans", "Roboto", sans-serif;
  padding-top: 88px;
  overflow-x: hidden;
}

/* ===== Layout ===== */
main {
  padding: 0;
  margin: 0;
  height: 77.5vh;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  animation: fadeInUp 1s ease-out both;
}

html,
body {
  overflow: auto; /* still allows scrolling */
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

/* Chrome, Safari, Opera */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0px;
  height: 0px;
  display: none;
}

/* ===== Hero Section ===== */
.hero-section {
  max-width: 800px;
  margin: 60px auto;
  padding: 30px;
  text-align: center;
  border: 2px solid #e0e0e0;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  background: #fff;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.2s;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #111;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  animation: slideFadeIn 0.8s ease forwards;
  animation-delay: 0.4s;
}

p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 30px;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(20px);
  animation: slideFadeIn 0.8s ease forwards;
  animation-delay: 0.6s;
}

h2 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: #007acc;
  font-weight: 600;
  opacity: 0;
  transform: translateY(20px);
  animation: slideFadeIn 0.8s ease forwards;
  animation-delay: 0.8s;
}

/* ===== Contact Info ===== */
.hero-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 1s;
}

.hero-section li {
  margin: 12px 0;
  font-size: 1.05rem;
  color: #222;
}

.hero-section a {
  text-decoration: none;
  color: #007acc;
  font-weight: 600;
  transition: color 0.3s ease;
}

/* ===== Social Icons ===== */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
  opacity: 0;
  animation: fadeInPop 1s ease forwards;
  animation-delay: 1.2s;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f5f5f5;
  color: #333;
  transition: background 0.3s ease, transform 0.3s ease;
}

.hero-section .social-icons a:nth-child(1):hover {
  background: #1877f2;
  color: #fff;
  transform: scale(1.1);
}

.hero-section .social-icons a:nth-child(2):hover {
  background: #0a66c2;
  color: #fff;
  transform: scale(1.1);
}

.hero-section .social-icons a:nth-child(3):hover {
  background: #14a800;
  color: #fff;
  transform: scale(1.1);
}

/* ===== Divider ===== */
.divider {
  width: 5px;
  height: 500px;
  background-color: #000;
  margin: 0 20px;
  opacity: 0;
  transform: scaleY(0);
  animation: growIn 1s ease forwards;
  animation-delay: 1s;
}

/* ===== Contact Form ===== */
.contact-section {
  padding: 50px 20px;
  border-radius: 16px;
  max-width: 500px;
  width: 100%;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 1.4s;
}

form label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

form input,
form textarea,
form select {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: none;
  border-bottom: 3px solid #000000;
  border-radius: 4px;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.6s ease forwards;
}

form textarea {
  height: 200px;
  resize: none;
}

form select {
  border: 2px solid #ccc;
  border-radius: 8px;
  background: linear-gradient(90deg, #ffffff 0%, #f7f7f7 100%);
  font-size: 1em;
  color: #333;
  transition: all 0.3s ease;
  appearance: none;
  cursor: pointer;
}

form select:focus {
  border-color: #007acc;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  outline: none;
}

form select:hover {
  border-color: #111;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

form button {
  background-color: #000000;
  color: #ffffff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  display: block;
  margin: 0 auto;
  width: 200px;
  opacity: 0;
  transform: translateY(15px);
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 2s;
}

form button:hover {
  background-color: #333333;
}

/* ===== reCAPTCHA ===== */
.grecaptcha-badge {
  visibility: visible !important;
  display: block !important;
  z-index: 9999;
  position: fixed;
  bottom: 10px;
  right: 10px;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideFadeIn {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInPop {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes growIn {
  from {
    transform: scaleY(0);
    opacity: 0;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  main {
    flex-direction: column;
    height: auto;
    padding: 20px;
  }
  .divider {
    display: none;
  }
  .hero-section,
  .contact-section {
    max-width: 100%;
    margin: 20px 0;
  }
}
