body {
  font-family: 'Cormorant Garamond', serif;
  margin: 0;
  color: #ffffff;
  background-color: #0a0a14;
  line-height: 1.8;
  background-image: url('assets/vintagebackground.jpg');
  background-size: cover;
  background-attachment: fixed;
}

::selection {
  background: rgba(138, 43, 226, 0.3);
  color: #fff;
}

.header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.4s ease;
}

.header-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 20, 0.85);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  z-index: -1;
  border-bottom: 1px solid rgba(177, 156, 217, 0.2);
}

.header-inner {
  position: relative;
  padding: 12px 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-wrapper {
  position: relative;
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-image {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.logo-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(177, 156, 217, 0.5) 0%, rgba(177, 156, 217, 0) 70%);
  animation: pulse 3s infinite alternate;
  z-index: 1;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.2); opacity: 0.2; }
}

.title-container {
  display: flex;
  flex-direction: column;
}

.site-title {
  font-family: 'Dancing Script', cursive;
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.site-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  color: #ffffff;
  letter-spacing: 2px;
  margin-top: 2px;
}

.nav-container {
  position: relative;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: 'Dancing Script', cursive;
  font-size: 1.3rem;
  color: #ffffff;
  text-decoration: none;
  padding: 8px 12px;
  display: block;
  position: relative;
  transition: all 0.3s ease;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: #ffffff;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(177, 156, 217, 0.4);
}

.nav-link:hover::before {
  width: 70%;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;

  background-color: #ffffff;
  transition: all 0.3s ease;
}

.header-flourish {
  position: absolute;
  width: 40px;
  height: 20px;
  bottom: -10px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2040%2020'%3E%3Cpath%20d='M0,10%20Q10,0%2020,10%20Q30,20%2040,10'%20stroke='%23b08d57'%20fill='none'%20stroke-width='1'/%3E%3C/svg%3E");  background-size: contain;
  opacity: 0.6;
}

.header-flourish.left {
  left: 25%;
}

.header-flourish.right {
  right: 25%;
  transform: scaleX(-1);
}

.header.sticky {
  padding: 5px 0;
}

.header.sticky .site-title {
  font-size: 1.5rem;
}

.header.sticky .logo-image {
  transform: scale(0.9);
}

@media (max-width: 992px) {
  .header-inner {
    padding: 10px 20px;
  }
  
  .site-title {
    font-size: 1.6rem;
  }
  
  .nav-link {
    font-size: 1.2rem;
    padding: 8px 10px;
  }
  
  .header-flourish {
    width: 30px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .nav-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: rgba(10, 10, 20, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.4s ease;
    overflow-y: auto;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
    border-left: 1px solid rgba(177, 156, 217, 0.1);
  }
  
  .nav-container.active {
    right: 0;
  }
  
  .nav-links {
    flex-direction: column;
    padding: 80px 30px 30px;
    height: 100%;
  }
  
  .nav-item {
    width: 100%;
  }
  
  .nav-link {
    padding: 15px 0;
    font-size: 1.5rem;
    width: 100%;
    border-bottom: 1px solid rgba(177, 156, 217, 0.1);
  }
  
  .nav-link::before {
    display: none;
  }
  
  .close {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 32px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .close:hover {
    color: #ffffff;
    transform: rotate(90deg);
  }
  
  .hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
  }
  
  .hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
  }
  
  .header-flourish {
    display: none;
  }
}

@media (max-width: 480px) {
  .site-title {
    font-size: 1.3rem;
  }
  
  .site-subtitle {
    font-size: 0.8rem;
  }
  
  .logo-wrapper {
    width: 35px;
    height: 35px;
  }
  
  .logo-image {
    width: 35px;
    height: 35px;
  }
  
  .nav-container {
    width: 80%;
  }
}
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("assets/background.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ink-splash {
  position: absolute;
  width: 300px;
  height: 300px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><path d="M41.3,-57.7C54.4,-49.4,66.5,-38.8,73.9,-24.6C81.3,-10.5,84,7.2,79.1,22.3C74.3,37.5,61.9,50.1,47.3,58.2C32.7,66.3,16.4,69.9,-0.3,70.3C-17,70.8,-34,68.1,-49.2,59.9C-64.5,51.6,-78,37.7,-84.4,20.4C-90.8,3.1,-90.1,-17.6,-81.4,-34.1C-72.6,-50.6,-55.8,-62.9,-39.7,-69.6C-23.5,-76.3,-7.9,-77.3,5.4,-84.8C18.6,-92.2,30,-89.1,36.8,-78.2C43.6,-67.3,45.9,-48.5,41.3,-57.7Z" transform="translate(100 100)" fill="%23b08d57"/></svg>');  opacity: 0.3;
  transform: rotate(30deg) scale(2);
  z-index: 1;
  background-size: contain;
  background-repeat: no-repeat;
  animation: float 20s infinite alternate ease-in-out;
}

@keyframes float {
  0% { transform: rotate(30deg) scale(2) translate(0, 0); }
  50% { transform: rotate(35deg) scale(2.1) translate(20px, -20px); }
  100% { transform: rotate(32deg) scale(2) translate(-20px, 20px); }
}

#typewriter-text {
  opacity: 0;
  transition: opacity 1s ease;
  font-family: 'Dancing Script', cursive;
}

.overlay {
  text-align: center;
  background: rgba(10, 10, 20, 0.6);
  padding: 30px 40px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  z-index: 2;
  border: 1px solid rgba(177, 156, 217, 0.2);
  backdrop-filter: blur(3px);
  max-width: 600px;
}

.hero-text {
  font-size: 4rem;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 10px;
}

.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.4rem;
  margin-top: 5px;
  color: #ffffff;
  letter-spacing: 1.5px;
}

@keyframes floatQuill {
  0% { transform: rotate(-5deg) translateY(0); }
  50% { transform: rotate(5deg) translateY(-5px); }
  100% { transform: rotate(-5deg) translateY(0); }
}

.quill-icon {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23b08d57" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"><path d="M20 2c-2 6-8 10-18 11 0 0 9.5 1 12.5-2.5 4.5-4.5 2-7 2-7s-2.5 6.5-9.5 8.5c0 0 7.5 0.5 9-1s4.5-5 4.5-7.5-0.5-1.5-0.5-1.5z"/><path d="M8 23c2-2 2.5-5 2.5-5s0.5 3-1 5"/></svg>');  width: 60px;
  height: 60px;
  margin: 15px auto 0;
  animation: floatQuill 3s ease-in-out infinite;
}

.section {
  padding: 80px 50px;
  text-align: center;
  background-color: rgba(26, 26, 36, 0.6);
  border-radius: 10px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
  margin: 40px 0;
  line-height: 1.8;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(177, 156, 217, 0.1);
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(75, 46, 131, 0.1), transparent 70%);
  z-index: -1;
}

.scroll-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: rgba(10, 10, 20, 0.4);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(177, 156, 217, 0.2);
}

.scroll-wrapper::before, .scroll-wrapper::after {
  content: '';
  position: absolute;
  height: 100%;
  width: 30px;
  top: 0;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 100"><path d="M1,0 Q5,50 1,100 Q9,50 1,0" fill="none" stroke="%23b08d57" stroke-width="0.5"/></svg>');
  background-repeat: no-repeat;
  background-size: contain;
}

.scroll-wrapper::before {
  left: 0;
}

.scroll-wrapper::after {
  right: 0;
  transform: scaleX(-1);
}

.scroll-content {
  padding: 20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  line-height: 1.8;
  position: relative;
}

.quote-container {
  margin: 30px auto;
  max-width: 80%;
  position: relative;
  padding: 20px;
}

blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.3rem;
  position: relative;
  color: #d1c1f0;
  margin: 0;
  padding: 10px 30px;
  line-height: 1.6;
}

blockquote::before, blockquote::after {
  content: '"';
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  position: absolute;
  color: rgba(177, 156, 217, 0.3);
  line-height: 0.1em;
}

blockquote::before {
  top: 0.5em;
  left: 0;
}

blockquote::after {
  bottom: -0.2em;
  right: 0;
  content: '"';
}

cite {
  font-family: 'Dancing Script', cursive;
  font-size: 1.2rem;
  display: block;
  text-align: right;
  margin-top: 10px;
  color: #ffffff;
}

.text-wrapper {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  position: relative;
}

.text-wrapper p {
  margin: 15px 0;
  font-size: 1.1rem;
  line-height: 1.8;
}

.section h2 {
  font-size: 3rem;
  color: #ffffff;
  margin-bottom: 30px;
  font-family: 'Dancing Script', cursive;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  position: relative;
  display: inline-block;
}

.section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 120%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(177, 156, 217, 0.7), transparent);
  transform: translateX(-50%);
}

.section p {
  font-size: 1.2rem;
  line-height: 1.8;
}

.categories {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.category {
  position: relative;
  width: 300px;
  height: 400px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.5s ease;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

.category:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.6);
}

.background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: all 0.5s ease;
  z-index: 1;
}

.category:hover .background {
  transform: scale(1.1);
  filter: blur(3px) brightness(0.7);
}

.category h3 {
  position: absolute;
  font-size: 2.5rem;
  font-family: 'Dancing Script', cursive;
  padding: 10px 20px;
  border-radius: 5px;
  width: auto;
  text-align: center;
  margin: 0;
  z-index: 3;
  transition: all 0.5s ease;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.category:hover h3 {
  opacity: 0;
}

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1.5rem;
  background-color: rgba(10, 10, 20, 0.8);
  border-radius: 15px;
  opacity: 0;
  transition: all 0.5s ease;
  z-index: 2;
  padding: 30px;
  text-align: center;
  transform: translateY(20px);
}

.category-overlay p {
  margin-bottom: 15px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  line-height: 1.8;
  font-size: 1.3rem;
}

.category.urdu .category-overlay p {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 1.5rem;
  line-height: 2;
  direction: rtl;
}

.category-note {
  font-size: 1rem;
  opacity: 0.8;
  margin-top: 10px;
}

.category:hover .category-overlay {
  opacity: 1;
  transform: translateY(0);
}

.category.english .background {
  background-image: url("assets/English.jpg");
}
.category.urdu .background {
  background-image: url("assets/Urdu.jpg");
}

.timeline-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  width: 2px;
  background: linear-gradient(to bottom, transparent, #ffffff, #ffffff, transparent);
  transform: translateX(-50%);
}

.timeline {
  position: relative;
}

.timeline-item {
  margin-bottom: 50px;
  position: relative;
  width: 50%;
}

.timeline-item:nth-child(odd) {
  left: 0;
  padding-right: 40px;
}

.timeline-item:nth-child(even) {
  left: 50%;
  padding-left: 40px;
}

.timeline-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  border-radius: 50%;
  top: 15px;
  z-index: 2;
  box-shadow: 0 0 10px rgba(177, 156, 217, 0.8);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -10px;
}

.timeline-date {
  font-family: 'Dancing Script', cursive;
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.timeline-content {
  background-color: rgba(10, 10, 20, 0.7);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  border: 1px solid rgba(177, 156, 217, 0.2);
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.timeline-content h3 {
  font-family: 'Dancing Script', cursive;
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.timeline-content p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  margin: 0;
}

.rule-category {
  background: rgba(10, 10, 20, 0.5);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(177, 156, 217, 0.1);
  transition: all 0.3s ease;
}

.rule-category:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  background: rgba(10, 10, 20, 0.6);
}

.rule-heading {
  font-family: 'Dancing Script', cursive;
  font-size: 1.8rem;
  color: #ffffff;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
}

.rule-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, #ffffff, transparent);
}

.rule-list {
  padding-left: 20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  line-height: 1.8;
}

.rule-list li {
  margin-bottom: 10px;
}

.steps-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  height: 100%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, #ffffff, transparent);
}

.step {
  display: flex;
  margin-bottom: 40px;
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  background-color: #4b2e83;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Dancing Script', cursive;
  font-size: 1.5rem;
  color: #fff;
  margin-right: 20px;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 10px rgba(75, 46, 131, 0.5);
}

.step-content {
  flex: 1;
  background-color: rgba(10, 10, 20, 0.5);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  border: 1px solid rgba(177, 156, 217, 0.1);
}

.step:hover .step-content {
  transform: translateX(10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  background-color: rgba(10, 10, 20, 0.7);
}

.step-content h3 {
  font-family: 'Dancing Script', cursive;
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.step-content p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  margin: 0;
  font-size: 1.1rem;
}

.register-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.4rem;
  margin-bottom: 30px;
  color: #ffffff;
}

.poetry-button {
  position: relative;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
}

.button-inner {
  position: relative;
  display: inline-block;
  padding: 18px 36px;
  font-family: 'Dancing Script', cursive;
  font-size: 1.6rem;
  color: #fff;
  background: rgba(75, 46, 131, 0.8);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  border: 1px solid rgba(177, 156, 217, 0.3);
  z-index: 2;
}

.poetry-button:hover .button-inner {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  background: rgba(75, 46, 131, 0.9);
}

.button-ink-splash {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(177, 156, 217, 0.8) 0%, rgba(177, 156, 217, 0) 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: all 0.6s ease;
  z-index: 1;
}

.poetry-button:active .button-ink-splash {
  width: 300px;
  height: 300px;
  opacity: 0.3;
}

.faqs-section {
  padding: 100px 0;
  background-color: rgba(10, 10, 20, 0.4);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.faqs-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(75, 46, 131, 0.1), transparent 70%);
  z-index: -1;
}

.faqs-heading {
  font-size: 3rem;
  font-weight: normal;
  color: #ffffff;
  margin-bottom: 50px;
  font-family: 'Dancing Script', cursive;
  position: relative;
  display: inline-block;
}

.faqs-heading::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 120%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(177, 156, 217, 0.7), transparent);
  transform: translateX(-50%);
}

.faqs-list {
  width: 100%;
}

.faqs-container {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 800px;
}

.faq-item {
  margin-bottom: 20px;
  position: relative;
  padding: 0;
  z-index: 1;
  transition: all 0.3s ease;
}

.question {
  font-size: 1.4rem;
  font-weight: normal;
  color: #ffffff;
  cursor: pointer;
  font-family: "Dancing Script", cursive;
  background-color: rgba(10, 10, 20, 0.6);
  padding: 15px 20px;
  border-radius: 8px;
  position: relative;
  transition: all 0.3s ease;
  text-align: left;
  border: 1px solid rgba(177, 156, 217, 0.1);
}

.question:hover {
  background-color: rgba(10, 10, 20, 0.8);
  color: #ffffff;
}

.question::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.8rem;
  transition: all 0.3s ease;
}

.question.active::after {
  content: '−';
  transform: translateY(-50%) rotate(0);
}

.answer {
  display: none;
  font-size: 1.1rem;
  color: #ffffff;
  font-family: "Cormorant Garamond", serif;
  background-color: rgba(10, 10, 20, 0.3);
  padding: 20px;
  border-radius: 0 0 8px 8px;
  margin-top: -8px;
  text-align: left;
  line-height: 1.8;
  border: 1px solid rgba(177, 156, 217, 0.1);
  border-top: none;
}

.question.active + .answer {
  display: block;
}

footer {
  background-color: rgba(10, 10, 20, 0.8);
  color: #ffffff;
  text-align: center;
  padding: 40px 20px;
  font-family: 'Cormorant Garamond', serif;
  position: relative;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.footer-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 30px;
  line-height: 1.6;
  position: relative;
  padding: 0 40px;
}

.footer-quote::before,
.footer-quote::after {
  content: '"';
  font-family: 'Dancing Script', cursive;
  font-size: 3rem;
  position: absolute;
  color: rgba(177, 156, 217, 0.3);
  line-height: 0;
}

.footer-quote::before {
  left: 0;
  top: 0.3em;
}

.footer-quote::after {
  right: 0;
  bottom: -0.2em;
  content: '"';
}

.social-media {
  margin-top: 20px;
}

.social-icon {
  color: #ffffff;
  font-size: 1.8rem;
  text-decoration: none;
  margin: 0 10px;
  transition: all 0.3s ease;
}

.social-icon:hover {
  color: #b19cd9;
  transform: translateY(-3px);
}

#ink-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
}

#star-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -3;
  background-color: #0a0a14;
}

.hamburger {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: #ffffff;
}

.nav-links {
  display: flex;
}

.close {
  display: none;
  font-size: 40px;
  cursor: pointer;
}

@media (max-width: 992px) {
  .hero-text {
    font-size: 3rem;
  }
  
  .section {
    padding: 60px 30px;
  }
  
  .timeline-container::before {
    left: 20px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 60px !important;
    padding-right: 0 !important;
    left: 0 !important;
  }
  
  .timeline-dot {
    left: 10px !important;
    right: auto !important;
  }
  
  .category {
    width: 250px;
    height: 350px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: -100%;
    background-color: rgba(10, 10, 20, 0.95);
    width: 70%;
    height: 100vh;
    z-index: 1000;
    padding: 50px 0;
    transition: all 0.3s ease;
  }

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

  .close {
    display: block;
    position: absolute;
    right: 20px;
    top: 20px;
    color: #ffffff;
    font-size: 30px;
  }

  .nav-links a {
    color: #ffffff;
    padding: 15px 30px;
    text-align: left;
    width: 100%;
    border-bottom: 1px solid rgba(177, 156, 217, 0.1);
  }

  .hero-text {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .section h2 {
    font-size: 2.5rem;
  }
  
  .step {
    flex-direction: column;
  }
  
  .step-number {
    margin-bottom: 15px;
    margin-right: 0;
  }
  
  .steps-container::before {
    display: none;
  }
}

@media (max-width: 576px) {
  .category {
    width: 100%;
    max-width: 300px;
  }
  
  .hero-text {
    font-size: 2rem;
  }
  
  .section {
    padding: 40px 20px;
  }
  
  .timeline-content {
    padding: 15px;
  }
  
  .footer-quote {
    font-size: 1.1rem;
  }
}

:root {
  --vintage-bg: #181513;        /* Very dark, old book cover brown */
--vintage-text: #d2ccc5;      /* Aged parchment text color */
--vintage-accent: #3b2f27;    /* Faded leather brown for accents */
--vintage-accent-dark: #5c4324; /* Deep antique gold/brown for darker accents */

}

body {
  background-color: var(--vintage-bg);
  background-image: url('assets/bronze-texture.jpg');
  background-size: cover;
  background-attachment: fixed;
  color: var(--vintage-text);
}

.header-backdrop {
  background: rgba(46, 28, 13, 0.85) !important;
  border-bottom-color: rgba(176, 141, 87, 0.2) !important;
}

.logo-glow {
  background: radial-gradient(circle, var(--vintage-accent) 0%, transparent 70%);
}

.nav-link {
  color: var(--vintage-text);
}
.nav-link::before {
  background: var(--vintage-accent);
}
.nav-link:hover {
  color: var(--vintage-accent);
}
.nav-link:hover::before {
  width: 70%;
}

.hamburger-line,
.close {
  background-color: var(--vintage-text) !important;
  color: var(--vintage-text) !important;
}

.section {
  background-color: rgba(46, 28, 13, 0.6);
  border-color: rgba(176, 141, 87, 0.1);
}
.section h2 {
  color: var(--vintage-text);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.section h2::after {
  background: linear-gradient(90deg, transparent, var(--vintage-accent), transparent);
}

.button-inner {
  background: rgba(176, 141, 87, 0.8);
  border-color: rgba(176, 141, 87, 0.3);
}
.poetry-button:hover .button-inner {
  background: rgba(176, 141, 87, 0.9);
}

.timeline-dot,
.step-number {
  background-color: var(--vintage-accent);
  box-shadow: 0 0 10px rgba(20, 17, 12, 0.8);
}

blockquote {
  color: var(--vintage-text);
}
blockquote::before,
blockquote::after {
  color: rgba(176, 141, 87, 0.3);
}

.question {
  background-color: rgba(46, 28, 13, 0.6);
  border-color: rgba(176, 141, 87, 0.1);
}
.question:hover,
.question.active {
  color: var(--vintage-accent);
}
.answer {
  background-color: rgba(46, 28, 13, 0.3);
  border-color: rgba(176, 141, 87, 0.1);
}

footer,
.footer-content,
.footer-quote {
  background-color: rgba(46, 28, 13, 0.8);
  color: var(--vintage-text);
}
.footer-quote::before,
.footer-quote::after {
  color: rgba(176, 141, 87, 0.3);
}

#ink-canvas,
#star-canvas {
  background-color: var(--vintage-bg);
}
