/* ============================================================
   ZOOREBEL PLC — Global Stylesheet
   Colors: Blue #2563B0, Gold #F5A623, White #FFFFFF, Light Gray #F4F6FA
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --blue: #2563B0;
  --blue-dark: #1a4a8a;
  --blue-light: #3b7fd4;
  --gold: #F5A623;
  --gold-dark: #d4880f;
  --white: #ffffff;
  --gray-light: #F4F6FA;
  --gray-mid: #e8ecf4;
  --gray-border: #dce3ef;
  --text-dark: #1a2340;
  --text-mid: #3d4f72;
  --text-muted: #7a89a8;
  --shadow-sm: 0 2px 8px rgba(37, 99, 176, 0.08);
  --shadow-md: 0 8px 30px rgba(37, 99, 176, 0.12);
  --shadow-lg: 0 20px 60px rgba(37, 99, 176, 0.16);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

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

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

ul {
  list-style: none;
}

/* ── PAGE LOADER ── */
#page-loader {
  position: fixed;
  inset: 0;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.loader-logo {
  width: 80px;
  animation: loaderPulse 1.2s ease-in-out infinite;
}

.loader-bar {
  width: 200px;
  height: 3px;
  background: var(--gray-mid);
  border-radius: 2px;
  overflow: hidden;
}

.loader-progress {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  border-radius: 2px;
  animation: loaderFill 1.5s ease forwards;
}

@keyframes loaderPulse {

  0%,
  100% {
    transform: scale(1)
  }

  50% {
    transform: scale(1.08)
  }
}

@keyframes loaderFill {
  to {
    width: 100%;
  }
}

/* ── HEADER ── */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-border);
  transition: var(--transition);
}

header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-wrap img {
  height: 52px;
  width: auto;
  transition: var(--transition);
}

.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
}

.brand-name .brand-plc {
  color: var(--gold);
}

.logo-wrap:hover .brand-name {
  color: var(--blue);
}

.logo-wrap:hover img {
  transform: scale(1.04);
}

nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

nav > ul {
  display: flex;
  align-items: center;
  gap: 2px;
}

nav>ul>li {
  position: relative;
}

nav>ul>li>a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-mid);
  transition: var(--transition);
  white-space: nowrap;
}

nav>ul>li>a:hover,
nav>ul>li.active>a {
  color: var(--blue);
}

nav>ul>li>a .chevron {
  width: 12px;
  height: 12px;
  transition: transform 0.3s;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

nav>ul>li:hover>a .chevron {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-border);
  min-width: 220px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
}

nav>ul>li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-mid);
  transition: var(--transition);
}

.dropdown li a:hover {
  background: var(--gray-light);
  color: var(--blue);
  padding-left: 18px;
}

.nav-cta {
  margin-left: 16px;
  padding: 10px 22px !important;
  background: var(--blue) !important;
  color: var(--white) !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  transition: var(--transition) !important;
}

.nav-cta:hover {
  background: var(--blue-dark) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

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

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── SCROLL TO TOP ── */
#scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  border: none;
}

#scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#scroll-top:hover {
  background: var(--gold);
  transform: translateY(-3px);
}

/* ── SECTION REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── COMMON COMPONENTS ── */
.section {
  padding: 90px 32px;
}

.section-sm {
  padding: 60px 32px;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 18px;
}

.section-title span {
  color: var(--blue);
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.7;
}

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

.text-center .section-subtitle {
  margin: 0 auto;
}

.text-center .section-tag {
  display: inline-flex;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
}

.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245, 166, 35, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--blue);
}

/* Arrow icon in buttons */
.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}

.btn:hover svg {
  transform: translateX(3px);
}

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-light);
}

/* Stats */
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
}

.stat-number span {
  color: var(--gold);
}

/* ── FOOTER ── */
footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 70px 32px 0;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  text-decoration: none;
}

.footer-logo-wrap img {
  height: 48px;
  width: auto;
  transition: var(--transition);
}

.footer-logo-wrap:hover img {
  transform: scale(1.04);
}

.footer-brand-name {
  color: var(--white);
}

.footer-logo-wrap:hover .footer-brand-name {
  color: var(--blue-light);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.6);
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 14px;
  color: var(--white);
}

.footer-social a:hover {
  background: var(--blue);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  align-items: flex-start;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--gold);
}

.footer-contact-item span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a:hover {
  color: var(--gold);
}

/* ── HERO STYLES ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.hero.section {
  padding-top: 140px;
  padding-bottom: 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #f0f5ff 0%, #fafbff 50%, #fff8ee 100%);
  z-index: 0;
}

.hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.hero-bg-shape-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 176, 0.3) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

.hero-bg-shape-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.25) 0%, transparent 70%);
  bottom: -50px;
  left: 10%;
}

.hero-content {
  position: relative;
  z-index: 1;
  margin-top: auto;
  margin-bottom: auto;
}

/* Page Hero (inner pages) */
.page-hero {
  padding: 160px 32px 80px;
  text-align: center;
  background: linear-gradient(135deg, #eef4ff 0%, #f9fbff 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 176, 0.12) 0%, transparent 70%);
}

.page-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.page-hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--blue);
}

.breadcrumb svg {
  width: 12px;
  height: 12px;
}

/* ── GRID UTILITIES ── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.gap-lg {
  gap: 48px;
}

.align-center {
  align-items: center;
}

/* ── DIVIDER ── */
.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  border-radius: 2px;
  margin: 18px 0 28px;
}

.divider.center {
  margin: 18px auto 28px;
}

/* ── BLUE STRIP ── */
.blue-strip {
  background: var(--blue);
}

.gold-strip {
  background: var(--gold);
}

/* ── IMAGE PLACEHOLDER ── */
.img-placeholder {
  width: 100%;
  background: var(--gray-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  overflow: hidden;
  position: relative;
}

.img-placeholder svg {
  width: 40px;
  height: 40px;
  opacity: 0.3;
}

/* Geometric decorative line */
.geo-line {
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-border), transparent);
  margin: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-2.gap-lg {
    grid-template-columns: 1fr;
  }

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

  header {
    backdrop-filter: none !important;
    background: var(--white) !important;
  }

  nav {
    display: none;
  }

  nav.mobile-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    padding: 24px 32px;
    overflow-y: auto;
    border-top: 1px solid var(--gray-border);
    gap: 0;
    z-index: 1000;
  }

  nav.mobile-open ul {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0;
  }

  nav.mobile-open>ul>li>a {
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--gray-light);
  }

  nav.mobile-open .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 8px 16px;
    display: none;
  }

  nav.mobile-open .dropdown.mobile-dropdown-open {
    display: block;
  }

  nav.mobile-open .nav-cta {
    margin: 16px 0 0;
  }

  .hamburger {
    display: flex;
  }

  .hero.section {
    padding-top: 130px;
    padding-bottom: 60px;
  }
}

@media (max-width: 640px) {

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

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

  .section {
    padding: 60px 20px;
  }

  .header-inner {
    padding: 0 20px;
  }

  .page-hero {
    padding: 130px 20px 60px;
  }

  .hero.section {
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .brand-name {
    font-size: 18px;
  }

  .logo-wrap img {
    height: 42px;
  }

  .logo-wrap {
    gap: 8px;
  }
}

@media (max-width: 380px) {
  .brand-name {
    font-size: 15px;
  }

  .logo-wrap img {
    height: 34px;
  }

  .logo-wrap {
    gap: 6px;
  }
}

/* ── CONTACT FORM & ENQUIRY STYLES ── */
.contact-form-wrap {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-row .form-group {
  margin-bottom: 0;
}

.form-group label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  font-family: inherit;
  font-size: 14.5px;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  transition: var(--transition);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 176, 0.15);
}

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

.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea {
  border-color: #e53e3e;
}

.form-group.invalid input:focus,
.form-group.invalid select:focus,
.form-group.invalid textarea:focus {
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.15);
}

.error-msg {
  font-size: 12px;
  color: #e53e3e;
  margin-top: 5px;
  font-weight: 500;
  display: none;
}

.form-group.invalid .error-msg {
  display: block;
}

.form-success {
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}