:root {
  --bg-main: #f5f1eb;
  --text-dark: #2b2b2b;
  --green: #8fae9c;
  --green-dark: #6f8f7d;
  --green-dark-dark: #628571;
  --green-dark-darker: #406450;
  --cream: #faf8f5;
  --border-light: #e8e4dc;
  --font-color: rgb(35, 35, 35);
}

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

/* Body */
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-main);
  color: var(--text-dark);
}

/* Headings */
h1,
h2,
h3 {
  font-family: 'Playfair Display', serif;
}

/* ================= HEADER ================= */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  background: rgba(245, 241, 235, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
}

/* ================= TOPBAR ================= */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 40px;
  font-size: 13px;
  background: var(--cream);
  border-bottom: 1px solid var(--border-light);
}

.topbar-left,
.topbar-right {
  display: flex;
  gap: 20px;
}

/* Left links */
.topbar-left a {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--text-dark);
  transition: 0.2s;
}

.topbar-left a:hover {
  color: var(--green-dark);
}

/* Right buttons */
.topbar-right a {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color:var(--font-color);
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 12px;
  text-decoration: none;
  transition: 0.2s;
}

.topbar-right a:hover {
  background: var(--green-dark);
}

.topbar-right i {
  font-size: 16px;
}


#profile-icon {
  background: rgb(167, 167, 167);
  color: rgb(0, 0, 0);
  padding: 8px 12px;
  border-radius: 20px solid rgb(73, 73, 73);
  font-size: 12px;
  text-decoration: none;
  transition: 0.2s;
}




/* ================= LOGO ================= */
.logo-section {
  text-align: center;
  padding: 20px;
  border-bottom: 1px solid var(--border-light);
}

.logo {
  line-height: 6vh;
}

.logo-kuet {
  font-family: 'Playfair Display', serif;
  font-size: 50px;
  font-weight: 900;
}

.logo-text {
  font-family: 'Playfair Display', 'Bree_Serif', serif;
  font-size: 34px;
}

.logo-kds {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  font-weight: 600;
  font-style: italic;
  color: var(--green);
}




/* ================= NAVBAR ================= */
.navbar {
  background: var(--green-dark);
  padding: 15px 40px;
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 15px;
}

.nav-item {
  position: relative;
}

.nav-link {
  padding: 8px 12px;
  border-radius: 6px;
  background: var(--green-dark-dark);
  color: white;
  font-size: 14px;
  border: 0.5px solid white;
  cursor: pointer;
}

.nav-link:hover {
  background: var(--green-dark-darker);
}

/* Dropdown */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--green-dark);
  min-width: 180px;
  border-radius: 6px;
  overflow: hidden;
}

.nav-item:hover .dropdown {
  display: block;
}

.dropdown a {
  display: block;
  padding: 10px;
  color: white;
  text-decoration: none;
}

.dropdown a:hover {
  background: var(--green-dark-darker);
}



/* Smooth transition */
.logo, .logo-kuet, .logo-text, .logo-kds {
  transition: all 0.3s ease;
}




/* Default (your current style) */
.logo {
  line-height: 6vh;
}

.logo-kds {
  display: block;
}

/* When scrolled */
.header.scrolled .logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  line-height: normal;
}

.header.scrolled .logo-kuet {
  font-size: 40px;
}

.header.scrolled .logo-text {
  font-size: 32px;
}

.header.scrolled .logo-kds {
  display: inline; /* comes to same line */
  font-size: 34px;
  margin-top: 0;
}



/* ================= HERO ================= */
/* Hero */
.hero {
  height: 95vh;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 140px;
  /* Background image */
  background-image: url("bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  background-color: var(--cream);
}

.hero h1 {
  color: white;
  font-size: 54px;
  margin-bottom: 30px;
  letter-spacing: -1px;
}

.btn-primary {
  background: var(--green);
  color: white;
  padding: 14px 32px;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-primary:hover {
  background: var(--green-dark-dark);
  transform: translateY(-2px);
}


.btn-secondary {
  background: var(--green);
  color: white;
  padding: 14px 32px;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
  border-color: transparent;
  margin: 7%;
}

.btn-secondary:hover {
  background: var(--green-dark-dark);
  transform: translateY(-2px);
}


/* ================= CONTENT ================= */
.content {
  padding: 100px 40px;
  text-align: center;
}

.content p {
  width: 76%;
  margin: auto;
  font-size: 30px;
  font-weight: 200;
  line-height: 1.7;
  font-family: serif;
}




.membership {
  display: flex;
  justify-content: center;
  margin: 60px 0;
}

.membership-container {
  width: 90vw;
  height: 35vh;

  background: #8fae9c;
  border-radius: 25px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 40px 60px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}



/* Left */
.left h1 {
  font-family: 'Playfair Display', serif;
  font-size: 53px;
  color: #2b2b2b;
  line-height: 1.1;
}

/* Right */
.right {
  max-width: 350px;
  text-align: left;
}

.right p {
  font-size: 20px;
  font-family: serif;
  color: #3b3b3b;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Button */
.join-btn {
  background: #383838;
  color: white;
  padding: 10px 22px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.join-btn:hover {
  background: #000;
}



.calendar-section {
  width: 100vw;
  height: 60vh;

  background:var(--cream); /* blue like your image */
  display: flex;
  justify-content: center;
  align-items: center;

  position: relative;
  overflow: hidden;
}

/* Content box */
.calendar-content {
  text-align: center;
  max-width: 500px;
  color: rgb(0, 0, 0);
  font-family: serif;
  font-style: italic;
}

/* Title */
.calendar-title {
  font-size: 36px;
  margin-bottom: 15px;
  font-family: 'Playfair Display', serif;
}

/* Text */
.calendar-text {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* Button */
.calendar-btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 20px;
  background: #8fae9c; /* your green */
  color: #2b2b2b;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.calendar-btn:hover {
  background: #6f8f7d;
}
/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {

  .topbar {
    flex-direction: column;
    gap: 10px;
    padding: 10px;
  }

  .topbar-left,
  .topbar-right {
    flex-wrap: wrap;
    justify-content: center;
  }

  

  .navbar {
    justify-content: center;
    padding: 10px;
  }

  .nav-list {
    flex-wrap: wrap;
    justify-content: center;
  }
 
  .hero h1 {
    font-size: 32px;
  }


  .membership-container {
    flex-direction: column;   /* stack items */
    height: auto;             /* allow height to grow */
    text-align: center;
    gap: 20px;
    padding: 30px 20px;
  }

  .left h1 {
    font-size: 32px;
  }
  .left{
    max-width: 100%;
  }
  .right {
    max-width: 100%;
    text-align: center;
  }




  .calendar-section {
    height: auto;
    padding: 40px 20px;
  }

  .calendar-title {
    font-size: 26px;
  }
}

.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 0 10%;
    gap: 4rem;
}

.image-container {
    flex: 1;
    height: 100 vh;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.image-container img {
    width: 100%;
    max-width: 500px;
    border-radius: 8px; /* Soft edges as seen in the image */
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.content-container {
    flex: 1;
    max-width: 400px;
}

.title {
    font-size: 2.5rem;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #555;
}

.cta-button {
    padding: 10px 25px;
    background-color: #a5c3b1; /* Muted green button color */
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.8rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background-color: var(--green-dark-dark);
}

/* ================= MEMBERS SECTION ================= */
.members-section {
  padding: 100px 40px;
  background: var(--cream);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  text-align: center;
  margin-bottom: 60px;
  color: var(--text-dark);
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.member-card {
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: 0.3s;
  border: 1px solid var(--border-light);
}

.member-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.member-avatar {
  width: 100px;
  height: 100px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 40px;
  color: white;
}

.member-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.member-role {
  font-size: 16px;
  color: var(--green-dark);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hidden {
  display: none;
}

.members-btn-container {
  text-align: center;
  margin-top: 40px;
}

.show-more-btn {
  background: var(--green);
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
  font-family: 'Inter', sans-serif;
}

.show-more-btn:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

  .members-section {
    padding: 60px 20px;
  }

  .section-title {
    font-size: 36px;
  }

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