/* === CSS Reset === */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  max-width: 100vw;
  box-sizing: border-box;
}

@font-face {
  font-family: "Main";
  src: url(assets/fonts/Dimica-Light.otf) format("opentype");
}
/* Alifinart Studio” (behance.net/alifinart) */
@font-face {
  font-family: "Secondary";
  src: url(assets/fonts/SalmaproMediumnarrow.otf) format("opentype");
}

@font-face {
  font-family: "Accessory";
  src: url(assets/fonts/Praise-Regular.ttf) format("truetype");
}

html,
body {
  height: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  font-smoothing: antialiased;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  outline: none;
  border: none;
  background: none;
}

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

ul,
ol {
  list-style: none;
}

body {
  margin: 0;
  font-family: "Main";
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
  background: linear-gradient(120deg, #e6e4db 0%, #ceafcb 45%, #f3cfdc 100%);
  background-attachment: fixed;
  background-size: cover;
  overflow-x: hidden;
  position: relative;
}
body::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.4),
    transparent 70%
  );
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
}

/* === Navbar === */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  background: rgba(18, 18, 38, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  margin: 1rem 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  z-index: 10;
}

.navbar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(white 0.8px, transparent 0.8px),
    radial-gradient(white 0.6px, transparent 0.6px);
  background-size: 40px 40px, 100px 100px;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.logo {
  font-family: "Main";
  font-size: 2rem;
  font-weight: bold;
  color: #ffffff;
  z-index: 1;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  z-index: 11;
}

/* Nav Links - Desktop */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  z-index: 1;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  overflow: hidden;
}

.nav-links a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #cd90b3;
}

.contact-button {
  padding: 0.6rem 1.2rem;
  background-color: #8fa7e3;
  color: #fff;
  border-radius: 24px;
  font-weight: bold;
  border: none;
  transition: background 0.3s ease;
}

.contact-button:hover {
  background-color: #ffffff;
  color: #8fa7e3;
}

/* === Responsive Navbar Additions === */
@media screen and (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem;
    margin: 1rem;
    gap: 0.75rem;
  }

  .navbar-top {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    font-size: 1.4rem;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
    font-weight: bold;
  }

  .menu-toggle {
    display: block !important;
    font-size: 2rem;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    z-index: 11;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1.05rem;
    padding: 0.5rem 0;
    color: #ffffff;
  }

  .contact-button {
    display: block;
    margin: 1rem auto;                /* centers it */
    padding: clamp(0.55rem, 2.5vw, 0.8rem) 
             clamp(1rem, 5vw, 1.4rem); /* fluid padding */
    font-size: clamp(0.8rem, 3.5vw, 0.95rem); /* scales with screen */
    border-radius: 24px;
    max-width: clamp(160px, 70%, 220px); /* keeps neat width */
    text-align: center;
    line-height: 1.3;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
  }

}

@media screen and (max-width: 480px) {
  .contact-button {
    display: block;
    margin: 0.6rem auto;       /* centers nicely */
    padding: .85rem .85rem !important;     /* reduced padding */
    font-size: 0.8rem;         /* smaller text */
    border-radius: 18px;       /* smaller pill */
    max-width: 180px;          /* keeps it from being oversized */
    text-align: center;
    line-height: 1.1;
  }
}




.resources-wrapper {
  background: #f5f4f2;
  font-family: "Georgia", serif;
  color: #462c8e;
  padding-bottom: 4rem;
}

/* === Hero Section === */
.resources-hero {
  background: linear-gradient(to bottom, #f7e2eb, #f5f4f2);
  text-align: center;
  padding: 5rem 1.5rem 3rem;
  border-bottom: 1px solid #e1d8d8;
}

.resources-hero h1 {
  font-size: 2.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #462c8e;
}

.resources-hero h1 span {
  color: #cd90b3;
}

.resources-hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  color: #4a3d8f;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.8rem 1.5rem;
  border-radius: 24px;
  font-weight: bold;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #8e8dcf;
  color: #fff;
}

.btn-outline {
  border: 2px solid #cd90b3;
  color: #cd90b3;
  background: transparent;
}

.btn-outline:hover {
  background: #cd90b3;
  color: #fff;
}

/* === Resource Section Container === */
.resources-section {
  padding: 4rem 1.5rem;
  text-align: center;
  background: #f9f8fd;
}

.resources-section h2 {
  font-size: 2.25rem;
  margin-bottom: 2.5rem;
  color: #462c8e;
}

.resources-section h2 span {
  color: #cd90b3;
}

/* === Resource Grid === */
.resource-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 1100px;
  margin: 0 auto;
}

/* === Universal Card Style === */
.resource-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 2rem;
  text-align: left;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.08);
}

.resource-card h3 {
  font-size: 1.25rem;
  color: #8e8dcf;
  margin-bottom: 0.6rem;
}

.resource-card p {
  font-size: 1rem;
  color: #4a3d8f;
  line-height: 1.6;
}

/* === Recommended Reading Card === */
.resource-card.recommended-reading {
  padding: 2rem;
  background-color: #fff;
}


/* === Make Recommended Reading Card Span Wider === */
.resource-card.recommended-reading {
  grid-column: span 2;
}

@media screen and (max-width: 768px) {
  .resource-card.recommended-reading {
    grid-column: span 1; /* Full width on mobile */
  }
}

.resource-card.recommended-reading .section-intro {
  font-weight: 500;
  font-size: 1.05rem;
  color: #4a3d8f;
  margin-bottom: 1.5rem;
}

.resource-card.recommended-reading .book-section {
  margin-bottom: 2rem;
}

.resource-card.recommended-reading .book-section h4 {
  font-size: 1.1rem;
  color: #cd90b3;
  margin-bottom: 0.5rem;
}

.resource-card.recommended-reading ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-top: 0.5rem;
}

.resource-card.recommended-reading ul li {
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

.resource-card.recommended-reading a {
  color: #8e8dcf;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.resource-card.recommended-reading a:hover {
  color: #462c8e;
}

.resource-card.recommended-reading small {
  display: block;
  font-size: 0.85rem;
  color: #555;
  margin-top: 0.2rem;
}

/* === Bottom Section Cards (Videos & Events) === */
.resource-bottom-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem auto 0;
  max-width: 1100px;
}

/* === Mobile Responsiveness === */
@media screen and (max-width: 768px) {
  .resources-hero h1 {
    font-size: 2rem;
  }

  .resources-hero p {
    font-size: 1rem;
  }

  .resources-section h2 {
    font-size: 1.75rem;
  }

  .resource-card {
    padding: 1.5rem;
  }

  .resource-card h3 {
    font-size: 1.15rem;
  }

  .resource-card p {
    font-size: 0.95rem;
  }
}



.site-footer {
  background: linear-gradient(to top, #f5f4f2, #e6e4db);
  color: #462c8e;
  padding: 2rem 1rem;
  font-size: 0.85rem;
  font-family: "Georgia", serif;
  border-top: 3px solid #cd90b3;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-left h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #462c8e;
}

.footer-left p {
  margin: 0.3rem 0;
  line-height: 1.5;
  max-width: 500px;
}

.legal-disclaimer {
  font-size: 0.75rem;
  opacity: 0.7;
  margin-top: 0.8rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-nav a {
  color: #462c8e;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid #ceafcb;
  width: fit-content;
  padding-bottom: 1px;
  transition: opacity 0.3s ease;
}

.footer-nav a:hover {
  opacity: 0.7;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.75rem;
  color: #8e8dcf;
}
/* === Mobile Optimization === */
@media screen and (max-width: 600px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 0.5rem;
  }

  .footer-left,
  .footer-right {
    width: 100%;
  }

  .footer-left h4 {
    font-size: 1rem;
  }

  .footer-left p,
  .legal-disclaimer {
    font-size: 0.8rem;
  }

  .footer-nav {
    align-items: center;
  }

  .footer-nav a {
    font-size: 0.85rem;
  }

  .footer-bottom {
    font-size: 0.7rem;
    margin-top: 1.5rem;
  }
}
