/**
* Template Name: Kelly
* Template URL: https://bootstrapmade.com/kelly-free-bootstrap-cv-resume-html-template/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

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

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --butter-color: #fbf4e4;
  --butter-soft-color: #fff9ed;
  --butter-deep-color: #f2e6cf;
  --seafoam-color: #b8d8c1;
  --waterline-color: rgba(28, 167, 158, 0.22);
  --background-color: var(--butter-soft-color); /* Background color for the entire website, including individual sections */
  --default-color: #5e554e; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #4f4741; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #1ca79e; /* Accent color (slightly stronger / more saturated) */
  --surface-color: #fffaf0; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #5e554e;  /* The default color of the main navmenu links */
  --nav-hover-color: #1ca79e; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: var(--butter-soft-color); /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: var(--butter-soft-color); /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #5e554e; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #34b7a7; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* 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: var(--butter-color);
  --surface-color: var(--butter-soft-color);
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

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

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background:
    radial-gradient(900px at 8% 18%, rgba(28, 167, 158, 0.08), transparent 38%),
    radial-gradient(760px at 88% 12%, rgba(184, 216, 193, 0.18), transparent 34%),
    var(--background-color);
  font-family: var(--default-font);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(106deg, transparent 0 18%, rgba(28, 167, 158, 0.045) 24%, transparent 34%),
    linear-gradient(112deg, transparent 0 52%, rgba(184, 216, 193, 0.13) 58%, transparent 70%),
    repeating-linear-gradient(168deg, transparent 0 74px, rgba(28, 167, 158, 0.035) 76px, transparent 122px);
  background-size: 130% 100%, 150% 100%, 280px 180px;
  background-position: -18% 0, 120% 0, 0 0;
  filter: blur(8px);
  opacity: 0.75;
  animation: page-breeze 34s ease-in-out infinite;
}

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);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--seafoam-color), var(--butter-color) 16%), color-mix(in srgb, var(--seafoam-color), var(--accent-color) 12%));
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
  box-shadow: 0 12px 34px rgba(79, 71, 65, 0.06);
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 32px;
  margin: 0;
  font-weight: 300;
  text-transform: uppercase;
  color: var(--heading-color);
}

.header .header-social-links {
  padding-right: 15px;
}

.header .header-social-links a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding-left: 6px;
  display: inline-block;
  transition: 0.3s;
  font-size: 16px;
}

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

.header .header-social-links a i {
  line-height: 0px;
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .header-social-links {
    order: 2;
  }

  .header .navmenu {
    order: 3;
  }
}

/*--------------------------------------------------------------
# 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>ul>li {
    white-space: nowrap;
    padding: 15px 14px;
  }

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

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    font-size: 15px;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }

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

  .navmenu>ul>li>a:before {
    content: "";
    position: absolute;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--nav-hover-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover>a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 25px;
  }

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

  .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;
  }
}

/* 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);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .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);
    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(79, 71, 65, 0.72);
    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: 58px 0 40px;
  position: relative;
  border-top: 0;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 28px;
  background:
    radial-gradient(18px 18px at 9px 23px, color-mix(in srgb, var(--seafoam-color), var(--accent-color) 18%) 58%, transparent 61%) 0 0 / 36px 28px repeat-x,
    linear-gradient(to bottom, color-mix(in srgb, var(--seafoam-color), var(--accent-color) 10%), transparent);
  opacity: 0.9;
}

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

.footer .social-links {
  margin-top: 20px;
}

.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 68%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 36%);
  margin: 0 5px;
  transition: 0.3s;
}

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

.footer .credits {
  margin-top: 10px;
  font-size: 13px;
  text-align: center;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background-color: var(--butter-soft-color);
  transition: all 0.6s ease-out;
  width: 100%;
  height: 100vh;
}

#preloader:before,
#preloader:after {
  content: "";
  position: absolute;
  border: 4px solid var(--accent-color);
  border-radius: 50%;
  animation: animate-preloader 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

#preloader:after {
  animation-delay: -0.5s;
}

@keyframes animate-preloader {
  0% {
    width: 10px;
    height: 10px;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
    opacity: 1;
  }

  100% {
    width: 72px;
    height: 72px;
    top: calc(50% - 36px);
    left: calc(50% - 36px);
    opacity: 0;
  }
}

@keyframes page-breeze {
  0% {
    background-position: -18% 0, 120% 0, 0 0;
    transform: translate3d(-1%, 0, 0);
  }
  50% {
    background-position: 88% 0, 8% 0, 90px 18px;
    transform: translate3d(1%, 0, 0);
  }
  100% {
    background-position: -18% 0, 120% 0, 0 0;
    transform: translate3d(-1%, 0, 0);
  }
}

@keyframes section-breeze {
  0% {
    background-position: -20% 0, 120% 0, center, center;
  }
  50% {
    background-position: 90% 0, 8% 0, center, center;
  }
  100% {
    background-position: -20% 0, 120% 0, center, center;
  }
}

@keyframes wind-underline {
  0%, 100% {
    transform: translateX(-5px) scaleX(0.9);
    opacity: 0.8;
  }
  50% {
    transform: translateX(5px) scaleX(1.08);
    opacity: 1;
  }
}

/*--------------------------------------------------------------
# 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 {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 25px 0;
  position: relative;
  border-bottom: 1px solid color-mix(in srgb, var(--butter-deep-color), var(--default-color) 8%);
}

.page-title h1 {
  font-size: 24px;
  font-weight: 400;
}

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

.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%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background:
    linear-gradient(105deg, transparent 0 16%, rgba(255, 255, 255, 0.28) 23%, transparent 36%),
    linear-gradient(112deg, transparent 0 62%, rgba(28, 167, 158, 0.045) 68%, transparent 78%),
    radial-gradient(720px at 9% 12%, rgba(28, 167, 158, 0.035), transparent 42%),
    var(--background-color);
  background-size: 150% 100%, 160% 100%, auto, auto;
  background-position: -20% 0, 120% 0, center, center;
  padding: 78px 0;
  scroll-margin-top: 100px;
  overflow: clip;
  animation: section-breeze 42s ease-in-out infinite;
}

@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;
  position: relative;
}

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 106px;
  height: 32px;
  background: url("data:image/svg+xml,%3Csvg width='132' height='42' viewBox='0 0 132 42' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 27C25 39 39 38 55 23C69 10 85 9 103 22C110 27 118 30 126 28' stroke='%231ca79e' stroke-width='4.5' stroke-linecap='round'/%3E%3Cpath d='M4 18C19 31 36 32 51 17C64 5 80 5 96 17' stroke='%231ca79e' stroke-width='3.6' stroke-linecap='round' opacity='0.78'/%3E%3Cpath d='M2 10C15 23 30 25 43 12' stroke='%231ca79e' stroke-width='3.2' stroke-linecap='round' opacity='0.58'/%3E%3C/svg%3E") center / contain no-repeat;
  left: 0;
  right: 0;
  bottom: -10px;
  margin: auto;
  animation: wind-underline 8s ease-in-out infinite;
}

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

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: calc(100vh - 82px);
  position: relative;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1200px) {
  .hero {
    min-height: calc(100vh - 68px);
  }
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
}

.hero p {
  margin: 10px 0 0 0;
  font-size: 24px;
  color: var(--heading-color);
}

.hero .btn-get-started {
  color: #f6f4ef; /* cream headline color */
  background: transparent;
  border: 2px solid rgba(246,244,239,0.9);
  font-family: var(--heading-font);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 50px;
  transition: 0.25s ease;
  margin-top: 30px;
}

.hero .btn-get-started:hover {
  background: rgba(246,244,239,0.12);
  color: #03383a; /* darken text slightly on hover for contrast */
  border-color: rgba(246,244,239,1);
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 18px;
  }
}

/* Discover more button (outlined aqua) */
.btn-discover {
  color: var(--accent-color);
  background: color-mix(in srgb, var(--butter-deep-color), transparent 22%);
  border: 2px solid color-mix(in srgb, var(--accent-color), transparent 18%);
  font-family: var(--heading-font);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 28px;
  border-radius: 999px 820px 920px 780px / 760px 980px 700px 940px;
  transition: 0.25s ease;
  box-shadow: 0 10px 24px rgba(79, 71, 65, 0.06);
}

.btn-discover:hover {
  background: var(--accent-color);
  color: #fff;
  border-color: var(--accent-color);
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h2 {
  font-weight: 700;
  font-size: 24px;
}

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

.about .content ul li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.about .content ul strong {
  margin-right: 10px;
}

.about .content ul i {
  font-size: 16px;
  margin-right: 5px;
  color: var(--accent-color);
  line-height: 0;
}

.about-photo {
  border-radius: 58% 42% 52% 48% / 46% 55% 45% 54%;
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(79, 71, 65, 0.12);
}

.about.section,
.faq.section,
.contact.section {
  position: relative;
}

.about.section::after,
.faq.section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 34px;
  pointer-events: none;
  background:
    radial-gradient(18px 16px at 10px 26px, color-mix(in srgb, var(--seafoam-color), var(--accent-color) 18%) 56%, transparent 58%) 0 0 / 36px 34px repeat-x,
    linear-gradient(to top, color-mix(in srgb, var(--seafoam-color), var(--butter-color) 12%), transparent 72%);
  opacity: 0.9;
}

/*--------------------------------------------------------------
# Services Section — Trade-winds background
--------------------------------------------------------------*/
.services.section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--butter-soft-color) 0%, color-mix(in srgb, var(--butter-color), var(--accent-color) 6%) 100%);
}

.services.section .container {
  position: relative; /* sit above the decorative layers */
  z-index: 3;
}

.services.section::before,
.services.section::after {
  content: "";
  position: absolute;
  inset: -10% -15% -10% -15%;
  z-index: 1;
  pointer-events: none;
  will-change: transform, background-position, opacity;
}

.services.section::before {
  /* soft, large aqua blobs inspired by trade winds */
  background-image:
    radial-gradient(closest-side at 10% 20%, rgba(28,167,158,0.18), transparent 35%),
    radial-gradient(closest-side at 90% 80%, rgba(28,167,158,0.14), transparent 30%),
    radial-gradient(closest-side at 52% 44%, rgba(242,230,207,0.7), transparent 38%);
  background-repeat: no-repeat;
  background-size: 64% 62%, 54% 50%, 62% 56%;
  background-position: -2% 12%, 100% 88%, 50% 42%;
  filter: blur(46px) saturate(128%);
  opacity: 0.92;
  transform: translate3d(0,0,0);
  animation: trade-wind-slow 38s linear infinite;
}

.services.section::after {
  background-image:
    linear-gradient(100deg, transparent 0 10%, rgba(255, 255, 255, 0.34) 16%, transparent 26%),
    linear-gradient(104deg, transparent 0 38%, rgba(28, 167, 158, 0.13) 44%, transparent 57%),
    radial-gradient(24px 16px at 12px 8px, var(--waterline-color) 48%, transparent 52%),
    linear-gradient(120deg, rgba(28,167,158,0.10) 0%, rgba(251,244,228,0.54) 48%, rgba(28,167,158,0.04) 100%);
  background-repeat: no-repeat, no-repeat, repeat-x, no-repeat;
  background-size: 180% 100%, 190% 100%, 48px 32px, 160% 120%;
  background-position: -28% 22%, 120% 62%, 0 100%, 0% 40%;
  filter: blur(16px) saturate(118%);
  opacity: 0.82;
  transform: translate3d(0,0,0);
  animation: trade-wind-swipe 46s linear infinite reverse;
}

@keyframes trade-wind-slow {
  0% { transform: translate3d(-4%, -1%, 0) skewX(-1deg); }
  50% { transform: translate3d(4%, 1%, 0) skewX(1deg); }
  100% { transform: translate3d(-4%, -1%, 0) skewX(-1deg); }
}

@keyframes trade-wind-swipe {
  0% { background-position: -28% 22%, 120% 62%, 0 100%, 0% 40%; transform: translate3d(-2%, -1%, 0); }
  50% { background-position: 92% 18%, 10% 66%, 42px 100%, 44% 48%; transform: translate3d(2%, 1%, 0); }
  100% { background-position: -28% 22%, 120% 62%, 0 100%, 0% 40%; transform: translate3d(-2%, -1%, 0); }
}

/* reduce motion & intensity on small screens */
@media (max-width: 768px) {
  .services.section::before,
  .services.section::after { opacity: 0.6; filter: blur(36px) saturate(105%); }
}


/*--------------------------------------------------------------
# Skills Section
--------------------------------------------------------------*/
.skills .progress {
  height: 60px;
  display: block;
  background: none;
  border-radius: 0;
}

.skills .progress .skill {
  color: var(--heading-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(--default-color), transparent 90%);
  height: 10px;
}

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

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-item {
  padding: 30px;
  width: 100%;
}

.stats .stats-item span {
  color: var(--heading-color);
  font-size: 48px;
  display: block;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.stats .stats-item span:after {
  content: "";
  position: absolute;
  display: block;
  width: 25px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.stats .stats-item p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 500;
}

/*--------------------------------------------------------------
# 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%;
  }
}

/*--------------------------------------------------------------
# Resume Section
--------------------------------------------------------------*/
.resume .resume-title {
  color: var(--heading-color);
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
}

.resume .resume-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid var(--accent-color);
  position: relative;
}

.resume .resume-item h4 {
  line-height: 18px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 10px;
}

.resume .resume-item h5 {
  font-size: 16px;
  padding: 5px 15px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 10px;
}

.resume .resume-item ul {
  padding-left: 20px;
}

.resume .resume-item ul li {
  padding-bottom: 10px;
}

.resume .resume-item:last-child {
  padding-bottom: 0;
}

.resume .resume-item::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50px;
  left: -9px;
  top: 0;
  background: var(--background-color);
  border: 2px solid var(--accent-color);
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  box-shadow: 0px 5px 90px 0px rgba(0, 0, 0, 0.1);
  height: 100%;
  padding: 60px 30px;
  text-align: center;
  transition: 0.3s;
  border-radius: 5px;
}

.services .service-item .icon {
  margin: 0 auto;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: ease-in-out 0.3s;
  position: relative;
}

.services .service-item .icon i {
  font-size: 36px;
  transition: 0.5s;
  position: relative;
}

.services .service-item .icon svg {
  position: absolute;
  top: 0;
  left: 0;
}

.services .service-item .icon svg path {
  transition: 0.5s;
  fill: color-mix(in srgb, var(--default-color), transparent 95%);
}

.services .service-item h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 22px;
}

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

.services .service-item:hover {
  box-shadow: 0px 5px 35px 0px rgba(0, 0, 0, 0.1);
}

.services .service-item.item-cyan i {
  color: #0dcaf0;
}

.services .service-item.item-cyan:hover .icon i {
  color: #fff;
}

.services .service-item.item-cyan:hover .icon path {
  fill: #0dcaf0;
}

.services .service-item.item-orange i {
  color: #fd7e14;
}

.services .service-item.item-orange:hover .icon i {
  color: #fff;
}

.services .service-item.item-orange:hover .icon path {
  fill: #fd7e14;
}

.services .service-item.item-teal i {
  color: #20c997;
}

.services .service-item.item-teal:hover .icon i {
  color: #fff;
}

.services .service-item.item-teal:hover .icon path {
  fill: #20c997;
}

.services .service-item.item-red i {
  color: #df1529;
}

.services .service-item.item-red:hover .icon i {
  color: #fff;
}

.services .service-item.item-red:hover .icon path {
  fill: #df1529;
}

.services .service-item.item-indigo i {
  color: #6610f2;
}

.services .service-item.item-indigo:hover .icon i {
  color: #fff;
}

.services .service-item.item-indigo:hover .icon path {
  fill: #6610f2;
}

.services .service-item.item-pink i {
  color: #f3268c;
}

.services .service-item.item-pink:hover .icon i {
  color: #fff;
}

.services .service-item.item-pink:hover .icon path {
  fill: #f3268c;
}

/* Make all service icons use the site accent (aqua) and SVG fills match.
   Keep hover behavior that sets icons to white so contrast works on hover. */
/* Target the template's icon markup (.icon-box > i) and any inline SVGs */
.services .icon-box i,
.services .icon-box .bi,
.services .icon-box svg {
  color: var(--accent-color) !important;
}

.services .icon-box svg path,
.services .icon-box svg g {
  fill: var(--accent-color) !important;
}

/* preserve hover -> white behavior */
.services .icon-box:hover i,
.services .icon-box:hover .bi,
.services .icon-box:hover svg,
.services .icon-box:hover svg path,
.services .icon-box:hover svg g {
  color: #fff !important;
  fill: #fff !important;
}

.services .icon-box {
  height: 100%;
  padding: 34px 28px;
  background: color-mix(in srgb, var(--surface-color), transparent 8%);
  border: 1px solid color-mix(in srgb, var(--butter-deep-color), var(--accent-color) 16%);
  border-radius: 30px 42px 34px 46px / 38px 30px 46px 34px;
  box-shadow: 0 18px 42px rgba(79, 71, 65, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-radius 0.25s ease;
}

.services .icon-box:hover {
  transform: translateY(-4px);
  background: var(--accent-color);
  box-shadow: 0 18px 46px rgba(28, 167, 158, 0.18);
  border-radius: 42px 30px 46px 34px / 30px 42px 34px 46px;
}

.services .icon-box i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  font-size: 28px;
  border-radius: 54% 46% 60% 40% / 48% 58% 42% 52%;
  background: color-mix(in srgb, var(--accent-color), var(--butter-soft-color) 84%);
}

.services .icon-box h4 {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 700;
}

.services .icon-box p {
  margin: 0;
}

.services .icon-box:hover h4,
.services .icon-box:hover p {
  color: var(--contrast-color);
}

.services .icon-box:hover i {
  background: rgba(255, 255, 255, 0.18);
}

.services-accordion,
.faq .accordion {
  max-width: 900px;
  margin: 0 auto;
}

.accordion-item {
  color: var(--default-color);
  background-color: var(--surface-color);
  border-color: color-mix(in srgb, var(--butter-deep-color), var(--default-color) 8%);
  border-radius: 26px !important;
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: 0 12px 30px rgba(79, 71, 65, 0.055);
}

.accordion-button {
  color: var(--heading-color);
  background-color: var(--surface-color);
  border-radius: 26px !important;
}

.accordion-button:not(.collapsed) {
  color: var(--accent-color);
  background-color: color-mix(in srgb, var(--accent-color), var(--butter-soft-color) 88%);
  box-shadow: none;
}

.accordion-button:focus {
  border-color: color-mix(in srgb, var(--accent-color), transparent 50%);
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--accent-color), transparent 80%);
}

/*--------------------------------------------------------------
# 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(--surface-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;
}

/*--------------------------------------------------------------
# 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%);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-wrap {
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--butter-deep-color), var(--accent-color) 10%);
  box-shadow: 0 18px 40px rgba(79, 71, 65, 0.08);
  padding: 30px;
  border-radius: 44px 30px 38px 34px / 32px 44px 30px 42px;
}

@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: 56% 44% 50% 50% / 46% 56% 44% 54%;
  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: 1px solid color-mix(in srgb, var(--butter-deep-color), var(--accent-color) 10%);
  box-shadow: 0 18px 40px rgba(79, 71, 65, 0.08);
  border-radius: 32px 46px 34px 40px / 42px 32px 44px 34px;
}

@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: 13px 18px;
  box-shadow: none;
  border-radius: 18px;
  color: var(--default-color);
  background-color: var(--butter-soft-color);
  border-color: color-mix(in srgb, var(--butter-deep-color), var(--default-color) 16%);
}

.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: 999px 800px 920px 780px / 820px 940px 760px 900px;
  box-shadow: 0 12px 26px rgba(28, 167, 158, 0.22);
}

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

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}

/*--------------------------------------------------------------
# Hero — Editorial CSS-only hero (layered gradients + grain)
--------------------------------------------------------------*/
.hero.section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--contrast-color);
  background: #03383a; /* fallback */
  --hero-measure: clamp(48ch, 72vw, 110ch); /* shared measure for headline + subline */
}

.hero.section .container {
  position: relative;
  z-index: 4;
  padding: 6rem 1rem;
}

.hero-title {
  font-family: var(--heading-font);
  font-weight: 700;
  /* slightly smaller headline to favour a consistent two-line wrap across viewports */
  font-size: clamp(28px, 6.5vw, 64px);
  line-height: 0.98;
  margin: 0;
  letter-spacing: 0.02em; /* loosen tracking slightly less to improve fit */
  color: #f6f4ef;
}

.hero-subline-bg {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1rem;
  background: rgba(246,244,239,0.12);
  color: rgba(246,244,239,0.95);
  border-radius: 999px;
  font-weight: 500;
  backdrop-filter: blur(4px) saturate(120%);
}

/* Reverted subline styling: no background, match headline color, no trailing punctuation */
.hero-title,
.hero.section .hero-subline {
  display: block;
  max-width: var(--hero-measure); /* constrain both to the same measure so they align */
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.hero.section .hero-subline {
  margin-top: 1rem;
  padding: 0; /* no pill background */
  background: transparent;
  color: #f6f4ef !important; /* match headline color and override vendor rules */
  border-radius: 0;
  font-weight: 600; /* slightly lighter than headline */
  font-size: clamp(16px, 2.6vw, 26px); /* reduced size for better proportion */
  letter-spacing: 0.02em; /* slightly looser to better match headline length */
  line-height: 1.08;
}

.hero.section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  filter: blur(4px) saturate(150%) contrast(116%);
  background-image:
    linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.00) 36%),
    linear-gradient(120deg, rgba(1,56,66,0.99) 0%, rgba(28,167,158,1) 42%, rgba(186,242,246,0.96) 100%),
    radial-gradient(780px at 6% 22%, rgba(126,236,217,0.40), transparent 25%),
    radial-gradient(520px at 86% 28%, rgba(112,229,255,0.34), transparent 25%),
    radial-gradient(620px at 60% 78%, rgba(142,215,235,0.30), transparent 25%);
  background-blend-mode: screen, normal, screen, screen, screen;
  background-size: 140% 140%, 150% 150%, 180% 180%, 160% 160%, 160% 160%;
  background-position: 50% 50%, 0% 50%, 10% 48%, 90% 52%, 58% 78%;
  animation: hero-wind 28s linear infinite;
  transform: translateZ(0) scale(1.01);
}

.hero.section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  /* premium granular noise: layered tiny dots + soft film grain */
  background-image:
    linear-gradient(100deg, transparent 0 16%, rgba(255,255,255,0.12) 22%, transparent 33%),
    linear-gradient(108deg, transparent 0 58%, rgba(186,242,246,0.11) 64%, transparent 76%),
    radial-gradient(rgba(0,0,0,0.022) 0.9px, transparent 0.9px),
    radial-gradient(rgba(255,255,255,0.012) 0.6px, transparent 0.6px),
    repeating-linear-gradient(180deg, rgba(0,0,0,0.004) 0 1px, transparent 1px 8px),
    radial-gradient(rgba(255,255,255,0.01) 1px, transparent 1.2px);
  background-size: 180% 100%, 210% 100%, 3px 3px, 6px 6px, 30px 30px, 100px 100px;
  background-position: -60% 0, 140% 0, 0 0, 0 0, 0 0, 0 0;
  opacity: 0.36; /* lighter grain */
  /* subtle vignette to lift center */
  box-shadow: inset 0 120px 220px rgba(0,0,0,0.06), inset 0 -120px 220px rgba(0,0,0,0.04);
  /* tiny parallax drift on the grain for wind sensation */
  box-shadow: inset 0 120px 220px rgba(0,0,0,0.06), inset 0 -120px 220px rgba(0,0,0,0.04), inset 0 200px 260px rgba(255,255,255,0.02);
  animation: hero-gust 20s ease-in-out infinite;
}

.hero.section .container::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -28px;
  width: min(520px, 76vw);
  height: 34px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 249, 237, 0.22), transparent 72%);
  pointer-events: none;
}

/* Wind + grain animations (very subtle) */

@keyframes hero-wind {
  0% {
    background-position: 50% 50%, 0% 50%, 10% 48%, 90% 52%, 58% 78%;
  }
  50% {
    background-position: 48% 50%, 12% 50%, 22% 48%, 78% 52%, 62% 78%;
  }
  100% {
    background-position: 50% 50%, 0% 50%, 10% 48%, 90% 52%, 58% 78%;
  }
}

@keyframes hero-gust {
  0% {
    background-position: -60% 0, 140% 0, 0 0, 0 0, 0 0, 0 0;
    transform: translate3d(-1%, 0, 0);
  }
  50% {
    background-position: 80% 0, 12% 0, 8px 0, -6px 0, 0 10px, 18px 0;
    transform: translate3d(1%, 0, 0);
  }
  100% {
    background-position: -60% 0, 140% 0, 0 0, 0 0, 0 0, 0 0;
    transform: translate3d(-1%, 0, 0);
  }
}

@keyframes grain-drift {
  0% { transform: translate3d(-3px, 0, 0); }
  100% { transform: translate3d(3px, 0, 0); }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  body::before,
  section,
  .section,
  .section-title h2:after,
  .services.section::before,
  .services.section::after,
  .hero.section::before,
  .hero.section::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 767px) {
  .hero.section .container { padding: 4rem 1rem; }
  /* mobile: ensure headline scales down and wraps to two lines reliably */
  .hero-title { font-size: clamp(22px, 9.5vw, 44px); letter-spacing: 0.01em; }
  .hero.section .hero-subline { letter-spacing: 0.008em; }
}
