/* ==========================================================================
   Study Arabic Marrakech - Modern Design System & Stylesheet
   Theme Name: Study Arabic Marrakech Modern
   Author: Antigravity Team
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Brand Palette - Exactly Harmonized with New Logo */
  --navy-main: #0D1127;
  --navy-deep: #070A18;
  --navy-surface: #141A38;
  --navy-light: #1E2752;
  
  --sand-gold: #D49343;
  --sand-gold-dark: #B87B2E;
  --sand-gold-light: #F3DFC0;
  --sand-gold-soft: #FDF8F0;
  
  --sky-blue: #7EAED9;
  --sky-blue-dark: #4F89BD;
  --sky-blue-soft: #EEF5FC;
  
  --terracotta: #D49343;
  --terracotta-dark: #B87B2E;
  --terracotta-light: #E5A85A;
  --terracotta-soft: #FDF8F0;
  
  --majorelle: #0D1127;
  --majorelle-dark: #070A18;
  --majorelle-light: #1A244D;
  --majorelle-soft: #EEF4FB;
  
  --emerald: #10B981;
  --emerald-dark: #059669;
  --emerald-soft: #ECFDF5;
  
  --charcoal: #0D1127;
  --slate: #334155;
  --muted: #64748B;
  --light-bg: #F8F9FD;
  --pure-white: #FFFFFF;
  
  /* Typography */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-arabic: 'Amiri', serif;
  
  /* Radii & Shadows */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(13, 17, 39, 0.05);
  --shadow-md: 0 8px 24px rgba(13, 17, 39, 0.08);
  --shadow-lg: 0 16px 40px rgba(13, 17, 39, 0.12);
  --shadow-hover: 0 22px 50px rgba(212, 147, 67, 0.22);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--light-bg);
  color: var(--slate);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--charcoal);
  line-height: 1.25;
  font-weight: 700;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--terracotta);
  text-decoration: none;
  transition: all var(--transition-fast);
}

a:hover {
  color: var(--terracotta-dark);
}

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

.arabic-text {
  font-family: var(--font-arabic);
  direction: rtl;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.top-bar {
  background: var(--charcoal);
  color: #D6D3D1;
  font-size: 0.875rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-contacts {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar-link {
  color: #E7E5E4;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.top-bar-link:hover {
  color: var(--sand-gold);
}

.top-bar-badge {
  background: rgba(200, 90, 50, 0.25);
  color: #FFA578;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(200, 90, 50, 0.35);
}

/* Sticky Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212, 147, 67, 0.18);
  transition: all var(--transition-normal);
  width: 100%;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(13, 17, 39, 0.08);
  border-bottom-color: var(--sand-gold);
}

/* Split Header with 130px Centered Logo in the middle of Menu */
.site-header-split {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212, 147, 67, 0.18);
  box-shadow: 0 4px 20px rgba(13, 17, 39, 0.06);
  transition: all var(--transition-normal);
  width: 100%;
}

.site-header-split .container {
  max-width: 1440px;
}

.site-header-split.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(13, 17, 39, 0.1);
  border-bottom-color: var(--sand-gold);
}

.navbar-split-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 140px;
  padding: 0.5rem 0;
  gap: 1.5rem;
  width: 100%;
}

.split-nav-left {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.split-nav-left .nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.brand-logo-split {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.5rem;
  flex-shrink: 0;
  text-decoration: none;
}

.site-logo-130 {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 3px solid var(--sand-gold);
  box-shadow: 0 8px 26px rgba(13, 17, 39, 0.2);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.brand-logo-split:hover .site-logo-130 {
  transform: scale(1.05);
  box-shadow: 0 12px 34px rgba(212, 147, 67, 0.38);
}

.split-nav-right-wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  justify-content: flex-start;
}

.split-nav-right {
  display: flex;
  align-items: center;
}

.split-nav-right .nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item a {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--slate);
  padding: 0.5rem 0.25rem;
  position: relative;
  white-space: nowrap !important;
  display: inline-block;
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--sand-gold);
  border-radius: var(--radius-full);
  transition: width var(--transition-normal);
}

.nav-item a:hover,
.nav-item a.active {
  color: var(--sand-gold);
}

.nav-item a:hover::after,
.nav-item a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.nav-actions .btn {
  padding: 0.52rem 1.15rem;
  font-size: 0.85rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--charcoal);
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-nav {
  display: none;
}

/* ==========================================================================
   Buttons & CTAs
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--sand-gold) 0%, var(--sand-gold-dark) 100%);
  color: #070A18;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(212, 147, 67, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #E5A85A 0%, var(--sand-gold) 100%);
  color: #070A18;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(212, 147, 67, 0.45);
}

.btn-secondary {
  background: var(--navy-main);
  color: var(--pure-white);
  box-shadow: 0 6px 18px rgba(13, 17, 39, 0.25);
}

.btn-secondary:hover {
  background: var(--navy-light);
  color: var(--pure-white);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(13, 17, 39, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--navy-main);
  border: 2px solid rgba(13, 17, 39, 0.2);
}

.btn-outline:hover {
  border-color: var(--sand-gold);
  color: var(--navy-main);
  background: var(--sand-gold-soft);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--pure-white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background: var(--pure-white);
  color: var(--navy-main);
  border-color: var(--pure-white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--pure-white);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #20BA5A;
  color: var(--pure-white);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  padding: 5.5rem 0;
  background: url('../images/hero-riad.jpg') center/cover no-repeat;
  color: var(--pure-white);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(126, 174, 217, 0.18), transparent 50%),
              linear-gradient(
                135deg,
                rgba(7, 10, 24, 0.92) 0%,
                rgba(13, 17, 39, 0.85) 50%,
                rgba(20, 26, 56, 0.78) 100%
              );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  background: rgba(13, 17, 39, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--sand-gold);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sand-gold-light);
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--pure-white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-title span {
  background: linear-gradient(135deg, var(--sand-gold) 0%, #F5CE98 50%, var(--sky-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #E7E5E4;
  margin-bottom: 2.25rem;
  max-width: 700px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: #FFD6A5;
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: #D6D3D1;
  margin-top: 0.35rem;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--terracotta);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ==========================================================================
   Spotlight Section: 3 Signature Immersion Experiences
   ========================================================================== */
.signature-section {
  background: var(--light-bg);
  position: relative;
}

.signature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.signature-card {
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(200, 90, 50, 0.1);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.signature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(200, 90, 50, 0.3);
}

.signature-card-featured {
  border: 2px solid var(--terracotta);
  position: relative;
}

.featured-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  background: var(--terracotta);
  color: var(--pure-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.signature-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.signature-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.signature-card:hover .signature-img-wrap img {
  transform: scale(1.06);
}

.signature-tag {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(28, 25, 23, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFD6A5;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.signature-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.signature-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.85rem;
}

.signature-desc {
  font-size: 0.95rem;
  color: var(--slate);
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

.signature-highlights {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.signature-highlights li {
  font-size: 0.875rem;
  color: var(--slate);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.signature-highlights li i {
  color: var(--emerald);
  font-size: 0.9rem;
}

.signature-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid #F0ECE6;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.signature-duration {
  display: flex;
  flex-direction: column;
}

.duration-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 600;
}

.duration-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--charcoal);
}

/* ==========================================================================
   Program Catalog & Interactive Tabs
   ========================================================================== */
.programs-section {
  background: var(--pure-white);
}

.filter-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--light-bg);
  color: var(--slate);
  border: 1px solid #E5E0D8;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--terracotta);
  color: var(--pure-white);
  border-color: var(--terracotta);
  box-shadow: 0 4px 12px rgba(200, 90, 50, 0.25);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.program-card {
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid #ECE7DF;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.program-card:hover {
  background: var(--pure-white);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: rgba(200, 90, 50, 0.25);
}

.program-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.badge-darija {
  background: var(--terracotta-soft);
  color: var(--terracotta-dark);
}

.badge-msa {
  background: var(--majorelle-soft);
  color: var(--majorelle);
}

.badge-cultural {
  background: var(--emerald-soft);
  color: var(--emerald-dark);
}

.badge-online {
  background: #FFF3E0;
  color: #E65100;
}

.program-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.program-desc {
  font-size: 0.925rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

.program-meta {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid #E5E0D8;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.meta-label {
  color: var(--muted);
}

.meta-value {
  font-weight: 600;
  color: var(--charcoal);
}

/* ==========================================================================
   Book Section (Moroccan Dialect Verbs)
   ========================================================================== */
.book-section {
  background: linear-gradient(135deg, #241E1C 0%, #151312 100%);
  color: var(--pure-white);
  position: relative;
  overflow: hidden;
}

.book-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
}

.book-preview-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(212, 163, 115, 0.3);
}

.book-preview-wrap img {
  width: 100%;
  transition: transform var(--transition-smooth);
}

.book-preview-wrap:hover img {
  transform: scale(1.03);
}

.book-content h2 {
  color: var(--pure-white);
  font-size: 2.3rem;
  margin-bottom: 1.25rem;
}

.book-content p {
  color: #D6D3D1;
  font-size: 1.05rem;
  line-height: 1.65;
}

.book-features {
  list-style: none;
  margin: 1.5rem 0 2rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.book-features li {
  font-size: 0.9rem;
  color: #E7E5E4;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.book-features li i {
  color: var(--sand-gold);
}

/* ==========================================================================
   About Marrakech Guide Section
   ========================================================================== */
.guide-section {
  background: var(--light-bg);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.guide-card {
  background: var(--pure-white);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  border: 1px solid #ECE7DF;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--terracotta);
}

.guide-icon {
  width: 50px;
  height: 50px;
  background: var(--terracotta-soft);
  color: var(--terracotta);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.guide-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.guide-desc {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.55;
}

/* ==========================================================================
   Registration & Booking Section
   ========================================================================== */
.register-section {
  background: var(--pure-white);
  position: relative;
}

.register-card {
  background: var(--light-bg);
  border-radius: var(--radius-xl);
  padding: 3rem;
  border: 1px solid #ECE7DF;
  box-shadow: var(--shadow-lg);
  max-width: 900px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--charcoal);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border: 1.5px solid #D6D0C7;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  background: var(--pure-white);
  color: var(--charcoal);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(200, 90, 50, 0.12);
}

select.form-control {
  cursor: pointer;
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

/* Form Feedbacks */
.form-feedback {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  display: none;
}

.form-feedback.success {
  display: block;
  background: var(--emerald-soft);
  color: var(--emerald-dark);
  border: 1px solid #A7F3D0;
}

.form-feedback.error {
  display: block;
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* ==========================================================================
   WordPress Form Plugins Compatibility (Contact Form 7 & WPForms)
   ========================================================================== */
.wpcf7-form p,
.wpforms-form .wpforms-field {
  margin-bottom: 1.25rem;
}

.wpcf7-form label,
.wpforms-form .wpforms-field-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.45rem;
}

.wpcf7-text,
.wpcf7-textarea,
.wpcf7-select,
.wpcf7-date,
.wpforms-field input[type="text"],
.wpforms-field input[type="email"],
.wpforms-field input[type="tel"],
.wpforms-field input[type="date"],
.wpforms-field select,
.wpforms-field textarea {
  width: 100%;
  padding: 0.8rem 1.1rem;
  font-size: 0.925rem;
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--pure-white);
  border: 1.5px solid #E5E0D8;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  outline: none;
  box-sizing: border-box;
}

.wpcf7-text:focus,
.wpcf7-textarea:focus,
.wpcf7-select:focus,
.wpcf7-date:focus,
.wpforms-field input:focus,
.wpforms-field select:focus,
.wpforms-field textarea:focus {
  border-color: var(--sand-gold);
  box-shadow: 0 0 0 3px rgba(212, 147, 67, 0.15);
}

.wpcf7-submit,
.wpforms-submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.9rem 3rem !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  border-radius: var(--radius-full) !important;
  cursor: pointer !important;
  transition: all var(--transition-normal) !important;
  border: none !important;
  background: linear-gradient(135deg, var(--sand-gold) 0%, var(--sand-gold-dark) 100%) !important;
  color: #070A18 !important;
  box-shadow: 0 6px 18px rgba(212, 147, 67, 0.35) !important;
  margin: 1.5rem auto 0 auto !important;
}

.wpcf7-submit:hover,
.wpforms-submit:hover {
  background: linear-gradient(135deg, #E5A85A 0%, var(--sand-gold) 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 24px rgba(212, 147, 67, 0.45) !important;
}

.wpcf7-response-output {
  border-radius: var(--radius-md) !important;
  padding: 1.25rem 1.5rem !important;
  font-size: 0.95rem !important;
  margin-top: 1.5rem !important;
  border: 1px solid var(--sand-gold) !important;
  background: var(--sand-gold-soft) !important;
  color: var(--navy-main) !important;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #151312;
  color: #A8A29E;
  padding: 4.5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand h3 {
  color: var(--pure-white);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col h4 {
  color: var(--pure-white);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: #A8A29E;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--sand-gold);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* Floating WhatsApp widget */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: var(--pure-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-normal);
  text-decoration: none;
}

.floating-whatsapp:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
  color: var(--pure-white);
}

/* ==========================================================================
   Contact Cards Specific Styling
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2rem;
  max-width: 1040px;
  margin: 0 auto;
}

.contact-card {
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  border: 1px solid #ECE7DF;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: space-between;
  min-height: 290px;
  transition: all var(--transition-fast);
  box-sizing: border-box;
  overflow: hidden;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--terracotta);
}

.contact-card-icon {
  width: 54px;
  height: 54px;
  background: var(--terracotta-soft);
  color: var(--terracotta);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.25rem auto;
}

.contact-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}

.contact-card-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.contact-detail-text {
  display: block;
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 1rem;
  word-break: break-all;
}

.contact-action-btn {
  width: 100%;
  max-width: 260px;
  padding: 0.65rem 1.2rem;
  font-size: 0.88rem;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1160px) {
  .desktop-nav,
  .split-nav-left,
  .split-nav-right {
    display: none !important;
  }

  .navbar-split-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 75px !important;
    height: 75px !important;
    padding: 0.4rem 0 !important;
    width: 100% !important;
    gap: 0.75rem !important;
  }

  .brand-logo-split {
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
  }

  .site-logo-130 {
    width: 58px !important;
    height: 58px !important;
    border-width: 2px !important;
    box-shadow: 0 4px 12px rgba(13, 17, 39, 0.18) !important;
  }

  .split-nav-right-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0.65rem !important;
    flex: initial !important;
  }

  .nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
  }

  .nav-actions .btn-whatsapp {
    display: none !important;
  }

  .nav-actions .btn-primary {
    padding: 0.46rem 0.95rem !important;
    font-size: 0.82rem !important;
  }

  .mobile-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: none !important;
    border: none !important;
    font-size: 1.6rem !important;
    line-height: 1 !important;
    color: var(--navy-main) !important;
    cursor: pointer !important;
    padding: 0.4rem !important;
  }
  
  .mobile-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 75px;
    left: 0;
    width: 100%;
    background: var(--pure-white);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid #ECE7DF;
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
    list-style: none;
    gap: 1rem;
    z-index: 999;
  }
  
  .mobile-nav.open {
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .book-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-desc {
    font-size: 1rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

