/* ==================================================
   ROOT VARIABLES
   ================================================== */

:root {
  --primary-color: #ff7425;
  --theme-color: #ffffff;
  --theme-bg: #000000;
  --black: #000000;
  --transition: all 0.3s ease;
  --main-font: "M PLUS Rounded 1c", sans-serif;
}

/* ==================================================
   GLOBAL TYPOGRAPHY
   ================================================== */

body {
  margin: 0;
  font-family: var(--main-font);
  color: var(--theme-color);
  background-color: var(--theme-bg);
}

/* ===============================
   FONT WEIGHT UTILITIES
   (Use these to control thickness)
================================ */

.fw-100 { font-weight: 100 !important; }
.fw-300 { font-weight: 300 !important; }
.fw-400 { font-weight: 400 !important; }
.fw-500 { font-weight: 500 !important; }
.fw-700 { font-weight: 700 !important; }
.fw-800 { font-weight: 800 !important; }
.fw-900 { font-weight: 900 !important; }

/* ===============================
   FONT SIZE UTILITIES (FLUID)
   Format: clamp(minimum, preferred, maximum);
================================ */

/* Giant Hero Text (Use for your biggest banners) */
/* Allow this to grow larger (up to 6rem) for 2K screens */
.fs-display {
  font-size: clamp(2.5rem, 6vw, 6rem); /* Changed max from 4.5rem to 6rem */
  line-height: 1.1;
}

/* Allow this to grow larger (up to 4.5rem) */
.fs-h1 {
  font-size: clamp(1.8rem, 4vw, 4.5rem); /* Changed max from 3.5rem to 4.5rem */
  line-height: 1.2;
}

/* Card Titles (Use for "Pitch Deck", "Master Template") */
.fs-h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  line-height: 1.3;
}

/* Subtitles / Lead Text */
.fs-h3 {
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  line-height: 1.4;
}

/* Standard Body Text */
.fs-body {
  font-size: clamp(0.95rem, 1.1vw, 1.1rem); /* This matches your old .shantell-sans-100 */
  line-height: 1.7;
}

/* Small / Meta Text (Footer links, disclaimers) */
.fs-sm {
  font-size: 0.875rem; /* 14px */
  line-height: 1.5;
}

/* ==================================================
   PARAGRAPH SIZES
   ================================================== */

/* 1. LEAD TEXT (Use for the first paragraph of a section) */
/* Slightly larger to grab attention. Approx 20px-22px */
.fs-body-lg {
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  line-height: 1.6;
}

/* 2. STANDARD BODY (The workhorse) */
/* Your original preferred size. Approx 16px-18px */
.fs-body {
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  line-height: 1.7; /* Good breathability for reading */
}

/* 3. SMALL TEXT (Use for footers, copyrights, metadata) */
/* Approx 14px */
.fs-body-sm {
  font-size: 0.875rem; 
  line-height: 1.5;
  opacity: 0.8; /* Optional: makes fine print slightly softer */
}

.testimonial__text-slider-single h2 a {
  /* 1. Change the Font */
  font-family: var(--main-font); /* Or type a specific font like "Arial" */
  
  /* 2. Change the Thickness */
  font-weight: 700; /* Try 900 for extra bold */

  line-height: 2.3;
}

/* ==================================================
   NAVBAR & LOGO
   ================================================== */

.navbar {
  display: flex;
  align-items: center;
}

.navbar .logo {
  font-family: var(--main-font);
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  line-height: 1;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
}

.navbar .logo .logo-thin {
  color: #ffffff;
  font-weight: 300;
}

.navbar .logo .logo-highlight {
  color: var(--primary-color);
  font-weight: 650;
}

/* Navbar scroll state */
.primary-navbar {
  transition: background-color 0.35s ease, backdrop-filter 0.35s ease;
  background: transparent;
}

.primary-navbar.navbar--scrolled {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: #fff;
}

.navbar-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  text-decoration: none;
  position: relative;
  transition: color 0.25s ease;
}

.navbar-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--primary-color);
  transition: width 0.25s ease;
  width: 100%;
}

.navbar-links a:hover {
  color: #fff;
}

.navbar-links a:hover::after {
  width: 100%;
}

.scroll-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--primary-color);
  transition: width 0.1s linear;
}

/* ===============================
   ACTIVE NAV DOT
================================ */

.navbar-links a {
  position: relative;
}

.navbar-links a::after {
  width: 0;
}

.navbar-links a:hover::after {
  width: 100%;
}

.navbar-links a::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-color);
  opacity: 0;
  transition: all 0.25s ease;
}

.navbar-links a.active::before {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

/* ===============================
   MOBILE NAVIGATION
================================ */
@media (max-width: 991px) {

  .navbar-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(12px);

    flex-direction: column;
    gap: 20px;
    padding: 24px 20px;

    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;

    transition: all 0.3s ease;
  }

  .navbar-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .navbar-links a {
    font-size: 1.1rem;
  }

  .navbar-links a {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .navbar-links.open a {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ==================================================
   SECTION HEADER
   ================================================== */

.section__header {
  margin-bottom: 80px;
}

.section__header.text-center {
  text-align: center;
}

/* ==================================================
   Hero Image banner
   ================================================== */

.banner {
    padding: 140px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.banner .row {
    align-items: flex-start;
}

.banner-image {
    position: relative;
    z-index: 2;
    text-align: right;
    margin-left: 30px;
    margin-right: 30px;
}

.banner-image img {
   max-width: 110%;
   height: auto;
   margin-top: 60px;
   transform: scale(1.2);
   
   text-align: right;
}

@media (max-width: 991px) {

  .banner {
    padding: 100px 0 40px;
    min-height: auto;
  }

  .banner .row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .banner-image {
    margin: 40px 0 0;
    width: 100%;
    text-align: center;
    overflow: hidden;
  }

  .banner-image img {
    max-width: 100%;
    transform: none;
    margin-top: 0;
    transform: scale(1.11);
  }

}





/* ==================================================
   SUB-TITLE / EYEBROW
   ================================================== */

.sub-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 12px 26px;
  border: 1px solid #414141;
  border-radius: 999px;

  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  color: var(--primary-color);
  transition: var(--transition);
}

.sub-title i {
  font-size: 0.8em;
}

.sub-title--lg {
  font-size: 1rem;
}

/* ==================================================
   SERVICES SECTION
   ================================================== */

.services {
  position: relative;
}

/* ==================================================
   SERVICES GRID
   ================================================== */

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid #414141;
}

@media (max-width: 768px) {
  .services__grid {
    grid-template-columns: 1fr;
  }
}

/* ==================================================
   SERVICE CARD
   ================================================== */

.service-card {
  position: relative;
  z-index: 1;

  padding: clamp(40px, 5vw, 70px);
  text-decoration: none;
  color: var(--theme-color);

  border-right: 1px solid #414141;
  border-bottom: 1px solid #414141;

  overflow: hidden;
  transition: var(--transition);
}

.service-card:nth-child(even) {
  border-right: none;
}

@media (max-width: 768px) {
  .service-card {
    border-right: none;
  }
}

/* ==================================================
   SERVICE CARD CONTENT
   ================================================== */

.service-card__title {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 500;
  margin-bottom: 20px;
}

.service-card__text {
  max-width: 520px;
  opacity: 0.85;
  transition: var(--transition);
}

/* ==================================================
   SERVICE CARD HOVER FILL
   ================================================== */

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;

  background-color: var(--primary-color);
  transform: scaleX(0);
  transform-origin: var(--origin, left);

  transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: -1;
}

.service-card.is-hover::before {
  transform: scaleX(1);
}

/* ==================================================
   ARROW MICRO-INTERACTION
   ================================================== */

.service-card__arrow {
  position: absolute;
  bottom: 40px;
  right: 40px;

  font-size: 2.2rem;
  color: var(--primary-color);

  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}

.service-card:hover .service-card__arrow {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover .service-card__text {
  opacity: 1;
}

/* ==================================================
   SERVICES FOOTER
   ================================================== */

.services__footer {
  margin-top: 80px;
}

.services-platform-statement {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 500;
  opacity: 0.85;
}

/* FOOTER CSS */

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 0 40px;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-left p {
  margin-top: 10px;
  opacity: 0.6;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.5;
  padding-bottom: 30px;
}

/* ===============================
   FOOTER
================================ */

.site-footer {
  margin-top: 140px;
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: radial-gradient(
    ellipse at top,
    rgba(255,255,255,0.03),
    transparent 60%
  );
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.footer-brand h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
}

/* Subtle brand glow */
.footer-brand h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 32px;
  height: 2px;
  background: var(--primary-color);
  opacity: 0.6;
}


.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.7;
  max-width: 240px;
}

/* Footer Nav */
.footer-nav {
  display: flex;
  gap: 28px;
  justify-content: center;
}

.footer-nav a {
  font-size: 0.85rem;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.footer-nav a:hover {
  opacity: 1;
}

/* Social Icons */
.footer-connect {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}

.footer-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 0.85rem;
  color: var(--primary-color);

  transition: all 0.25s ease;
}

.footer-icon:hover {
  background: var(--primary-color);
  color: #000;
  transform: translateY(-2px);
}

/* Bottom */
.footer-bottom {
  margin-top: 40px;
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.4;
}

/* ===============================
   FOOTER – MOBILE
================================ */

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    margin: 0 auto;
  }

  .footer-nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
  }

  .footer-connect {
    justify-content: center;
  }
}

.footer-nav a {
  position: relative;
}

.footer-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--primary-color);
  opacity: 0.6;
  transition: all 0.25s ease;
  transform: translateX(-50%);
}

.footer-nav a:hover::after {
  width: 60%;
}

/* SERVICES DROPDOWN (DESKTOP ONLY) */
.has-submenu {
  position: relative;
}

.submenu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;

  background: rgba(0, 0, 0, 0.95);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;

  min-width: 240px;
  padding: 10px 0;

  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s ease;

  z-index: 999;
}

.has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu li a {
  display: block;
  padding: 12px 20px;
  font-size: 0.9rem;
  color: #cfcfcf;
}

.submenu li a:hover {
  background: rgba(255,255,255,0.04);
  color: var(--primary-color);
}
/* Navbar FIX */

/* Industries Served */
/* Wrapper to hold the ticker */
.industry-ticker-wrap {
  width: 100%;
  overflow: hidden; /* Hides the text that goes off-screen */
  background-color: var(--primary-color); /* Uses your Orange Theme Color */
  padding: 18px 0;
  border-top: 1px solid rgba(0,0,0,0.1);
  border-bottom: 1px solid rgba(0,0,0,0.1);
  position: relative;
  z-index: 5;
}

/* The container that moves */
.industry-ticker {
  display: flex;
  width: fit-content;
  animation: tickerScroll 30s linear infinite;
}

/* Individual chunks of text */
.ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap; /* Prevents text from breaking to new line */
}

/* The text styling */
.ticker-item {
  font-family: var(--main-font);
  font-size: 1.1rem;
  color: #000; /* Black text on Orange background looks sharp */
  font-weight: 500;
  padding: 0;
}

/* The separator dot */
.ticker-separator {
  margin: 0 30px;
  color: #000;
  font-size: 1.2rem;
  opacity: 0.5;
}

/* The Animation */
@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* Moves exactly half-way, creating seamless loop */
  }
}

/* Pause on hover (Optional, enables users to read) */
.industry-ticker-wrap:hover .industry-ticker {
  animation-play-state: paused;
}

/* ==== FAQ Accordion Styling ==== */
.faq .accordion-item {
   background-color: transparent;
   border: none;
   border-bottom: 1px solid rgba(255, 255, 255, 0.1);
   margin-bottom: 10px;
}

.faq .accordion-button {
   background-color: transparent;
   color: #fff;
   font-family: var(--main-font);
   font-size: 1.25rem;
   font-weight: 500;
   padding: 24px 0;
   box-shadow: none; /* Removes the blue glow */
}

/* Color when button is active/open */
.faq .accordion-button:not(.collapsed) {
   color: var(--primary-color);
   background-color: transparent;
   box-shadow: none;
}

/* The arrow icon color */
.faq .accordion-button::after {
   filter: invert(1); /* Turns the default black arrow white */
   transform: scale(0.8);
   transition: transform 0.3s ease;
}

.faq .accordion-button:not(.collapsed)::after {
   filter: invert(56%) sepia(93%) saturate(1352%) hue-rotate(338deg) brightness(101%) contrast(101%); /* Matches your orange */
}

.faq .accordion-body {
   color: rgba(255, 255, 255, 0.8);
   padding-top: 0;
   padding-bottom: 30px;
   padding-left: 0;
   font-size: 1rem;
   line-height: 1.7;
}

/* ==== Contact Section Styling ==== */
.contact-form-wrapper {
   background: rgba(255, 255, 255, 0.03);
   padding: 40px;
   border-radius: 20px;
   border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-form-wrapper input,
.contact-form-wrapper textarea {
   width: 100%;
   background-color: transparent;
   border: none;
   border-bottom: 1px solid rgba(255, 255, 255, 0.2);
   padding: 15px 0;
   color: #fff;
   font-family: var(--main-font);
   margin-bottom: 25px;
   transition: all 0.3s ease;
}

.contact-form-wrapper input:focus,
.contact-form-wrapper textarea:focus {
   outline: none;
   border-bottom-color: var(--primary-color);
   background: rgba(255, 255, 255, 0.02);
}

.contact-form-wrapper input::placeholder,
.contact-form-wrapper textarea::placeholder {
   color: rgba(255, 255, 255, 0.5);
}

/* Adjust layout on mobile */
@media (max-width: 991px) {
   .contact-form-wrapper {
      margin-top: 40px;
      padding: 25px;
   }
}

/* ==================================================
   RESPONSIVE PATCH: 14" LAPTOPS TO 4K SCREENS
   ================================================== */

/* 1. COMPACT LAPTOPS (MacBooks / 13"-14" Screens) */
/* Fixes the "cramped" feeling by slightly reducing padding and font sizes */
@media (max-width: 1440px) and (min-width: 992px) {
  .banner {
    padding-top: 130px; /* Pulls content up */
  }
  
  .banner__content h1 {
    font-size: 3.2rem; /* Clean readable size for laptops */
  }

  /* Adjust spacing so it doesn't feel squashed */
  .section {
    padding: 80px 0;
  }
}

/* 2. HIGH RESOLUTION (2K / 2560px) */
/* Unlocks the container width and grows fonts */
@media (min-width: 1600px) {
  .container {
    max-width: 1500px !important; 
  }
  
  /* Scale up fonts */
  html {
    font-size: 18px; 
  }
  
  /* Break the clamp limit for titles */
  .fs-display { font-size: 5.5rem; }
  .fs-h1 { font-size: 4rem; }
}

/* 3. ULTRA HIGH RES (4K / 3840px) */
@media (min-width: 2200px) {
  .container {
    max-width: 2000px !important; 
  }
  
  html {
    font-size: 22px; /* Massive scaling for 4K */
  }
  
  .fs-display { font-size: 7.5rem; }
}

/* 2. COMPACT LAPTOPS (13" - 14" Screens) 
   Fixes the "cramped" feeling on MacBook Air / standard laptops.
*/
@media (max-width: 1440px) and (min-width: 992px) {
  .banner {
    padding-top: 140px; /* Pull content up slightly */
  }
  
  .banner__content h1 {
    font-size: 3.5rem; /* Force a cleaner size if clamp is acting weird */
  }
  
  /* Tweak service cards to prevent text overflow */
  .service-card {
    padding: 40px 30px; 
  }
  
  .service-card__title {
    font-size: 1.8rem;
  }
}

/* 3. TABLET & MOBILE REFINEMENTS 
   Fixes huge gaps on small screens.
*/
@media (max-width: 991px) {
  .banner {
    padding: 120px 0 60px; /* Reduce huge top gap */
  }

  .section__header {
    margin-bottom: 50px; /* Reduce gap between title and content */
  }
  
  /* Stack the service cards properly if they aren't already */
  .services__grid {
    grid-template-columns: 1fr;
  }
  
  /* Make the "Who are we" text readable on mobile */
  .agency__content .paragraph p {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  /* Fix Ticker Text size on mobile */
  .ticker-item {
    font-size: 0.9rem;
  }
}

/* ==================================================
   COMPONENT SPECIFIC FIXES
   ================================================== */

/* Fix Process Chart overlapping on mobile */
@media (max-width: 768px) {
  #process_chart .card__container {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  #process_chart .card {
    width: 100% !important; /* Force full width */
    margin: 0 !important;
  }
}

/* Ensure Testimonial SVG doesn't break layout */
.testimonial-s__slider-single svg {
  max-width: 100%;
  height: auto;
}

/* ==================================================
   2.8K & 4K MONITOR PATCH (Ultra-Wide Fixes)
   ================================================== */
@media (min-width: 2500px) {
  
  /* 1. Scale EVERYTHING Up 
     Since you used 'rem' units, increasing this one number 
     increases all your font sizes, paddings, and margins by 40%. */
  html {
    font-size: 22px; /* Default is 16px. This makes everything bigger. */
  }

  /* 2. Unlock the Main Container 
     This fills that empty black void on the right. */
  .container {
    max-width: 90vw !important; /* Uses 90% of your screen width */
  }
  
  /* 3. Unlock the Process Chart (Image 2 Fix) 
     Allows the cards to spread out instead of being squashed. */
  #process_chart .card__container {
    max-width: 2400px !important;
    gap: 50px;
  }
  
  /* 4. Fix the Process Card Numbers (Image 2 Fix) 
     Makes the '01', '02' giant and readable on 2.8K */
  #process_chart .card__container .card .card__content h2 {
    font-size: 8rem; 
    top: -100px;
  }
  
  /* 5. Fix the Hero Title (Image 3 Fix) */
  .banner__content h1 {
     font-size: 6rem; /* Ensures the main title is massive */
  }
}

/* ==================================================
   BLOG SECTION (Luxury Black Style)
   ================================================== */

.blog {
   padding: 120px 0;
   border-top: 1px solid rgba(255,255,255,0.06);
}

.blog__grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 40px;
}

@media (max-width: 991px) {
   .blog__grid {
      grid-template-columns: 1fr;
      gap: 30px;
   }
}

.blog-card {
   padding: 40px;
   border: 1px solid rgba(255,255,255,0.08);
   border-radius: 18px;
   background: rgba(255,255,255,0.02);
   transition: all 0.35s ease;
   position: relative;
   overflow: hidden;
}

.blog-card:hover {
   border-color: rgba(255,255,255,0.18);
   transform: translateY(-6px);
}

.blog-card__meta {
   opacity: 0.6;
   margin-bottom: 20px;
   letter-spacing: 0.05em;
   text-transform: uppercase;
}

.blog-card__title {
   font-size: 1.6rem;
   font-weight: 500;
   margin-bottom: 18px;
   line-height: 1.3;
}

.blog-card__excerpt {
   opacity: 0.8;
   margin-bottom: 25px;
}

.blog-card__link {
   color: var(--primary-color);
   text-decoration: none;
   font-weight: 500;
   position: relative;
}

.blog-card__link::after {
   content: "";
   position: absolute;
   left: 0;
   bottom: -4px;
   width: 0;
   height: 1px;
   background: var(--primary-color);
   transition: width 0.25s ease;
}

.blog-card__link:hover::after {
   width: 100%;
}

.blog-card::before {
   content: "";
   position: absolute;
   inset: 0;
   background: radial-gradient(circle at top left, rgba(255,116,37,0.05), transparent 60%);
   opacity: 0;
   transition: opacity 0.4s ease;
}

.blog-card:hover::before {
   opacity: 1;
}


/* ==================================================
   BLOG – SINGLE FEATURE (Luxury Black)
   ================================================== */

.blog {
   padding: 120px 0;
   border-top: 1px solid rgba(255,255,255,0.06);
}

.blog-feature {
   max-width: 900px;
   margin: 0 auto;
   text-align: center;
   padding: 60px;
   border: 1px solid rgba(255,255,255,0.08);
   border-radius: 24px;
   background: rgba(255,255,255,0.02);
   transition: all 0.35s ease;
}

.blog-feature:hover {
   transform: translateY(-6px);
   border-color: rgba(255,255,255,0.18);
}

.blog-feature__meta {
   opacity: 0.6;
   letter-spacing: 0.08em;
   text-transform: uppercase;
   margin-bottom: 20px;
}

.blog-feature__title {
   font-size: clamp(2rem, 3vw, 2.8rem);
   font-weight: 500;
   margin-bottom: 25px;
   line-height: 1.25;
}

.blog-feature__excerpt {
   opacity: 0.8;
   margin-bottom: 30px;
}

.blog-feature__link {
   color: var(--primary-color);
   font-weight: 500;
   text-decoration: none;
   position: relative;
}

.blog-feature__link::after {
   content: "";
   position: absolute;
   left: 0;
   bottom: -4px;
   width: 0;
   height: 1px;
   background: var(--primary-color);
   transition: width 0.25s ease;
}

.blog-feature__link:hover::after {
   width: 100%;
}


/* ==================================================
   BLOG SINGLE PAGE
   ================================================== */

/* ==================================================
   BLOG ARTICLE – HIGH-END LUX EDITORIAL
   ================================================== */

.blog-single {
   padding: 180px 0 120px;
}

.blog-article {
   max-width: 820px;
   margin: 0 auto;
}

.blog-article__header {
   text-align: center;
   margin-bottom: 90px;
}

.blog-article__title {
   font-size: clamp(2.5rem, 4vw, 4rem);
   font-weight: 500;
   line-height: 1.15;
   margin-bottom: 30px;
}

.blog-article__meta {
   font-size: 0.85rem;
   letter-spacing: 0.12em;
   text-transform: uppercase;
   opacity: 0.6;
}

.blog-article__content {
   font-size: 1.1rem;
   line-height: 2;
   opacity: 0.9;
}

.blog-article__content h2 {
   font-size: 1.6rem;
   margin-top: 70px;
   margin-bottom: 20px;
   font-weight: 500;
   color: var(--primary-color);
}

.blog-article__content p {
   margin-bottom: 28px;
}

.blog-article__footer {
   margin-top: 80px;
   text-align: center;
}

.blog-back-link {
   font-size: 0.9rem;
   text-decoration: none;
   color: rgba(255,255,255,0.6);
   transition: color 0.25s ease;
}

.blog-back-link:hover {
   color: var(--primary-color);
}


/* ================================
   BEFORE / AFTER SLIDER
================================ */
.compare-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
}

/* Images */
.compare-wrapper img {
  width: 100%;
  display: block;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
}

/* BEFORE */
.compare-base {
  position: relative;
  z-index: 1;
}

/* AFTER overlay */
.compare-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  clip-path: inset(0 100% 0 0); /* hidden initially */
}

/* Divider */
.compare-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background: var(--primary-color);
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 3;
}

/* Handle */
.compare-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  background: var(--primary-color);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(255, 116, 37, 0.2);
}
.compare-label {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 6px 14px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border-radius: 20px;
  z-index: 5;
  transition: opacity 0.3s ease;
}

/* BEFORE visible initially */
.before-label {
  opacity: 1;
}

/* AFTER hidden initially */
.after-label {
  opacity: 0;
}
