

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Fonts
--------------------------------------------------------------*/
:root {
  --default-font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  --heading-font: "Julius Sans One", sans-serif;
  --nav-font: "Montserrat", sans-serif;
}

  /*--------------------------------------------------------------
  # Global Colors - Blush Surface Emphasis
  --------------------------------------------------------------*/
  :root {
    --background-color: #ffffff;        /* Overall site background remains white */
    --default-color: #444444;           /* Body text */
    --heading-color: #6C9296;           /* Dusty teal (strong contrast on blush) */
    --accent-color: #B6546E;            /* Plum rose (buttons, highlights) */
    --surface-color: #F6DED1;           /* Blush pink — main panel/card background */
    --contrast-color: #ffffff;          /* Text on buttons/accent areas */
  }

  :root {
    --nav-color: #1E5C66;  /* Darkened deep teal (more contrast, still harmonious) */
    --nav-hover-color: #178AA0; /* Deeper cyan-blue for hover — vivid but not neon */
    --nav-mobile-background-color: #ffffff;
    --nav-dropdown-background-color: #ffffff;
    --nav-dropdown-color: #1E5C66;
    --nav-dropdown-hover-color: #178AA0;
  }

  /* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

  .light-background {
    --background-color: #E0F2F2;    /* Softened aqua, better contrast */
    --default-color: #444444;       /* Dark gray for body text */
    --heading-color: #B6546E;       /* Plum rose for titles */
    --surface-color: #E0F2F2;       /* White cards or panel containers */
    --accent-color: #FA8458;        /* Coral accent (CTA) */
    --contrast-color: #ffffff;      /* For text on accent backgrounds */
  }

    .snowlight-background {
      --background-color: #F4F8F9;     /* soft off-white with an icy undertone */
      --default-color: #3E4A4A;        /* cool charcoal gray for body text */
      --heading-color: #2B2B2B;        /* deep neutral charcoal for headings */
      --surface-color: #FFFFFF;        /* true white for cards/panels */
      --accent-color: #2196B3;         /* vivid cerulean blue (book right side) */
      --contrast-color: #FFFFFF;       /* white text on accent surfaces */
      --highlight-color: #E97224;      /* warm tangerine orange (book left side) */
      --frost-color: #D8EEED;          /* pale aqua shimmer for dividers or gradients */
    }

  .charcoal-background {
    --background-color: #F5F5F5;     /* light warm gray background */
    --default-color: #444444;        /* medium charcoal for body text */
    --heading-color: #1E1E1E;        /* deep charcoal for headings */
    --surface-color: #FFFFFF;        /* clean white for cards/panels */
    --accent-color: #555555;         /* rich neutral charcoal accent */
    --contrast-color: #FFFFFF;       /* white text for dark accents */
    --highlight-color: #888888;      /* soft steel gray highlight */
    --frost-color: #E0E0E0;          /* muted light gray shimmer for dividers/gradients */
  }

  .snowfield-background {
    --background-color: #E6EEF0;     /* slightly darker, cool snow-gray */
    --default-color: #384242;        /* deepened charcoal for clarity */
    --heading-color: #222222;        /* strong neutral charcoal for headers */
    --surface-color: #F8FBFB;        /* off-white panels (reads as snow in shade) */
    --accent-color: #2196B3;         /* same cerulean blue for continuity */
    --contrast-color: #FFFFFF;       /* white text on accent backgrounds */
    --highlight-color: #E97224;      /* warm tangerine orange hover/contrast */
    --frost-color: #CFE3E6;          /* muted aqua-gray shimmer (shadowed frost tone) */
  }

  .dark-background {
    --background-color: #F6DED1;  /* Blush – core primary color */
    --default-color: #444444;     /* Body text with good contrast */
    --heading-color: #6C9296;     /* Dusty teal – strong for headers on blush */
    --surface-color: #F1C2AA;     /* Peach – gentle cards or panels */
    --accent-color: #B6546E;      /* Plum rose – bold buttons, links, hovers */
    --contrast-color: #ffffff;    /* For text on plum/coral backgrounds */
  }


  .desert-warm {
    --background-color: #F8ECE4;   /* Soft clay-pink backdrop */
    --default-color: #3C2E2B;      /* Earthy deep brown-gray text */
    --heading-color: #B6546E;      /* Plum rose headings */
    --surface-color: #FBEFE7;      /* Lighter sand surface */
    --accent-color: #FA8458;       /* Somali desert coral */
    --contrast-color: #ffffff;     /* Clean white for buttons/text */
  }

  .desert-sunrise {
    --background-color: #FFF7F1;   /* Gentle sunrise beige */
    --default-color: #463C36;      /* Neutral cocoa text */
    --heading-color: #B46A46;      /* Terracotta brown headings */
    --surface-color: #FFEFE3;      /* Light sand card */
    --accent-color: #FA8458;       /* Coral (unchanged) */
    --contrast-color: #ffffff;     /* White contrast */
  }

  /* Smooth scroll */
  :root {
    scroll-behavior: smooth;
  }

  /*--------------------------------------------------------------
  # General Styling & Shared Classes
  --------------------------------------------------------------*/
  body {
    color: var(--default-color);
    background-color: var(--background-color);
    font-family: var(--default-font);
  }

  a {
    color: var(--accent-color);
    text-decoration: none;
    transition: 0.3s;
  }

  a:hover {
    color: color-mix(in srgb, var(--accent-color), transparent 25%);
    text-decoration: none;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    color: var(--heading-color);
    font-family: var(--heading-font);
  }

  /* PHP Email Form Messages
  ------------------------------*/
  .php-email-form .error-message {
    display: none;
    background: #df1529;
    color: #ffffff;
    text-align: left;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
  }

  .php-email-form .sent-message {
    display: none;
    color: #ffffff;
    background: #059652;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
  }

  .php-email-form .loading {
    display: none;
    background: var(--surface-color);
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
  }

  .php-email-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid var(--accent-color);
    border-top-color: var(--surface-color);
    animation: php-email-form-loading 1s linear infinite;
  }

  @keyframes php-email-form-loading {
    0% {
      transform: rotate(0deg);
    }

    100% {
      transform: rotate(360deg);
    }
  }


  .header .logo h1 {
    font-family: 'Frijole', cursive !important;
    font-size: clamp(1rem, 3vw, 1.5rem) !important; /* Correct order */
    font-weight: 400 !important;
    color: #ffffff !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    line-height: 1 !important;
  }
  /* Index Page Header
  ------------------------------*/
  .index-page .header {
    --background-color: rgba(255, 255, 255, 0); /* Keep transparent for overlay use */
    --heading-color: #2E6F79; /* Richer teal-gray for stronger readability */
    --nav-color: #2E6F79;     /* Matches heading tone */
  }

  /* Index Page Header on Scroll
  ------------------------------*/
  .index-page.scrolled .header {
    --background-color: rgba(40, 58, 90, 0.9);
  }

  /* Index Page Header on Scroll
  ------------------------------*/
  .index-page.scrolled .header {
    --background-color: #2DA9D6; /* Snow blue – matches buttons and site accents */
    --heading-color: #FFFFFF;    /* White text for contrast */
    --nav-color: #FFFFFF;        /* White navigation links */
    --nav-hover-color: #FAE79A;  /* Optional: pale gold hover accent */
    background-color: var(--background-color);
    transition: background-color 0.4s ease, color 0.3s ease;
  }

  /* Make sure text and links stay visible */
  .index-page.scrolled .header a,
  .index-page.scrolled .header .navmenu > ul > li > a {
    color: var(--nav-color);
  }

  .index-page.scrolled .header a:hover,
  .index-page.scrolled .header .navmenu > ul > li > a:hover {
    color: var(--nav-hover-color);
  }

  /*--------------------------------------------------------------
  # Navigation Menu
  --------------------------------------------------------------*/
  /* Desktop Navigation */
  @media (min-width: 1200px) {
    .navmenu {
      padding: 0;
    }

    .navmenu ul {
      margin: 0;
      padding: 0;
      display: flex;
      list-style: none;
      align-items: center;
    }

    .navmenu li {
      position: relative;
    }

  .navmenu a,
  .navmenu a:focus {
    color: #FFFFFF; /* solid white for visibility on video overlay */
    padding: 18px 15px;
    font-size: 15px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;

    /* subtle text shadow for contrast on bright or moving backgrounds */
    text-shadow:
      0 1px 3px rgba(0, 0, 0, 0.65),
      0 2px 6px rgba(0, 0, 0, 0.4);
  }

    .navmenu a i,
    .navmenu a:focus i {
      font-size: 12px;
      line-height: 0;
      margin-left: 5px;
      transition: 0.3s;
    }

    .navmenu li:last-child a {
      padding-right: 0;
    }

    .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: #FFFFFF; /* same white as base */
    text-shadow:
      0 0 6px rgba(255, 255, 255, 0.75),  /* soft glow */
      0 2px 8px rgba(0, 0, 0, 0.5);       /* retain legibility */
    transform: translateY(-1px);
    transition: all 0.3s ease;
  }

    .navmenu .dropdown ul {
      margin: 0;
      padding: 10px 0;
      background: var(--nav-dropdown-background-color);
      display: block;
      position: absolute;
      visibility: hidden;
      left: 14px;
      top: 130%;
      opacity: 0;
      transition: 0.3s;
      border-radius: 4px;
      z-index: 99;
      box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    }

    .navmenu .dropdown ul li {
      min-width: 200px;
    }

    .navmenu .dropdown ul a {
      padding: 10px 20px;
      font-size: 15px;
      text-transform: none;
      color: var(--nav-dropdown-color);
    }

    .navmenu .dropdown ul a i {
      font-size: 12px;
    }

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

    .navmenu .dropdown:hover>ul {
      opacity: 1;
      top: 100%;
      visibility: visible;
    }

    .navmenu .dropdown .dropdown ul {
      top: 0;
      left: -90%;
      visibility: hidden;
    }

    .navmenu .dropdown .dropdown:hover>ul {
      opacity: 1;
      top: 0;
      left: -100%;
      visibility: visible;
    }

    .navmenu .megamenu {
      position: static;
    }

    .navmenu .megamenu ul {
      margin: 0;
      padding: 10px;
      background: var(--nav-dropdown-background-color);
      box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
      position: absolute;
      top: 130%;
      left: 0;
      right: 0;
      visibility: hidden;
      opacity: 0;
      display: flex;
      transition: 0.3s;
      border-radius: 4px;
      z-index: 99;
    }

    .navmenu .megamenu ul li {
      flex: 1;
    }

    .navmenu .megamenu ul li a,
    .navmenu .megamenu ul li:hover>a {
      padding: 10px 20px;
      font-size: 15px;
      color: var(--nav-dropdown-color);
    }

    .navmenu .megamenu ul li a:hover,
    .navmenu .megamenu ul li .active,
    .navmenu .megamenu ul li .active:hover {
      color: var(--nav-dropdown-hover-color);
    }

    .navmenu .megamenu:hover>ul {
      opacity: 1;
      top: 100%;
      visibility: visible;
    }

    .navmenu .dd-box-shadow {
      box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    }
  }

  /* Mobile Navigation */
  @media (max-width: 1199px) {
    .mobile-nav-toggle {
      color: var(--nav-color);
      font-size: 28px;
      line-height: 0;
      margin-right: 10px;
      cursor: pointer;
      transition: color 0.3s;
    }

    .navmenu {
      padding: 0;
      z-index: 9997;
    }

    .navmenu ul {
      display: none;
      list-style: none;
      position: absolute;
      inset: 60px 20px 20px 20px;
      padding: 10px 0;
      margin: 0;
      border-radius: 6px;
      background-color: var(--nav-mobile-background-color);
      overflow-y: auto;
      transition: 0.3s;
      z-index: 9998;
      box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    }

    .navmenu a,
    .navmenu a:focus {
      color: var(--nav-dropdown-color);
      padding: 10px 20px;
      font-family: var(--nav-font);
      font-size: 17px;
      font-weight: 500;
      display: flex;
      align-items: center;
      justify-content: space-between;
      white-space: nowrap;
      transition: 0.3s;
    }

    .navmenu a i,
    .navmenu a:focus i {
      font-size: 12px;
      line-height: 0;
      margin-left: 5px;
      width: 30px;
      height: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      transition: 0.3s;
      background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
    }

    .navmenu a i:hover,
    .navmenu a:focus i:hover {
      background-color: var(--accent-color);
      color: var(--contrast-color);
    }

    .navmenu a:hover,
    .navmenu .active,
    .navmenu .active:focus {
      color: var(--nav-dropdown-hover-color);
    }

    .navmenu .active i,
    .navmenu .active:focus i {
      background-color: var(--accent-color);
      color: var(--contrast-color);
      transform: rotate(180deg);
    }

    .navmenu .dropdown ul {
      position: static;
      display: none;
      z-index: 99;
      padding: 10px 0;
      margin: 10px 20px;
      background-color: var(--nav-dropdown-background-color);
      border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
      box-shadow: none;
      transition: all 0.5s ease-in-out;
    }

    .navmenu .dropdown ul ul {
      background-color: rgba(33, 37, 41, 0.1);
    }

    .navmenu .dropdown>.dropdown-active {
      display: block;
      background-color: rgba(33, 37, 41, 0.03);
    }

    .mobile-nav-active {
      overflow: hidden;
    }

    .mobile-nav-active .mobile-nav-toggle {
      color: #fff;
      position: absolute;
      font-size: 32px;
      top: 15px;
      right: 15px;
      margin-right: 0;
      z-index: 9999;
    }

    .mobile-nav-active .navmenu {
      position: fixed;
      overflow: hidden;
      inset: 0;
      background: rgba(33, 37, 41, 0.8);
      transition: 0.3s;
    }

    .mobile-nav-active .navmenu>ul {
      display: block;
    }
  }

  /*--------------------------------------------------------------
  # Global Footer
  --------------------------------------------------------------*/
  .footer {
    color: var(--default-color);
    background-color: var(--background-color);
    font-size: 14px;
    padding-bottom: 50px;
    position: relative;
  }

  .footer .footer-newsletter {
    background-color: color-mix(in srgb, var(--heading-color), transparent 95%);
    padding: 50px 0;
  }

  .footer .footer-newsletter h4 {
    font-size: 24px;
  }

  .footer .footer-newsletter .newsletter-form {
    margin-top: 30px;
    margin-bottom: 15px;
    padding: 6px 8px;
    position: relative;
    background-color: color-mix(in srgb, var(--background-color), transparent 50%);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    transition: 0.3s;
    border-radius: 50px;
  }

  .footer .footer-newsletter .newsletter-form:focus-within {
    border-color: var(--accent-color);
  }

  .footer .footer-newsletter .newsletter-form input[type=email] {
    border: 0;
    padding: 4px;
    width: 100%;
    background-color: color-mix(in srgb, var(--background-color), transparent 50%);
    color: var(--default-color);
  }

  .footer .footer-newsletter .newsletter-form input[type=email]:focus-visible {
    outline: none;
  }

  .footer .footer-newsletter .newsletter-form input[type=submit] {
    border: 0;
    font-size: 16px;
    padding: 0 20px;
    margin: -7px -8px -7px 0;
    background: var(--accent-color);
    color: var(--contrast-color);
    transition: 0.3s;
    border-radius: 50px;
  }

  .footer .footer-newsletter .newsletter-form input[type=submit]:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 20%);
  }

  .footer .footer-top {
    padding-top: 50px;
  }

  .footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
    font-size: 16px;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    margin-right: 10px;
    transition: 0.3s;
  }

  .footer .social-links a:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
  }

  .footer h4 {
    font-size: 16px;
    font-weight: bold;
    position: relative;
    padding-bottom: 12px;
  }

  .footer .footer-links {
    margin-bottom: 30px;
  }

  .footer .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .footer .footer-links ul i {
    margin-right: 3px;
    font-size: 12px;
    line-height: 0;
    color: var(--accent-color);
  }

  .footer .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
  }

  .footer .footer-links ul li:first-child {
    padding-top: 0;
  }

  .footer .footer-links ul a {
    display: inline-block;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    line-height: 1;
  }

  .footer .footer-links ul a:hover {
    color: var(--accent-color);
  }

  .footer .footer-about a {
    color: var(--heading-color);
    font-size: 28px;
    font-weight: 600;
    text-transform: uppercase;
    font-family: var(--heading-font);
  }

  .footer .footer-contact p {
    margin-bottom: 5px;
  }

  .footer .copyright {
    padding-top: 25px;
    padding-bottom: 25px;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  }

  .footer .copyright p {
    margin-bottom: 0;
  }

  .footer .credits {
    margin-top: 6px;
    font-size: 13px;
  }

  /*--------------------------------------------------------------
  # Preloader
  --------------------------------------------------------------*/
  #preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    overflow: hidden;
    background: var(--background-color);
    transition: all 0.6s ease-out;
  }

  #preloader:before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 6px solid #ffffff;
    border-color: var(--accent-color) transparent var(--accent-color) transparent;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: animate-preloader 1.5s linear infinite;
  }

  @keyframes animate-preloader {
    0% {
      transform: rotate(0deg);
    }

    100% {
      transform: rotate(360deg);
    }
  }

  /*--------------------------------------------------------------
  # Scroll Top Button
  --------------------------------------------------------------*/
  .scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: -15px;
    z-index: 99999;
    background-color: var(--accent-color);
    width: 44px;
    height: 44px;
    border-radius: 50px;
    transition: all 0.4s;
  }

  .scroll-top i {
    font-size: 24px;
    color: var(--contrast-color);
    line-height: 0;
  }

  .scroll-top:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
    color: var(--contrast-color);
  }

  .scroll-top.active {
    visibility: visible;
    opacity: 1;
    bottom: 15px;
  }

  /*--------------------------------------------------------------
  # Disable aos animation delay on mobile devices
  --------------------------------------------------------------*/
  @media screen and (max-width: 768px) {
    [data-aos-delay] {
      transition-delay: 0 !important;
    }
  }

  /*--------------------------------------------------------------
  # Global Page Titles & Breadcrumbs
  --------------------------------------------------------------*/
  .page-title {
    --background-color: color-mix(in srgb, var(--default-color), transparent 96%);
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 20px 0;
    position: relative;
  }

  .page-title h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
  }

  .page-title .breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0 0 10px 0;
    margin: 0;
    font-size: 14px;
  }

  .page-title .breadcrumbs ol li+li {
    padding-left: 10px;
  }

  .page-title .breadcrumbs ol li+li::before {
    content: "/";
    display: inline-block;
    padding-right: 10px;
    color: color-mix(in srgb, var(--default-color), transparent 70%);
  }
  /* Center all page titles globally */
  .page-title {
    text-align: center;
  }

  .page-title .container {
    text-align: center;
    margin: 0 auto;
  }

  .page-title h1 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--heading-color, #2B2B2B);
    margin-bottom: 0.5rem;
  }

  .page-title .breadcrumbs ol {
    justify-content: center;
    text-align: center;
  }
  /*--------------------------------------------------------------
  # Global Sections
  --------------------------------------------------------------*/
  section,
  .section {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 10px 0;
    scroll-margin-top: 88px;
    overflow: clip;
  }

  @media (max-width: 1199px) {

    section,
    .section {
      scroll-margin-top: 66px;
    }
  }

  /*--------------------------------------------------------------
  # Global Section Titles
  --------------------------------------------------------------*/
  .section-title {
    text-align: center;
    padding-bottom: 60px;
    position: relative;
  }

  .section-title h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 20px;
    text-transform: uppercase;
    position: relative;
  }

  .section-title h2:before {
    content: "";
    position: absolute;
    display: block;
    width: 160px;
    height: 1px;
    background: color-mix(in srgb, var(--default-color), transparent 60%);
    left: 0;
    right: 0;
    bottom: 1px;
    margin: auto;
  }

  .section-title h2::after {
    content: "";
    position: absolute;
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
  }

  .section-title p {
    margin-bottom: 0;
  }

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 80vh;
  position: relative;
  padding: 120px 0 60px 0;
  display: flex;
  align-items: center;
}

.hero h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
}

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 5px 0 30px 0;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
}

.hero .btn-get-started {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 28px 12px 28px;
  border-radius: 50px;
  transition: 0.5s;
}

.hero .btn-get-started:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.hero .btn-watch-video {
  font-size: 16px;
  transition: 0.5s;
  margin-left: 25px;
  color: var(--default-color);
  font-weight: 600;
}

.hero .btn-watch-video i {
  color: var(--contrast-color);
  font-size: 32px;
  transition: 0.3s;
  line-height: 0;
  margin-right: 8px;
}

.hero .btn-watch-video:hover {
  color: var(--accent-color);
}

.hero .btn-watch-video:hover i {
  color: color-mix(in srgb, var(--accent-color), transparent 15%);
}


.hero-img img {
  width: clamp(12rem, 40vw, 25rem) !important;
  height: auto !important;
  max-width: 100% !important;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  .hero p {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }

  .hero .btn-get-started,
  .hero .btn-watch-video {
    font-size: 13px;
  }
}



:root {
  --accent-color: #2DA9D6;   /* Snow Blue */
  --hover-color: #E45436;    /* Warm Coral-Red from book cover */
}

/* Base filled button */
.btn-get-started {
  background-color: var(--accent-color);
  color: #ffffff;
  border: 2px solid var(--accent-color);
  border-radius: 999px;
  padding: clamp(10px, 2.5vw, 14px) clamp(20px, 5vw, 36px);
  font-size: clamp(0.9rem, 0.4vw + 0.85rem, 1.1rem);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  display: inline-block;
  transition: all 0.35s ease;
}

/* Outline variant – always tinted, high visibility on video */
.btn-outline {
  background-color: rgba(216, 91, 17, 0.25);   /* constant warm orange tint */
  color: #fff;
  border: 2px solid #D85B11;                   /* book cover orange */
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.55),
    0 0 4px rgba(0, 0, 0, 0.3);
  box-shadow:
    0 3px 10px rgba(0, 0, 0, 0.45),
    0 0 8px rgba(216, 91, 17, 0.35);
  transition: all 0.3s ease;
  border-radius: 50px;
  padding: 0.75em 1.8em;
  font-weight: 500;
}

/* Hover – slightly deeper tone + stronger shadow */
.btn-outline:hover {
  background-color: rgba(216, 91, 17, 0.4);    /* deepened orange veil */
  border-color: #E76A1C;                       /* brighter orange edge */
  box-shadow:
    0 5px 15px rgba(0, 0, 0, 0.55),
    0 0 12px rgba(216, 91, 17, 0.5);
  color: #fff;
}
/* Hover states */
.btn-get-started:hover,
.btn-outline:hover {
  background-color: var(--hover-color);
  border-color: var(--hover-color);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(228, 84, 54, 0.35);
}
.hero-scroll .slide h1 span {
  font-family: var(--heading-font, 'Julius Sans One', sans-serif) !important;
  font-size: clamp(2.8rem, 7vw, 4rem) !important;
  font-weight: 600 !important;
  color: #2E7A87 !important; /* deep, rich teal */
  letter-spacing: 0.045em !important;
  line-height: 1.1 !important;
}

.hero-scroll .slide p {
  font-size: clamp(1.1rem, 2.3vw, 1.55rem) !important;
  line-height: 1.7 !important;
  max-width: 48ch;
  margin: 0 auto 1.6rem auto;
  color: rgba(255, 255, 255, 0.96) !important;

  /* Enhanced subtle contrast */
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.55),
    0 1px 3px rgba(0, 0, 0, 0.35);

  /* Slightly deeper diffusion backdrop */
  background: rgba(0, 0, 0, 0.28);       /* refined semi-transparent dark layer */
  backdrop-filter: blur(1.5px) saturate(130%);
  -webkit-backdrop-filter: blur(1.5px) saturate(130%);

  padding: 0.35em 0.9em;
  border-radius: 0.45em;
  display: inline-block;
  transition: background 0.3s ease, text-shadow 0.3s ease;
}

.hero-scroll .slide p:hover {
  background: rgba(0, 0, 0, 0.38);
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.6),
    0 0 8px rgba(255, 255, 255, 0.18);
}

.hero-wave-spacer {
  background-color:  #FFFFFF;
  height: clamp(2rem, 4vw, 4rem); /* Adjust as needed */
}



.section-bubble_type-b {
  position: relative;
  background-color: #FFFFFF; /* fully white */
  z-index: 0;
}

.section-bubble_type-b::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 20vw;

  /* wave is fully white */
  background-image: url("data:image/svg+xml;utf8,\
  <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1185 248'>\
  <path d='M50.5 199.8c112.4 0 87.5-49 188.7-59.3s146.7 38.3 219.5 38.3 \
  107.9-21.9 210.8-69.3c102.8-47.3 274-8.7 424.8 69.3 \
  37.7 19.5 68 36.7 90.7 51.5V0H0v193C15 197.2 31.6 199.8 50.5 199.8z' \
  fill='%23FFFFFF'/></svg>");

  background-size: 100% auto;
  background-repeat: no-repeat;
  transform: rotateX(180deg) translateY(-130%);
  transform-origin: top;
  z-index: -1;
}

  :root {
   
    

    /* Updated background system — animated gradient replaces flat pink */
    --desert-1: #FA8458; /* warm orange (Somali desert) */
    --desert-2: #F1C2AA; /* soft transitional tone */
    --snow-1: #D8EEED;   /* cool pale blue (snow) */
    --snow-2: #6C9296;   /* deep aqua-grey accent */
  }

  /* HERO SCROLL CONTAINER */
  .hero-scroll {
    block-size: 100dvh;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-block: contain;
    position: relative;
    color: var(--text-1);

    /* 🔥 New animated desert–snow gradient */
    background: linear-gradient(-45deg,
      var(--desert-1),
      var(--desert-2),
      var(--snow-1),
      var(--snow-2)
    );
    background-size: 400% 400%;
    animation: desertToSnow 18s ease-in-out infinite;

    /* hide scrollbars */
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .hero-scroll::-webkit-scrollbar {
    display: none;
  }

  @keyframes desertToSnow {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }

.hero-scroll {
  position: relative;
  overflow: hidden;
}

/* Base: animated background gradient (already in your setup) */
.hero-scroll {
  background: linear-gradient(-45deg, #FA8458, #F1C2AA, #D8EEED, #6C9296);
  background-size: 400% 400%;
  animation: desertToSnow 18s ease-in-out infinite;
}

.hero-scroll {
  position: relative;   /* make ::before/::after visible */
  overflow: hidden;
}
/* --- Layered particle motion --- */
.hero-scroll::before,
.hero-scroll::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background-repeat: repeat;
  mix-blend-mode: screen;
  animation-timing-function: linear;
}

/* Larger drifting flakes / grains */
.hero-scroll::before {
  background-image:
    radial-gradient(circle 3px, rgba(255,255,255,0.8) 0%, transparent 70%),
    radial-gradient(circle 2px, rgba(255,255,255,0.7) 0%, transparent 70%),
    radial-gradient(circle 4px, rgba(255,255,255,0.6) 0%, transparent 80%);
  background-size: 250px 250px;
  animation: windDrift 50s linear infinite;
  opacity: 0.7;
}

/* Finer, faster layer */
.hero-scroll::after {
  background-image:
    radial-gradient(circle 2px, rgba(255,255,255,0.7) 0%, transparent 70%),
    radial-gradient(circle 1.5px, rgba(255,255,255,0.6) 0%, transparent 70%),
    radial-gradient(circle 1px, rgba(255,255,255,0.5) 0%, transparent 80%);
  background-size: 180px 180px;
  animation: snowSwirl 70s linear infinite;
  opacity: 0.55;
}

/* Gentle diagonal downward drift */
@keyframes windDrift {
  0%   { background-position: 0 0, 100px 0, -100px 0; }
  50%  { background-position: 300px 400px, 200px 300px, 100px 200px; }
  100% { background-position: 600px 800px, 400px 600px, 200px 400px; }
}

@keyframes snowSwirl {
  0%   { background-position: 0 0, 50px 0, -50px 0; }
  50%  { background-position: -300px 400px, -200px 300px, -100px 200px; }
  100% { background-position: -600px 800px, -400px 600px, -200px 400px; }
}

.hero-scroll figure {
  min-block-size: 100dvh;
  padding-block: 4vh;
  box-sizing: border-box;
  scroll-snap-align: start;
  scroll-snap-stop: always;

  /* ✅ Fix overlapping */
  position: relative; 
  top: auto;

  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: transparent;
  z-index: 2;
}

  .hero-scroll img {
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
    object-position: center;
  }

  /* CONTROLS */
  .controls {
    position: fixed;
    z-index: 10;
    bottom: calc(50% - 2rem);
    right: 1rem;
    display: none; /* hidden by default, shown via JS */
    flex-direction: column;
    gap: 1rem;
  }

  .controls button {
    background: transparent;
    border: none;
    color: var(--text-1);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
  }

  .controls button:hover {
    color: var(--snow-2);
  }

  /* PROGRESS BAR */
  #progress {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.3);
    transform-origin: left center;
    animation: grow-progress auto linear forwards;
    animation-timeline: --hero;
  }

  @keyframes grow-progress {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
  }
/* --- Hero Title (Heading Font Variant) --- */
.hero-scroll .slide h1 span {
  font-family: var(--heading-font, sans-serif) !important;
  text-transform: uppercase;
  font-size: clamp(4rem, 10vw, 6rem) !important;
  letter-spacing: 0.07em;
  line-height: 1.15;
  font-weight: 600;
  color: #FFFFFF !important;
  text-shadow:
    0 0 10px rgba(255,255,255,0.8),
    0 0 25px rgba(255,255,255,0.5),
    0 4px 12px rgba(0,0,0,0.5);
  filter: contrast(120%) brightness(1.05) saturate(1.1);
  transform: scaleX(1.02);
  transform-origin: center;
}

.hero-scroll .slide h1 span::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at center, rgba(255,255,255,0.25) 0%, transparent 70%);
  filter: blur(12px);
  pointer-events: none;
}


/*--------------------------------------------------------------
# Hero Background Video Setup
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Hero Background Video – Darkened
--------------------------------------------------------------*/

.hero-bg-video {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  z-index: 0 !important;
  pointer-events: none !important;
  opacity: 0.25 !important;              /* less visible = darker base */
  filter: brightness(0.8) !important;    /* dims video highlights */
}

.hero-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.8) !important;  /* stronger dark layer */
  backdrop-filter: brightness(0.85) !important;
  z-index: 1 !important;
}

.hero-content,
.hero-scroll .slide {
  position: relative !important;
  z-index: 2 !important;
}
/*--------------------------------------------------------------
# About Book Section
--------------------------------------------------------------*/
.about-book {
  padding: 80px 0;
  overflow: hidden;
}

.about-book .about-book-img {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.about-book .about-book-img img {
  width: 100%;
  height: auto;
  display: block;
}

.about-book .about-book-img .book-details {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: color-mix(in srgb, var(--surface-color), transparent 10%);
  backdrop-filter: blur(10px);
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.about-book .about-book-img .book-details .detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-book .about-book-img .book-details .detail-item i {
  font-size: 20px;
  color: var(--accent-color);
}

.about-book .about-book-img .book-details .detail-item div {
  display: flex;
  flex-direction: column;
}

.about-book .about-book-img .book-details .detail-item div span {
  font-size: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 2px;
}

.about-book .about-book-img .book-details .detail-item div p {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  color: var(--heading-color);
}

.about-book .about-book-img:hover {
  transform: translateY(-10px);
}

@media (max-width: 768px) {
  .about-book .about-book-img {
    max-width: 450px;
    margin: 0 auto;
  }
}

.about-book .about-book-content h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 16px;
}

.about-book .about-book-content .book-category {
  display: flex;
  gap: 15px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.about-book .about-book-content .book-category span {
  font-size: 14px;
  color: var(--accent-color);
  display: flex;
  align-items: center;
  gap: 6px;
}

.about-book .about-book-content .book-category span i {
  font-size: 16px;
}

.about-book .about-book-content p {
  color: var(--default-color);
  margin-bottom: 20px;
  line-height: 1.6;
}

.about-book .about-book-content .highlights {
  margin-top: 30px;
  margin-bottom: 30px;
}

.about-book .about-book-content .highlights h3 {
  font-size: 20px;
  color: var(--heading-color);
  margin-bottom: 16px;
  font-weight: 600;
}

.about-book .about-book-content .highlights ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-book .about-book-content .highlights ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.about-book .about-book-content .highlights ul li i {
  color: var(--accent-color);
  font-size: 20px;
  flex-shrink: 0;
}

.about-book .about-book-content .highlights ul li span {
  color: var(--default-color);
  line-height: 1.5;
}

.about-book .about-book-content .about-book-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  /* --- Book cover inspired --- */
  background-color: #2196B3;    /* vivid cerulean blue (base state) */
  color: #FFFFFF;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: all 0.35s ease;
}

.about-book .about-book-content .about-book-cta i {
  transition: transform 0.35s ease;
}

/* Hover = warm orange (from cover’s left side) */
.about-book .about-book-content .about-book-cta:hover {
  background-color: #E97224;    /* rich tangerine orange */
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(233, 114, 36, 0.35);
}

.about-book .about-book-content .about-book-cta:hover i {
  transform: translateX(5px);
}

/*--------------------------------------------------------------
# About Book – CTA Button Pair (Salt in the Snow Colors)
--------------------------------------------------------------*/
.about-book .about-book-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

/* Base CTA button */
.about-book .about-book-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.35s ease;
  cursor: pointer;
}

/* --- Filled button (Read Excerpt) --- */
.about-book .about-book-cta.filled {
  background-color: #2196B3;  /* vivid cerulean blue */
  color: #FFFFFF;
  border: 2px solid #2196B3;
}

.about-book .about-book-cta.filled:hover {
  background-color: #E97224;  /* warm tangerine orange hover */
  border-color: #E97224;
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(233, 114, 36, 0.35);
}

/* --- Outline button (Purchase) --- */
.about-book .about-book-cta.outline {
  background-color: transparent;
  border: 2px solid #E97224;  /* orange border */
  color: #E97224;
}

.about-book .about-book-cta.outline:hover {
  background-color: #2196B3;  /* blue fill on hover */
  border-color: #2196B3;
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(33, 150, 179, 0.35);
}

/* --- Icon motion --- */
.about-book .about-book-cta i {
  transition: transform 0.3s ease;
}

.about-book .about-book-cta:hover i {
  transform: translateX(5px);
}

/* --- Center buttons on small screens --- */
@media (max-width: 768px) {
  .about-book .about-book-cta-group {
    justify-content: center;
  }
}

/* --- Responsive heading and layout adjustments --- */
@media (max-width: 992px) {
  .about-book .about-book-content h2 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .about-book .about-book-content {
    text-align: center;
    margin-top: 20px;
  }

  .about-book .about-book-content .book-category {
    justify-content: center;
  }

  .about-book .about-book-content .highlights ul li {
    text-align: left;
  }
}
/*--------------------------------------------------------------
# About Book Section - Heading Style with Decorative Lines
--------------------------------------------------------------*/
.about-book.section {
  background-color: var(--surface-color, #fff);
  padding: clamp(2rem, 5vw, 5rem) 0;
}

.about-book .about-book-content h2 {
  position: relative;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-color, #111);
  text-align: center;
  margin-bottom: 2.5rem;
}

/* Decorative underline and accent line */
.about-book .about-book-content h2::before {
  content: "";
  position: absolute;
  display: block;
  width: 160px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
}

.about-book .about-book-content h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}


/*--------------------------------------------------------------
# About Book – Magazine Style Refined
--------------------------------------------------------------*/

/* Lead paragraph (first paragraph or .lead) */
.about-book .about-book-content p:first-of-type,
.about-book .about-book-content .lead {
  font-family: var(--heading-font);
  font-size: clamp(1.25rem, 1.2vw + 1rem, 1.8rem);
  line-height: 1.55;
  font-weight: 400;
  color: color-mix(in srgb, var(--heading-color), transparent 10%);
  margin-bottom: 1.75rem;
  letter-spacing: 0.01em;
  max-width: 95%;
}

/* Body paragraphs */
.about-book .about-book-content p:not(:first-of-type) {
  font-size: clamp(1rem, 0.5vw + 0.8rem, 1.15rem);
  line-height: 1.8;
  color: var(--default-color);
  margin-bottom: 1.5rem;
  max-width: 95%;
}

/* Optional: soften italicized title and make spacing breathe */
.about-book .about-book-content p em {
  font-style: italic;
  letter-spacing: 0.02em;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .about-book .about-book-content p:first-of-type {
    font-size: clamp(1.15rem, 2.5vw, 1.5rem);
    line-height: 1.6;
  }
}

@media (max-width: 768px) {
  .about-book .about-book-content {
    text-align: center;
  }

  .about-book .about-book-content p {
    max-width: 100%;
  }
} 

/* Image container layout */
.about .about-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

/* Individual photo + caption */
.about .about-photo {
  text-align: center;
  max-width: 100%;
}

.about .about-photo img {
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about .about-photo img:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 22px rgba(0,0,0,0.15);
}

/* Captions */

.about .about-photo figcaption {
  margin-top: 0.6rem !important;
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
  color: color-mix(in srgb, var(--default-color), transparent 25%) !important;
  font-style: italic !important;
  letter-spacing: 0.01em !important;
  max-width: 100% !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-top: 0.4rem !important; /* ensures breathing room below image */
}




/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about ul {
  list-style: none;
  padding: 0;
}

.about ul li {
  padding-bottom: 5px;
  display: flex;
  align-items: center;
}

.about ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--accent-color);
}

.about .read-more {
  color: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 8px 28px;
  border-radius: 5px;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent-color);
}

.about .read-more i {
  font-size: 18px;
  margin-left: 5px;
  line-height: 0;
  transition: 0.3s;
}

.about .read-more:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.about .read-more:hover i {
  transform: translate(5px, 0);
}

/*--------------------------------------------------------------
# About Section - Updated Style
--------------------------------------------------------------*/
.about.section {
  background-color: var(--surface-color, #fff);
  padding: clamp(2rem, 5vw, 5rem) 0;
}

.about .section-title h2 {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-color, #111);
  text-align: center;
  margin-bottom: 2rem;
}

.about .content p {
  font-size: clamp(1rem, 0.4vw + 1rem, 1.2rem);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about blockquote {
  font-style: italic;
  font-size: 1.05rem;
  color: #444;
  border-left: 4px solid var(--accent-color, #B6546E);
  padding-left: 1rem;
  margin-bottom: 1rem;
}

.about .testimonial-author {
  display: block;
  margin-top: 0.5rem;
  font-weight: 600;
  color: var(--text-color, #222);
}

.about .about-image-placeholder img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}


/*--------------------------------------------------------------
# About Section – CTA Buttons
--------------------------------------------------------------*/
.about .about-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

/*--------------------------------------------------------------
# About – CTA Buttons (Salt in the Snow Colors)
--------------------------------------------------------------*/
.about .about-cta-buttons .btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.35s ease;
  cursor: pointer;
}

/* --- Filled button --- */
.about .about-cta-buttons .btn-cta.filled {
  background-color: #2196B3;   /* vivid cerulean blue base */
  color: #FFFFFF;
  border: 2px solid #2196B3;
}

.about .about-cta-buttons .btn-cta.filled:hover {
  background-color: #E97224;   /* warm tangerine hover */
  border-color: #E97224;
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(233, 114, 36, 0.35);
}

/* --- Outline button --- */
.about .about-cta-buttons .btn-cta.outline {
  background-color: transparent;
  border: 2px solid #E97224;   /* orange border for visual contrast */
  color: #E97224;
}

.about .about-cta-buttons .btn-cta.outline:hover {
  background-color: #2196B3;   /* blue fill on hover */
  border-color: #2196B3;
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(33, 150, 179, 0.35);
}

/* --- Icon motion --- */
.about .about-cta-buttons .btn-cta i {
  transition: transform 0.3s ease;
}

.about .about-cta-buttons .btn-cta:hover i {
  transform: translateX(5px);
}

/* Center buttons on mobile */
@media (max-width: 768px) {
  .about .about-cta-buttons {
    justify-content: center;
  }
}

.about .row.align-items-center {
  align-items: flex-start; /* top-align both columns */
}

/*--------------------------------------------------------------
# About Section Headings (Snowfield Theme)
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# About Section Headings (Snowfield Theme – Darker Headings)
--------------------------------------------------------------*/
.about .content h3 {
  font-family: var(--heading-font, "Julius Sans One", sans-serif);
  font-weight: 600; /* Julius Sans One renders better around 400–600 */
  color: #0F0F0F;   /* deeper charcoal-black for stronger visual anchor */
  letter-spacing: 0.015em;
  line-height: 1.3;
  margin-top: 2.8rem;
  margin-bottom: 1rem;
  text-wrap: balance;
  text-align: left;
  padding-bottom: 0.75rem; /* space for underline */
  position: relative;
  overflow: hidden; /* keeps shimmer/underline contained */
}


.about .content h3 {
  position: relative;
  overflow: hidden; /* keeps the shimmer neatly within bounds */
}

.about .content h3 {
  position: relative;
  padding-bottom: 0.75rem; /* space for the underline */
}



.about .content p {
  font-size: clamp(.5rem, 0.4vw + 1rem, 1.2rem);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}


/*--------------------------------------------------------------
# Excerpt Section
--------------------------------------------------------------*/
.excerpt {
  padding: 80px 0;
  background-color: var(--background-color);
  overflow: hidden;
}

.excerpt .book-excerpt-wrapper {
  position: relative;
}

.excerpt .book-page-design {
  background-color: var(--surface-color);
  padding: 50px 40px;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .excerpt .book-page-design {
    padding: 40px 25px;
  }
}

.excerpt .book-page-design:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--accent-color) 0%, color-mix(in srgb, var(--accent-color), transparent 20%) 100%);
}

.excerpt .book-page-design .page-number {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 14px;
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-family: var(--heading-font);
}

.excerpt .book-page-design .chapter-title {
  text-align: center;
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 30px;
  position: relative;
}

.excerpt .book-page-design .chapter-title:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 30%);
}

.excerpt .book-page-design .excerpt-content {
  font-family: "Georgia", serif;
  line-height: 1.8;
  color: var(--default-color);
}

.excerpt .book-page-design .excerpt-content p {
  margin-bottom: 20px;
  text-align: justify;
}

.excerpt .book-page-design .excerpt-content .first-letter:first-letter {
  font-size: 3.5em;
  float: left;
  line-height: 0.8;
  margin-right: 10px;
  color: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 600;
}

.excerpt .book-page-design .excerpt-content .dialogue {
  padding-left: 20px;
  border-left: 2px solid color-mix(in srgb, var(--accent-color), transparent 70%);
  font-style: italic;
}

.excerpt .book-page-design .page-decoration {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

.excerpt .book-page-design .page-decoration:after {
  content: "✦";
  font-size: 18px;
  color: color-mix(in srgb, var(--accent-color), transparent 30%);
}

.excerpt .cta-wrapper {
  margin-top: 30px;
}

.excerpt .cta-wrapper .btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--surface-color);
  color: var(--accent-color);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid color-mix(in srgb, var(--accent-color), transparent 80%);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.excerpt .cta-wrapper .btn-read-more i {
  transition: transform 0.3s ease;
}

.excerpt .cta-wrapper .btn-read-more:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
}

.excerpt .cta-wrapper .btn-read-more:hover i {
  transform: translateX(5px);
}

@media (max-width: 992px) {
  .excerpt .section-header h2 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .excerpt {
    padding: 60px 0;
  }

  .excerpt .section-header h2 {
    font-size: 24px;
  }

  .excerpt .book-page-design .chapter-title {
    font-size: 18px;
  }

  .excerpt .book-page-design .excerpt-content .first-letter:first-letter {
    font-size: 3em;
  }
}

/* --- Fix centeredness for excerpt section --- */
.excerpt .section-title {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  justify-content: center !important;
  align-items: center !important;
  display: flex;
  flex-direction: column;
}

.excerpt .section-title h2,
.excerpt .section-title p {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Prevent root .section or container rules from offsetting it */
.excerpt .container {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}



/* Center the excerpt content block perfectly within its section */
.excerpt .book-excerpt-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: left; /* keeps text natural while the block is centered */
}

/* Ensure the page container itself is centered */
.excerpt .book-page-design {
  margin-left: auto;
  margin-right: auto;
  max-width: 800px; /* adjust width if needed */
  text-align: left;
}

/* Optional: align the CTA perfectly too */
.excerpt .cta-wrapper {
  display: flex;
  justify-content: center;
}

/* --- Refined Typography and Readability --- */
.excerpt .book-page-design {
  background-color: var(--surface-color);
  color: var(--default-color);
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Chapter Title */
.excerpt .book-page-design .chapter-title {
  text-align: center;
  font-family: var(--heading-font);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  position: relative;
}

.excerpt .book-page-design .chapter-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 30%);
}

/* Excerpt Content */
.excerpt .excerpt-content {
  font-family: var(--default-font) !important;
  color: color-mix(in srgb, var(--default-color), transparent 5%) !important;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem) !important;
  letter-spacing: 0.01em !important;
  text-align: justify !important;
  max-width: 65ch !important;
  margin: 0 auto !important;
  line-height: 1.8 !important;
}

/* Drop cap */
.excerpt .excerpt-content .first-letter:first-letter {
  font-size: clamp(2.5rem, 5vw, 3.2rem) !important;
  float: left !important;
  line-height: 0.9 !important;
  margin-right: 0.4rem !important;
  margin-top: 0.2rem !important;
  color: var(--accent-color) !important;
  font-family: var(--heading-font) !important;
  font-weight: 600 !important;
}

/* Dialogue / Quote */
.excerpt .excerpt-content .dialogue {
  border-left: 2px solid color-mix(in srgb, var(--accent-color), transparent 70%) !important;
  padding-left: 1rem !important;
  font-style: italic !important;
  color: color-mix(in srgb, var(--default-color), transparent 10%) !important;
  margin: 1.5rem 0 !important;
}

/* Paragraph Spacing */
.excerpt .excerpt-content p {
  margin-bottom: clamp(1rem, 2vw, 1.5rem) !important;
}

/* Page Number */
.excerpt .page-number {
  position: absolute !important;
  top: 20px !important;
  right: 30px !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  color: color-mix(in srgb, var(--default-color), transparent 50%) !important;
  font-family: var(--heading-font) !important;
}

/* Decorative Divider */
.excerpt .page-decoration::after {
  content: "✦" !important;
  font-size: 1rem !important;
  color: color-mix(in srgb, var(--accent-color), transparent 40%) !important;
}


/* Somali Desert — Sunrise Glow theme just for this section
   Attach with: <section class="excerpt section desert-sunrise"> */

/* 1) Theme tokens (scoped to the section) */
.excerpt.section.desert-sunrise {
  --background-color: #FFF7F1;  /* gentle sunrise beige */
  --default-color:    #463C36;  /* neutral cocoa text */
  --heading-color:    #B46A46;  /* terracotta headings */
  --surface-color:    #FFEFE3;  /* light sand card */
  --accent-color:     #FA8458;  /* Somali desert coral */
  --contrast-color:   #ffffff;  /* white on accent */
}

/* 2) Hardening overrides so the theme actually shows */
.excerpt.section.desert-sunrise {
  background-color: var(--background-color) !important;
  color: var(--default-color) !important;
}

/* Section title colors */
.excerpt.section.desert-sunrise .section-title h2 {
  color: var(--heading-color) !important;
}
.excerpt.section.desert-sunrise .section-title p {
  color: color-mix(in srgb, var(--default-color), transparent 15%) !important;
}

/* 3) Page/card + stripe */
.excerpt.section.desert-sunrise .book-page-design {
  background-color: var(--surface-color) !important;
  color: var(--default-color) !important;
}
.excerpt.section.desert-sunrise .book-page-design::before {
  /* top stripe */
  background: linear-gradient(
    90deg,
    var(--accent-color) 0%,
    color-mix(in srgb, var(--accent-color), transparent 20%) 100%
  ) !important;
}

/* 4) Chapter title */
.excerpt.section.desert-sunrise .chapter-title {
  color: var(--heading-color) !important;
}
.excerpt.section.desert-sunrise .chapter-title::after {
  background-color: color-mix(in srgb, var(--accent-color), transparent 30%) !important;
}

/* 5) Body copy (uses your default font variable) */
.excerpt.section.desert-sunrise .excerpt-content {
  font-family: var(--default-font) !important;
  color: var(--default-color) !important;
}

/* Drop cap + dialogue accents */
.excerpt.section.desert-sunrise .excerpt-content .first-letter:first-letter {
  color: var(--accent-color) !important;
}
.excerpt.section.desert-sunrise .excerpt-content .dialogue {
  border-left: 2px solid color-mix(in srgb, var(--accent-color), transparent 70%) !important;
  color: color-mix(in srgb, var(--default-color), transparent 10%) !important;
}

/* Page number + decoration */
.excerpt.section.desert-sunrise .page-number {
  color: color-mix(in srgb, var(--default-color), transparent 50%) !important;
}
.excerpt.section.desert-sunrise .page-decoration::after {
  color: color-mix(in srgb, var(--accent-color), transparent 40%) !important;
}

/* 6) CTA button */
.excerpt.section.desert-sunrise .btn-read-more {
  background-color: var(--surface-color) !important;
  color: var(--accent-color) !important;
  border: 2px solid color-mix(in srgb, var(--accent-color), transparent 80%) !important;
}
.excerpt.section.desert-sunrise .btn-read-more:hover {
  background-color: var(--accent-color) !important;
  color: var(--contrast-color) !important;
}


/* -----------------------------------------------------------
   Somali Desert — Sunrise Glow : Visible Sand Drift Animation
   ----------------------------------------------------------- */
.excerpt.section.desert-sunrise {
  position: relative;
  overflow: hidden;
  background-color: var(--background-color);
}

/* Layer 1: drifting sand specks */
.excerpt.section.desert-sunrise::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle 1px, rgba(250,132,88,0.25) 0%, transparent 70%),
    radial-gradient(circle 2px, rgba(250,132,88,0.18) 0%, transparent 80%),
    radial-gradient(circle 3px, rgba(250,132,88,0.12) 0%, transparent 90%);
  background-size: 250px 250px, 400px 400px, 600px 600px;
  background-repeat: repeat;
  opacity: 0.5;
  animation: sandDrift 40s linear infinite;
  z-index: 0;
  mix-blend-mode: soft-light;
}

/* Layer 2: warm light gradient shimmer */
.excerpt.section.desert-sunrise::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255, 245, 235, 0.15) 0%,
    rgba(250, 132, 88, 0.12) 40%,
    rgba(255, 245, 235, 0.1) 80%
  );
  background-size: 200% 200%;
  animation: sunlightShimmer 25s ease-in-out infinite;
  z-index: 0;
  mix-blend-mode: overlay;
}

/* Animation: diagonal sand drift */
@keyframes sandDrift {
  0% {
    background-position: 0 0, 0 0, 0 0;
  }
  100% {
    background-position: 800px 400px, 600px 300px, 500px 500px;
  }
}

/* Animation: slow sunlight shimmer */
@keyframes sunlightShimmer {
  0%, 100% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
}

/* Ensure all actual content floats above animation */
.excerpt.section.desert-sunrise > * {
  position: relative;
  z-index: 1;
}

/* -----------------------------------------------------------
   Somali Desert — Sunrise Glow : Reliable Visible Sand Animation
   ----------------------------------------------------------- */
.excerpt.section.desert-sunrise {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #FFF7F1 0%, #FFE8D9 100%) !important;
  isolation: isolate; /* ensures pseudo layers appear correctly */
}

/* --- Layer 1: animated sandy texture --- */
.excerpt.section.desert-sunrise::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle 2px, rgba(250,132,88,0.3) 0%, transparent 80%),
    radial-gradient(circle 3px, rgba(180,106,70,0.2) 0%, transparent 85%),
    radial-gradient(circle 1px, rgba(250,132,88,0.25) 0%, transparent 75%);
  background-size: 250px 250px, 400px 400px, 600px 600px;
  background-repeat: repeat;
  animation: sandMove 40s linear infinite;
  opacity: 0.6;
  mix-blend-mode: multiply;
  z-index: 0;
}

/* --- Layer 2: glowing light sweep --- */
.excerpt.section.desert-sunrise::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.0) 0%,
    rgba(255,255,255,0.3) 50%,
    rgba(255,255,255,0.0) 100%
  );
  background-size: 200% 200%;
  animation: shimmerMove 20s ease-in-out infinite;
  opacity: 0.25;
  mix-blend-mode: screen;
  z-index: 1;
}

/* Animation: visible diagonal sand movement */
@keyframes sandMove {
  0% { background-position: 0 0, 0 0, 0 0; }
  100% { background-position: 800px 400px, 600px 300px, 500px 500px; }
}

/* Animation: sun shimmer sweep */
@keyframes shimmerMove {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
}

/* Keep text/content above both layers */
.excerpt.section.desert-sunrise > * {
  position: relative;
  z-index: 2;
}

/* -----------------------------------------------------------
   Somali Desert — Sunrise Glow : Lighter Page Surface
   ----------------------------------------------------------- */
.excerpt.section.desert-sunrise .book-page-design {
background-color: #FFFFFF !important; /* soft white with a hint of warmth */
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.06) !important;
  border-radius: 12px !important;
  color: var(--default-color) !important;
}

.btn-read-less,
.btn-purchase {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--surface-color);
  color: var(--accent-color);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 500;
  border: 2px solid color-mix(in srgb, var(--accent-color), transparent 80%);
  transition: all 0.3s ease;
}

.btn-read-less:hover,
.btn-purchase:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
}
/* --- READ MORE / READ LESS FUNCTIONALITY --- */

/* Hidden by default */
#excerpt .excerpt-extra {
  max-height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: max-height 0.6s ease, opacity 0.6s ease;
}

/* When "show" class is added by JS */
#excerpt .excerpt-extra.show {
  max-height: 2000px !important; /* large enough to fit full content */
  opacity: 1 !important;
  visibility: visible !important;
  overflow: visible !important;
}

/* Button states */
#excerpt .btn-read-less,
#excerpt .btn-purchase {
  display: none !important;
}

#excerpt.excerpt-expanded .btn-read-less,
#excerpt.excerpt-expanded .btn-purchase {
  display: inline-flex !important;
}

#excerpt.excerpt-expanded .btn-read-more {
  display: none !important;
}

.cta-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px; /* adjust spacing */
  flex-wrap: wrap; /* allows stacking on small screens */
}


/* --- Static top decorative bubble for "Read an Excerpt" --- */
#excerpt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20vw;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1185 248'><path d='M50.5 199.8c112.4 0 87.5-49 188.7-59.3s146.7 38.3 219.5 38.3 107.9-21.9 210.8-69.3c102.8-47.3 274-8.7 424.8 69.3 37.7 19.5 68 36.7 90.7 51.5V0H0v193C15 197.2 31.6 199.8 50.5 199.8z' fill='%23FFEFE3'/></svg>");
  background-size: 100% auto;
  background-repeat: no-repeat;

  /* lock in place */
  transform: none !important;
  animation: none !important;
  transition: none !important;

  z-index: 1;
  pointer-events: none;
}

#excerpt {
  position: relative;
  overflow: hidden;
  z-index: 0;
}




/*--------------------------------------------------------------
# Purchase Section
--------------------------------------------------------------*/
.purchase {
  padding: 80px 0;
  overflow: hidden;
}

.purchase .book-format-card {
  background-color: var(--surface-color);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  padding: 30px;
  height: 100%;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.purchase .book-format-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--accent-color);
  opacity: 0.7;
}

.purchase .book-format-card .format-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
}

.purchase .book-format-card .format-icon i {
  font-size: 28px;
  color: var(--accent-color);
}

.purchase .book-format-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 10px;
}

.purchase .book-format-card .format-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.purchase .book-format-card .format-features {
  padding: 0;
  margin: 0 0 25px;
  list-style: none;
  text-align: left;
}

.purchase .book-format-card .format-features li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--default-color);
  line-height: 1.5;
}

.purchase .book-format-card .format-features li i {
  color: var(--accent-color);
  margin-right: 10px;
  flex-shrink: 0;
  font-size: 16px;
  transform: translateY(2px);
}

.purchase .book-format-card .buy-options .btn-purchase {
  display: grid;
  place-items: center;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-bottom: 15px;
  width: 100%;
}

.purchase .book-format-card .buy-options .btn-purchase:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  transform: translateY(-3px);
}

.purchase .book-format-card .buy-options .retailers {
  margin-top: 15px;
}

.purchase .book-format-card .buy-options .retailers span {
  display: block;
  font-size: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 8px;
}

.purchase .book-format-card .buy-options .retailers .retailer-logos {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.purchase .book-format-card .buy-options .retailers .retailer-logos a {
  font-size: 18px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: all 0.3s ease;
}

.purchase .book-format-card .buy-options .retailers .retailer-logos a:hover {
  color: var(--accent-color);
  transform: translateY(-3px);
}

.purchase .book-format-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 992px) {
  .purchase .book-format-card {
    margin-bottom: 20px;
  }
}

.purchase .bundle-offer {
  background-color: var(--surface-color);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 40px;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}

.purchase .bundle-offer:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background-color: var(--accent-color);
}

.purchase .bundle-offer h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 15px;
}

.purchase .bundle-offer p {
  color: var(--default-color);
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.6;
}

.purchase .bundle-offer ul {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
}

.purchase .bundle-offer ul li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  color: var(--default-color);
}

.purchase .bundle-offer ul li i {
  color: var(--accent-color);
  margin-right: 10px;
  font-size: 18px;
  flex-shrink: 0;
}

.purchase .bundle-offer .bundle-price {
  margin-bottom: 25px;
}

.purchase .bundle-offer .bundle-price .original {
  font-size: 18px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-decoration: line-through;
  margin-right: 15px;
}

.purchase .bundle-offer .bundle-price .discounted {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-color);
}

.purchase .bundle-offer .btn-bundle {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.purchase .bundle-offer .btn-bundle:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  transform: translateY(-3px);
}

.purchase .bundle-offer .bundle-image img {
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.purchase .bundle-offer .bundle-image img:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .purchase .bundle-offer {
    padding: 30px;
  }

  .purchase .bundle-offer .bundle-image {
    margin-top: 30px;
    text-align: center;
  }

  .purchase .bundle-offer .bundle-image img {
    max-width: 250px;
  }

  .purchase .bundle-offer h3 {
    font-size: 22px;
  }

  .purchase .bundle-offer .bundle-price .discounted {
    font-size: 24px;
  }
}

@media (max-width: 992px) {
  .purchase .section-header h2 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .purchase {
    padding: 60px 0;
  }

  .purchase .section-header h2 {
    font-size: 24px;
  }
}


/* --- Center alignment fix for Purchase section title --- */
#purchase .section-title {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 800px !important;
  display: block !important;
}

#purchase .section-title h2,
#purchase .section-title p {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}


/* Somali Winter Dawn — cool, serene balance to the Desert Sunrise
   Attach with: <section id="purchase" class="purchase section winter-dawn"> */

.purchase.section.winter-dawn {
  --background-color: #EDF6F9;  /* winter mist */
  --default-color:    #344243;  /* smoky gray text */
  --heading-color:    #6B7A91;  /* cool steel blue */
  --surface-color:    #F8FCFD;  /* snow white panels */
  --accent-color:     #9CC3D5;  /* frost-blue accent with faint warmth */
  --contrast-color:   #ffffff;
}

/* --- Snow Canvas Background --- */
#snowCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9; /* tweak for intensity */
}

#purchase {
  position: relative;
  overflow: hidden;
}

/*--------------------------------------------------------------
# Purchase Section (Charcoal-Neutral Variant)
--------------------------------------------------------------*/
#purchase.charcoal-background {
  background-color: #FFFFFF;          /* clean white section background */
  color: #2C2C2C;                     /* near-black charcoal text */
  padding: 80px 0;
}

/* Section title + subtitle */
#purchase.charcoal-background .section-title h2 {
  color: #1E1E1E;                     /* dark charcoal for heading */
}

#purchase.charcoal-background .section-title p {
  color: #555555;                     /* medium neutral gray for subtitle text */
}

/* Cards */
#purchase.charcoal-background .card {
  background-color: #F7F7F7;           /* off-white gray that stands out on white */
  border: 1px solid #E2E2E2;           /* light gray border for subtle separation */
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

#purchase.charcoal-background .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* Card text */
#purchase.charcoal-background .card h3 {
  color: #2B2B2B;                     /* strong charcoal for subheadings */
}

#purchase.charcoal-background .card p {
  color: #4A4A4A;                     /* softer charcoal for details */
}

/* Accent elements (icons, prices, small labels) */
#purchase.charcoal-background .card i,
#purchase.charcoal-background .card strong {
  color: #3B6A7D;                     /* slate blue-gray accent */
}

/* Buttons */
#purchase.charcoal-background .btn {
  background-color: #3B6A7D;          /* slate blue-gray button background */
  color: #FFFFFF;                     /* white text */
  border: none;
  border-radius: 50px;
  padding: 10px 24px;
  font-weight: 600;
  transition: all 0.3s ease;
}

#purchase.charcoal-background .btn:hover {
  background-color: #2F5666;          /* darker on hover */
  transform: translateY(-2px);
}

/* Optional fine-tuning for mobile */
@media (max-width: 768px) {
  #purchase.charcoal-background {
    padding: 60px 0;
  }
}


/* --- Equal Button Alignment for Purchase Cards --- */
.purchase .book-format-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* space out content evenly */
}

/* Let content area grow but keep buttons at bottom */
.purchase .book-format-card .format-features {
  flex-grow: 1;
}

/* Anchor the buy options (buttons) to the bottom */
.purchase .book-format-card .buy-options {
  margin-top: auto;
}
/*--------------------------------------------------------------
# Grit Partners Section
--------------------------------------------------------------*/
.grit-partners {
  padding: 80px 0;
  background-color: var(--background-color);
}

/* Card design */
.grit-partners .grit-card {
  background-color: var(--surface-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
}

.grit-partners .grit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Icon styling */
.grit-partners .grit-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.grit-partners .grit-icon i {
  font-size: 26px;
  color: var(--accent-color);
}

/* Text styling */
.grit-partners .grit-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 15px;
}

.grit-partners .grit-card p {
  font-size: 15px;
  color: var(--default-color);
  line-height: 1.7;
}

/* Founder intro */
.grit-partners .founder-intro {
  background: var(--surface-color);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.grit-partners .founder-intro h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.grit-partners .founder-intro p {
  font-size: clamp(1rem, 0.8vw + 0.9rem, 1.15rem);
  line-height: 1.75;
  color: var(--default-color);
  margin-bottom: 1rem;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .grit-partners .grit-card {
    padding: 25px;
  }
  .grit-partners .grit-icon {
    width: 50px;
    height: 50px;
  }
  .grit-partners .grit-icon i {
    font-size: 20px;
  }
}

/*--------------------------------------------------------------
# Founder Intro with Vertical Portrait
--------------------------------------------------------------*/
.founder-intro {
  background: var(--surface-color);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.founder-intro h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.founder-intro p {
  font-size: clamp(1rem, 0.8vw + 0.9rem, 1.15rem);
  line-height: 1.75;
  color: var(--default-color);
  margin-bottom: 1rem;
}

/* Portrait-style image (vertical layout) */
.founder-photo-portrait {
  aspect-ratio: 3 / 4; /* vertical portrait ratio */
  max-width: 380px;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background-color: var(--frost-color);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.founder-photo-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.founder-photo-portrait:hover img {
  transform: scale(1.03);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .founder-intro {
    padding: 30px;
  }

  .founder-photo-portrait {
    margin-top: 20px;
    max-width: 100%;
    aspect-ratio: auto;
  }
}

/*--------------------------------------------------------------
# Founder Section Buttons
--------------------------------------------------------------*/
.founder-intro .about-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Base CTA button */
.founder-intro .btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Filled Button (accent color) */
.founder-intro .btn-cta.filled {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border: 2px solid var(--accent-color);
}

.founder-intro .btn-cta.filled:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
  transform: translateY(-3px);
}

/* Outline Button */
.founder-intro .btn-cta.outline {
  background-color: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
}

.founder-intro .btn-cta.outline:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
}

/* Icon motion */
.founder-intro .btn-cta i {
  transition: transform 0.3s ease;
}

.founder-intro .btn-cta:hover i {
  transform: translateX(5px);
}

/* Center buttons on mobile */
@media (max-width: 768px) {
  .founder-intro .about-cta-buttons {
    justify-content: center;
  }
}


  /* Center alignment for Grit Partners section title */
  #grit-partners .section-title {
    text-align: center;
    margin: 0 auto 2rem auto;
    max-width: 800px;
  }

  #grit-partners .section-title h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 0.75rem;
  }

  #grit-partners .section-title p {
    color: color-mix(in srgb, var(--default-color), transparent 10%);
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.6;
    margin-bottom: 0;
  }

/* Scoped small CTA buttons just for Grit Partners cards */
.grit-card .btn-cta.small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 0.75rem;

  /* match global button theme */
  font-size: clamp(0.85rem, 1.4vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.3px;
  text-decoration: none;

  /* adopt accent color & outline style from global buttons */
  color: var(--accent-color);
  border: 1.5px solid var(--accent-color);
  background-color: transparent;
  border-radius: 40px;
  padding: 0.5em 1.2em;
  transition: all 0.25s ease;
}

.grit-card .btn-cta.small i {
  font-size: 0.9em;
  transition: transform 0.3s ease;
}

/* Hover behavior consistent with rest of site */
.grit-card .btn-cta.small:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color, #fff);
  transform: translateY(-2px);
}

.grit-card .btn-cta.small:hover i {
  transform: translateX(4px);
}

/* Ensure equal button alignment across Grit cards */
.grit-partners .grit-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* space out text and button */
}

/* Container for the text content */
.grit-partners .grit-card p {
  flex-grow: 1; /* allows text area to expand while button stays aligned */
}

/* Button stays anchored at bottom */
.grit-partners .grit-card .btn-cta.small {
  align-self: flex-start;
  margin-top: auto;
}

/* Reduce spacing between section title and content */
#grit-partners .section-title {
  margin-bottom: 0rem; /* was likely 4–5rem by default */
}

/* Remove excess top margin from founder intro */
#grit-partners .founder-intro {
  margin-top: 0em !important; /* overrides mt-5 (~3rem) */
}
/*--------------------------------------------------------------
# Media & Press Section
--------------------------------------------------------------*/
.media-press {
  padding: 80px 0;
  overflow: hidden;
}

/* Individual press cards */
.media-press .press-card {
  background-color: var(--surface-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.media-press .press-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 40px;
  background-color: var(--accent-color);
  transition: height 0.3s ease;
}

.media-press .press-card .press-icon {
  margin-bottom: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-press .press-card .press-icon i {
  font-size: 24px;
  color: var(--accent-color);
}

.media-press .press-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--heading-color);
}

.media-press .press-card p {
  color: var(--default-color);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 0;
}

.media-press .press-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.media-press .press-card:hover::before {
  height: 70px;
}

/* Optional secondary layout — footer or grouped press mentions */
.media-press .press-chapters {
  margin-top: 50px;
  background-color: var(--surface-color);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.media-press .press-chapters h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.media-press .press-chapters h3::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50%;
  height: 2px;
  background-color: var(--accent-color);
}

.media-press .press-chapters .chapters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 25px;
}

@media (max-width: 768px) {
  .media-press .press-chapters .chapters-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

.media-press .press-chapters .chapters-grid .chapter-item {
  text-align: left;
  padding: 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  background-color: color-mix(in srgb, var(--background-color), transparent 5%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.media-press .press-chapters .chapters-grid .chapter-item .chapter-number {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-color);
  display: block;
  margin-bottom: 10px;
}

.media-press .press-chapters .chapters-grid .chapter-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 10px;
}

.media-press .press-chapters .chapters-grid .chapter-item p {
  font-size: 14px;
  color: var(--default-color);
  margin-bottom: 0;
}

.media-press .press-chapters .chapters-grid .chapter-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .media-press .section-intro h2 {
    font-size: 28px;
  }

  .media-press .press-chapters {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .media-press .section-intro h2 {
    font-size: 24px;
  }

  .media-press .press-card {
    padding: 25px;
  }

  .media-press .press-card .press-icon {
    width: 50px;
    height: 50px;
  }

  .media-press .press-card .press-icon i {
    font-size: 20px;
  }

  .media-press .press-card h3 {
    font-size: 18px;
  }

  .media-press .press-chapters {
    padding: 25px;
  }

  .media-press .press-chapters h3 {
    font-size: 22px;
  }
}

/* Center alignment fix for Media & Press section title */
#media-press .section-title {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 800px !important;
  display: block !important;
  padding-bottom: 20px;
}

#media-press .section-title h2,
#media-press .section-title p {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Optional subtle spacing + emphasis */
#media-press .section-title h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 0.75rem;
}

#media-press .section-title p {
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.6;
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Media & Press Section — Somali Desert Sunrise Theme
--------------------------------------------------------------*/

.media-press.section.sunrise {
  /* --- Sunrise color palette --- */
  --background-color: #FFF7F1;   /* gentle sunrise beige */
  --surface-color:   #FFEFE3;    /* light sand panels */
  --default-color:   #463C36;    /* cocoa brown for text */
  --heading-color:   #B46A46;    /* terracotta headings */
  --accent-color:    #FA8458;    /* Somali desert coral */
  --contrast-color:  #ffffff;    /* for buttons on accent */

  background-color: var(--background-color);
  color: var(--default-color);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

/* Center alignment for section title */
#media-press.sunrise .section-title {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 800px !important;
  display: block !important;
  padding-bottom: 20px;
}

#media-press.sunrise .section-title h2,
#media-press.sunrise .section-title p {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Typography adjustments for warmth and clarity */
#media-press.sunrise .section-title h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

#media-press.sunrise .section-title p {
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Cards (press features) */
.media-press.sunrise .press-card {
  background-color: var(--surface-color);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  padding: 30px;
  transition: all 0.3s ease;
  text-align: left;
}

.media-press.sunrise .press-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 28px rgba(0, 0, 0, 0.08);
}

.media-press.sunrise .press-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.media-press.sunrise .press-icon i {
  font-size: 26px;
  color: var(--accent-color);
}

.media-press.sunrise .press-card h3 {
  color: var(--heading-color);
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 10px;
}

.media-press.sunrise .press-card p {
  color: var(--default-color);
  line-height: 1.6;
  margin-bottom: 15px;
}

.media-press.sunrise .press-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-color);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.media-press.sunrise .press-link:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 15%);
  transform: translateX(3px);
}




/*--------------------------------------------------------------
# Why Us Section
--------------------------------------------------------------*/
.why-us {
  padding: 30px 0;
}

.why-us .content h3 {
  font-weight: 400;
  font-size: 34px;
}

.why-us .content p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.why-us .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.why-us .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.why-us .faq-container .faq-item h3 {
  font-weight: 500;
  font-size: 17px;
  line-height: 24px;
  margin: 0 30px 0 0;
  transition: 0.3s;
  cursor: pointer;
}

.why-us .faq-container .faq-item h3 span {
  color: var(--accent-color);
  padding-right: 5px;
  font-weight: 600;
}

.why-us .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.why-us .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.why-us .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

.why-us .faq-container .faq-item .faq-icon {
  position: absolute;
  top: 22px;
  left: 20px;
  font-size: 22px;
  line-height: 0;
  transition: 0.3s;
  color: var(--accent-color);
}

.why-us .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.why-us .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.why-us .faq-container .faq-active h3 {
  color: var(--accent-color);
}

.why-us .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.why-us .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

.why-us .why-us-img {
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-us .why-us-img img {
  max-height: 70%;
}

/*--------------------------------------------------------------
# Skills Section
--------------------------------------------------------------*/
.skills .content h3 {
  font-size: 2rem;
  font-weight: 700;
}

.skills .content p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.skills .content p:last-child {
  margin-bottom: 0;
}

.skills .content ul {
  list-style: none;
  padding: 0;
}

.skills .content ul li {
  padding-bottom: 10px;
}

.skills .progress {
  height: 60px;
  display: block;
  background: none;
  border-radius: 0;
}

.skills .progress .skill {
  color: var(--default-color);
  padding: 0;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  display: block;
  font-weight: 600;
  font-family: var(--heading-font);
}

.skills .progress .skill .val {
  float: right;
  font-style: normal;
}

.skills .progress-bar-wrap {
  background: color-mix(in srgb, var(--heading-color), transparent 90%);
  height: 10px;
}

.skills .progress-bar {
  width: 1px;
  height: 10px;
  transition: 0.9s;
  background-color: var(--heading-color);
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  box-shadow: 0px 5px 90px 0px rgba(0, 0, 0, 0.1);
  padding: 50px 30px;
  transition: all ease-in-out 0.4s;
  height: 100%;
}

.services .service-item .icon {
  margin-bottom: 10px;
}

.services .service-item .icon i {
  color: var(--accent-color);
  font-size: 36px;
  transition: 0.3s;
}

.services .service-item h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 20px;
}

.services .service-item h4 a {
  color: var(--heading-color);
  transition: ease-in-out 0.3s;
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .service-item:hover {
  transform: translateY(-10px);
}

.services .service-item:hover h4 a {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Work Process Section
--------------------------------------------------------------*/
.work-process .steps-item {
  background: var(--surface-color);
  border-radius: 20px;
  height: 100%;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 5px 20px color-mix(in srgb, var(--default-color), transparent 92%);
}

.work-process .steps-item .steps-image {
  border-radius: 20px 20px 0 0;
  overflow: hidden;
}

.work-process .steps-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px color-mix(in srgb, var(--accent-color), transparent 85%);
}

.work-process .steps-item:hover .steps-number {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.work-process .steps-item:hover .steps-image img {
  transform: scale(1.1);
}

.work-process .steps-image {
  position: relative;
  height: 280px;
}

.work-process .steps-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.work-process .steps-content {
  position: relative;
  padding: 40px 30px 30px;
}

.work-process .steps-content .steps-number {
  position: absolute;
  left: 30px;
  top: -30px;
  width: 60px;
  height: 60px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50%;
  font-family: var(--heading-font);
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in-out;
}

.work-process .steps-content h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.work-process .steps-content p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 25px;
}

.work-process .steps-features .feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.work-process .steps-features .feature-item:last-child {
  margin-bottom: 0;
}

.work-process .steps-features .feature-item i {
  color: var(--accent-color);
  font-size: 18px;
  margin-right: 10px;
}

.work-process .steps-features .feature-item span {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

@media (max-width: 1199px) {
  .work-process .steps-image {
    height: 240px;
  }

  .work-process .steps-content {
    padding: 35px 25px 25px;
  }

  .work-process .steps-content h3 {
    font-size: 22px;
  }
}

@media (max-width: 991px) {
  .work-process .steps-item {
    margin-bottom: 30px;
  }

  .work-process .steps-image {
    height: 220px;
  }

  .work-process .steps-content {
    padding: 30px 20px 20px;
  }

  .work-process .steps-content .steps-number {
    width: 50px;
    height: 50px;
    font-size: 20px;
    left: 25px;
    top: -25px;
  }

  .work-process .steps-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .work-process .steps-content p {
    font-size: 14px;
    margin-bottom: 20px;
  }
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
  padding: 120px 0;
  position: relative;
  clip-path: inset(0);
}

.call-to-action img {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.call-to-action:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 35%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.call-to-action .container {
  position: relative;
  z-index: 3;
}

.call-to-action h3 {
  color: var(--default-color);
  font-size: 28px;
  font-weight: 700;
}

.call-to-action p {
  color: var(--default-color);
}

.call-to-action .cta-btn {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 10px;
  border: 2px solid var(--contrast-color);
  color: var(--contrast-color);
}

.call-to-action .cta-btn:hover {
  background: var(--accent-color);
  border: 2px solid var(--accent-color);
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 20px 10px 20px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 5px;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  font-family: var(--heading-font);
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 0 10px 0;
  }
}

.portfolio .portfolio-item {
  position: relative;
  overflow: hidden;
}

.portfolio .portfolio-item .portfolio-info {
  opacity: 0;
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -100%;
  z-index: 3;
  transition: all ease-in-out 0.5s;
  background: color-mix(in srgb, var(--background-color), transparent 10%);
  padding: 15px;
}

.portfolio .portfolio-item .portfolio-info h4 {
  font-size: 18px;
  font-weight: 600;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  margin-bottom: 0;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info .preview-link,
.portfolio .portfolio-item .portfolio-info .details-link {
  position: absolute;
  right: 50px;
  font-size: 24px;
  top: calc(50% - 14px);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  transition: 0.3s;
  line-height: 0;
}

.portfolio .portfolio-item .portfolio-info .preview-link:hover,
.portfolio .portfolio-item .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-item .portfolio-info .details-link {
  right: 14px;
  font-size: 28px;
}

.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
  bottom: 0;
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .team-member {
  background-color: var(--surface-color);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  border-radius: 5px;
  transition: 0.5s;
  padding: 30px;
  height: 100%;
}

@media (max-width: 468px) {
  .team .team-member {
    flex-direction: column;
    justify-content: center !important;
    align-items: center !important;
  }
}

.team .team-member .pic {
  overflow: hidden;
  width: 150px;
  border-radius: 50%;
  flex-shrink: 0;
}

.team .team-member .pic img {
  transition: ease-in-out 0.3s;
}

.team .team-member:hover {
  transform: translateY(-10px);
}

.team .team-member .member-info {
  padding-left: 30px;
}

@media (max-width: 468px) {
  .team .team-member .member-info {
    padding: 30px 0 0 0;
    text-align: center;
  }
}

.team .team-member h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 20px;
}

.team .team-member span {
  display: block;
  font-size: 15px;
  padding-bottom: 10px;
  position: relative;
  font-weight: 500;
}

.team .team-member span::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 85%);
  bottom: 0;
  left: 0;
}

@media (max-width: 468px) {
  .team .team-member span::after {
    left: calc(50% - 25px);
  }
}

.team .team-member p {
  margin: 10px 0 0 0;
  font-size: 14px;
}

.team .team-member .social {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: start;
  width: 100%;
}

@media (max-width: 468px) {
  .team .team-member .social {
    justify-content: center;
  }
}

.team .team-member .social a {
  background: color-mix(in srgb, var(--default-color), transparent 94%);
  transition: ease-in-out 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  width: 36px;
  height: 36px;
}

.team .team-member .social a i {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 16px;
  margin: 0 2px;
}

.team .team-member .social a:hover {
  background: var(--accent-color);
}

.team .team-member .social a:hover i {
  color: var(--contrast-color);
}

.team .team-member .social a+a {
  margin-left: 8px;
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-item {
  background-color: var(--surface-color);
  box-shadow: 0 3px 20px -2px rgba(0, 0, 0, 0.1);
  border-top: 4px solid var(--background-color);
  padding: 60px 40px;
  height: 100%;
  border-radius: 5px;
}

.pricing h3 {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 20px;
}

.pricing h4 {
  color: var(--accent-color);
  font-size: 48px;
  font-weight: 400;
  font-family: var(--heading-font);
  margin-bottom: 0;
}

.pricing h4 sup {
  font-size: 28px;
}

.pricing h4 span {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 18px;
}

.pricing ul {
  padding: 20px 0;
  list-style: none;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-align: left;
  line-height: 20px;
}

.pricing ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.pricing ul i {
  color: #059652;
  font-size: 24px;
  padding-right: 3px;
}

.pricing ul .na {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na i {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na span {
  text-decoration: line-through;
}

.pricing .buy-btn {
  color: var(--accent-color);
  display: inline-block;
  padding: 8px 35px 10px 35px;
  border-radius: 50px;
  transition: none;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--heading-font);
  transition: 0.3s;
  border: 1px solid var(--accent-color);
}

.pricing .buy-btn:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.pricing .featured {
  border-top-color: var(--accent-color);
}

.pricing .featured .buy-btn {
  background: var(--accent-color);
  color: var(--contrast-color);
}

@media (max-width: 992px) {
  .pricing .box {
    max-width: 60%;
    margin: 0 auto 30px auto;
  }
}

@media (max-width: 767px) {
  .pricing .box {
    max-width: 80%;
    margin: 0 auto 30px auto;
  }
}

@media (max-width: 420px) {
  .pricing .box {
    max-width: 100%;
    margin: 0 auto 30px auto;
  }
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .section-header {
  margin-bottom: 40px;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  text-align: center;
}

.testimonials .testimonial-item .testimonial-img {
  width: 120px;
  border-radius: 50%;
  border: 4px solid var(--background-color);
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0 0 15px 0;
}

.testimonials .testimonial-item .stars {
  margin-bottom: 15px;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 15px auto;
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  opacity: 1;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 80%;
  }
}

/*--------------------------------------------------------------
# Faq 2 Section
--------------------------------------------------------------*/
.faq-2 .faq-container {
  margin-top: 15px;
}

.faq-2 .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 20px;
  margin-bottom: 20px;
  overflow: hidden;
}

.faq-2 .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.faq-2 .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  margin: 0 30px 0 32px;
  transition: 0.3s;
  cursor: pointer;
}

.faq-2 .faq-container .faq-item h3 span {
  color: var(--accent-color);
  padding-right: 5px;
}

.faq-2 .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.faq-2 .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq-2 .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

.faq-2 .faq-container .faq-item .faq-icon {
  position: absolute;
  top: 22px;
  left: 20px;
  font-size: 20px;
  line-height: 0;
  transition: 0.3s;
  color: var(--accent-color);
}

.faq-2 .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.faq-2 .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.faq-2 .faq-container .faq-active h3 {
  color: var(--accent-color);
}

.faq-2 .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.faq-2 .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Subscribe Section
--------------------------------------------------------------*/
.subscribe .container {
  padding: 80px 80px 0 80px;
  background: color-mix(in srgb, var(--default-color), transparent 96%);
  border-radius: 15px;
}

@media (max-width: 992px) {
  .subscribe .container {
    padding: 60px 60px 0 60px;
  }
}

@media (max-width: 575px) {
  .subscribe .container {
    padding: 25px 15px 0 15px;
    border-radius: 0;
  }
}

.subscribe .cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.subscribe .cta-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.subscribe .cta-form .form-control {
  height: 50px;
  border-radius: 25px 0 0 25px;
  border: 1px solid var(--accent-color);
  padding-left: 20px;
}

.subscribe .cta-form .form-control:focus {
  box-shadow: none;
  border-color: var(--accent-color);
}

.subscribe .cta-form .btn {
  height: 50px;
  border-radius: 0 25px 25px 0;
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 0 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.subscribe .cta-form .btn:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 10%);
  border-color: color-mix(in srgb, var(--accent-color), black 10%);
}

@media (max-width: 575px) {
  .subscribe .cta-form .btn {
    padding: 0 15px;
  }
}

@media (max-width: 991px) {
  .subscribe .cta-content {
    text-align: center;
    margin-bottom: 2rem;
  }

  .subscribe .cta-image {
    text-align: center;
  }
}

/*--------------------------------------------------------------
# Recent Blog Postst Section
--------------------------------------------------------------*/
.recent-blog-postst .post-item {
  background: var(--surface-color);
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.recent-blog-postst .post-item .post-img img {
  transition: 0.5s;
}

.recent-blog-postst .post-item .post-date {
  position: absolute;
  right: 0;
  bottom: 0;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  text-transform: uppercase;
  font-size: 13px;
  padding: 6px 12px;
  font-weight: 500;
}

.recent-blog-postst .post-item .post-content {
  padding: 30px;
}

.recent-blog-postst .post-item .post-title {
  color: var(--heading-color);
  font-size: 20px;
  font-weight: 700;
  transition: 0.3s;
  margin-bottom: 15px;
}

.recent-blog-postst .post-item .meta i {
  font-size: 16px;
  color: var(--accent-color);
}

.recent-blog-postst .post-item .meta span {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.recent-blog-postst .post-item hr {
  color: color-mix(in srgb, var(--default-color), transparent 80%);
  margin: 20px 0;
}

.recent-blog-postst .post-item .readmore {
  display: flex;
  align-items: center;
  font-weight: 600;
  line-height: 1;
  transition: 0.3s;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.recent-blog-postst .post-item .readmore i {
  line-height: 0;
  margin-left: 6px;
  font-size: 16px;
}

.recent-blog-postst .post-item:hover .post-title,
.recent-blog-postst .post-item:hover .readmore {
  color: var(--accent-color);
}

.recent-blog-postst .post-item:hover .post-img img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-wrap {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  border-top: 3px solid var(--accent-color);
  border-bottom: 3px solid var(--accent-color);
  padding: 30px;
  height: 100%;
}

@media (max-width: 575px) {
  .contact .info-wrap {
    padding: 20px;
  }
}

.contact .info-item {
  margin-bottom: 40px;
}

.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .info-item:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.contact .php-email-form {
  background-color: var(--surface-color);
  height: 100%;
  padding: 30px;
  border-top: 3px solid var(--accent-color);
  border-bottom: 3px solid var(--accent-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 20px;
  }
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

#contact.contact.section {
  background-color: var(--surface-color);
  padding: 80px 0;
}

#contact .info-wrap {
  background-color: var(--background-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

#contact .info-item i {
  color: var(--accent-color);
  font-size: 24px;
  margin-right: 15px;
}

#contact .contact-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

#contact .contact-list li {
  margin-bottom: 6px;
  color: var(--default-color);
}

#contact .php-email-form select.form-select {
  border-radius: 6px;
  padding: 10px;
}

#contact .php-email-form button {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

#contact .php-email-form button:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  transform: translateY(-2px);
}

/* Default state — brighter accent circle */
#contact .info-item i {
  background-color: color-mix(in srgb, var(--accent-color), white 25%);
  color: var(--accent-color);
  border-radius: 50%;
  font-size: 22px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

/* Hover / focus state — luminous highlight */
#contact .info-item:hover i,
#contact .info-item:focus i {
  background-color: color-mix(in srgb, var(--accent-color), white 45%);
  color: var(--contrast-color);
  box-shadow: 0 0 8px color-mix(in srgb, var(--accent-color), white 35%);
  transform: scale(1.05);
}

/* Center alignment for Contact section title */
#contact .section-title {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 800px !important;
  display: block !important;
  padding-bottom: 20px;
}

#contact .section-title h2,
#contact .section-title p {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Optional: polish typography and spacing */
#contact .section-title h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 0.75rem;
}

#contact .section-title p {
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Improve icon visibility in non-hover state */
#contact .info-item i {
  background-color: color-mix(in srgb, var(--accent-color), white 20%);
  color: var(--contrast-color); /* Makes the icon stand out clearly */
  border-radius: 50%;
  font-size: 22px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Subtle hover glow for interactivity */
#contact .info-item:hover i,
#contact .info-item:focus i {
  background-color: color-mix(in srgb, var(--accent-color), white 45%);
  color: var(--contrast-color);
  transform: scale(1.05);
  box-shadow: 0 0 10px color-mix(in srgb, var(--accent-color), white 35%);
}


/* Make the entire email block clickable */
.email-block {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit; /* inherit section text color */
  transition: all 0.25s ease;
  cursor: pointer;
}

/* Hover effect */
.email-block:hover {
  color: var(--accent-color);
  transform: translateY(-2px);
}

/* Keep icon size and alignment consistent */
.email-block i {
  font-size: 1.8rem;
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.portfolio-details .portfolio-info {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  background-color: var(--surface-color);
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Blog Posts Section
--------------------------------------------------------------*/
.blog-posts article {
  background-color: var(--surface-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
  height: 100%;
}

.blog-posts .post-img {
  max-height: 440px;
  margin: -30px -30px 0 -30px;
  overflow: hidden;
}

.blog-posts .title {
  font-size: 24px;
  font-weight: 700;
  padding: 0;
  margin: 30px 0;
}

.blog-posts .title a {
  color: var(--heading-color);
  transition: 0.3s;
}

.blog-posts .title a:hover {
  color: var(--accent-color);
}

.blog-posts .meta-top {
  margin-top: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-posts .meta-top ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}

.blog-posts .meta-top ul li+li {
  padding-left: 20px;
}

.blog-posts .meta-top i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-posts .meta-top a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}

.blog-posts .content {
  margin-top: 20px;
}

.blog-posts .content .read-more {
  text-align: right;
}

.blog-posts .content .read-more a {
  background: var(--accent-color);
  color: var(--contrast-color);
  display: inline-block;
  padding: 8px 30px;
  transition: 0.3s;
  font-size: 14px;
  border-radius: 4px;
}

.blog-posts .content .read-more a:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Pagination 2 Section
--------------------------------------------------------------*/
.pagination-2 {
  padding-top: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.pagination-2 ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pagination-2 li {
  margin: 0 5px;
  transition: 0.3s;
}

.pagination-2 li a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 7px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination-2 li a.active,
.pagination-2 li a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.pagination-2 li a.active a,
.pagination-2 li a:hover a {
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Blog Details Section
--------------------------------------------------------------*/
.blog-details {
  max-width: 1000px;
  margin: 0 auto;
}

.blog-details .hero-img {
  position: relative;
  width: 100%;
  height: 500px;
  margin: 0 auto 3rem;
  border-radius: 16px;
  overflow: hidden;
}

.blog-details .hero-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.blog-details .hero-img .meta-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.blog-details .hero-img .meta-overlay .meta-categories .category {
  color: var(--contrast-color);
  background-color: var(--accent-color);
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.blog-details .hero-img .meta-overlay .meta-categories .category:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.blog-details .hero-img .meta-overlay .meta-categories .divider {
  color: var(--contrast-color);
  margin: 0 0.75rem;
}

.blog-details .hero-img .meta-overlay .meta-categories .reading-time {
  color: var(--contrast-color);
  font-size: 0.9rem;
}

.blog-details .hero-img .meta-overlay .meta-categories .reading-time i {
  margin-right: 0.3rem;
}

@media (max-width: 768px) {
  .blog-details .hero-img {
    height: 350px;
    margin-top: -30px;
    margin-bottom: 2rem;
  }
}

.blog-details .article-content {
  padding: 0 1rem;
}

.blog-details .article-content .content-header {
  margin-bottom: 3rem;
}

.blog-details .article-content .content-header .title {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 2rem;
  font-weight: 700;
  color: var(--heading-color);
}

@media (max-width: 768px) {
  .blog-details .article-content .content-header .title {
    font-size: 2rem;
  }
}

.blog-details .article-content .content-header .author-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.blog-details .article-content .content-header .author-info .author-details {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.blog-details .article-content .content-header .author-info .author-details .author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.blog-details .article-content .content-header .author-info .author-details .info h4 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--heading-color);
}

.blog-details .article-content .content-header .author-info .author-details .info .role {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.blog-details .article-content .content-header .author-info .post-meta {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.95rem;
}

.blog-details .article-content .content-header .author-info .post-meta i {
  margin-right: 0.3rem;
}

.blog-details .article-content .content-header .author-info .post-meta .divider {
  margin: 0 0.75rem;
}

.blog-details .article-content .content {
  font-size: 1.15rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
}

.blog-details .article-content .content .lead {
  font-size: 1.3rem;
  color: var(--heading-color);
  margin-bottom: 2rem;
  font-weight: 500;
}

.blog-details .article-content .content h2 {
  font-size: 2rem;
  color: var(--heading-color);
  margin: 3rem 0 1.5rem;
}

.blog-details .article-content .content p {
  margin-bottom: 1.5rem;
}

.blog-details .article-content .content ul {
  margin-bottom: 2rem;
  padding-left: 1.2rem;
}

.blog-details .article-content .content ul li {
  margin-bottom: 0.75rem;
  position: relative;
}

.blog-details .article-content .content .content-image {
  margin: 2.5rem 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.blog-details .article-content .content .content-image.right-aligned {
  float: right;
  max-width: 450px;
  margin: 1rem 0 2rem 2rem;
}

@media (max-width: 768px) {
  .blog-details .article-content .content .content-image.right-aligned {
    float: none;
    max-width: 100%;
    margin: 2rem 0;
  }
}

.blog-details .article-content .content .content-image img {
  width: 100%;
  height: auto;
}

.blog-details .article-content .content .content-image figcaption {
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  background-color: color-mix(in srgb, var(--surface-color), transparent 50%);
}

.blog-details .article-content .content .highlight-box {
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 12px;
  padding: 2rem;
  margin: 2.5rem 0;
}

.blog-details .article-content .content .highlight-box h3 {
  color: var(--heading-color);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.blog-details .article-content .content .highlight-box .trend-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-details .article-content .content .highlight-box .trend-list li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.5rem 0;
}

.blog-details .article-content .content .highlight-box .trend-list li i {
  color: var(--accent-color);
  font-size: 1.5rem;
  margin-right: 1rem;
}

.blog-details .article-content .content .highlight-box .trend-list li span {
  color: var(--heading-color);
  font-weight: 500;
}

.blog-details .article-content .content .content-grid {
  margin: 3rem 0;
}

.blog-details .article-content .content .content-grid .info-card {
  background: var(--surface-color);
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.blog-details .article-content .content .content-grid .info-card:hover {
  transform: translateY(-5px);
}

.blog-details .article-content .content .content-grid .info-card i {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.blog-details .article-content .content .content-grid .info-card h4 {
  color: var(--heading-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.blog-details .article-content .content .content-grid .info-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.blog-details .article-content .content blockquote {
  position: relative;
  margin: 3rem 0;
  padding: 2rem 3rem;
  background: var(--surface-color);
  border-radius: 12px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.blog-details .article-content .content blockquote::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 8rem;
  color: color-mix(in srgb, var(--accent-color), transparent 85%);
  font-family: serif;
  line-height: 1;
}

.blog-details .article-content .content blockquote p {
  font-size: 1.3rem;
  font-style: italic;
  color: var(--heading-color);
  margin: 0 0 1rem;
  position: relative;
}

.blog-details .article-content .content blockquote cite {
  font-style: normal;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.95rem;
  display: block;
}

.blog-details .article-content .meta-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  display: grid;
  gap: 2rem;
}

.blog-details .article-content .meta-bottom h4 {
  color: var(--heading-color);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.blog-details .article-content .meta-bottom .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.blog-details .article-content .meta-bottom .tags .tag {
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.blog-details .article-content .meta-bottom .tags .tag:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.blog-details .article-content .meta-bottom .social-links {
  display: flex;
  gap: 1rem;
}

.blog-details .article-content .meta-bottom .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  transition: all 0.3s ease;
}

.blog-details .article-content .meta-bottom .social-links a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

.blog-details .article-content .meta-bottom .social-links a i {
  font-size: 1.2rem;
}

/*--------------------------------------------------------------
# Blog Comments Section
--------------------------------------------------------------*/
.blog-comments {
  padding: 20px 0;
}

.blog-comments .comments-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

.blog-comments .comments-header .title {
  color: var(--heading-color);
  font-size: 32px;
  font-weight: 700;
  font-family: var(--heading-font);
  margin: 0;
}

.blog-comments .comments-header .comments-stats {
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 8px 20px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-comments .comments-header .comments-stats .count {
  font-size: 18px;
  font-weight: 700;
}

.blog-comments .comments-header .comments-stats .label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-comments .comments-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.blog-comments .comment-thread {
  position: relative;
}

.blog-comments .comment-thread:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 80px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--accent-color), transparent 40%), color-mix(in srgb, var(--accent-color), transparent 90%));
  z-index: 0;
}

@media (min-width: 768px) {
  .blog-comments .comment-thread:not(:last-child)::after {
    left: 35px;
  }
}

.blog-comments .comment-box {
  position: relative;
  transition: all 0.3s ease;
}

.blog-comments .comment-box.reply {
  margin-left: 50px;
  margin-top: 25px;
}

@media (min-width: 768px) {
  .blog-comments .comment-box.reply {
    margin-left: 70px;
  }
}

.blog-comments .comment-wrapper {
  display: flex;
  gap: 20px;
  position: relative;
}

.blog-comments .avatar-wrapper {
  position: relative;
  flex-shrink: 0;
}

.blog-comments .avatar-wrapper img {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  object-fit: cover;
  border: 3px solid var(--surface-color);
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

@media (min-width: 768px) {
  .blog-comments .avatar-wrapper img {
    width: 70px;
    height: 70px;
  }
}

.blog-comments .avatar-wrapper img:hover {
  transform: scale(1.05);
}

.blog-comments .avatar-wrapper .status-indicator {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #4CAF50;
  border: 2px solid var(--surface-color);
  z-index: 1;
}

.blog-comments .comment-content {
  flex: 1;
  background-color: var(--surface-color);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.blog-comments .comment-content:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.blog-comments .comment-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.blog-comments .comment-header .user-info h4 {
  color: var(--heading-color);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 5px;
}

.blog-comments .comment-header .user-info .time-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-comments .comment-header .user-info .time-badge i {
  font-size: 13px;
}

.blog-comments .comment-header .engagement .likes {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
  border-radius: 20px;
  color: var(--accent-color);
  font-size: 14px;
  font-weight: 500;
}

.blog-comments .comment-header .engagement .likes i {
  font-size: 13px;
}

.blog-comments .comment-body p {
  color: var(--default-color);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.blog-comments .comment-actions {
  display: flex;
  gap: 15px;
}

.blog-comments .comment-actions .action-btn {
  background: none;
  border: none;
  padding: 8px 15px;
  border-radius: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.blog-comments .comment-actions .action-btn i {
  font-size: 15px;
  transition: all 0.3s ease;
}

.blog-comments .comment-actions .action-btn:hover {
  color: var(--accent-color);
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
}

.blog-comments .comment-actions .action-btn:hover.like-btn i {
  transform: scale(1.2);
  color: #ff4b6e;
}

.blog-comments .comment-actions .action-btn:hover.reply-btn i {
  transform: translateX(-3px);
}

.blog-comments .comment-actions .action-btn:hover.share-btn i {
  transform: translateY(-2px);
}

.blog-comments .comment-actions .action-btn.like-btn.active {
  color: #ff4b6e;
}

.blog-comments .replies-container {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

@media (max-width: 768px) {
  .blog-comments .comments-header {
    margin-bottom: 30px;
  }

  .blog-comments .comments-header .title {
    font-size: 24px;
  }

  .blog-comments .comments-header .comments-stats {
    padding: 6px 15px;
  }

  .blog-comments .comments-header .comments-stats .count {
    font-size: 20px;
  }

  .blog-comments .comments-header .comments-stats .label {
    font-size: 12px;
  }

  .blog-comments .comment-content {
    padding: 20px;
  }

  .blog-comments .comment-header .user-info h4 {
    font-size: 16px;
  }

  .blog-comments .comment-header .user-info .time-badge {
    font-size: 13px;
  }

  .blog-comments .comment-body p {
    font-size: 14px;
  }

  .blog-comments .comment-actions .action-btn {
    padding: 6px 12px;
    font-size: 13px;
  }
}

/*--------------------------------------------------------------
# Blog Comment Form Section
--------------------------------------------------------------*/
.blog-comment-form {
  max-width: 900px;
  margin: 30px auto 0 auto;
  padding-top: 10px;
}

.blog-comment-form form {
  padding: 2rem;
  background-color: var(--surface-color);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog-comment-form .form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.blog-comment-form .form-header h3 {
  color: var(--heading-color);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.blog-comment-form .form-header p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.9375rem;
}

.blog-comment-form .input-group {
  margin-bottom: 1rem;
  position: relative;
}

.blog-comment-form .input-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--heading-color);
  font-weight: 500;
  font-size: 0.875rem;
}

.blog-comment-form .input-group input,
.blog-comment-form .input-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 8px;
  background-color: var(--surface-color);
  color: var(--default-color);
  font-size: 0.9375rem;
  transition: all 0.2s ease;
}

.blog-comment-form .input-group input::placeholder,
.blog-comment-form .input-group textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.blog-comment-form .input-group input:hover,
.blog-comment-form .input-group textarea:hover {
  border-color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.blog-comment-form .input-group input:focus,
.blog-comment-form .input-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 90%);
}

.blog-comment-form .input-group input:invalid:not(:placeholder-shown),
.blog-comment-form .input-group textarea:invalid:not(:placeholder-shown) {
  border-color: #dc3545;
}

.blog-comment-form .input-group input:invalid:not(:placeholder-shown)+.error-text,
.blog-comment-form .input-group textarea:invalid:not(:placeholder-shown)+.error-text {
  opacity: 1;
  transform: translateY(0);
}

.blog-comment-form .input-group textarea {
  min-height: 120px;
  resize: vertical;
}

.blog-comment-form .input-group .error-text {
  position: absolute;
  bottom: -20px;
  left: 0;
  color: #dc3545;
  font-size: 0.75rem;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.2s ease;
}

.blog-comment-form button[type=submit] {
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 0.875rem 2.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.blog-comment-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
  transform: translateY(-2px);
}

.blog-comment-form button[type=submit]:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .blog-comment-form {
    padding: 1.5rem;
  }

  .blog-comment-form .form-header h3 {
    font-size: 1.5rem;
  }

  .blog-comment-form button[type=submit] {
    width: 100%;
    padding: 0.875rem 1rem;
  }
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}

/*--------------------------------------------------------------
# Error 404 Section
--------------------------------------------------------------*/
.error-404 {
  padding: 80px 0;
  margin: 0 auto;
}

.error-404 .error-icon {
  font-size: 5rem;
  color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.error-404 .error-code {
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 800;
  color: color-mix(in srgb, var(--heading-color), transparent 10%);
  font-family: var(--heading-font);
  line-height: 1;
}

.error-404 .error-title {
  font-size: 2rem;
  color: var(--heading-color);
  font-weight: 600;
}

.error-404 .error-text {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  max-width: 600px;
  margin: 0 auto;
}

.error-404 .search-box {
  max-width: 500px;
  margin: 0 auto;
}

.error-404 .search-box .input-group {
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.error-404 .search-box .form-control {
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-radius: 50px;
}

.error-404 .search-box .form-control:focus {
  box-shadow: none;
  border-color: var(--accent-color);
}

.error-404 .search-box .form-control::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.error-404 .search-box .search-btn {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
}

.error-404 .search-box .search-btn:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.error-404 .error-action .btn-primary {
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  background-color: var(--accent-color);
  border: none;
  color: var(--contrast-color);
  border-radius: 50px;
  transition: all 0.3s ease;
}

.error-404 .error-action .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .error-404 {
    padding: 60px 0;
  }

  .error-404 .error-code {
    font-size: clamp(4rem, 12vw, 8rem);
  }

  .error-404 .error-title {
    font-size: 1.5rem;
  }

  .error-404 .error-text {
    font-size: 1rem;
    padding: 0 20px;
  }

  .error-404 .search-box {
    margin: 0 20px;
  }
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widgets-container {
  margin: 60px 0 30px 0;
}

.widget-title {
  color: var(--heading-color);
  font-size: 20px;
  font-weight: 600;
  padding: 0 0 0 10px;
  margin: 0 0 20px 0;
  border-left: 4px solid var(--accent-color);
}

.widget-item {
  margin-bottom: 30px;
  background-color: color-mix(in srgb, var(--default-color), transparent 98%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 30px;
  border-radius: 5px;
}

.widget-item:last-child {
  margin-bottom: 0;
}

.search-widget form {
  background: var(--background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 75%);
  padding: 3px 10px;
  position: relative;
  border-radius: 50px;
  transition: 0.3s;
}

.search-widget form input[type=text] {
  border: 0;
  padding: 4px 10px;
  border-radius: 4px;
  width: calc(100% - 40px);
  background-color: var(--background-color);
  color: var(--default-color);
}

.search-widget form input[type=text]:focus {
  outline: none;
}

.search-widget form button {
  background: none;
  color: var(--default-color);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  font-size: 16px;
  padding: 0 16px;
  transition: 0.3s;
  line-height: 0;
}

.search-widget form button i {
  line-height: 0;
}

.search-widget form button:hover {
  color: var(--accent-color);
}

.search-widget form:is(:focus-within) {
  border-color: var(--accent-color);
}

.recent-posts-widget .post-item {
  display: flex;
  margin-bottom: 15px;
}

.recent-posts-widget .post-item:last-child {
  margin-bottom: 0;
}

.recent-posts-widget .post-item img {
  width: 80px;
  margin-right: 15px;
}

.recent-posts-widget .post-item h4 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 5px;
}

.recent-posts-widget .post-item h4 a {
  color: var(--default-color);
  transition: 0.3s;
}

.recent-posts-widget .post-item h4 a:hover {
  color: var(--accent-color);
}

.recent-posts-widget .post-item time {
  display: block;
  font-style: italic;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.categories-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.categories-widget ul li {
  padding-bottom: 10px;
}

.categories-widget ul li:last-child {
  padding-bottom: 0;
}

.categories-widget ul a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.categories-widget ul a:hover {
  color: var(--accent-color);
}

.categories-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.tags-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tags-widget ul li {
  display: inline-block;
}

.tags-widget ul a {
  background-color: color-mix(in srgb, var(--default-color), transparent 94%);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  border-radius: 50px;
  font-size: 14px;
  padding: 5px 15px;
  margin: 0 6px 8px 0;
  display: inline-block;
  transition: 0.3s;
}

.tags-widget ul a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.tags-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  font-size: 14px;
}

.hero-scroll {
  position: relative;
  width: 100%;
  height: 100vh; /* full viewport height */
  min-height: 600px; /* ensures presence on large monitors */
  overflow: hidden;
}
.hero-scroll video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================================
   MEDIA & PRESS — Card cleanup + link polish (no underline)
========================================================= */

/* Remove the red/orange accent line entirely (wherever it’s coming from) */
#media-press .press-card{
  border-left: 0 !important;
  box-shadow: none !important; /* in case the line was an inset shadow */
}

#media-press .press-card::before,
#media-press .press-card::after{
  content: none !important;
  display: none !important;
}

#media-press .press-card .press-icon,
#media-press .press-card .press-tag{
  border-left: 0 !important;
}

/* Links: more contrast + readability (no underline) */
#media-press .press-link{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;

  font-weight: 600;
  letter-spacing: 0.01em;

  color: #b2462f;            /* deeper, more readable orange */
  text-decoration: none;     /* remove underline */

  border-radius: 999px;
  padding: 0.4rem 0.65rem;   /* bigger tap target */
  margin-left: -0.65rem;     /* keeps visual alignment */
  transition: background-color 160ms ease, color 160ms ease;
}

#media-press .press-link i{
  font-size: 1.05em;
  transition: transform 160ms ease;
}

#media-press .press-link:hover{
  color: #8f2f20;                 /* deeper on hover */
  background: rgba(178, 70, 47, 0.08);
}

#media-press .press-link:hover i{
  transform: translateX(3px);
}

#media-press .press-link:focus-visible{
  outline: 3px solid rgba(178, 70, 47, 0.35);
  outline-offset: 4px;
}

/* MEDIA & PRESS — align links to bottom of each card */
#media-press .press-card{
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Give the body text the “expand” space */
#media-press .press-card p{
  margin-bottom: 0;
  flex: 1 1 auto;
}

/* Push the link to the bottom */
#media-press .press-card .press-link{
  margin-top: 1rem;   /* spacing from text */
  align-self: flex-start;
}