
/* === RESET & GLOBAL STYLES === */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  color: #222;
  background-color: #fff;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3 {
  font-weight: 600;
  margin-top: 0;
}

p {
  line-height: 1.6;
  margin: 1em 0;
}

/* === PARALLAX SECTION === */
.parallax-section {
  position: relative;
  min-height: 100vh;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  box-sizing: border-box;
  overflow: hidden;
}

.content-card {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 40px;
  max-width: 900px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  width: 100%;
}

/* === BACKGROUND CLASSES === */
.bg-header {
  background-image: url('../img/algobots.01.webp');
}

.bg-mission {
  background-image: url('../img/ai_sponge.webp');
}

.bg-partnerships {
  background-image: url('../img/ice-dance.webp');
}

.bg-quotes {
  background-image: url('../img/algobots.02.webp');
}

/* === QUOTE SECTION === */
.quote-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 40px 20px;
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  width: 100%;
  margin: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.quote-block {
  text-align: center;
  max-width: 280px;
}

.quote-block img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.quote-text {
  font-style: italic;
  background-color: rgba(255, 255, 255, 0.85);
  padding: 10px;
  border-radius: 8px;
}

/* === CONTACT FORM === */
.contact-section {
  background-color: #f9f9f9;
  padding: 60px 20px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 400px;
  margin: 30px auto 0 auto;
}

input[type="text"],
input[type="email"] {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

button[type="submit"] {
  background-color: #0078d4;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}

button[type="submit"]:hover {
  background-color: #005fa3;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .parallax-section {
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
    min-height: auto;
    padding: 40px 15px;
  }

  .content-card {
    padding: 25px 15px;
  }

  .quote-wrapper {
    flex-direction: column;
    align-items: center;
    padding: 25px 15px;
  }

  .quote-block {
    max-width: 100%;
  }

  .quote-block img {
    width: 120px;
    height: 120px;
  }

  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 22px;
  }

  h3 {
    font-size: 20px;
  }

  p {
    font-size: 16px;
  }
}

/* === FADE EFFECTS === */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-out {
  transition: opacity 1s ease-out;
  opacity: 1;
}

.fade-out.hidden {
  opacity: 0;
}
