/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Body */
body {
  font-family: 'Merriweather', serif;
  background: linear-gradient(135deg, #ffe7f0 0%, #fff0f6 100%);
  color: #5a2a42;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Links */
a {
  color: #b5476d;
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover,
a:focus {
  color: #7d2942;
  outline: none;
  text-decoration: underline;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8d7df;
  padding: 1rem 2rem;
  box-shadow: 0 4px 10px rgba(197, 126, 147, 0.3);
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.navbar-logo {
  height: 135px; /* Adjust size as needed */
  width: auto; /* Adjust size as needed */
  resize: contain;
  display: block;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
}

.logo {
  display: flex;
  align-items: center;
  height: 40px;
  overflow: hidden;
}


.logo a {
  font-size: 2rem;
  font-weight: 700;
  color: #8c2940;
  letter-spacing: 1.2px;
  font-style: italic;
  text-shadow: 1px 1px 3px rgba(173, 81, 109, 0.5);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links li a {
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.3rem 0.5rem;
  border-radius: 10px;
  transition: background-color 0.3s ease, color 0.3s ease;
  color: #8c2940;
}

.nav-links li a:hover,
.nav-links li a.active {
  background-color: #8c2940;
  color: #fff;
  box-shadow: 0 4px 15px rgba(140, 41, 64, 0.5);
}

/* Main layout */
main {
  max-width: 960px;
  margin: 4rem auto 3rem auto;
  padding: 0 1rem;
}

/* Headings */
h1, h2, h3 {
  color: #8c2940;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

h1 {
  font-size: 2.5rem;
  text-align: center;
}

h2 {
  font-size: 2rem;
  margin-top: 2rem;
}

h3 {
  font-size: 1.5rem;
}

/* Paragraphs */
p {
  font-size: 1.1rem;
  color: #5a2a42;
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  padding: 0.7rem 1.6rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 12px rgba(217, 93, 122, 0.4);
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: inline-block;
  font-family: 'Merriweather', serif;
  margin-top: 0.6rem;
  margin-bottom: 0.6rem;
  text-align: center;
}

.btn-primary {
  background-color: #d95d7a;
  color: white;
}

.btn-primary:hover {
  background-color: #b5476d;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(181, 71, 109, 0.6);
}

.btn-secondary {
  background-color: #f7a1b8;
  color: white;
}

.btn-secondary:hover {
  background-color: #d67a95;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(214, 122, 149, 0.6);
}

/* Cards */
.cards-section {
  background-color: #ffebf0; /* Light pink background */
  padding: 0;
  margin: 0;
  width: 100%;
}

.section-header-bar {
  background-color: #b34a62; /* Deep pink */
  padding: 1.2rem 0;
  text-align: center;
  width: 100%;
}

.section-header-bar h2 {
  color: white;
  font-family: 'Merriweather', serif;
  font-size: 1.7rem;
  margin: 0;
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #b34a62;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-family: 'Merriweather', serif;
}

.card p {
  font-size: 1rem;
  color: #444;
  line-height: 1.5;
  font-family: 'Merriweather', serif;
}

.cards {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.cards-wrapper {
  width: 100%;
  padding: 3rem 2rem;
  box-sizing: border-box;
}

.card {
  flex: 1 1 30%;
  background-color: #ffedf4;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(217, 93, 122, 0.25);
}

/* Hero Section (Home only) */
.hero {
  background: linear-gradient(135deg, #f7a1b8, #ffc9d4);
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 2rem;
  border-radius: 30px;
  margin: 2rem auto;
  max-width: 960px;
  box-shadow: 0 8px 30px rgba(217, 93, 122, 0.3);
}

.hero-text {
  color: #fff;
  max-width: 700px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-text h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #8c2940;
  letter-spacing: 1.2px;
  font-style: normal;
  text-shadow: 1px 1px 3px rgba(173, 81, 109, 0.5);
}

.hero-logo {
  max-width: 300px;
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15));
}


.hero-buttons a {
  margin: 0 1rem;
  align-content: center;
}

.hero-banner {
  width: 100%;
  min-height: 120vh; /* 90% of the screen height */
  padding: 4rem 1rem; /* optional */
  background: url('assets/bg.png') no-repeat center center;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5rem 1rem;
  box-sizing: border-box;
}

.hero-banner-inner {
  max-width: 1400px;
  width: 100%;
  /* height: 100%; */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
}

.hero-content h1 {
  font-size: 2.8rem;
  color: #8c2940;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 3px rgba(173, 81, 109, 0.5);
}

.slogan {
  font-size: 1.6rem;
  font-style: italic;
  color: #fff;
  margin-bottom: 2rem;
  text-shadow: 0 0 6px rgba(0,0,0,0.2);
}

.hero-buttons a {
  margin: 0 1rem;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .slogan {
    font-size: 1.2rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
}



/* Core values */
.values-list {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 1.2rem;
  font-weight: 600;
  color: #7d2942;
}

/* Forms */
form label {
  font-weight: 600;
  color: #8c2940;
}

form input,
form textarea {
  width: 100%;
  padding: 0.6rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-bottom: 1rem;
  font-family: 'Merriweather', serif;
}

form button {
  margin-top: 0.6rem;
}

/* Custom Dropdown Styling */
.custom-dropdown select {
  width: 100%;
  padding: 0.6rem;
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fff8fb;
  color: #5a2a42;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg fill='%238c2940' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  background-size: 1.2rem;
}

.custom-dropdown select:focus {
  outline: none;
  border-color: #d67a95;
  box-shadow: 0 0 0 3px rgba(214, 122, 149, 0.2);
}

/* ========== Announcement Bar ========== */
.announcement-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffedf4;
  padding: 0.6rem 1.2rem;
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  color: #703347;
  position: relative;
  z-index: 1000;
  overflow: hidden;
}

.announcement-text-container {
  overflow: hidden;
  flex: 1;
  height: 1.5rem;
  position: relative;
}

.scrolling-text {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
}

.text-content {
  display: inline-block;
  animation: scroll-loop 20s linear infinite;
  padding-right: 4rem;
}

@keyframes scroll-loop {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.announcement-bar:hover .text-content {
  animation-play-state: paused;
}


.announcement-btn {
  background-color: #b34a62;
  color: white;
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: bold;
  text-decoration: none;
  margin-left: 1rem;
  white-space: nowrap;
  flex-shrink: 0;
  z-index: 2;
}

.announcement-btn:hover {
  background-color: #962f47;
}

@media (max-width: 600px) {
  .announcement-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .announcement-btn {
    align-self: flex-end;
  }
}

/* Stick announcement bar + navbar together */
.top-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
}

/* Prevent content from going under the fixed header */
body {
  padding-top: 140px; /* Adjust if needed */
}

/* ========== Loading Spinner ========== */
.spinner {
  border: 2px solid #ffeef8;
  border-top: 2px solid transparent;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  margin-right: 0.5rem;
  animation: spin 0.6s linear infinite;
  display: inline-block;
  vertical-align: middle;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}


/* Footer */
footer {
  text-align: center;
  padding: 1.8rem 0;
  background: #f8d7df;
  color: #8c2940;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: auto;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  box-shadow: 0 -4px 10px rgba(197, 126, 147, 0.25);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    gap: 1rem;
  }

  .hero {
    height: auto;
    padding: 3rem 1rem;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .slogan {
    font-size: 1.2rem;
  }
}
  @media (max-width: 768px) {
  .cards {
    flex-direction: column;
    gap: 1.5rem;
  }
  .card {
    flex: 1 1 100%;
  }
}
