:root {
  --bg: #faf4ef;
  --choco: #000;
  --muted: #333;
}

/* Reset & Base */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  scroll-behavior: smooth;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: var(--bg);
  color: var(--choco);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Navbar */
.main-nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--bg);
  display: flex;
  justify-content: center;
  padding: 1rem 0;
  z-index: 10;
  border-bottom: 1px solid #e0dcd7;
}

.main-nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: var(--choco);
}

/* Section Layout */
.sec {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 1rem;
  background-color: var(--bg);
  padding-top: 5rem;
  padding-bottom: 10rem;
  
}

.cont{
    padding-top: 8rem;
    padding-bottom: 2rem;
}

.sectitle{
    font-size: 50px;
    font-weight: 700;
}

.secdesc{
    font-size: 25px;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding-top: 6rem; /* instead of margin-top */
}

.text-col {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.image-col {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
}

.logo1 {
  width: 650px;
  height: auto;
  padding-top: 0; /* remove extra top space */
  padding-left: 3rem;
}

.pic1 {
  width: 400px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.subtext {
  font-weight: 700;
  font-size: 1.7rem;
  margin-top: 1rem;
  letter-spacing: 0.1em;
  padding-left: 4rem;
}

/* Other Sections */
#about, #books, #authors, #contact {
  flex-direction: column;
  text-align: center;
}

h2 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* GOAL SECTION FIX */
.goal {
  display: flex;
  flex-wrap: wrap;
  align-items: left;
  justify-content: left;
  gap: 1rem;
  padding: 2rem 1rem;
  background-color: var(--bg);
}

.goal-image {
  flex: 1 1 500px;
  display: flex;
  justify-content: center;
}

.goal-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.goal-text {
  padding-right: 6rem;
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  max-width: 550px;
}

.goal-text .sectitle {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
}

.goal-text .secdesc {
  font-size: 1.5rem;
  line-height: 1.8;
  color: var(--muted);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .goal {
    flex-direction: column;
    text-align: center;
  }

  .goal-text {
    max-width: 90%;
  }

  .goal-image img {
    max-width: 90%;
  }
}

.divtitle{
  flex: 1 1 500px;
  display: flex;
  justify-content: center;
}
.divdesc{
  padding-right: 6rem;
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  max-width: 500px;

}

footer{
    background:#000000;
    color:#fff;
    text-align:center;
    padding:1rem
}