body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: #111;
  background: #fff;
}

/* NAVBAR */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  border-bottom: 1px solid #eee;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
}

.logo img {
  height: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  text-decoration: none;   /* removes underline */
  color: #111;             /* keeps text black */
}

.logo:hover {
  opacity: 0.7;
}

.slide {
  transform: scale(1);
  transition: opacity 1s ease-in-out, transform 6s ease;
}

.slide.active {
  opacity: 1;
  transform: scale(1.05);
}

.hero-slider::after {
  background: rgba(0,0,0,0.5); /* slightly darker */
}

nav a {
  margin-left: 30px;
  text-decoration: none;
  color: #111;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

@media (max-width: 900px) {
  .nav {
    flex-wrap: wrap;   /* 🔥 THIS IS KEY */
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    margin-left: auto;
  }
}

@media (max-width: 900px) {
  .nav-links a,
  .nav-label {
    border-bottom: 1px solid #eee;
  }
}

@media (max-width: 900px) {
  .dropdown-content a {
    padding-left: 30px;
    font-size: 13px;
    color: #444;
  }
}

nav a:hover {
  opacity: 0.6;
}

.nav-links {
  display: flex;
  align-items: center;
}


@media (max-width: 1000px) {
  .nav-links {
    display: none;
  }
}

.nav-links {
  background: #ffffff;
}

.nav {
  position: relative;
  z-index: 1000;
}

.nav-links a,
.nav-label {
  padding: 12px 0;
}

/* DROPDOWN MENU */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: #fff;
  min-width: 220px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 10px 0;
  z-index: 1;
}

.dropdown-content a {
  display: block;
  padding: 10px 20px;
  text-transform: none;
  font-size: 13px;
  letter-spacing: 0;
}

.dropdown-content {
  display: none;
}

.dropdown.active .dropdown-content {
  display: block;
}

.nav-label {
  margin-left: 30px;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  cursor: default;   /* shows it's not clickable */
}

.nav-label:hover {
  opacity: 0.6;
}

/* HERO LAYOUT */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px 60px 20px; /* 🔥 reduced spacing */
  gap: 40px;
}

/* LEFT SIDE */
.hero-left {
  flex: 1;
  max-width: 550px;
}

/* RIGHT IMAGE */
.hero-right {
  flex: 1;
}

.hero-right img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

/* SLIDER */
.hero-slider {
  position: relative;
  height: 80vh;
  overflow: hidden;
}

/* IMAGES */
.slides {
  position: absolute;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

/* DARK OVERLAY */
.hero-overlay {
  position: relative;
  z-index: 2;
  color: white;
  padding: 100px 60px;
  max-width: 700px;
}

.hero-slider::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  top: 0;
  left: 0;
}

/* TEXT */
.hero-overlay h1 {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
}

.hero-overlay p {
  margin-top: 15px;
  font-size: 18px;
}

/* RESPONSIVE (important) */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
  }
}
/* BUTTONS */
.hero-buttons {
  margin-top: 30px;
}

.btn {
  display: inline-block;
  padding: 12px 20px;
  background: #111;
  color: #fff;
  text-decoration: none;
  margin-right: 10px;
  font-size: 14px;
}

.btn-outline {
  display: inline-block;
  padding: 12px 20px;
  border: 1px solid #111;
  color: #111;
  text-decoration: none;
  font-size: 14px;
}

/* CONTENT */
.content {
  padding: 20px 60px 40px; /* 🔥 tighter spacing */
  max-width: 750px;
}

.content h2 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 20px;
}

.content p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.hero h1 {
  margin-bottom: 10px;
}

.hero p {
  margin-bottom: 8px;
}
/* FEATURES */
.features {
  display: flex;
  gap: 40px;
  padding: 60px;
  border-top: 1px solid #eee;
}

.feature {
  flex: 1;
}

.feature h3 {
  font-family: 'Playfair Display', serif;
}

/* TEAM PAGE */
.team {
  max-width: 800px;
  margin: auto;
  padding: 40px 60px 80px;
}

.member {
  margin-bottom: 60px;
  border-bottom: 1px solid #eee;
  padding-bottom: 40px;
}

.member h2 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 5px;
}

.role {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #666;
  margin-bottom: 15px;
}

.member p {
  line-height: 1.8;
  font-size: 16px;
  margin-bottom: 12px;
}

/* CONTENT BLOCKS */
.block {
  margin-bottom: 30px;
}

.block h3 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 8px;
}

.block p {
  margin-bottom: 10px;
}

/* JOURNALS PAGE */
.journals {
  padding: 60px;
  max-width: 1100px;
  margin: auto;
}

.journal-item {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
  align-items: flex-start;
  border-bottom: 1px solid #eee;
  padding-bottom: 40px;
}

.journal-item {
  margin-bottom: 80px; /* more breathing room */
}

.journal-text {
  flex: 1;
}

.journal-image {
  flex: 0 0 260px;
  flex-shrink: 0;
  margin-bottom: 20px;
}

.journal-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transition: transform 0.2s ease;
}

.journal-image img:hover {
  transform: scale(1.03);
}

/* Responsive */
@media (max-width: 768px) {
  .journal-item {
    flex-direction: column;
    text-align: center;
  }

  .journal-image img {
    width: 200px;
  }
}
/* SUBSCRIPTION */
.subscriptions {
  max-width: 1000px;
  margin: auto;
  padding: 40px 60px 80px;
}

.sub-item {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  border-bottom: 1px solid #f2f2f2;
  padding: 30px 0;
}

.sub-text {
  flex: 2;
}

.sub-text h3 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 8px;
}

.sub-text p {
  margin-bottom: 6px;
  line-height: 1.6;
}

.price {
  font-weight: 500;
}

.content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  margin-bottom: 20px;
}

/* BOOKS PAGE */
.books {
  max-width: 1000px;
  margin: auto;
  padding: 40px 60px 80px;
}

.book-item {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  border-bottom: 1px solid #eee;
  padding: 40px 0;
}

.book-text {
  flex: 2;
}

.book-text h2 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 10px;
}

.book-text p {
  margin-bottom: 10px;
  line-height: 1.7;
}

.book-text ul {
  margin-left: 18px;
  margin-bottom: 10px;
}

.book-text li {
  margin-bottom: 6px;
}

/* reuse journal-image (already defined) */

/* MOBILE */
@media (max-width: 900px) {
  .book-item {
    flex-direction: column;
  }
}

.content ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

.content li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  margin-bottom: 20px;
}

@media (max-width: 900px) {
  .nav {
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .logo {
    width: auto;
  }
}

@media (max-width: 900px) {
  .dropdown {
    display: block;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .nav-links {
    border-radius: 0 0 8px 8px;
  }
}

/* ORDERED LIST */
.content ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

.content ol li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* CONTACT PAGE */
.contact-box {
  max-width: 800px;
  margin: auto;
  padding: 40px 60px 80px;
}

.contact-item {
  margin-bottom: 25px;
}

.contact-item h3 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 5px;
}

.contact-item p {
  line-height: 1.6;
}

.contact-item a {
  color: #0066cc;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}
/* CONTACT LAYOUT */
.contact-layout {
  display: flex;
  gap: 50px;
  max-width: 1100px;
  margin: auto;
  padding: 60px;
}

.contact-left {
  flex: 1.2;
}

.contact-right {
  flex: 1;
}

.contact-right iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 1px solid #eee;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-layout {
    flex-direction: column;
  }
}
/* PROGRAMS SECTION */
.programs {
  max-width: 1000px;
  margin: auto;
  padding: 40px 60px 80px;
}

.programs h2 {
  margin-bottom: 20px;
}

.program-item {
  border-bottom: 1px solid #eee;
  padding: 25px 0;
}

.program-item h3 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 8px;
}

.program-item ul {
  margin-left: 20px;
  margin-bottom: 10px;
}

.program-item li {
  margin-bottom: 6px;
}
/* CTA */
.cta {
  padding: 80px 60px;
  text-align: center;
  border-top: 1px solid #eee;
}

.cta h2 {
  font-family: 'Playfair Display', serif;
}

/* HERO */
.cme-hero {
  max-width: 800px;
  margin: auto;
  padding: 60px 60px 30px;
}

.cme-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  margin-bottom: 15px;
}

.cme-hero .lead {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 15px;
}

/* FOCUS GRID */
.cme-focus {
  padding: 30px 60px;
  max-width: 1000px;
  margin: auto;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.focus-grid div {
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 6px;
  text-align: center;
  font-size: 14px;
}

/* PROGRAM CARDS */
.cme-programs {
  padding: 40px 60px;
  max-width: 1100px;
  margin: auto;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 20px;
}

.program-card {
  border: 1px solid #eee;
  padding: 20px;
  border-radius: 8px;
}

.program-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  margin-bottom: 10px;
}

.program-card ul {
  margin-left: 18px;
  margin-bottom: 10px;nav
}

.program-card a {
  font-size: 14px;
  text-decoration: none;
}

/* CONFERENCE */
.cme-conference {
  max-width: 800px;
  margin: auto;
  padding: 40px 60px 80px;
}

/* MOBILE */
@media (max-width: 900px) {
  .focus-grid,
  .program-grid {
    grid-template-columns: 1fr;
  }
}

/* TEAM LAYOUT UPGRADE */

.member {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 60px;
  border-bottom: 1px solid #eee;
  padding-bottom: 40px;
}

.member-photo {
  flex: 0 0 140px;
}

.member-photo img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
}

.member-content {
  flex: 1;
}

.member-content h2 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 5px;
}

.member-content .role {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #666;
  margin-bottom: 12px;
}

.member-content p {
  line-height: 1.7;
  margin-bottom: 10px;
}

/* MOBILE */

/* MOBILE NAV FIX */
.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 1000px) {

  .menu-toggle {
    display: block;
  }

  .nav {
    padding: 15px 20px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 20px 0;
    border-top: 1px solid #eee;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  }

  .nav-links.active {
    display: flex;
  }
.dropdown {
    display: block;
    width: 100%;
  }

  .nav-links a,
  .nav-label {
    margin: 10px 20px;
    padding: 10px 0;
    font-size: 14px;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    padding-left: 20px;
  }

}

/* FOOTER */
footer {
  padding: 40px 60px;
  border-top: 1px solid #eee;
  font-size: 14px;
  color: #666;
}
.footer-links {
  margin-top: 10px;
}

.footer-links a {
  margin-right: 15px;
  color: #ccc;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}