/* Brand Color System */
:root {
  /* Primary Brand Colors */
  --brand-primary: #FFF884;      /* Main blue */
  --brand-secondary: #982037;    /* Yellow accent */
  --brand-dark: #2d3a4a;         /* Dark blue-gray */
  
  /* Typography System */
  --font-primary: 'Roboto Serif', Georgia, serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-accent: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Neutral Colors */
  --white: #ffffff;
  --light-gray: #f8fafc;
  --gray: #e0e7ef;
  --dark-gray: #333333;
  --black: #000000;
  
  /* Semantic Colors */
  --success: #28a745;
  --warning: #ffc107;
  --error: #dc3545;
  --info: #17a2b8;
  
  /* Background Colors */
  --bg-primary: var(--white);
  --bg-secondary: var(--light-gray);
  --bg-accent: var(--brand-secondary);
  
  /* Text Colors */
  --text-primary: var(--dark-gray);
  --text-secondary: #666666;
  --text-light: var(--white);
  
  /* Border Colors */
  --border-light: var(--gray);
  --border-dark: #cccccc;
  
  /* Shadow Colors */
  --shadow-light: rgba(0, 0, 0, 0.1);
  --shadow-medium: rgba(44, 62, 80, 0.08);
  --shadow-dark: rgba(0, 0, 0, 0.2);
}

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

body {
    font-family: 'Nunito Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Navigation Styles */
.navbar {
    background: #982037;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
}

.nav-logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}



/* Typography for all headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
}

/* Typography for all paragraphs */
p {
  font-family: var(--font-accent);
}

/* Hero Section */
.hero {
  background: var(--brand-primary);
  min-height: 45rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  position: relative;
  border-bottom: 6px solid var(--brand-secondary) !important;
}

.hero-container {
  display: flex;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  gap: 3rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(230, 218, 8, 0.552),
    rgba(119, 12, 32, 0.761),
    rgba(45, 108, 223, 0.3),
    rgba(205, 196, 21, 0.2)
  );
  background-size: 400% 100%;
  animation: gradientShift 8s ease-in-out infinite;
  z-index: 1;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero-content {
  flex: 1;
  text-align: left;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-family: var(--font-primary);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--brand-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-content p {
  font-family: var(--font-accent);
  font-size: 1.3rem;
  color: var(--brand-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
  opacity: 0.9;
}

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

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--brand-secondary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--white);
  color: var(--brand-secondary);
  border-color: var(--brand-secondary);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--brand-primary);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  border: 4px solid var(--white);
}

/* Founder/Project Message Section */
.founder-message {
  background: #fff;
  padding: 4rem 1rem 3rem 1rem;
  display: flex;
  justify-content: center;
  margin-top: 0;
}
.founder-inner {
  display: flex;
  align-items: flex-start;
  max-width: 900px;
  width: 100%;
  gap: 2.5rem;
}
.founder-img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  border: 4px solid #e0e7ff;
  position: sticky;
  top: 2rem;
  flex-shrink: 0;
  align-self: flex-start;
  z-index: 2;
}
.founder-text {
  flex: 1;
}
.founder-text h2 {
  font-family: var(--font-primary);
  font-size: 2rem;
  color: #2d3a4a;
  margin-bottom: 1rem;
}
.founder-text p {
  font-size: 1.15rem;
  color: #444;
  margin-bottom: 1rem;
}

/* Featured Book Section */
.featured-book {
  background: var(--bg-secondary);
  padding: 4rem 1rem 3rem 1rem;
  border-top: 6px solid var(--brand-secondary);
}

.featured-book h2 {
  font-family: var(--font-primary);
  color: var(--brand-secondary);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2.5rem;
}

.featured-books-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.book-card {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 6px 20px var(--shadow-medium);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.book-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.12);
}

.book-card-cover {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: #f3f4f6;
}

.book-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.book-card-body {
  padding: 1rem 1rem 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.book-title {
  font-family: var(--font-primary);
  color: var(--brand-secondary);
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.book-description {
  font-family: var(--font-accent);
  color: #444;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 0.9rem;
}

.book-meta {
  font-family: var(--font-accent);
  color: #666;
  margin-bottom: 1.2rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.book-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .featured-books-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .featured-book h2 {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .featured-books-grid {
    grid-template-columns: 1fr;
  }
  .book-title { font-size: 1.4rem; }
}

/* Events Section */
.events {
  background: #f8fafc;
  padding: 4rem 1rem 3rem 1rem;
}

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

.events h2 {
  font-family: var(--font-primary);
  color: var(--brand-secondary);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
}

/* Events List */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.event-item {
  display: flex;
  align-items: stretch;
  min-height: 220px;
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.event-image {
  flex: 0 0 400px;
  min-width: 200px;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
}

@media (max-width: 900px) {
  .event-item {
    flex-direction: column;
    min-height: auto;
  }
  .event-image {
    width: 100%;
    min-width: 0;
    height: 180px;
  }
}

@media (max-width: 600px) {
  .event-image {
    height: 140px;
  }
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-item:hover .event-image img {
  transform: scale(1.05);
}

.event-content {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-title {
  font-family: var(--font-primary);
  color: var(--brand-secondary);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.event-description {
  font-family: var(--font-accent);
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.read-more-btn {
  background: var(--brand-secondary);
  color: var(--white);
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  align-self: flex-start;
}

.read-more-btn:hover {
  background: var(--brand-primary);
  transform: translateY(-2px);
}


/* Responsive Design for Events Section */
@media (max-width: 900px) {
  .event-item {
    flex-direction: column;
    min-height: auto;
  }
  
  .event-image {
    flex: 0 0 250px;
  }
  
  .event-content {
    padding: 1.5rem;
  }
  
  .event-title {
    font-size: 1.4rem;
  }
}

@media (max-width: 600px) {
  .events h2 {
    font-size: 2rem;
  }
  
  .event-content {
    padding: 1.5rem;
  }
  
  .event-title {
    font-size: 1.2rem;
  }
  
  .event-image {
    flex: 0 0 200px;
  }
  
  .events-list {
    gap: 1.5rem;
  }
}

/* Testimonials Section */
.testimonials {
  background: #fff;
  padding: 3rem 1rem 2.5rem 1rem;
  text-align: center;
}
.testimonials h2 {
  font-family: var(--font-primary);
  color: #2d3a4a;
  font-size: 2rem;
  margin-bottom: 2rem;
}
.testimonials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.testimonials-list blockquote {
  background: #f1f5f9;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 1.5rem 2rem;
  max-width: 320px;
  font-style: italic;
  color: #444;
  margin: 0;
}
.testimonials-list footer {
  margin-top: 1rem;
  font-size: 1rem;
  color: #2d6cdf;
  font-style: normal;
}

/* Accordion Styles */
.accordion {
  margin: 2rem 0 1.5rem 0;
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px rgba(44, 62, 80, 0.08);
  background: #f8fafc;
  overflow: hidden;
}
.accordion-toggle {
  width: 100%;
  background: #2d6cdf;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1.1rem 2.5rem 1.1rem 2.5rem;
  border: none;
  outline: none;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-radius: 0;
  transition: background 0.2s;
  position: relative;
}
.accordion-toggle:hover, .accordion-toggle:focus {
  background: #174a8b;
}
.accordion-toggle::after {
  content: '\25BC'; /* Down chevron */
  font-size: 1.2rem;
  margin-left: auto;
  transition: transform 0.3s cubic-bezier(.4,2,.6,1);
}
.accordion-toggle[aria-expanded="true"]::after {
  transform: rotate(-180deg);
}
.accordion-content {
  background: #fff;
  padding: 1.5rem 2.5rem;
  border-top: 1px solid #e0e7ef;
  color: #333;
  font-size: 1.05rem;
  line-height: 1.7;
  max-height: 0;
  overflow-y: hidden;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(.4,2,.6,1), opacity 0.3s;
}
.accordion-content.open {
  max-height: 350px;
  overflow-y: auto;
  opacity: 1;
  transition: max-height 0.7s cubic-bezier(.4,2,.6,1), opacity 0.4s;
}
/* Custom scrollbar for Webkit browsers */
.accordion-content::-webkit-scrollbar {
  width: 8px;
  background: #f8fafc;
}
.accordion-content::-webkit-scrollbar-thumb {
  background: #b3c6e6;
  border-radius: 6px;
}

/* Ensure nav-container is relative for absolute positioning */
.nav-container {
  position: relative;
}

/* Footer Styles */
.site-footer {
  background:var(--brand-secondary);
  padding: 3rem 1rem 1rem 1rem;
  border-top: 0px solid var(--brand-secondary);
}

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

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section {
  text-align: left;
  padding: 0 1rem;
}

.footer-section:nth-child(2) {
  padding-left: 4rem;
}

@media (max-width: 768px) {
  .footer-section:nth-child(2) {
    padding-left: 1rem;
  }
}

.footer-title {
  font-family: var(--font-primary);
  color: var(--brand-primary);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-description {
  font-family: var(--font-accent);
  color: var(--white);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  font-family: var(--font-accent);
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
}

.social-link:hover {
  color: var(--white);
  transform: translateY(-2px);
}

.social-link i {
  font-size: 1.2rem;
  width: 20px;
  text-align: center;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-family: var(--font-accent);
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--brand-primary);
}

.contact-info p {
  font-family: var(--font-accent);
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-section p {
  font-family: var(--font-accent);
  color: var(--white);
  margin-bottom: 0.5rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.newsletter-input {
  flex: 1;
  padding: 0.5rem;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  font-family: var(--font-accent);
}

.newsletter-btn {
  background: var(--brand-secondary);
  color: var(--white);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-family: var(--font-accent);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.newsletter-btn:hover {
  background: var(--brand-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-family: var(--font-accent);
  color: var(--white);
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 1rem;
}

.footer-legal a {
  font-family: var(--font-accent);
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--brand-primary);
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
}

/* Responsive Design */
@media (max-width: 900px) {
  .founder-inner {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  .founder-img {
    position: static;
    margin: 0 auto;
  }
}
@media (max-width: 900px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
  
  .founder-text h2,
  .timeline h2,
  .testimonials h2 {
    font-size: 1.3rem;
  }
  .timeline-list li {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }
  .testimonials-list {
    flex-direction: column;
    gap: 1rem;
  }
  
  /* Accordion content mobile styling */
  .accordion-content {
    padding: 1rem 1.5rem;
    text-align: left;
  }
  
  .accordion-content p {
    text-align: left;
    text-indent: 0;
    margin-bottom: 1rem;
  }
} 

/* Minimal Event Modal Styles */
.event-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.35);
  align-items: center;
  justify-content: center;
}
.event-modal.show {
  display: flex;
}
.event-modal-content {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  max-width: 700px;
  width: 95vw;
  max-height: 80vh;
  overflow-y: auto;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  position: relative;
  animation: modalFadeIn 0.2s;
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.event-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: #888;
  cursor: pointer;
  transition: color 0.2s;
}
.event-modal-close:hover {
  color: var(--brand-secondary);
}
.event-modal-content h2 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  color: var(--brand-secondary);
  margin-bottom: 0.7rem;
}
.event-modal-meta {
  font-family: var(--font-accent);
  font-size: 0.98rem;
  color: #666;
  margin-bottom: 1.2rem;
}
.event-modal-description {
  font-family: var(--font-accent);
  color: #333;
  font-size: 1.08rem;
  margin-bottom: 1.2rem;
  line-height: 1.6;
}
.event-modal-contact {
  font-family: var(--font-accent);
  color: #444;
  font-size: 0.98rem;
  margin-top: 0.5rem;
}
@media (max-width: 600px) {
  .event-modal-content {
    padding: 1.2rem 0.7rem 1rem 0.7rem;
    max-width: 98vw;
    max-height: 90vh;
  }
  .event-modal-content h2 {
    font-size: 1.1rem;
  }
} 
/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 7rem;
        flex-direction: column;
        background-color: #982037;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
  }