/* ==========================================================================
   PASHAM PHOTOGRAPHY - FLAT LUXURY EDITORIAL STYLESHEET
   Brand Style: Flat Premium Minimalism (Apple & Vogue Editorial Aesthetic)
   ========================================================================= */

/* Import Premium Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
   DESIGN TOKENS & CUSTOM PROPERTIES
   ========================================================================== */
:root {
  /* Flat Solid Color System */
  --bg-pure: #ffffff;             /* Pure white canvas */
  --bg-deep: #fafafa;             /* Crisp, clean light gray */
  --bg-surface: #ffffff;          /* White card surfaces */
  --bg-surface-alt: #f4f4f5;      /* Slate light gray inputs/tags */
  
  --primary-red: #7a121f;         /* Solid Flat Crimson Red (Pasham Logo Accent) */
  --primary-red-hover: #5c0e17;
  --primary-red-glow: rgba(122, 18, 31, 0.05);
  
  --text-platinum: #000000;       /* Solid flat black for high-impact headings */
  --text-silver: #1c1c1e;         /* Deep charcoal black for body copy readability */
  --text-muted: #636366;          /* Clean medium gray for taglines/labels */
  --text-light: #8e8e93;
  
  /* Borders & Shadows - Ultra Minimal */
  --border-thin: 1px solid #e5e5ea; /* Fine, clean border lines */
  --border-crimson: 1px solid rgba(204, 0, 26, 0.3);
  --shadow-flat: 0 1px 3px rgba(0,0,0,0.02), 0 8px 30px rgba(0,0,0,0.03); /* Soft, flat executive shadows */
  
  /* Layout Transitions */
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease-in-out;
}

/* ==========================================================================
   GLOBAL RESET & INITIALIZATION
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-pure);
  font-family: 'Inter', sans-serif;
  color: var(--text-silver);
  line-height: 1.65;
  overflow-x: hidden;
}

/* Global Image Reset Constraints */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-pure);
}
::-webkit-scrollbar-thumb {
  background: #d1d1d6;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-red);
}

/* ==========================================================================
   TYPOGRAPHY SYSTEMS (Cormorant Garamond & INTER)
   ========================================================================== */
h1, h2, h3, h4, .serif-font {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  color: var(--text-platinum);
  letter-spacing: -0.02em;
}

h1 {
  font-size: 4.5rem;
  line-height: 1.05;
  font-weight: 500;
}

h2 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 500;
}

h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 1.5px;
  background: var(--primary-red);
  margin: 0.75rem auto 0;
}

h3 {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

p {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-silver);
  margin-bottom: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

.text-gradient-red {
  color: var(--text-platinum);
}

.subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 600px;
  margin: -0.25rem auto 2.5rem;
  font-size: 1.05rem;
  font-weight: 400;
}

/* ==========================================================================
   LAYOUT STRUCTURE
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
}

section {
  padding: 8rem 0;
  position: relative;
}

.bg-surface-section {
  background-color: var(--bg-deep);
}

/* Grid Utilities */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

/* ==========================================================================
   NAVIGATION SYSTEM (FLAT FROSTED WHITE HEADER)
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: var(--border-thin);
  transition: var(--transition-smooth);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.02);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 85px;
  padding: 0 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-weight: 600 !important;
  font-size: 1.25rem !important; /* Unified size everywhere */
  letter-spacing: -0.02em;
  color: var(--text-platinum);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-link {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--primary-red);
  transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-platinum);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--text-platinum);
  color: var(--bg-pure);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.65rem 1.4rem;
  border-radius: 2px;
  border: 1px solid var(--text-platinum);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--primary-red);
  border-color: var(--primary-red);
  color: var(--bg-pure);
}

/* Hamburger & Mobile Menu Trigger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-platinum);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   BUTTONS (FLAT MINIMAL ACCENTS)
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: var(--text-platinum);
  color: var(--bg-pure);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 1rem 2.5rem;
  border-radius: 2px;
  border: 1px solid var(--text-platinum);
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-primary:hover {
  background: var(--primary-red);
  border-color: var(--primary-red);
  color: var(--bg-pure);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: transparent;
  color: var(--text-platinum);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 1rem 2.5rem;
  border-radius: 2px;
  border: 1px solid var(--text-platinum);
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-secondary:hover {
  background: var(--bg-surface-alt);
  transform: translateY(-1px);
}

/* ==========================================================================
   THREE PORTALS: PRECISE, ELEGANT, LARGE PORTALS
   ========================================================================== */
.portal-card {
  position: relative;
  overflow: hidden;
  height: 520px;
  border-radius: 4px;
  border: var(--border-thin);
  box-shadow: var(--shadow-flat);
  background: #000;
}

.portal-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
  filter: grayscale(100%);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), 
              filter 0.6s cubic-bezier(0.25, 1, 0.5, 1), 
              opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.portal-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem 2.5rem;
  z-index: 2;
  color: #ffffff;
  transition: var(--transition-smooth);
}

.portal-card:hover .portal-card-img {
  transform: scale(1.05);
  opacity: 0.95;
  filter: grayscale(0%);
}

.portal-card:hover .portal-card-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(204,0,26,0.1) 70%, transparent 100%);
}

.portal-card-tag {
  color: var(--primary-red);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
}

.portal-card-title {
  font-size: 2.2rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 0.5rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  letter-spacing: -0.01em;
}

.portal-card-desc {
  font-size: 0.85rem;
  color: #d1d1d6;
  margin-bottom: 1.5rem;
  line-height: 1.5;
  font-weight: 400;
  max-width: 320px;
}

.portal-card-btn {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #000000;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.75rem 1.6rem;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  transition: var(--transition-fast);
}

.portal-card:hover .portal-card-btn {
  background: var(--primary-red);
  color: #ffffff;
}

/* ==========================================================================
   SERVICES GRID (AIRY & CLEAN LAYOUT)
   ========================================================================== */
.service-card {
  background: var(--bg-surface);
  border: var(--border-thin);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-flat);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 460px;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--text-platinum);
  box-shadow: 0 12px 40px rgba(0,0,0,0.05);
}

.service-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.service-card:hover .service-card-img {
  transform: scale(1.04);
}

.service-card-overlay {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: var(--bg-surface);
  position: relative;
  z-index: 2;
}

.service-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  color: var(--text-platinum);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.service-card:hover .service-card-icon {
  background: var(--primary-red);
  color: var(--bg-pure);
}

.service-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-platinum);
}

.service-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
  font-weight: 300;
}

.service-card-link {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-red);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
}

.service-card-link i {
  transition: var(--transition-fast);
}

.service-card:hover .service-card-link i {
  transform: translateX(3px);
}

/* ==========================================================================
   PORTFOLIO FILTER & GALLERY SYSTEM
   ========================================================================== */
.gallery-filter-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.gallery-sub-filter-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 3.5rem;
  transition: var(--transition-smooth);
}

.sub-filter-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.4rem 0.8rem;
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.sub-filter-btn:hover {
  color: var(--text-platinum);
}

.sub-filter-btn.active {
  background: var(--primary-red);
  color: var(--bg-pure);
  font-weight: 600;
}

.filter-btn {
  background: var(--bg-deep);
  border: var(--border-thin);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.65rem 1.25rem;
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--text-platinum);
  color: var(--bg-pure);
  border-color: var(--text-platinum);
}

/* Portfolio switch toggles */
.portfolio-type-toggle {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.portfolio-toggle-btn {
  background: var(--bg-surface);
  border: var(--border-thin);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.portfolio-toggle-btn:hover {
  border-color: var(--text-platinum);
  color: var(--text-platinum);
}

.portfolio-toggle-btn.active {
  background: var(--primary-red);
  color: #ffffff;
  border-color: var(--primary-red);
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.35);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  grid-auto-rows: 240px;
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  border: var(--border-thin);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  animation: itemFadeIn 0.6s forwards cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-flat);
}

@keyframes itemFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Reveal Utilities */
.reveal-element {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s cubic-bezier(0.215, 0.61, 0.355, 1), transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
  will-change: transform, opacity;
}

.reveal-element.revealed {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

.gallery-item:nth-child(3n) {
  grid-column: span 2;
}

.gallery-item:nth-child(5n) {
  grid-row: span 2;
}

.gallery-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  text-align: center;
  opacity: 0;
  z-index: 2;
  transition: var(--transition-smooth);
}

.gallery-item-title {
  font-size: 1.45rem;
  margin-bottom: 0.25rem;
  transform: translateY(8px);
  transition: var(--transition-smooth);
  color: var(--text-platinum);
}

.gallery-item-category {
  font-size: 0.78rem;
  color: var(--primary-red);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transform: translateY(8px);
  transition: var(--transition-smooth);
  font-weight: 700;
}

.gallery-item:hover .gallery-item-img {
  transform: scale(1.05);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-item-title,
.gallery-item:hover .gallery-item-category {
  transform: translateY(0);
}

/* ==========================================================================
   INTERACTIVE CALCULATOR (Apple Style Card Borders)
   ========================================================================== */
.builder-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.builder-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.builder-group-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-platinum);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: var(--border-thin);
  padding-bottom: 0.5rem;
}

.builder-group-title i {
  color: var(--primary-red);
}

.builder-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.builder-card {
  background: var(--bg-surface);
  border: var(--border-thin);
  border-radius: 4px;
  padding: 1.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 135px;
  box-shadow: var(--shadow-flat);
}

.builder-card:hover {
  border-color: var(--text-platinum);
}

.builder-card.selected {
  border-color: var(--primary-red);
  background: var(--primary-red-glow);
}

.builder-card-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 0.5rem;
}

.builder-card-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-platinum);
}

.builder-card-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #d1d1d6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 0.65rem;
  transition: var(--transition-fast);
}

.builder-card.selected .builder-card-check {
  border-color: var(--primary-red);
  background: var(--primary-red);
  color: var(--bg-pure);
}

.builder-card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.builder-card-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-platinum);
}

.builder-card.selected .builder-card-price {
  color: var(--primary-red);
}

/* Slider Controls */
.builder-slider-wrapper {
  background: var(--bg-surface);
  border: var(--border-thin);
  border-radius: 4px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--shadow-flat);
}

.builder-slider-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 600;
}

.builder-range {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--bg-surface-alt);
  outline: none;
}

.builder-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary-red);
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.builder-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* Slider Tick Markers (Robust Absolute Alignment) */
.builder-slider-ticks {
  position: relative;
  width: calc(100% - 18px); /* Active range of the thumb center */
  margin: 0.75rem 9px 0 9px;  /* Match the 9px boundary offset */
  height: 20px;
  display: block; /* Disable flex distribution */
}

.builder-slider-tick {
  position: absolute;
  top: 0;
  transform: translateX(-50%); /* Center the text exact to its coordinate */
  font-size: 0.72rem;
  color: var(--text-light);
  cursor: pointer;
  font-weight: 500;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.builder-slider-tick:hover {
  color: var(--text-platinum);
}

.builder-slider-tick.active {
  color: var(--primary-red);
  font-weight: 700;
}

/* Precise Mathematical Percentage Left Positions */
.builder-slider-tick:nth-child(1)  { left: 0%; }   /* 4h  */
.builder-slider-tick:nth-child(2)  { left: 10%; }  /* 5h  */
.builder-slider-tick:nth-child(3)  { left: 20%; }  /* 6h  */
.builder-slider-tick:nth-child(4)  { left: 30%; }  /* 7h  */
.builder-slider-tick:nth-child(5)  { left: 40%; }  /* 8h  */
.builder-slider-tick:nth-child(6)  { left: 50%; }  /* 9h  */
.builder-slider-tick:nth-child(7)  { left: 60%; }  /* 10h */
.builder-slider-tick:nth-child(8)  { left: 70%; }  /* 11h */
.builder-slider-tick:nth-child(9)  { left: 80%; }  /* 12h */
.builder-slider-tick:nth-child(10) { left: 90%; }  /* 13h */
.builder-slider-tick:nth-child(11) { left: 100%; } /* 14h */

/* Sticky Summary Card */
.builder-summary {
  position: sticky;
  top: 115px;
  background: rgba(255, 255, 255, 0.98);
  border: var(--border-thin);
  border-top: 3.5px solid var(--primary-red);
  border-radius: 6px;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.06);
  backdrop-filter: blur(10px);
}

.summary-title {
  font-size: 1.4rem;
  font-weight: 600;
  border-bottom: var(--border-thin);
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
  color: var(--text-platinum);
}

.summary-items {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  max-height: 250px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: var(--text-silver);
}

.summary-item-name {
  max-width: 70%;
  font-weight: 400;
}

.summary-item-price {
  font-weight: 600;
  color: var(--text-platinum);
}

.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: var(--border-thin);
  padding-top: 1.25rem;
  margin-bottom: 2rem;
}

.summary-total-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.summary-total-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-red);
  text-shadow: 0 2px 10px rgba(204, 0, 26, 0.08);
}

.btn-builder-book {
  width: 100%;
}

/* ==========================================================================
   TESTIMONIALS SLIDER
   ========================================================================== */
.testimonials-slider-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card {
  min-width: 100%;
  padding: 0 2rem;
  text-align: center;
}

.testimonial-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.1rem;
  font-style: italic;
  font-weight: 400;
  color: var(--text-platinum);
  line-height: 1.45;
  margin-bottom: 2rem;
  position: relative;
}

.testimonial-quote::before {
  content: '“';
  font-size: 6.5rem;
  position: absolute;
  top: -3.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(122, 18, 31, 0.05);
  font-family: Georgia, serif;
}

.testimonial-stars {
  color: #ffb800;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.15em;
}

.testimonial-author {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-platinum);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.testimonial-event {
  font-size: 0.8rem;
  color: var(--primary-red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

/* Slider Navigation */
.slider-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.slider-btn {
  background: var(--bg-surface);
  border: var(--border-thin);
  color: var(--text-platinum);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-btn:hover {
  background: var(--text-platinum);
  color: var(--bg-pure);
  border-color: var(--text-platinum);
}

/* ==========================================================================
   DYNAMIC FAQ ACCORDION
   ========================================================================== */
.faq-wrapper {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-surface);
  border: var(--border-thin);
  border-radius: 4px;
  overflow: hidden;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-flat);
}

.faq-item:hover {
  border-color: var(--text-platinum);
}

.faq-trigger {
  width: 100%;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  color: var(--text-platinum);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  font-size: 0.85rem;
  transition: transform 0.3s ease;
  color: var(--primary-red);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-content p {
  padding: 0 2rem 1.5rem;
  color: var(--text-silver);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 0;
  font-weight: 300;
}

.faq-item.active {
  border-color: var(--text-platinum);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-item.active .faq-content {
  max-height: 250px;
}

/* ==========================================================================
   CONTACT FORM / BOOKING ENQUIRY SYSTEM
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  background: var(--bg-surface);
  border: var(--border-thin);
  border-radius: 4px;
  padding: 1.75rem 2rem;
  display: flex;
  gap: 1.25rem;
  box-shadow: var(--shadow-flat);
}

.info-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-red-glow);
  border: 1.5px solid rgba(204, 0, 26, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-red);
  font-size: 1rem;
}

.info-card-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.info-card-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-platinum);
}

/* Elegant Form */
.enquiry-form {
  background: var(--bg-surface);
  border: var(--border-thin);
  border-radius: 4px;
  padding: 3.5rem;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.03);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-platinum);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  background: var(--bg-deep);
  border: var(--border-thin);
  border-radius: 2px;
  padding: 0.85rem 1rem;
  color: var(--text-platinum);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--text-platinum);
  background: var(--bg-pure);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

.form-submit-btn {
  width: 100%;
  margin-top: 1rem;
}

/* ==========================================================================
   PARTNERS GRID (VENUES COVERED)
   ========================================================================== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.partner-card {
  background: var(--bg-surface);
  border: var(--border-thin);
  border-radius: 4px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-flat);
}

.partner-card:hover {
  border-color: var(--text-platinum);
  transform: translateY(-3px);
}

.partner-icon {
  font-size: 2.2rem;
  color: var(--primary-red);
  margin-bottom: 1.25rem;
}

.partner-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-platinum);
  margin-bottom: 0.25rem;
}

.partner-type {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* ==========================================================================
   STUNNING MODAL WINDOW SYSTEMS (VIDEO & LIGHTBOX)
   ========================================================================== */
.custom-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 2.5rem;
  color: var(--text-platinum);
  cursor: pointer;
  background: none;
  border: none;
  transition: var(--transition-fast);
  z-index: 10;
}

.modal-close:hover {
  color: var(--primary-red);
  transform: scale(1.1);
}

/* Video Player Modal Content */
.video-modal-content {
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  background: #000;
  border: var(--border-thin);
  box-shadow: 0 15px 50px rgba(0,0,0,0.15);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

/* Builder App Modal Override */
.video-modal-content.builder-modal-content {
  max-width: 90vw !important;
  height: 90vh !important;
  aspect-ratio: auto !important;
}

/* Lightbox Modal Content */
.lightbox-content-wrapper {
  max-width: 90%;
  max-height: 85%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  border: var(--border-thin);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.95);
  border: var(--border-thin);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-platinum);
  cursor: pointer;
  font-size: 1.15rem;
  transition: var(--transition-fast);
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.lightbox-nav-btn:hover {
  background: var(--text-platinum);
  border-color: var(--text-platinum);
  color: var(--bg-pure);
}

.lightbox-prev { left: -70px; }
.lightbox-next { right: -70px; }

.lightbox-caption {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--text-platinum);
  text-align: center;
  font-weight: 400;
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: var(--bg-surface);
  border: 1.5px solid var(--text-platinum);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  padding: 1.25rem 2rem;
  border-radius: 4px;
  color: var(--text-platinum);
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: toastFadeIn 0.4s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-success i {
  color: #24b23e;
}

.toast-body {
  font-size: 0.88rem;
  font-weight: 500;
}

@keyframes toastFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sticky Encourage Booking bar on scroll */
.sticky-book-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-top: var(--border-thin);
  padding: 1.1rem 0;
  z-index: 999;
  transform: translateY(100%);
  transition: var(--transition-smooth);
}

.sticky-book-bar.active {
  transform: translateY(0);
}

.sticky-book-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.sticky-book-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  color: var(--text-platinum);
  font-weight: 600;
}

.sticky-book-text span {
  color: var(--primary-red);
  font-weight: 700;
}

.sticky-book-cta {
  font-size: 0.78rem;
  padding: 0.6rem 1.4rem;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer {
  background: var(--bg-deep);
  border-top: var(--border-thin);
  padding: 5rem 0 2rem;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-brand-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 1.25rem;
  list-style: none;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: var(--border-thin);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-silver);
  transition: var(--transition-fast);
}

.footer-social-link:hover {
  background: var(--text-platinum);
  color: var(--bg-pure);
  border-color: var(--text-platinum);
  transform: translateY(-2px);
}

.footer-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-platinum);
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
  font-size: 0.88rem;
}

.footer-links li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.footer-links li i {
  color: var(--primary-red);
  font-size: 0.95rem;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.footer-link {
  color: var(--text-muted);
  font-weight: 500;
}

.footer-link:hover {
  color: var(--primary-red);
  padding-left: 3px;
}

.footer-copyright {
  border-top: var(--border-thin);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM (BREAKPOINTS)
   ========================================================================== */
@media (max-width: 1200px) {
  h1 { font-size: 3.2rem; }
  h2 { font-size: 2.3rem; }
  .grid-2, .builder-grid, .contact-grid { gap: 2rem; }
}

/* Tablet & Smaller Devices (Under 1024px) */
@media (max-width: 1023px) {
  section { padding: 5rem 0; }
  
  /* Sleek Mobile Hero: Flex flow to perfectly stack text above trust bar without overlap */
  body.home-page .hero-carousel {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important; /* Pushes everything to the bottom naturally */
    height: 100vh !important;
    min-height: 100vh !important;
    overflow: hidden !important;
    padding-bottom: 0 !important;
    padding-top: 0 !important;
  }
  
  body.home-page .hero-carousel .hero-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.95) 100%) !important;
  }
  
  body.home-page .hero-carousel .hero-content-wrapper {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: 0 !important;
    transform: none !important;
    padding: 0 1rem !important;
    margin: 0 0 1.5rem 0 !important; /* 1.5rem gap above the trust bar */
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    z-index: 5 !important;
  }
  
  body.home-page .hero-carousel .hero-title {
    text-shadow: 0 4px 25px rgba(0,0,0,1) !important;
    font-weight: 700 !important;
  }
  
  body.home-page .hero-carousel .hero-desc {
    display: none !important; /* Less text on mobile */
  }

  body.home-page .hero-carousel .hero-actions {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    gap: 0.75rem !important;
    width: 100% !important;
  }
  
  body.home-page .hero-carousel .hero-actions a {
    flex: 1 !important;
    padding: 0.8rem 0 !important;
    font-size: 0.75rem !important;
    white-space: nowrap !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.4rem !important;
  }
  
  body.home-page .hero-carousel .trust-bar {
    position: relative !important;
    bottom: auto !important;
    left: 0 !important;
    width: 100% !important;
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-bottom: none !important;
    padding: 0.7rem 0 !important;
    z-index: 10 !important;
    margin-bottom: 0 !important;
  }
  
  /* Add premium mobile styles for the Explore Our Work portals */
  body.home-page .explore-portal-section {
    padding: 5rem 0 !important;
    background-color: var(--bg-pure) !important;
  }
  
  body.home-page .explore-header-overlay {
    position: static !important;
    text-align: center !important;
    margin-bottom: 2.5rem !important;
    pointer-events: auto !important;
  }
  
  body.home-page .explore-header-overlay h2 {
    color: var(--text-platinum) !important;
    text-shadow: none !important;
    font-size: 2.2rem !important;
  }
  
  body.home-page .explore-header-overlay h2::after {
    background: var(--primary-red) !important;
    margin: 0.5rem auto 0 !important;
    width: 50px !important;
    height: 2px !important;
  }
  
  body.home-page .explore-panels-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    width: 100% !important;
    height: auto !important;
    padding: 0 1.5rem !important;
  }
  
  body.home-page .explore-panels-container .portal-card {
    height: 320px !important;
    border-radius: 6px !important;
    border: var(--border-thin) !important;
    margin: 0 !important;
    flex: none !important;
  }
  
  body.home-page .explore-panels-container .portal-card-img {
    filter: grayscale(0%) !important;
    opacity: 0.75 !important;
  }
  
  body.home-page .explore-panels-container .portal-card-overlay {
    padding: 2rem 1.5rem !important;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 70%, transparent 100%) !important;
  }
  
  body.home-page .explore-panels-container .portal-card-title {
    font-size: 2rem !important;
  }

  /* Combined booking section for mobile natural flow */
  body.home-page .footer-snap-section {
    height: auto !important;
    padding: 0 !important;
    background-color: #0c0c0e !important;
  }
  
  body.home-page .footer-booking-wrap {
    padding: 5rem 1.5rem !important;
    flex-grow: 0 !important;
  }

  body.home-page .footer-snap-section .footer {
    background-color: #000000 !important;
    padding: 4rem 0 2rem 0 !important;
  }

  body.home-page .footer-snap-section .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }

  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  
  .builder-grid {
    grid-template-columns: 1fr;
  }
  .builder-summary {
    position: static;
    margin-top: 2rem;
  }
  
  .contact-grid {
    display: flex;
    flex-direction: column;
  }
  .enquiry-form-wrapper {
    order: 1;
  }
  .contact-info-cards {
    order: 2;
    margin-top: 3rem;
  }
  
  .footer-grid {
    grid-template-columns: 1.5fr repeat(2, 1fr);
    gap: 3rem;
  }
  
  /* Form width padding optimizations */
  .enquiry-form {
    padding: 2.5rem 2rem;
  }
}

/* Mobile Devices (Under 768px) */
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  
  .hero-title {
    font-size: 2.4rem !important;
  }
  .hero-desc {
    font-size: 0.95rem !important;
    margin-bottom: 2rem !important;
  }
  
  /* Compact Mobile Header to prevent logo wrapping */
  .nav-container {
    padding: 0 1.85rem;
    height: 75px;
  }
  .logo-img {
    height: 44px;
  }
  .logo-text {
    font-size: 1.15rem !important; /* Mobile override */
  }
  
  .nav-menu {
    position: fixed;
    top: 75px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 75px);
    background: var(--bg-pure);
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 2rem;
    align-items: flex-start;
    border-top: var(--border-thin);
    transition: var(--transition-smooth);
    overflow-y: auto;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .menu-toggle {
    display: block;
    margin-left: auto;
    margin-right: 1.5rem;
  }
  
  .hero-carousel {
    height: 65vh !important;
    min-height: 500px !important;
  }
  
  .hero-img {
    /* Allow inline object-position from JS to apply for custom cropping */
  }
  
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  /* Sleek compact 2x2 trust bar grid on mobile */
  .trust-flex {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.6rem !important;
    padding: 0 0.5rem !important;
    justify-items: center !important;
  }
  .trust-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.25rem !important;
    font-size: 0.65rem !important;
    color: #ffffff !important;
  }
  .trust-item span,
  .trust-item strong {
    color: #ffffff !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
  }
  .trust-item strong {
    font-weight: 700 !important;
  }
  .trust-item i {
    font-size: 1rem !important;
    color: var(--primary-red) !important;
    margin-bottom: 0.1rem !important;
  }
  
  .hide-mobile {
    display: none !important;
  }
  
  /* Scale down massive testimonial typography on mobile */
  .testimonial-quote {
    font-size: 1.35rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1.5rem !important;
  }
  .testimonial-quote::before {
    font-size: 4.5rem !important;
    top: -2.5rem !important;
  }
  
  /* Category filter bar wraps instead of swiping */
  .gallery-filter-container {
    justify-content: center !important;
    flex-wrap: wrap !important;
    overflow-x: visible !important;
    padding: 0.5rem 1.15rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    gap: 0.5rem !important;
  }
  .filter-btn {
    flex-shrink: 1 !important;
    font-size: 0.78rem !important;
    padding: 0.5rem 0.8rem !important;
  }
  
  /* Floating Lightbox buttons in-viewport safe zone */
  .lightbox-prev { left: 10px !important; }
  .lightbox-next { right: 10px !important; }
  .lightbox-nav-btn {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    width: 44px !important;
    height: 44px !important;
  }
  
  /* Sleek, space-saving responsive Sticky Booking Bar */
  .sticky-book-bar {
    padding: 0.85rem 0;
  }
  .sticky-book-flex {
    justify-content: center;
    text-align: center;
    gap: 0.75rem;
  }
  .sticky-book-text {
    font-size: 0.85rem !important;
    margin-bottom: 0.25rem;
  }
}

/* Extra Small Devices (Under 480px) */
@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  
  .hero-title {
    font-size: 1.85rem !important;
  }
  .hero-desc {
    font-size: 0.85rem !important;
    margin-bottom: 1.5rem !important;
  }
  
  .container { padding: 0 1rem; }
  
  /* Instagram-style 2-Column Gallery Grid */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-auto-rows: 140px !important;
    gap: 0.75rem !important;
  }
  .gallery-item-title {
    font-size: 0.85rem !important;
  }
  .gallery-item-category {
    font-size: 0.65rem !important;
  }
  .gallery-item:nth-child(3n) { grid-column: span 1; }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  /* Form width padding optimizations */
  .enquiry-form {
    padding: 1.5rem 1rem;
  }
  .faq-trigger {
    padding: 1.25rem 1rem;
    font-size: 0.95rem;
  }
  .faq-content p {
    padding: 0 1rem 1.25rem;
    font-size: 0.88rem;
  }
  
  /* Header adjustments for ultra-small screens */
  .nav-container {
    padding: 0 1rem;
    height: 68px;
  }
  .logo-text {
    font-size: 1.0rem;
  }
  .logo-img {
    height: 38px;
  }
  .nav-menu {
    top: 68px;
    height: calc(100vh - 68px);
  }
  
  /* High-conversion compact Sticky Booking Bar on small phones */
  .sticky-book-text {
    display: block !important; 
    font-size: 1.1rem !important;
    margin-bottom: 0.5rem !important;
  }
  .sticky-book-bar {
    padding: 0.75rem 0;
  }
  .sticky-book-flex {
    flex-wrap: wrap !important;
    width: 100%;
    padding: 0 1rem;
  }
  .sticky-book-flex > div {
    width: 100% !important;
    display: flex !important;
    gap: 0.75rem !important;
  }
  .sticky-book-cta {
    flex: 1 !important;
    text-align: center !important;
    padding: 0.65rem 0 !important;
    font-size: 0.75rem !important;
    justify-content: center !important;
  }
}

/* ==========================================================================
   HERO CAROUSEL & SLIDESHOW SYSTEM
   ========================================================================== */
.hero-carousel {
  position: relative;
  height: 100vh;
  min-height: 620px;
  width: 100%;
  overflow: hidden;
  background-color: #0c0c0e;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide.active {
  opacity: 0.85;
  z-index: 2;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.65) 100%);
  z-index: 3;
}

.hero-content-wrapper {
  position: absolute;
  top: 47%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1000px;
  padding: 0 3rem;
  text-align: center;
  z-index: 4;
  color: #ffffff;
}

.hero-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--primary-red);
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
  margin-bottom: 1.2rem;
}

.home-page .hero-content-wrapper .hero-tag {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 0.5rem 1.25rem;
  border-radius: 0;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  margin-bottom: 2rem;
  box-shadow: none;
}

.hero-title {
  font-size: 4.8rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.hero-desc {
  font-size: 1.15rem;
  font-weight: 300;
  max-width: 750px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

/* ==========================================================================
   TRUST / CREDENTIALS BAR
   ========================================================================== */
.trust-bar {
  background: var(--bg-surface);
  border-bottom: var(--border-thin);
  padding: 2.2rem 0;
  position: relative;
  z-index: 10;
}

.trust-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.88rem;
  color: var(--text-silver);
}

.trust-item i {
  color: var(--primary-red);
  font-size: 1.15rem;
}


.trust-item strong {
  color: var(--text-platinum);
  font-weight: 700;
}

/* ==========================================================================
   TEAM MEMBER CARDS & EDITORIAL HEADSHOTS
   ========================================================================== */
.team-image-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1; /* Perfect clean square headshot crop */
  overflow: hidden;
  position: relative;
  background: var(--bg-surface-alt);
  border-bottom: var(--border-thin);
}

.team-image-wrapper.portrait-editorial {
  aspect-ratio: 3 / 4; /* Editorial classic portrait shape */
}

.team-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%; /* Mathematically frames head & shoulders out of 2:3/9:16 vertical images */
  transition: var(--transition-smooth);
}

.team-portrait:hover {
  transform: scale(1.04);
}

.team-monogram {
  width: 100%;
  height: 100%;
  background: var(--bg-surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  border-bottom: var(--border-thin);
  transition: var(--transition-smooth);
}

.partner-card:hover .team-monogram {
  background: var(--bg-deep);
  color: var(--primary-red);
}

/* Premium Brand Placeholder styles */
.brand-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0c !important;
  position: relative;
  overflow: hidden;
  border-bottom: var(--border-thin);
  transition: var(--transition-smooth);
}

.brand-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(204, 0, 26, 0.12) 0%, transparent 70%);
  opacity: 0;
  transition: var(--transition-smooth);
  pointer-events: none;
}

.partner-card:hover .brand-placeholder::after {
  opacity: 1;
}

.partner-card:hover .brand-placeholder-logo {
  opacity: 0.9 !important;
  transform: scale(1.06);
}

.partner-card:hover .team-monogram-bg {
  color: var(--primary-red) !important;
  opacity: 0.16 !important;
}

/* Conflicting mobile overrides removed here - consolidated inside the main breakpoints section. */

/* ==========================================================================
   GLOBAL SCROLL SNAPPING & DETAILED REDESIGN (DESKTOP ONLY)
   ========================================================================== */
@media (min-width: 1024px) {
  /* Scroll Snapping Container - Native Snapping: Mandatory on Home, Proximity on Subpages */
  html.snap-page {
    scroll-snap-type: y proximity;
    scroll-behavior: smooth;
  }

  html.home-snap {
    scroll-snap-type: y proximity;
    scroll-behavior: smooth;
  }

  /* Snapped Section Base Class */
  section.snap-section, footer.snap-section {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    min-height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
  }

  /* Homepage Snap Sections - Strictly constrained to 100vh viewport */
  html.home-snap section.snap-section {
    height: 100vh;
    overflow: hidden;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Section 1: Hero & Trust Bar Layout */
  body.home-page .hero-carousel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh !important;
  }
  
  body.home-page .hero-carousel .hero-content-wrapper {
    top: 48%;
    left: max(5%, calc((100vw - 1200px) / 2 + 2rem)); /* Perfectly left-aligned with grid container edge */
    transform: translateY(-50%);
    text-align: left;
    max-width: 700px;
    padding: 0 2rem;
  }
  body.home-page .hero-carousel .hero-desc {
    margin-left: 0;
    text-align: left;
  }
  body.home-page .hero-carousel .hero-actions {
    justify-content: flex-start;
  }

  body.home-page .hero-carousel .trust-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    border-top: var(--border-thin);
    border-bottom: none;
    padding: 1.5rem 0; /* sleeker, more compact padding */
  }

  /* Section 2: Explore Our Work Side-by-Side Panels */
  body.home-page .explore-portal-section {
    display: flex;
    flex-direction: column;
    background-color: var(--bg-pure);
  }

  body.home-page .explore-header-overlay {
    position: absolute;
    top: 110px; /* perfectly beneath sticky navbar */
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 20;
    pointer-events: none;
  }

  body.home-page .explore-header-overlay .hero-tag {
    margin-bottom: 0.5rem;
  }

  body.home-page .explore-header-overlay h2 {
    color: #ffffff;
    text-shadow: 0 4px 15px rgba(0,0,0,0.6);
    font-size: 2.8rem;
    margin: 0;
  }

  body.home-page .explore-header-overlay h2::after {
    background: var(--primary-red);
    margin: 0.5rem auto 0;
    width: 50px;
    height: 2px;
  }

  body.home-page .explore-panels-container {
    display: flex;
    width: 100%;
    height: 100vh;
  }

  body.home-page .explore-panels-container .portal-card {
    flex: 1;
    height: 100vh;
    border-radius: 0;
    border: none;
    border-right: 1px solid rgba(255,255,255,0.08);
    margin: 0;
    box-shadow: none;
    overflow: hidden;
    transition: flex 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  }

  body.home-page .explore-panels-container .portal-card:last-child {
    border-right: none;
  }

  body.home-page .explore-panels-container .portal-card:hover {
    flex: 1.35;
  }

  body.home-page .explore-panels-container .portal-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    opacity: 0.55;
    transform: scale(1);
    transition: filter 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
                opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  }

  body.home-page .explore-panels-container .portal-card:hover .portal-card-img {
    filter: grayscale(0%);
    opacity: 0.85;
    transform: scale(1.03);
  }

  body.home-page .explore-panels-container .portal-card-overlay {
    position: absolute;
    inset: 0;
    padding: 6rem 3rem 6.5rem 3rem; /* Extra bottom padding to push CTA buttons up and clear sticky book bar */
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 10;
    transition: var(--transition-smooth);
  }

  body.home-page .explore-panels-container .portal-card:hover .portal-card-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(204,0,26,0.12) 75%, transparent 100%);
  }

  body.home-page .explore-panels-container .portal-card-tag {
    transition: opacity 0.5s ease;
  }

  body.home-page .explore-panels-container .portal-card-title {
    font-size: 2.8rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
    transition: opacity 0.5s ease;
  }

  body.home-page .explore-panels-container .portal-card-btn {
    font-size: 0.75rem;
    padding: 0.8rem 1.8rem;
    transition: background-color 0.2s ease, color 0.2s ease, opacity 0.5s ease;
  }

  /* Section 3: Unified Media Operations Split Screen */
  body.home-page .operations-section {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  body.home-page .operations-section .grid-2 {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    height: 100vh;
    gap: 0;
    align-items: center;
    width: 100%;
  }

  body.home-page .operations-section .operations-text-column {
    padding-left: max(3rem, calc((100vw - 1400px) / 2 + 3rem)); /* Perfectly aligns left edge with all other containers */
    padding-right: 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    box-sizing: border-box;
  }

  body.home-page .operations-section .operations-text-column > * {
    max-width: 620px; /* Elegant, premium line length cap for luxury editorial readability */
  }

  body.home-page .operations-section .operations-image-column {
    height: 100%;
    width: 100%;
    overflow: hidden;
  }

  body.home-page .operations-section .operations-image-column img {
    width: 100%;
    height: 100vh !important;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
  }

  /* Section 4: Google Testimonials Layout */
  body.home-page .testimonials-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-deep);
  }

  body.home-page .testimonials-section .container {
    max-width: 1100px;
    padding: 0 3rem;
  }

  /* Section 5: FAQ Section Layout */
  body.home-page .faq-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-pure);
  }

  body.home-page .faq-section .container {
    max-width: 900px;
    padding: 0 3rem;
  }

  body.home-page .faq-section .faq-wrapper {
    width: 100%;
  }

  /* Section 6: Combined Booking CTA & Footer snap section */
  body.home-page .footer-snap-section {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #0c0c0e;
    height: 100vh;
    padding: 0 !important;
  }

  body.home-page .footer-booking-wrap {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 3rem 2rem 3rem;
  }

  body.home-page .footer-snap-section .footer {
    background-color: #000000;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 2.5rem 0 1.5rem 0;
    margin-top: 0;
    flex-shrink: 0;
  }

  body.home-page .footer-snap-section .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
  }

  /* Sleek Premium Scroll Indicator */
  .scroll-indicator {
    position: absolute;
    bottom: 3.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    z-index: 10;
    pointer-events: none;
    animation: fadePulse 2s infinite ease-in-out;
  }
  
  .scroll-indicator .mouse {
    width: 22px;
    height: 36px;
    border: 2px solid #a1a1a6;
    border-radius: 20px;
    position: relative;
    display: block;
  }
  
  .scroll-indicator .wheel {
    width: 3px;
    height: 7px;
    background-color: var(--primary-red);
    border-radius: 50%;
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.6s infinite ease-in-out;
  }
  
  @keyframes scrollWheel {
    0% {
      opacity: 1;
      transform: translate(-50%, 0);
    }
    100% {
      opacity: 0;
      transform: translate(-50%, 10px);
    }
  }
  
  @keyframes fadePulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
  }
}

/* ==========================================================================
   MOBILE & TABLET ADJUSTMENTS FOR MULTI-COLUMN SECTIONS (container removed)
   ========================================================================== */
@media (max-width: 1023px) {
  .operations-section {
    padding: 5rem 0 !important;
  }
  .operations-section .grid-2 {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
  }
  .operations-text-column {
    padding: 0 2rem;
  }
  .operations-image-column {
    padding: 0 2rem;
    width: 100%;
  }
  .operations-image-column img {
    width: 100%;
    height: 350px !important;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
}

/* ==========================================================================
   CAREERS & INSIGHTS SPECIALIZED STYLES
   ========================================================================== */

/* Subpage Hero Landing Sections - Full Screen height & centering on all viewports */
html.snap-page section.snap-section:first-of-type {
  min-height: 100vh;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  box-sizing: border-box !important;
  padding-top: 95px !important; /* Offset for the 85px fixed header + 10px buffer */
  padding-bottom: 4rem !important;
}

@media (min-width: 1024px) {
  html.snap-page section.snap-section:first-of-type {
    padding-top: 110px !important; /* Extra breathing room on desktop */
  }
}

/* Careers Page Staging */
.careers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.role-card {
  background: var(--bg-surface);
  border: var(--border-thin);
  border-radius: 4px;
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-flat);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.role-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-red);
}

.role-tag {
  color: var(--primary-red);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.role-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  color: var(--text-platinum);
  margin-bottom: 1rem;
}

.role-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.role-requirements-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-platinum);
  margin-bottom: 0.75rem;
}

.role-requirements-list {
  list-style: none;
  margin-bottom: 2rem;
}

.role-requirements-list li {
  font-size: 0.82rem;
  color: var(--text-silver);
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.25rem;
}

.role-requirements-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--primary-red);
  font-size: 0.75rem;
}

.role-apply-btn {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.72rem;
}

/* Strategic Insights Staging */
.insights-magazine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 3rem;
  margin-top: 3.5rem;
}

.article-card {
  background: var(--bg-surface);
  border: var(--border-thin);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-flat);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  height: auto;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--text-platinum);
  box-shadow: 0 12px 40px rgba(0,0,0,0.04);
}

.article-img-wrapper {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.article-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.article-card:hover .article-img {
  transform: scale(1.04);
}

.article-read-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.4rem 0.8rem;
  border-radius: 2px;
}

.article-body {
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-meta {
  color: var(--primary-red);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.article-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.55rem;
  line-height: 1.3;
  color: var(--text-platinum);
  margin-bottom: 1rem;
}

.article-excerpt {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
  font-weight: 300;
}

.article-more-link {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-platinum);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  transition: var(--transition-fast);
}

.article-card:hover .article-more-link {
  color: var(--primary-red);
}

/* Strategic Article Modal / Reader */
.article-modal-wrapper {
  max-width: 850px;
  width: 90%;
  background: var(--bg-pure);
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  z-index: 1001;
  animation: modalContentFade 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  transform: translateY(30px);
}

@keyframes modalContentFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.article-modal-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.article-modal-body {
  padding: 4rem;
}

.article-modal-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.5rem;
  line-height: 1.15;
  color: var(--text-platinum);
  margin-bottom: 1.5rem;
}

.article-modal-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-silver);
  font-weight: 300;
}

.article-modal-text p {
  margin-bottom: 1.5rem;
}

.article-differentiator {
  background: var(--primary-red-glow);
  border-left: 3px solid var(--primary-red);
  padding: 2rem;
  margin: 2.5rem 0;
  border-radius: 0 4px 4px 0;
}

.article-differentiator-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-red);
  margin-bottom: 0.5rem;
}

.article-differentiator-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-silver);
  margin-bottom: 1rem;
}

.article-differentiator-link {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-red);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

/* Toast Success Alert Overlay */
.toast-container {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 380px;
  width: 90%;
}

.custom-toast {
  background: var(--bg-pure);
  border: var(--border-thin);
  border-left: 4px solid var(--primary-red);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: start;
  transform: translateX(120%);
  animation: slideInToast 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  position: relative;
}

.custom-toast.hide {
  animation: slideOutToast 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInToast {
  to { transform: translateX(0); }
}

@keyframes slideOutToast {
  to { transform: translateX(120%); }
}

.toast-icon {
  color: var(--primary-red);
  font-size: 1.2rem;
  margin-top: 0.1rem;
}

.toast-content {
  flex-grow: 1;
}

.toast-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-platinum);
  margin-bottom: 0.25rem;
}

.toast-message {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 0;
}

.toast-close {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 0.8rem;
  padding: 0.2rem;
}

.toast-close:hover {
  color: var(--text-platinum);
}

/* Responsiveness for new sections */
@media (max-width: 767px) {
  .article-modal-body {
    padding: 2rem;
  }
  .article-modal-title {
    font-size: 1.8rem;
  }
}




/* Force Dark Footer Globally */
.footer {
  background: #0c0c0e !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}
.footer-brand-desc, .footer-social-link, .footer-link, .footer-copyright {
  color: #a0a0a0 !important;
}
.footer-title, .footer-social-link:hover, .footer-link:hover {
  color: #ffffff !important;
}
.footer-links li i {
  color: var(--primary-red) !important;
}
/* Invert footer logo on all pages so it is white on the dark background */
.footer .logo-img, .footer-content .logo-img {
  filter: brightness(0) invert(1) !important;
}
