/* ==========================================================================
   SAMPSON CUTHBERT - SCOPED MODERN HOMEPAGE STYLES
   ========================================================================== */

:root {
  --sc-bg-dark: #0f151c;
  --sc-bg-card: #161f2a;
  --sc-accent-blue: #2b3a4a;
  --sc-text-bright: #ffffff;
  --sc-text-muted: #a3b3c5;
  --sc-gold-glow: #c5a880;
  --sc-font-serif: "Times New Roman", Times, serif;
  --sc-font-sans:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.sc-modern-body {
  background-color: var(--sc-bg-dark);
  color: var(--sc-text-muted);
  font-family: var(--sc-font-sans);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* --- HERO SLIDER --- */
.sc-modern-hero-section {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.sc-modern-swiper-container {
  width: 100%;
  height: 100%;
}

.sc-modern-swiper-slide {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.sc-modern-swiper-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sc-modern-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(15, 21, 28, 0.2) 0%,
    rgba(15, 21, 28, 0.85) 100%
  );
}

.sc-modern-hero-content {
  position: absolute;
  bottom: 12%;
  left: 5%;
  max-width: 850px;
  z-index: 10;
  padding-right: 20px;
}

.sc-modern-hero-tag {
  color: var(--sc-gold-glow);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 15px;
}

.sc-modern-hero-content h1,
.sc-modern-hero-title-p {
  font-family: var(--sc-font-serif);
  color: var(--sc-text-bright);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  line-height: 1.15;
  margin: 0 0 20px 0;
  font-weight: 400;
}

.sc-modern-hero-content h2 {
  color: var(--sc-text-muted);
  font-size: clamp(1rem, 1.3vw, 1.35rem);
  line-height: 1.6;
  font-weight: 300;
  max-width: 700px;
  margin: 0;
}

/* Positioning Pagination Controls */
.sc-modern-swiper-pagination.swiper-pagination-bullets {
  bottom: 50px !important;
  left: auto !important;
  right: 5% !important;
  width: auto !important;
}

.sc-modern-swiper-pagination .swiper-pagination-bullet {
  background: var(--sc-text-bright) !important;
  opacity: 0.3;
  width: 10px;
  height: 10px;
  margin: 0 6px !important;
  transition: all 0.3s ease;
}

.sc-modern-swiper-pagination .swiper-pagination-bullet-active {
  background: var(--sc-gold-glow) !important;
  opacity: 1 !important;
  transform: scale(1.2);
}

/* --- EDITORIAL CONTENT SECTIONS --- */
.sc-modern-main-content {
  padding: 60px 0;
  max-width: 1400px;
  margin: 0 auto;
}

.sc-modern-content-block {
  padding: 100px 5%;
  border-bottom: 1px solid rgba(163, 179, 197, 0.08);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
}

.sc-modern-content-block:last-of-type {
  border-bottom: none;
}

.sc-modern-block-header {
  display: flex;
  gap: 25px;
  align-items: flex-start;
}

.sc-modern-section-num {
  font-family: var(--sc-font-serif);
  color: var(--sc-gold-glow);
  font-size: 2.2rem;
  line-height: 1;
  font-weight: 300;
  opacity: 0.8;
}

.sc-modern-subtext-tag {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--sc-text-muted);
  margin-bottom: 8px;
  font-weight: 600;
}

.sc-modern-section-heading {
  font-family: var(--sc-font-serif);
  color: var(--sc-text-bright);
  font-size: 2rem;
  line-height: 1.2;
  margin: 0;
  font-weight: 400;
}

.sc-modern-block-body p {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--sc-text-muted);
  margin: 0 0 25px 0;
  text-align: justify;
}

.sc-modern-block-body p:last-child {
  margin-bottom: 0;
}

/* --- OVERLAY POPUPS & UTILITIES --- */
.sc-modern-cookie-setting,
.sc-modern-cookies-box {
  position: fixed;
  background-color: var(--sc-bg-card);
  border: 1px solid rgba(163, 179, 197, 0.15);
  color: var(--sc-text-bright);
  z-index: 5000;
  display: none;
  opacity: 0;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.sc-modern-cookies-box {
  bottom: 30px;
  left: 5%;
  right: 5%;
  padding: 25px 40px;
  border-radius: 4px;
}

.sc-modern-cookies-box p {
  margin: 0 0 15px 0;
  font-size: 0.95rem;
}

.sc-modern-cookies-box-buttons {
  display: flex;
  gap: 15px;
}

.sc-modern-cookies-box-buttons button {
  background-color: var(--sc-accent-blue);
  color: var(--sc-text-bright);
  border: none;
  padding: 10px 22px;
  cursor: pointer;
  font-weight: 500;
  transition: opacity 0.2s;
}

.sc-modern-cookies-box-buttons button:hover {
  opacity: 0.9;
}

.sc-modern-cookie-setting {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 550px;
  padding: 40px;
}

.sc-modern-setting-box-title {
  margin: 0 0 15px 0;
  font-family: var(--sc-font-serif);
}

.sc-modern-hr {
  border: 0;
  height: 1px;
  background: rgba(163, 179, 197, 0.2);
  margin-bottom: 20px;
}

.sc-modern-setting-box-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.sc-modern-setting-box-item h4 {
  margin: 0 0 5px 0;
}

.sc-modern-setting-box-item p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--sc-text-muted);
}

/* Toggle Switch element styling */
.sc-modern-custom-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
}

.sc-modern-custom-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.sc-modern-switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #3a4b5c;
  transition: 0.4s;
  border-radius: 24px;
}

.sc-modern-switch-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

.sc-modern-custom-switch input:checked + .sc-modern-switch-slider {
  background-color: var(--sc-gold-glow);
}

.sc-modern-custom-switch input:checked + .sc-modern-switch-slider:before {
  transform: translateX(22px);
}

/* Site Screen Loading States */
.sc-modern-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1a232d;
}

.sc-modern-transition-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--sc-bg-dark);
  z-index: 1;
}

.sc-modern-loader svg {
  position: relative;
  z-index: 2;
  width: 140px;
  height: auto;
}

/* ==========================================================================
   RESPONSIVE VIEWPONT MEDIA QUERIES (TABLET & MOBILE VISUAL FALLBACKS)
   ========================================================================== */

@media (max-width: 1024px) {
  .sc-modern-content-block {
    grid-template-columns: 1fr; /* Stack layout components smoothly vertically */
    gap: 30px;
    padding: 60px 5%;
  }

  .sc-modern-cookies-box {
    flex-direction: column;
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .sc-modern-hero-content {
    bottom: 15%;
  }

  .sc-modern-block-body p {
    text-align: left;
    font-size: 1rem;
  }
}

/* --- HEADER NAVIGATION --- */
.sc-header-root,
.sc-header-root * {
  all: revert;
  box-sizing: border-box;
}

:root {
  --sc-bg-dark: #111827;
  --sc-bg-card: #161f2a;
  --sc-accent-blue: #2b3a4a;
  --sc-text-bright: #ffffff;
  --sc-text-muted: #a3b3c5;
  --sc-gold-glow: #c5a880;
  --sc-font-serif: "Times New Roman", Times, serif;
  --sc-font-sans:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.sc-modern-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  box-sizing: border-box;
  background: linear-gradient(
    to bottom,
    rgba(15, 21, 28, 0.95) 0%,
    rgba(15, 21, 28, 0.8) 70%,
    transparent 100%
  );
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(163, 179, 197, 0.1);

  background-color: var(--sc-bg-dark);
  color: var(--sc-text-muted);
  font-family: var(--sc-font-sans);
  margin: 0;
  overflow-x: hidden;
}

.sc-modern-nav-logo img {
  height: 42px;
  width: auto;
  display: block;
}

/* Navigation Links (Desktop view) */
.sc-modern-desktop-links {
  display: flex;
  gap: 40px;
  align-items: center;
}

.sc-modern-link {
  color: var(--sc-text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
  padding: 5px 0;
}

.sc-modern-link:hover,
.sc-modern-link.sc-modern-active {
  color: var(--sc-text-bright);
}

.sc-modern-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--sc-gold-glow);
  transition: width 0.3s ease;
}

.sc-modern-link:hover::after,
.sc-modern-link.sc-modern-active::after {
  width: 100%;
}

/* Menu Toggle Button Actions */
.sc-modern-menu-trigger {
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  padding: 8px;
}

.sc-modern-menu-trigger img {
  width: 28px;
  height: auto;
}

/* --- DYNAMIC SIDEBAR DRAWER --- */
.sc-modern-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 100%;
  height: 100vh;
  background-color: var(--sc-bg-card);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 40px;
  box-sizing: border-box;
  will-change: transform;
  visibility: hidden;
  font-family: var(--sc-font-sans);
}

.sc-modern-sidebar-close-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 60px;
}

.sc-modern-menu-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.sc-modern-menu-close img {
  width: 24px;
  height: 24px;
}

.sc-modern-sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.sc-modern-sidebar-link {
  color: var(--sc-text-bright);
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  display: flex;
  flex-direction: column;
}

.sc-modern-sidebar-link .sc-modern-line {
  width: 0;
  height: 1px;
  background-color: var(--sc-gold-glow);
  margin-top: 5px;
  transition: width 0.3s ease;
}

.sc-modern-sidebar-link:hover .sc-modern-line {
  width: 60px;
}

@media (max-width: 1024px) {
  .sc-modern-desktop-links {
    display: none;
  }

  .sc-modern-menu-trigger {
    display: block;
  }
}

@media (max-width: 768px) {
  .sc-modern-nav {
    height: 75px;
  }

  .sc-modern-nav-logo img {
    height: 32px;
  }
}

/* =========================================
   SC UNIQUE FOOTER COMPONENT
========================================= */

.sc-ftr-25-wrapper {
  /* Self-contained CSS Variables */
  --sc-bg: #111827; /* Deep professional slate/navy */
  --sc-text-main: #f9fafb;
  --sc-text-muted: #9ca3af;
  --sc-accent: #cfa872; /* Subtle authoritative gold hover */
  --sc-border: rgba(255, 255, 255, 0.1);
  --sc-transition: 0.25s ease;

  background-color: var(--sc-bg);
  color: var(--sc-text-muted);
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
  padding: 70px 20px 30px;
  line-height: 1.6;
}

.sc-ftr-25-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* Base Links Restyle */
.sc-ftr-25-wrapper a {
  color: var(--sc-text-muted);
  text-decoration: none;
  transition: color var(--sc-transition);
}

.sc-ftr-25-wrapper a:hover {
  color: white;
}

/* --- GRID LAYOUT --- */
.sc-ftr-25-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.sc-ftr-25-col {
  display: flex;
  flex-direction: column;
}

/* --- TYPOGRAPHY & LISTS --- */
.sc-ftr-25-heading {
  color: var(--sc-text-main);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 20px 0;
  letter-spacing: 0.05em;
}

.sc-ftr-25-list,
.sc-ftr-25-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.95rem;
}

/* --- COLUMN 1: BRANDING & NEWSLETTER --- */
.sc-ftr-25-logo {
  max-width: 200px;
  margin-bottom: 20px;
  display: block;
}

.sc-ftr-25-desc {
  font-size: 0.95rem;
  margin-bottom: 25px;
  max-width: 90%;
}

.sc-ftr-25-form {
  width: 100%;
  max-width: 350px;
}

.sc-ftr-25-input-group {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--sc-border);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color var(--sc-transition);
}

.sc-ftr-25-input-group:focus-within {
  border-color: white;
}

.sc-ftr-25-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 16px;
  color: var(--sc-text-main);
  font-size: 0.95rem;
  outline: none;
}

.sc-ftr-25-input::placeholder {
  color: #6b7280;
}

.sc-ftr-25-btn {
  background: var(--sc-text-main);
  color: var(--sc-bg);
  border: none;
  padding: 0 18px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background var(--sc-transition);
}

.sc-ftr-25-btn:hover {
  background: #253455;
  color: white;
}

.sc-ftr-25-btn-icon {
  width: 16px;
  height: auto;
}

/* --- COLUMN 4: CONTACT --- */
.sc-ftr-25-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* --- COLUMN 4: CONTACT --- */
.sc-ftr-25-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 4px;
  /* brightness(0) makes the icon completely black, invert(1) flips it to pure white */
  filter: brightness(0) invert(1);
  opacity: 1; /* Set to 1 for solid white instead of faded */
}

/* Make sure the copyright icon in the bottom bar matches too */
.sc-ftr-25-copy-icon {
  width: 14px;
  filter: brightness(0) invert(1);
  opacity: 1;
}
/* --- BOTTOM BAR --- */
.sc-ftr-25-divider {
  border: 0;
  border-top: 1px solid var(--sc-border);
  margin: 0;
}

.sc-ftr-25-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding-top: 25px;
  gap: 20px;
  font-size: 0.85rem;
}

.sc-ftr-25-copy {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sc-ftr-25-copy-icon {
  width: 14px;
  filter: invert(1);
  opacity: 0.7;
}

.sc-ftr-25-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.sc-ftr-25-dot {
  color: var(--sc-border);
  font-size: 1.2rem;
}

.sc-ftr-25-socials {
  display: flex;
  gap: 16px; /* Slightly increased gap for breathing room */
  align-items: center;
}

.sc-ftr-25-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent; /* Removed background */
  border: none; /* Removed border */
  padding: 0;
  transition: all var(--sc-transition);
}

.sc-ftr-25-socials img {
  width: 22px; /* Slightly larger since the border is gone */
  height: 22px;
  /* brightness(0) turns the SVG black, invert(1) turns it pure white */
  filter: brightness(0) invert(1);
}

.sc-ftr-25-socials a:hover {
  /* Updated hover effect to rely on scale and opacity instead of background color */
  background: transparent;
  border-color: transparent;
  transform: translateY(-3px) scale(1.1);
  opacity: 0.8;
}

/* =========================================
   RESPONSIVE MEDIA QUERIES
========================================= */

/* Tablet Portrait */
@media (max-width: 1024px) {
  .sc-ftr-25-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sc-ftr-25-brand {
    grid-column: span 2;
  }
}

/* Mobile Landscape & Standard Tablet */
@media (max-width: 768px) {
  .sc-ftr-25-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }

  .sc-ftr-25-legal {
    justify-content: center;
  }
  .sc-ftr-25-grid {
    grid-template-columns: 1fr;
  }

  /* Reset the span for mobile */
  .sc-ftr-25-brand {
    grid-column: span 1;
  }
}

/* Mobile Portrait */
@media (max-width: 576px) {
  .sc-ftr-25-wrapper {
    padding: 50px 15px 25px;
  }

  .sc-ftr-25-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .sc-ftr-25-logo {
    margin: 0 auto 20px;
  }

  .sc-ftr-25-brand {
    text-align: center;
    align-items: center;
  }

  .sc-ftr-25-desc {
    max-width: 100%;
  }

  .sc-ftr-25-contact li {
    justify-content: flex-start;
  }

  .sc-ftr-25-input-group {
    flex-direction: column;
  }

  .sc-ftr-25-btn {
    width: 100%;
    justify-content: center;
    padding: 10px 16px;
  }

  .sc-ftr-25-input {
    width: 100%;
  }
}
