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

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f7efe6;
  color: #3b2418;
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ===== Navbar ===== */
.navbar {
  background: #3b2418;
  color: #f7efe6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
}

.logo {
  font-size: 20px;
  font-weight: bold;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-size: 14px;
  padding-bottom: 4px;
}

.nav-links a:hover,
.nav-links a.active {
  border-bottom: 2px solid #b5532a;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  background: #b5532a;
  color: #ffffff;
  padding: 10px 22px;
  border: 2px solid #b5532a;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
}

.btn:hover {
  background: #96421f;
  border-color: #96421f;
}

.btn-outline {
  background: transparent;
  color: #b5532a;
}

.btn-outline:hover {
  color: #ffffff;
}

/* ===== Page header banner ===== */
.page-header {
  background: #f1d9c6;
  padding: 48px 40px;
}

.page-header h1 {
  font-size: 32px;
}

.page-header p {
  color: #7a5f50;
  margin-top: 6px;
}

/* ===== Layout + cards ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: #ffffff;
  border: 1px solid #e2d2c3;
  border-radius: 10px;
  padding: 24px;
}
.card-icon{
  width: 180px;
  height: 180px;
}
.card h3 {
  margin-bottom: 6px;
}

.card p {
  color: #7a5f50;
  font-size: 14px;
  margin-bottom: 14px;
}

/* ===== Footer ===== */
.footer {
  background: #3b2418;
  color: #f7efe6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  font-size: 14px;
}

/* ===== Auth pages (signup + login) ===== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
}

.auth-box {
  display: flex;
  width: 100%;
  max-width: 900px;
  min-height: 520px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2d2c3;
}

.auth-info {
  flex: 1;
  background: #3b2418;
  color: #f7efe6;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
}

.auth-info h1 {
  font-size: 28px;
  margin: 40px 0 12px;
}

.auth-info p {
  font-size: 14px;
  margin-bottom: 20px;
}

.auth-info li {
  font-size: 14px;
  margin-bottom: 10px;
}

.auth-info li::before {
  content: "\2713";
  color: #b5532a;
  margin-right: 10px;
}

.auth-img {
  width: 100%;
  max-width: 260px;
  margin-top: auto;
  align-self: center;
}

.auth-form {
  flex: 1;
  background: #f7efe6;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.auth-form h2 {
  font-size: 22px;
}

.auth-form .subtitle {
  font-size: 13px;
  color: #7a5f50;
  margin: 4px 0 20px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}

.form-group input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e2d2c3;
  border-radius: 6px;
  background: #ffffff;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 14px;
}

.form-group input:focus {
  outline: 2px solid #b5532a;
}

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

.auth-form .switch {
  text-align: center;
  font-size: 13px;
  margin-top: 16px;
}

.auth-form .switch a {
  color: #b5532a;
  font-weight: bold;
}

/* ===== Small screens ===== */
@media (max-width: 700px) {
  .navbar,
  .footer {
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .auth-box {
    flex-direction: column;
  }
}

/* ===== Hero (Home page) ===== */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: #f1d9c6;
  padding: 60px 40px;
}

.hero-text {
  flex: 1;
  max-width: 550px;
}

.hero-tagline {
  color: #b5532a;
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 10px;
}

.hero-text h1 {
  font-size: 34px;
  margin-bottom: 14px;
}

.hero-sub {
  color: #7a5f50;
  margin-bottom: 24px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
}

.hero-img {
  max-width: 320px;
  width: 100%;
}

.container h2 {
  font-size: 24px;
}

.section-sub {
  color: #7a5f50;
  font-size: 14px;
  margin: 6px 0 24px;
}

.link-arrow {
  color: #b5532a;
  font-size: 14px;
  font-weight: bold;
}

@media (max-width: 700px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }
}

.section-title {
  margin-top: 50px;
  margin-bottom: 20px;
  font-size: 22px;
}

.features-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.feature {
  text-align: center;
  padding: 16px;
}

.feature h4 {
  margin-bottom: 6px;
}

.feature p {
  color: #7a5f50;
  font-size: 13px;
}
.section-title {
  margin-top: 50px;
  margin-bottom: 20px;
  font-size: 22px;
}

.features-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.feature {
  text-align: center;
  padding: 16px;
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: #f1d9c6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.feature-icon img {
  width: 26px;
  height: 26px;
}

.feature h4 {
  margin-bottom: 6px;
}

.feature p {
  color: #7a5f50;
  font-size: 13px;
}

.page-header-img {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 48px 40px;
}
.header-img {
  max-width: 420px;
  width: 40%;
  flex-shrink: 0;
}

.head-img{
  width: 200px;
  height: 200px;
  margin-right: 60px;
}

@media (max-width: 700px) {
  .page-header-img {
    flex-direction: column;
    text-align: center;
  }

  .header-img {
    max-width: 200px;
  }
}

/* ===== Resources page ===== */
.tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.tab {
  padding: 8px 18px;
  background: #f7efe6;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  color: #3b2418;
}

.tab.active {
  background: #3b2418;
  color: #f7efe6;
}

.resource-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.resource-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border: 1px solid #e2d2c3;
  border-radius: 10px;
  padding: 18px 20px;
}

.resource-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.resource-text {
  flex: 1;
}

.resource-text h4 {
  margin-bottom: 2px;
}

.resource-text p {
  color: #7a5f50;
  font-size: 13px;
}

.resource-link {
  color: #b5532a;
  font-size: 14px;
  font-weight: bold;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .resource-row {
    flex-wrap: wrap;
  }
}

/* ===== Contact page ===== */
.contact-section {
  display: flex;
  min-height: 600px;
}

.contact-info {
  flex: 1;
  background: #3b2418;
  color: #f7efe6;
  padding: 50px 40px;
  position: relative;
}

.contact-info h1 {
  font-size: 30px;
  margin-bottom: 12px;
}

.contact-info > p {
  color: #d8c3b3;
  font-size: 14px;
  margin-bottom: 30px;
  max-width: 400px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-item img {
  width: 22px;
  height: 22px;
}

.contact-item h4 {
  font-size: 14px;
}

.contact-item p {
  font-size: 13px;
  color: #d8c3b3;
}

.contact-img {
  max-width: 240px;
  width: 100%;
  margin-top: 30px;
}

.contact-tagline {
  font-size: 20px;
  font-weight: bold;
  margin-top: 16px;
  color: #f7efe6;
}

.contact-form-box {
  flex: 1;
  background: #f7efe6;
  padding: 50px 40px;
  display: flex;
  align-items: center;
}

.contact-form-box form {
  width: 100%;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-row .form-group {
  flex: 1;
}

.contact-form-box textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e2d2c3;
  border-radius: 6px;
  background: #ffffff;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  resize: vertical;
}

.contact-form-box textarea:focus {
  outline: 2px solid #b5532a;
}

@media (max-width: 700px) {
  .contact-section {
    flex-direction: column;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }
}
