/* =========================================================
   THE PRANGAN LIBRARY — STYLESHEET
   Design: Bold orange & teal with dark study-room atmosphere
   ========================================================= */

/* ---------- TOKENS ---------- */
:root {
  --orange:       #E8530A;
  --orange-light: #FF7A3D;
  --orange-glow:  rgba(232,83,10,0.18);
  --teal:         #3BBFCD;
  --teal-dark:    #1E8A96;
  --dark:         #0E0E12;
  --dark-2:       #15151C;
  --dark-3:       #1E1E28;
  --card-bg:      #1A1A24;
  --white:        #FFFFFF;
  --off-white:    #F0F0F4;
  --muted:        #9090A8;
  --border:       rgba(255,255,255,0.07);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-ui:      'Space Grotesk', system-ui, sans-serif;

  --radius-sm:    8px;
  --radius-md:    16px;
  --radius-lg:    24px;
  --radius-xl:    40px;

  --shadow-card:  0 4px 32px rgba(0,0,0,0.4);
  --shadow-glow:  0 0 40px rgba(232,83,10,0.25);
  --transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--off-white);
  overflow-x: hidden;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- UTILITIES ---------- */
.section { padding: 96px 0; }
.section--dark { background: var(--dark-2); }
.center { text-align: center; }

.section__eyebrow {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
  display: block;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 24px;
}
.section__title em { color: var(--teal); font-style: normal; }

.gradient-text {
  background: linear-gradient(135deg, var(--orange-light) 0%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(232,83,10,0.4);
}
.btn--primary:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232,83,10,0.5);
}
.btn--ghost {
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}
.btn--ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
}
.btn--full { width: 100%; justify-content: center; }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
  height: 68px;
}
.nav.scrolled {
  background: rgba(14,14,18,0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.1rem;
}
.logo-icon { font-size: 1.4rem; }
.logo-accent { color: var(--orange); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__links a {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  color: rgba(255,255,255,0.8);
}
.nav__links a:hover { color: var(--white); background: var(--border); }
.nav__cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-xl) !important;
  font-weight: 700 !important;
}
.nav__cta:hover { background: var(--orange-light) !important; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(232,83,10,0.12) 0%, transparent 60%),
              radial-gradient(ellipse 60% 40% at 80% 80%, rgba(59,191,205,0.08) 0%, transparent 50%),
              var(--dark);
}
.hero__bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(120px, 25vw, 340px);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.04);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.02em;
}
.hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
  animation: float linear infinite;
}
.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 80px;
  max-width: 760px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,83,10,0.12);
  border: 1px solid rgba(232,83,10,0.3);
  border-radius: var(--radius-xl);
  padding: 8px 20px;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--orange-light);
  margin-bottom: 28px;
}
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 1.06;
  color: var(--white);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}
.hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 560px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 52px;
}
.hero__stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.stat__num small {
  font-size: 1rem;
  color: var(--orange);
}
.stat__lbl {
  font-size: 0.75rem;
  color: var(--muted);
  font-family: var(--font-ui);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 4px;
  display: block;
}
.stat__div {
  width: 1px;
  height: 40px;
  background: var(--border);
}
.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-arrow {
  width: 18px;
  height: 18px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  animation: bounce 1.6s ease-in-out infinite;
}

/* ---------- TICKER ---------- */
.ticker-wrap {
  background: var(--orange);
  overflow: hidden;
  padding: 12px 0;
}
.ticker {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
  gap: 0;
}
.ticker span {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
  white-space: nowrap;
  padding: 0 4px;
}

/* ---------- ABOUT ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.about__visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about__quote-card {
  background: linear-gradient(135deg, rgba(232,83,10,0.12) 0%, rgba(59,191,205,0.08) 100%);
  border: 1px solid var(--border);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}
.quote-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.6;
  margin-bottom: 12px;
}
.quote-author {
  font-size: 0.82rem;
  color: var(--orange-light);
  font-family: var(--font-ui);
  font-weight: 600;
}
.about__toggle-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.toggle-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
}
.toggle-row.off { color: var(--muted); }
.toggle {
  width: 36px;
  height: 20px;
  border-radius: 10px;
  flex-shrink: 0;
  position: relative;
}
.toggle::after {
  content: '';
  position: absolute;
  top: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  transition: var(--transition);
}
.toggle.on { background: #22C55E; }
.toggle.on::after { right: 3px; }
.toggle.off { background: #EF4444; }
.toggle.off::after { left: 3px; }

.about__desc {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
.about__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.tag {
  background: rgba(232,83,10,0.1);
  border: 1px solid rgba(232,83,10,0.25);
  border-radius: var(--radius-xl);
  padding: 5px 14px;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--orange-light);
}

/* ---------- FACILITIES ---------- */
.facilities__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.facility-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.facility-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--teal));
  transform: scaleX(0);
  transition: var(--transition);
}
.facility-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: rgba(232,83,10,0.3); }
.facility-card:hover::before { transform: scaleX(1); }
.facility-card__icon { font-size: 1.8rem; margin-bottom: 16px; }
.facility-card h3 {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.facility-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- SAFETY ---------- */
.safety__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.safety-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}
.safety-item:hover { border-color: var(--teal); color: var(--teal); }
.safety-item__icon { font-size: 1.5rem; flex-shrink: 0; }

/* ---------- GALLERY ---------- */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 260px 220px;
  gap: 16px;
  margin-top: 52px;
}
.gallery-item { border-radius: var(--radius-md); overflow: hidden; }
.gallery-item--tall { grid-row: 1 / 3; }
.gallery-item--wide { grid-column: 2 / 4; }

.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.gp1 { background: linear-gradient(135deg, #1E0A02 0%, #3A1208 60%, #E8530A22 100%); border: 1px solid rgba(232,83,10,0.3); }
.gp2 { background: linear-gradient(135deg, #011E22 0%, #0A3A40 60%, #3BBFCD22 100%); border: 1px solid rgba(59,191,205,0.3); }
.gp3 { background: linear-gradient(135deg, #12100E 0%, #2A1A0A 100%); border: 1px solid var(--border); }
.gp4 { background: linear-gradient(135deg, #1A0E1E 0%, #2E0E1E 50%, #E8530A11 100%); border: 1px solid var(--border); }
.gp5 { background: linear-gradient(135deg, #0E1A1E 0%, #0E2A30 100%); border: 1px solid var(--border); }

/* To add real images, replace with:
   .gp1 { background: url('../images/photo1.jpg') center/cover; }
*/
   .gp1 { background: url('../images/lib1.jpg') center/cover; }
.gp2 { background: url('../images/lib2.jpg') center/cover; }
.gp3 { background: url('../images/lib3.jpg') center/cover; }
.gp4 { background: url('../images/lib4.jpg') center/cover; }
.gp5 { background: url('../images/lib5.jpg') center/cover; }


.gp-inner {
  text-align: center;
  padding: 24px;
}
.gp-icon { font-size: 2.5rem; display: block; margin-bottom: 12px; }
.gp-inner p { font-family: var(--font-ui); font-weight: 600; color: var(--white); font-size: 0.95rem; }
.gp-inner small { color: var(--muted); font-size: 0.78rem; }

.gallery__note {
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 20px;
}
.gallery__note code { color: var(--teal); background: rgba(59,191,205,0.1); padding: 2px 6px; border-radius: 4px; font-size: 0.78rem; }

/* ---------- MOTIVATION STRIP ---------- */
.motivation-strip {
  background: var(--dark-3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.motivation-strip__words {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.motivation-strip__words span {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}
.motivation-strip__words span:first-child,
.motivation-strip__words span:nth-child(3),
.motivation-strip__words span:nth-child(5) {
  color: var(--orange);
}
.motivation-strip__words span:nth-child(7) { color: var(--teal); }

/* ---------- TERMS ---------- */
.terms__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.terms__intro > p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 28px;
}
.terms__daily {
  background: linear-gradient(135deg, rgba(59,191,205,0.07) 0%, rgba(232,83,10,0.07) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 28px;
}
.terms__daily-title {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.morning-lines {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  counter-reset: line;
}
.morning-lines li {
  counter-increment: line;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--off-white);
}
.morning-lines li::before {
  content: counter(line);
  width: 22px;
  height: 22px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.terms__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.terms__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
  padding: 14px 16px;
  background: var(--dark-3);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.terms__list li:hover { border-color: rgba(232,83,10,0.25); color: var(--off-white); }
.tc-icon { flex-shrink: 0; font-size: 1rem; margin-top: 1px; }

/* ---------- CONTACT ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact__desc {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 36px;
}
.contact__details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.cd-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.contact-detail strong {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 4px;
}
.contact-detail p {
  font-size: 0.92rem;
  color: var(--off-white);
  line-height: 1.5;
}
.contact-detail small { font-size: 0.78rem; color: var(--muted); }
.contact-link { color: var(--orange-light); text-decoration: underline; text-underline-offset: 3px; }
.contact-link:hover { color: var(--orange); }
.booking-label {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.booking-label strong { color: var(--teal); }
.app-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.app-badge {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--off-white);
  transition: var(--transition);
}
.app-badge:hover { border-color: var(--teal); color: var(--teal); }

/* Form */
.enquiry-form {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}
.enquiry-form h3 {
  font-family: var(--font-ui);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(144,144,168,0.5); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232,83,10,0.12);
}
.form-group select option { background: var(--dark-2); }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-note { text-align: center; font-size: 0.78rem; color: var(--muted); margin-top: 12px; }
.form-success {
  margin-top: 16px;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.3);
  color: #4ADE80;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  text-align: center;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ---------- FOOTER ---------- */
.footer {
  background: #080810;
  border-top: 1px solid var(--border);
  padding-top: 52px;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 36px;
  padding-bottom: 40px;
}
.footer__brand { max-width: 280px; }
.footer__brand .logo-icon { font-size: 1.5rem; margin-bottom: 6px; }
.footer__brand .logo-text {
  display: block;
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.footer__tagline { font-size: 0.82rem; color: var(--muted); line-height: 1.6; }
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a {
  font-family: var(--font-ui);
  font-size: 0.88rem;
  color: var(--muted);
  transition: var(--transition);
}
.footer__links a:hover { color: var(--orange-light); }
.footer__contact p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}
.footer__contact a { color: var(--teal); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(144,144,168,0.5);
}

/* ---------- FLOATING ELEMENTS ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
  animation: pulse-green 2.5s ease-in-out infinite;
}
.whatsapp-float svg { width: 28px; height: 28px; }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.55); }

.back-to-top {
  position: fixed;
  bottom: 96px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dark-3);
  border: 1px solid var(--border);
  color: var(--white);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { border-color: var(--orange); color: var(--orange); }

/* ---------- ANIMATIONS ---------- */
@keyframes float {
  from { transform: translateY(0) rotate(0deg); opacity: 0; }
  10% { opacity: 0.4; }
  90% { opacity: 0.4; }
  to { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}
@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(5px); }
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 32px rgba(37,211,102,0.7); }
}

/* Scroll reveal */
.animate-fadeup {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-fadeup.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .facilities__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid { gap: 40px; }
  .contact__grid { gap: 40px; }
  .terms__grid { gap: 40px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  .nav__links {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(14,14,18,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px 24px 32px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 12px 16px; font-size: 1rem; }
  .nav__toggle { display: flex; }
  .nav__toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav__toggle.open span:nth-child(2) { opacity: 0; }
  .nav__toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .hero__content { padding-top: 100px; }
  .hero__headline { font-size: clamp(2.4rem, 9vw, 3.2rem); }
  .hero__bg-text { font-size: 120px; opacity: 0.5; }

  .about__grid { grid-template-columns: 1fr; }
  .about__visual { order: 2; }
  .about__text { order: 1; }

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

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

  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-item--tall { grid-row: auto; }
  .gallery-item--wide { grid-column: auto; }
  .gallery-placeholder { height: 160px; }

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

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

  .footer__inner { flex-direction: column; gap: 28px; }

  .motivation-strip__words { justify-content: flex-start; }
}

@media (max-width: 480px) {
  .facilities__grid { grid-template-columns: 1fr; }
  .safety__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr; }
  .gallery-placeholder { height: 180px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { text-align: center; justify-content: center; }
  .hero__stats { gap: 16px; }
  .enquiry-form { padding: 24px 20px; }
}


.nav__logo{
    display:flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
}

.logo-img{
    width:56px;
    height:56px;
    border-radius:50%;      /* Makes it circular */
    object-fit:cover;       /* Crops the image like a logo */
    border:2px solid #fff;
    background:#fff;
}

.logo-img1{
    width: 33px;
    height: 33px;
    border-radius:50%;      /* Makes it circular */
    object-fit:cover;       /* Crops the image like a logo */
    border:2px solid #fff;
    background:#fff;
}