/* ============================
   MERO READING ROOM - STYLES
   ============================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #3949AB;
  --primary-dark: #1A237E;
  --primary-light: #E3F2FD;
  --dark: #0d141a;
  --gray: #56585e;
  --light: #fff;
  --font-primary: 'Outfit', sans-serif;
  --font-secondary: 'Inter', sans-serif;
  --max-w: 1224px;
  --header-h: 127px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  color: var(--dark);
  background: #fff;
  font-size: 16px;
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.3;
}

h1 {
  font-size: 64px;
}

h3 {
  font-size: 48px;
}

h5 {
  font-size: 26px;
}

h6 {
  font-size: 18px;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
}

/* ============================
   BUTTONS
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: 16px;
  padding: 16px 40px;
  border-radius: 28px;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 1px solid var(--dark);
}

.btn-outline:hover {
  background: rgba(0, 0, 0, 0.05);
}

.btn-submit {
  background: var(--primary);
  color: #fff;
  border-radius: 50px;
  padding: 16px 40px;
}

.btn-submit:hover {
  opacity: 0.9;
}

/* ============================
   HEADER
   ============================ */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.sticky {
  position: sticky;
  top: 0;
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 52px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-family: var(--font-secondary);
  font-size: 16px;
  color: var(--dark);
  transition: opacity 0.2s;
  font-weight: 400;
}

.nav-link:hover,
.nav-link.active {
  font-weight: 600;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: 0.3s;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  background: #fff;
  border-top: 1px solid #eee;
}

.mobile-nav.open {
  display: flex;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  h1 {
    font-size: 40px;
  }

  h3 {
    font-size: 32px;
  }

  h5 {
    font-size: 20px;
  }
}

/* ============================
   HERO SECTION
   ============================ */
.hero-section {
  position: relative;
  min-height: 759px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.30);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 80px;
  padding-bottom: 80px;
}

.hero-content h1 {
  color: #fff;
  margin-bottom: 48px;
  max-width: 900px;
}

.hero-sub {
  color: #fff;
  font-size: 16px;
  max-width: 503px;
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 370px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-sub {
    margin: 0 auto 32px;
  }

  .btn {
    margin: 0 auto;
  }
}

/* ============================
   OASIS SECTION
   ============================ */
.oasis-section {
  padding: 80px 0;
  background: #fff;
}

.section-title {
  font-family: var(--font-primary);
  color: var(--dark);
}

.section-title.center {
  text-align: center;
}

.section-sub {
  text-align: center;
  color: var(--gray);
  margin: 16px auto 48px;
  max-width: 700px;
  font-size: 16px;
}

.oasis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.oasis-card {
  background: var(--primary-light);
  overflow: hidden;
  position: relative;
}

.oasis-card-content {
  padding: 24px;
}

.oasis-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.oasis-card h6 {
  margin: 16px 0 8px;
  color: var(--dark);
}

.oasis-card p {
  color: var(--gray);
}

@media (max-width: 768px) {
  .oasis-grid {
    grid-template-columns: 1fr;
  }

  .oasis-section {
    padding: 48px 16px;
  }
}

/* ============================
   EMPOWER SECTION
   ============================ */
.empower-section {
  padding: 80px 0;
  background: #fff;
}

.empower-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.empower-text h3 {
  color: var(--dark);
  margin-bottom: 24px;
}

.empower-text p {
  color: var(--gray);
  margin-bottom: 32px;
}

.empower-img {
  width: 100%;
  object-fit: cover;
}

.rounded {
  border-radius: 20px;
}

@media (max-width: 768px) {
  .empower-inner {
    grid-template-columns: 1fr;
  }

  .empower-text {
    text-align: center;
  }

  .empower-section {
    padding: 48px 16px;
  }

  .empower-image {
    order: -1;
  }
}

/* ============================
   CONTACT SECTION
   ============================ */
.contact-section {
  padding: 80px 0;
  background: #fff;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info h3 {
  margin-bottom: 16px;
}

.contact-info>p {
  color: var(--gray);
  margin-bottom: 32px;
}

.contact-detail {
  margin-bottom: 16px;
}

.contact-detail h6 {
  color: var(--dark);
  margin-bottom: 4px;
}

.detail-val {
  color: var(--dark);
}

.contact-form-wrap {
  background: var(--primary-light);
  padding: 30px;
  border-radius: 0;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-size: 14px;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-secondary);
  font-size: 16px;
  color: var(--dark);
  background: #fff;
  border: 1px solid rgb(184, 192, 204);
  border-radius: 10px;
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:hover,
.form-group textarea:hover {
  border-color: var(--dark);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-success {
  margin-top: 12px;
  color: #008361;
  font-weight: 500;
}

@media (max-width: 768px) {
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .contact-section {
    padding: 48px 16px;
  }
}

/* ============================
   TESTIMONIAL SECTION
   ============================ */
.testimonial-section {
  background: var(--primary);
  padding: 80px 0;
}

.testimonial-inner {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.stars {
  font-size: 22px;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: 4px;
}

blockquote {
  font-size: 20px;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 32px;
  font-family: var(--font-secondary);
}

.reviewer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.reviewer-name {
  color: #fff;
}

@media (max-width: 768px) {
  .testimonial-section {
    padding: 56px 16px;
  }
}

/* ============================
   FOOTER
   ============================ */
.site-footer {
  background: var(--primary-dark);
  padding: 60px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-col h5 {
  color: #fff;
  margin-bottom: 16px;
}

.footer-tagline {
  color: #fff;
  font-size: 14px;
  margin-bottom: 24px;
}

.social-icons {
  display: flex;
  gap: 24px;
}

.social-icons a {
  color: #fff;
  transition: opacity 0.2s;
}

.social-icons a:hover {
  opacity: 0.7;
}

.footer-connect {
  color: #fff;
}

.footer-connect p {
  margin-bottom: 8px;
}

.footer-label {
  font-weight: 700;
  margin-bottom: 12px;
}

.newsletter-form .form-group label {
  color: #fff;
}

.newsletter-form .form-group input {
  background: #fff;
}

.newsletter-form .btn {
  margin-top: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 20px 0;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 40px 16px 0;
  }
}

/* ============================
   PAGE HERO (inner pages)
   ============================ */
.page-hero {
  background: #fff;
  padding: 80px 0 40px;
  border-bottom: 1px solid #eee;
}

.page-hero h2 {
  color: var(--dark);
  margin-bottom: 16px;
}

/* ============================
   ABOUT PAGE
   ============================ */
.about-content {
  padding: 60px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 60px;
}

.about-grid.reverse {
  direction: rtl;
}

.about-grid.reverse>* {
  direction: ltr;
}

.about-text h4 {
  margin-bottom: 16px;
  color: var(--dark);
  font-size: 32px;
}

.about-text p {
  color: var(--gray);
  margin-bottom: 16px;
}

.about-img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.mission-section {
  background: var(--primary-light);
  padding: 60px 0;
}

.mission-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.mission-inner h3 {
  margin-bottom: 24px;
}

.mission-inner p {
  color: var(--gray);
}

.values-section {
  padding: 60px 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.value-card {
  background: var(--primary-light);
  padding: 32px 24px;
  border-radius: 8px;
  text-align: center;
}

.value-card h6 {
  margin-bottom: 12px;
}

.value-card p {
  color: var(--gray);
  font-size: 15px;
}

.value-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.value-icon svg {
  width: 40px;
  height: 40px;
  color: var(--primary);
}

@media (max-width: 768px) {

  .about-grid,
  .about-grid.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .about-content {
    padding: 40px 16px;
  }

  .values-section,
  .mission-section {
    padding: 40px 16px;
  }
}

/* ============================
   REGISTRATION PAGE
   ============================ */
.reg-section {
  padding: 80px 0;
}

.reg-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.reg-info h3 {
  margin-bottom: 16px;
}

.reg-info p {
  color: var(--gray);
  margin-bottom: 32px;
}

.reg-detail {
  margin-bottom: 16px;
}

.reg-detail h6 {
  margin-bottom: 4px;
}

.reg-detail p {
  color: var(--dark);
}

.reg-form-wrap {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
}

.reg-form-wrap h3 {
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .reg-inner {
    grid-template-columns: 1fr;
  }

  .reg-section {
    padding: 48px 16px;
  }

  .reg-form-wrap {
    padding: 24px;
  }
}

/* ============================
   HERO SLIDER
   ============================ */
.hero-bg,
#hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--dark);
}

.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-bg-img.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
  pointer-events: none;
}

/* ============================
   REVIEWS SECTION
   ============================ */
.reviews-section {
  padding: 80px 0;
  background: var(--primary-light);
  text-align: center;
}

.container-sm {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.reviews-carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  z-index: 10;
  transition: all 0.3s ease;
}

.carousel-nav-btn:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-50%) scale(1.05);
}

.prev-btn {
  left: 0;
}

.next-btn {
  right: 0;
}

.reviews-carousel {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 60px;
}

@media (max-width: 768px) {
  .carousel-nav-btn {
    width: 40px;
    height: 40px;
  }

  .prev-btn {
    left: 0px;
  }

  .next-btn {
    right: 0px;
  }

  .reviews-carousel {
    padding: 0 50px;
  }
}

.review-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  width: 100%;
  padding: 0 50px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease-in-out;
}

.review-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.review-stars {
  margin-bottom: 24px;
  color: #f5b041;
  display: flex;
  gap: 4px;
  justify-content: center;
  transform: scale(1.2);
}

.review-stars svg {
  width: 24px;
  height: 24px;
}

.review-text {
  font-family: var(--font-secondary);
  font-size: 22px;
  line-height: 1.6;
  color: var(--dark);
  font-style: italic;
  margin-bottom: 32px;
  font-weight: 400;
}

.review-author {
  font-family: var(--font-primary);
  font-size: 22px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
}

.review-author-title {
  font-size: 16px;
  color: var(--gray);
  font-weight: 400;
}

/* ============================
   LOCATION SECTION
   ============================ */
.location-section {
  padding: 80px 0;
  background: #fff;
}

.location-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 40px;
}

.location-image img {
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  width: 100%;
  transition: transform 0.3s ease;
}

.location-image img:hover {
  transform: scale(1.02);
}

.location-text p {
  font-size: 20px;
  color: var(--gray);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .location-container {
    grid-template-columns: 1fr;
  }

  .reviews-section,
  .location-section {
    padding: 48px 16px;
  }
}

/* ============================
   ABOUT PAGE CUSTOM LAYOUT
   ============================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-custom-hero {
  padding: 30px 0 20px;
  text-align: center;
  animation: fadeInUp 0.8s ease forwards;
}

.about-main-title {
  font-size: 80px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -2px;
}

.about-custom-content {
  padding-bottom: 80px;
}

.about-flex-row {
  display: flex;
  gap: 60px;
  margin-bottom: 60px;
  align-items: flex-start;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.2s forwards;
}

.about-flex-left {
  flex: 0 0 35%;
}

.about-flex-left .about-section-heading {
  font-size: 48px;
  line-height: 1.1;
  color: var(--dark);
  margin-top: 0;
  letter-spacing: -1px;
}

.about-flex-right {
  flex: 1;
}

.about-flex-right p {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 24px;
}

.about-flex-right p:last-child {
  margin-bottom: 0;
}

.about-gallery {
  display: flex;
  gap: 24px;
  margin: 60px 0;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.4s forwards;
}

.about-gallery img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.5s ease;
}

.about-gallery img:hover {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .about-flex-row {
    flex-direction: column;
    gap: 32px;
  }

  .about-flex-left {
    flex: 1;
  }

  .about-gallery {
    flex-direction: column;
  }

  .about-gallery img {
    width: 100%;
  }

  .about-main-title {
    font-size: 48px;
    letter-spacing: -1px;
  }

  .about-custom-hero {
    padding: 60px 0 40px;
  }
}