/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #F5F0E6;
  color: #6E2E2E;
  line-height: 1.6;
  padding-top: 80px;
}

a {
  text-decoration: none;
  color: inherit;
}

.section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}

/* Navbar */

.hamburger {
  font-size: 2rem;
  cursor: pointer;
  user-select: none;
  z-index: 1100;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background-color: #FFF8F0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.nav-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background-color: #FFF8F0;
  position: fixed;
  top: 0;
  right: -250px;
  width: 60vw;
  max-width: 250px;
  min-width: 20px;
  height: 100%;
  padding: 60px 20px;
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  z-index: 1000;
  margin-right: 8px;
  color: #A17258;
}

.logo {
  font-weight: bold;
  font-size: 1.5rem;
  color: #6E2E2E;
}

.nav-links.show {
  right: 0;
}

.nav-links li {
  margin: 12px 0;
}

.nav-links a {
  color: #6E2E2E;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #A17258;
}

/* Hero Section */

.typewriter {
  overflow: hidden;
  white-space: nowrap;
  width: 0;
  animation: typing 2s steps(20, end) forwards;
}

@keyframes typing {
  to { width: 100%; }
}

.hero-section {
  position: relative;
  height: auto;
  padding: 100px 20px;
  overflow: hidden;
  color: #6E2E2E;
  text-align: center;
}
.hero-bg {
  position: absolute; 
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('pics/biege-pastel-bg.jpg') center/cover no-repeat;
  filter: blur(6px) brightness(0.9);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1; /* so it's above the bg */
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: #6E2E2E;
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px auto;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  transform: scale(1);
}

.btn:hover {
  transform: scale(1.05);
}

.primary-btn {
  border: 2px solid #6E2E2E;
  background: transparent;
  color: #6E2E2E;
}

.primary-btn:hover {
  background-color: #F5F0E6;
}

.secondary-btn {
  border: 2px solid #6E2E2E;
  background: transparent;
  color: #6E2E2E;
}

.secondary-btn:hover {
  background-color: #F5F0E6;
}

/* What We Do Section */

.card i {
  font-size: 2rem;
  margin-bottom: 12px;
  color: #A17258;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #6E2E2E;

  opacity: 0;
  transform: translateY(20px);
  animation: titleFade 0.6s ease forwards;
  animation-delay: 0.1s;
}

@keyframes titleFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  
}

.card {
  background: rgba(255, 248, 240, 0.5); /* frosted beige */
  backdrop-filter: blur(6px);
  border: 1.5px solid #6E2E2E;
  padding: 30px;
  border-radius: 12px;
  width: 300px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px) scale(1);
  animation: fadeUp 0.6s ease forwards;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:nth-child(1) { animation-delay: 0.2s; }
.card:nth-child(2) { animation-delay: 0.4s; }
.card:nth-child(3) { animation-delay: 0.6s; }

.card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow:
    0 15px 30px rgba(0, 0, 0, 0.15),
    0 0 10px rgba(110, 46, 46, 0.2);
}

.card h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  color: #6E2E2E;
}

.card p {
  font-size: 0.95rem;
  color: #6E2E2E;
}

/*How we work*/

.steps-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.step {
  background: rgba(255, 248, 240, 0.6);
  border: 1.5px solid #6E2E2E;
  border-radius: 12px;
  padding: 30px 20px;
  width: 260px;
  text-align: center;
  color: #6E2E2E;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.6s ease, opacity 0.6s ease;
  backdrop-filter: blur(4px);
  opacity: 0;
  transform: translateY(30px);
}

.step.animate {
  opacity: 1;
  transform: translateY(0);
}

.step.animate:nth-child(1) { transition-delay: 0.2s; }
.step.animate:nth-child(2) { transition-delay: 0.4s; }
.step.animate:nth-child(3) { transition-delay: 0.6s; }
.step.animate:nth-child(4) { transition-delay: 0.8s; }

.step i {
  font-size: 2rem;
  margin-bottom: 12px;
  color: #A17258;
}

.step h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.step p {
  font-size: 0.95rem;
}

/* what makes us different*/
.difference {
  text-align: center;
}

.difference-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.diff-card {
  background: rgba(255, 248, 240, 0.6);
  border: 1.5px solid #6E2E2E;
  border-radius: 12px;
  padding: 30px 20px;
  width: 260px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: opacity 0.6s ease, transform 0.6s ease;
  text-align: center;
  backdrop-filter: blur(4px);
  color: #6E2E2E;
}

.diff-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow:
    0 15px 30px rgba(0, 0, 0, 0.15),
    0 0 10px rgba(110, 46, 46, 0.2);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.diff-card i {
  font-size: 2rem;
  margin-bottom: 12px;
  color: #A17258;
}

.diff-card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.diff-card p {
  font-size: 0.95rem;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.diff-card {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.diff-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.diff-card.animate:nth-child(1) {
  transition-delay: 0.2s;
}
.diff-card.animate:nth-child(2) {
  transition-delay: 0.4s;
}
.diff-card.animate:nth-child(3) {
  transition-delay: 0.6s;
}
.diff-card.animate:nth-child(4) {
  transition-delay: 0.8s;
}

/*CTA*/
.cta-join {
  background-color: #F3DCDC; /* soft maroon-ish pink */
  text-align: center;
  padding: 100px 20px;
  color: #6E2E2E;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.cta-join.animate {
  opacity: 1;
  transform: translateY(0);
}

.cta-title {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.cta-subtext {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn {
  padding: 14px 30px;
  font-size: 1rem;
  background-color: #E7BEBE;
  color: #6E2E2E;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-btn:hover {
  transform: scale(1.05);
  background-color: #D9AFAF;
}

/*footer*/
.footer {
  background-color: #F5F0E6;
  padding: 40px 20px;
  color: #6E2E2E;
  text-align: center;
  border-top: 1px solid #E0D8D0;
}

.footer-logo {
  font-weight: bold;
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #6E2E2E;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
}

.footer-socials a {
  font-size: 1.4rem;
  color: #6E2E2E;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-socials a:hover {
  color: #A17258;
  transform: scale(1.2);
}

.footer-text {
  font-size: 0.9rem;
  color: #6E2E2E;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 600px) {
  .typewriter {
    white-space: normal;
    width: auto;
    animation: none;
  }
}

.team-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.team-member {
  width: 220px;
  text-align: center;
  color: #6E2E2E;
  opacity: 0;
  transform: translateY(30px);
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.team-member.animate {
  opacity: 1;
  transform: translateY(0);
}

.team-member img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #6E2E2E;
  margin-bottom: 12px;
}

.team-member h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.team-member p {
  font-size: 0.95rem;
  color: #A17258;
  margin-bottom: 0;
}

/* Section title styling */
.section-title {
  font-size: 2.3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  color: #6E2E2E;
  transition: transform 0.6s ease, opacity 0.6s ease;
  opacity: 0;
  transform: translateY(40px);
}

.update-card.animate, .blog-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.updates-section .section-title,
.blogs-section .section-title {
  margin-bottom: 36px;
}

.update-date, .blog-author {
  font-size: 0.98rem;
  color: #A17258;
  margin-bottom: 8px;
}

.blog-excerpt {
  margin-bottom: 12px;
}

.read-more {
  font-weight: 600;
  color: #A17258;
  text-decoration: underline;
}

.forum-section {
  max-width: 700px;
  margin: 40px auto 0 auto;
  padding: 40px 20px;
  border-top: 1px solid #e0e0e0;
}

.forum-intro {
  text-align: center;
  color: #A17258;
  margin-bottom: 32px;
  font-size: 1.1em;
}

.forum-form {
  background: rgba(255, 248, 240, 0.7);
  border: 1.5px solid #6E2E2E;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.07);
  padding: 28px 20px;
  margin-bottom: 36px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #6E2E2E;
  font-size: 1em;
}

.forum-form input,
.forum-form textarea {
  width: 100%;
  padding: 9px;
  border: 1.2px solid #A17258;
  border-radius: 8px;
  background: #f9f6f2;
  font-size: 1em;
  color: #6E2E2E;
  resize: vertical;
}

.forum-form button {
  margin-top: 10px;
}

/* --- TEAM PAGE ENHANCEMENTS (SCOPED) --- */

/* Gradient background only for team page */
body.team-page {
  background: linear-gradient(135deg, #F5F0E6 0%, #F3DCDC 100%);
}

/* Team hero section */
body.team-page .team-hero {
  min-height: 320px;
  position: relative;
  background: none;
  margin-bottom: 0;
}
body.team-page .team-hero .hero-bg {
  background: url('pics/biege-pastel-bg.jpg'), linear-gradient(135deg, #F5F0E6 0%, #F3DCDC 100%);
  opacity: 0.7;
  filter: blur(8px) brightness(0.95);
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
}
body.team-page .team-hero .hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 80px 20px 40px 20px;
}
body.team-page .team-hero .hero-title {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #6E2E2E;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(110,46,46,0.08);
}
body.team-page .team-hero .hero-subtitle {
  font-size: 1.3rem;
  color: #A17258;
  margin-bottom: 0;
}

/* Section divider for team page */
body.team-page .section-divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #F3DCDC, #A17258, #F3DCDC);
  margin: 0 auto 40px auto;
  opacity: 0.5;
}

/* Team member cards */
body.team-page .team-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-top: 40px;
  padding-bottom: 40px;
}
body.team-page .team-member {
  background: rgba(255, 248, 240, 0.7);
  backdrop-filter: blur(8px);
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(110,46,46,0.08);
  padding: 32px 12px 24px 12px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  opacity: 0;
  transform: translateY(30px);
  border: 1.5px solid #F3DCDC;
}
body.team-page .team-member.animate {
  opacity: 1;
  transform: translateY(0);
}
body.team-page .team-member:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 12px 32px rgba(110,46,46,0.14);
}
body.team-page .team-member img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #A17258;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(110,46,46,0.10);
}
body.team-page .team-member h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #6E2E2E;
  letter-spacing: 0.5px;
}
body.team-page .team-member p {
  font-size: 1rem;
  color: #A17258;
  margin-bottom: 0;
}

/* Section title styling for team page */
body.team-page .team .section-title {
  font-size: 2.3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  color: #6E2E2E;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(20px);
  animation: titleFade 0.6s ease forwards;
  animation-delay: 0.1s;
}

/* Back to top button for team page */
body.team-page #backToTop {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: #A17258;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.5rem;
  box-shadow: 0 4px 16px rgba(110,46,46,0.12);
  cursor: pointer;
  display: none;
  z-index: 9999;
  transition: background 0.3s, transform 0.3s;
}
body.team-page #backToTop:hover {
  background: #6E2E2E;
  transform: scale(1.08);
}

/* Responsive adjustments for team page */
@media (max-width: 900px) {
  body.team-page .team-container {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
  }
  body.team-page .team-member img {
    width: 90px;
    height: 90px;
  }
  body.team-page .team-member {
    padding: 20px 6px 16px 6px;
  }
  body.team-page .team .section-title {
    font-size: 1.6rem;
  }
  body.team-page .team-hero .hero-title {
    font-size: 2rem;
  }
}

@media (max-width: 700px) {
  body.team-page .team-container {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
  }
}

/* --- FORUM PAGE ENHANCEMENTS (SCOPED) --- */
body.forum-page {
  background: linear-gradient(135deg, #F5F0E6 0%, #F3DCDC 100%);
}

body.forum-page .section-divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #F3DCDC, #A17258, #F3DCDC);
  margin: 0 auto 32px auto;
  opacity: 0.5;
}

body.forum-page .forum-section {
  max-width: 700px;
  margin: 40px auto 0 auto;
  padding: 40px 20px;
  border-top: 1px solid #e0e0e0;
  background: none;
}

body.forum-page .section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
  color: #6E2E2E;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(20px);
  animation: titleFade 0.6s ease forwards;
  animation-delay: 0.1s;
}

body.forum-page .forum-intro {
  text-align: center;
  color: #A17258;
  margin-bottom: 24px;
  font-size: 1.1rem;
}

body.forum-page .forum-form {
  background: rgba(255, 248, 240, 0.8);
  backdrop-filter: blur(8px);
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(110,46,46,0.08);
  padding: 32px 24px;
  max-width: 480px;
  margin: 0 auto 32px auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

body.forum-page .form-group label {
  display: block;
  margin-bottom: 8px;
  color: #6E2E2E;
  font-size: 1em;
}

body.forum-page .forum-form input,
body.forum-page .forum-form textarea {
  border-radius: 8px;
  border: 1.5px solid #F3DCDC;
  padding: 10px;
  font-size: 1rem;
  background: #fff;
  color: #6E2E2E;
  width: 100%;
  margin-bottom: 8px;
}

body.forum-page .forum-form button {
  background: #A17258;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 10px;
}
body.forum-page .forum-form button:hover {
  background: #6E2E2E;
}

body.forum-page #backToTop {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: #A17258;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.5rem;
  box-shadow: 0 4px 16px rgba(110,46,46,0.12);
  cursor: pointer;
  display: none;
  z-index: 9999;
  transition: background 0.3s, transform 0.3s;
}
body.forum-page #backToTop:hover {
  background: #6E2E2E;
  transform: scale(1.08);
}

@media (max-width: 700px) {
  body.forum-page .forum-form {
    padding: 18px 8px;
  }
  body.forum-page .section-title {
    font-size: 1.3rem;
  }
}
