/* 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: "Poppins",  sans-serif;
  --nav-font: "Raleway",  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 { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */

    --heading-color: #2C3E50; /* Color for headings, subheadings and title throughout the website */

  --accent-color: #0068C1; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* 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. */
  --btn-color:  #FAF3B2  ;
  --hover-yellow: #F7E58C; 
}

/* 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: #2C3E50;  /* The default color of the main navmenu links */
  /*--nav-hover-color: #D92B04;  Applied to main navmenu links when they are hovered over or active */
  --nav-hover-color: #0068C1; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #2C3E50; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #0068C1; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
   /* --nav-dropdown-hover-color: #D92B04; 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: #f1f7fc;
  --surface-color: #ffffff;
}

.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-color: var(--background-color);
  font-family: var(--default-font);
}

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

a:hover {
  color: var(--heading-color);
  text-decoration: none;
}

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

h2{
  font-weight: 600;
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  transition: all 0.5s;
  z-index: 997;
  background-color: var(--background-color);
}

.header .topbar {
  background-color: var(--accent-color);
  height: 40px;
  padding: 0;
  font-size: 14px;
  transition: all 0.5s;
}

.header .topbar .contact-info i {
  font-style: normal;
  color: var(--contrast-color);
}

.header .topbar .contact-info i a,
.header .topbar .contact-info i span {
  padding-left: 5px;
  color: var(--contrast-color);
}

@media (max-width: 575px) {

  .header .topbar .contact-info i a,
  .header .topbar .contact-info i span {
    font-size: 13px;
  }
}

.header .topbar .contact-info i a {
  line-height: 0;
  transition: 0.3s;
}

.header .topbar .contact-info i a:hover {
  color: var(--contrast-color);
  text-decoration: underline;
}

.header .topbar .social-links a {
  color: color-mix(in srgb, var(--contrast-color), transparent 40%);
  line-height: 0;
  transition: 0.3s;
  margin-left: 20px;
}

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

.header .branding {
  min-height: 60px;
  padding: 10px 0;
}

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

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

.header .logo h1 {
  font-size: 18px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .cta-btn,
.header .cta-btn:focus {
 display: inline-block;
  color: var(--contrast-color); /* білий текст */
  background: #FF4500; /* яскравий помаранчево-червоний */
  border: 2px solid #FF4500;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 25px;
  margin-left: 30px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(255, 69, 0, 0.6);
  transition: background 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
    max-width: 90%; /* опціонально — обмежити ширину */
 
  margin: 0 auto; /* центрування */
}

.header .cta-btn:hover,
.header .cta-btn:focus:hover {
  color: var(--contrast-color);
  background: #E03E00; /* трохи темніший насичений */
  border-color: #E03E00;
  box-shadow: 0 6px 20px rgba(224, 62, 0, 0.8);
  transform: scale(1.1);
}



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

  .header .cta-btn {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

.scrolled .header .topbar {
  height: 0;
  visibility: hidden;
  overflow: hidden;
}

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

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

}

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

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

  .mobile-nav-active .mobile-nav-toggle {
    color: #ffffff;
    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);
  font-size: 14px;
  border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 75%);
}

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

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo span.sitename {
  color: var(--heading-color);
  font-family: var(--heading-font, sans-serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer .footer-about p,
.footer .footer-contact p {
  font-size: 14px;
  margin-bottom: 5px;
  font-family: var(--heading-font, sans-serif);
}

.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: all 0.3s;
}

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

.footer .footer-links h4 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 12px;
}

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

.footer .footer-links ul li {
  padding: 10px 0;
}

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

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer .newsletter-input-group {
  display: flex;
  width: 100%;
  max-width: 100%;
}

.footer .newsletter-input-group .form-control {
  flex-grow: 1;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.footer .newsletter-btn {
  background-color: var(--accent-color) !important;
  color: var(--contrast-color) !important;
  border: none;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  padding: 0 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.footer .newsletter-btn:hover {
  background-color: var(--heading-color) !important;
  color: var(--contrast-color) !important;
}

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

.footer .copyright .sitename {
  font-weight: bold;
}


/*--------------------------------------------------------------
# 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: 40px;
  height: 40px;
  border-radius: 4px;
  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;
}

/*--------------------------------------------------------------
# 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);
  position: relative;
}

.page-title .heading {
  padding: 40px 0;
  border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--accent-color), transparent 94%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

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

.page-title nav 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-color: var(--background-color);
  padding: 50px 0;
  scroll-margin-top: 72px;
  overflow: clip;
 
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 60px;
  }
}
.main{
   min-height: 50
   vh;
}
/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 30px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 20px;
  padding-bottom: 20px;
  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 {
  position: relative;
  width: 100%;
  /* min-height: 100vh; */
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero .hero-swiper {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.hero .hero-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* 🔽 en dessous des flèches */
  pointer-events: none;
   background: color-mix(in srgb, var(--heading-color), transparent 40%);

}
/* Contenu au-dessus du fond */
.hero .container {
  position: relative;
  z-index: 3;
  padding-top: 80px;
  padding-bottom: 80px;
}

/* Welcome */
.hero .welcome h2 {
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
}

.hero .welcome p {
  font-size: 24px;
  color: #ffffff;
}

/* Content */
.hero .content .why-box {
  color: var(--contrast-color);
  background: var(--accent-color);
  padding: 30px;
  border-radius: 4px;
}

.hero .why-box h3 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--contrast-color);
}

.hero .why-box p {
  margin-bottom: 30px;
}

.hero .more-btn {
   color: var(--contrast-color);
  background: color-mix(in srgb, var(--contrast-color), transparent 80%);
  display: inline-block;
  padding: 6px 30px 8px 30px;
  border-radius: 50px;
  transition: all ease-in-out 0.4s;
}

.hero .more-btn:hover {
  background: var(--surface-color);
  color: var(--accent-color);
}

/* Icon Boxes */
.hero .icon-box {
  text-align: center;
   background: color-mix(in srgb, var(--surface-color), transparent 20%);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.hero .icon-box i {
  font-size: 40px;
  color: var(--accent-color);
}

.hero .icon-box h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 15px 0;
  
}

.hero .icon-box p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}
.hero .swiper-button-prev,
.hero .swiper-button-next {
  top: 50%;
  transform: translateY(-50%);
  color: #ffffff;
  z-index: 2;
}
/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
  font-size: 2rem;
  font-weight: 700;
}

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

.about .content ul li {
  display: flex;
  align-items: flex-start;
  margin-top: 40px;
}

.about .content ul i {
  flex-shrink: 0;
  font-size: 48px;
  color: var(--accent-color);
  margin-right: 20px;
}

.about .content ul h5 {
  font-size: 18px;
  font-weight: 700;
}

.about .content ul p {
  font-size: 15px;
}

.about .content p:last-child {
  margin-bottom: 0;
}
.about .about-image-grid {
  position: relative;
  height: 540px;
  margin: 0 2rem;
}

.about .about-image-grid .img-grid-main {
  position: absolute;
  top: 0;
  right: 0;
  width: 70%;
  height: 350px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.about .about-image-grid .img-grid-secondary {
  position: absolute;
  bottom: 0;
  right: 30%;
  width: 50%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.about .about-image-grid .img-grid-tertiary {
  position: absolute;
  left: 0;
  bottom: 70px;
  width: 40%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  z-index: 3;
}

.about .about-image-grid .experience-badge {
  position: absolute;
  right: 10px;
  bottom: 30px;
  width: 120px;
  height: 120px;
  background: var(--btn-color);
 border: 2px solid var(--accent-color); 
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 4;
}

.about .about-image-grid .experience-badge .years {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.2rem;
}

.about .about-image-grid .experience-badge .text {
  font-size: 0.8rem;
  text-align: center;
  max-width: 90px;
  line-height: 1.2;
}

@media (max-width: 1199px) {
 .about .about-image-grid {
    height: 480px;
  }

  .about.about-image-grid .img-grid-main {
    height: 300px;
  }

  .about .about-image-grid .img-grid-secondary {
    height: 200px;
  }

 .about .about-image-grid .img-grid-tertiary {
    height: 220px;
  }
}
/* Основна кнопка з бордером */
.plus-btn {
    font-size: 16px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 50px;
    border: 2px solid var(--accent-color);  
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    color: var(--accent-color);
    background: var(--btn-color);
    box-shadow: 0 4px 8px rgba(44, 62, 80, 0.15);
    transition: background-color 0.4s ease, color 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.plus-btn:hover,
.plus-btn:focus {
    background: var(--hover-yellow);
    color: var(--accent-color);
    border-color: var(--accent-color); /* бордер залишається */
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(247, 229, 140, 0.5);
    outline: none;
}

/* Світла кнопка */
.btn-secondary {
    font-size: 16px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 50px;
    border: 2px solid var(--accent-color);
    background: transparent;
    color: var(--accent-color);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    box-shadow: none;
    transition: background-color 0.4s ease, color 0.4s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: rgba(0, 104, 193, 0.1);
    border-color: var(--accent-color);
    color: var(--accent-color);
    box-shadow: 0 4px 12px rgba(0, 104, 193, 0.25);
    transform: scale(1.03);
    outline: none;
}

.text-center .plus-btn {
    display: inline-block; /* S'assurer que le bouton s'affiche correctement */
 
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats i {
  color: var(--contrast-color);
  background: var(--accent-color);
  box-shadow: 0px 2px 12px rgba(44, 62, 80, 0.15);
  width: 60px;
  height: 60px;
  font-size: 26px;
  border-radius: 50%;
  border: 2px solid var(--accent-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s, border-color 0.3s;
  margin-bottom: 10px; /* Додано відступ, щоб іконка не торкалась блоку */
}

.stats i:hover {
  /* background: var(--hover-yellow);
  border-color: var(--hover-yellow); */
  box-shadow: 0 4px 16px rgba(44, 62, 80, 0.25);
  transform: scale(1.1) rotate(5deg);
}

.stats .stats-item {
  background-color: var(--surface-color);
  padding: 35px 30px 28px 30px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0px 4px 40px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  z-index: 0;
  transition: box-shadow 0.3s;
  margin-top: 0; /* Відмінено негативний margin */
}

.stats .stats-item:hover {
  box-shadow: 0px 6px 45px rgba(0,0,0,0.12);
}

.stats .stats-item span {
  font-size: 34px;
  display: block;
  margin: 12px 0;
  font-weight: 700;
  color: var(--heading-color);
}

.stats .stats-item p {
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 16px;
  color: var(--default-color);
}


.projets {
  overflow: hidden;
}

.projets .nav-tabs {
  border: 0;
}

.projets .nav-item:not(:last-child) {
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.projets .nav-link {
  position: relative;
  border: 0;
  padding: 12px 15px;
  font-weight: 600;
  font-size: 16px;
  color: var(--default-color);
  border-right: 2px solid transparent;
  transition: all 0.3s ease;
  background: transparent;
}

.projets .nav-link.active,
.projets .nav-link:hover {
  color: var(--accent-color);
  background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
}

.projets .nav-link.active::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 0;
  height: 100%;
  width: 4px;
  background-color: var(--accent-color);
  border-radius: 2px;
}

.projets .tab-pane.active {
  animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/*--------------------------------------------------------------
# Projets Section
--------------------------------------------------------------*/
.projets .details h3 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
}

.projets .details p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.projets .details p:last-child {
  margin-bottom: 0;
}

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

.projets .img-fluid:hover {
  transform: scale(1.05);
}
.projets .nav-link i {
  margin-right: 8px;
}
/* Responsive */
@media (max-width: 992px) {
  .projets .nav-tabs {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    border-bottom: 1px solid #ddd;
  }

  .projets .nav-link {
    flex: 1 0 auto;
    text-align: center;
    border-right: none;
    border-bottom: 2px solid transparent;
    padding: 15px;
  }

  .projets .nav-link.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
    background-color: #f1f7fc;
  }
}
.projet-link {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  color: var(--accent-color);
  font-weight: 500;
  text-decoration: none;
}

.projet-link i {
  font-size: 1.2em;
  margin-left: 4px;
}

.projet-link:hover {
  text-decoration: underline;
}
/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .swiper-wrapper {
  display: flex;
  height: auto !important;
}

.team .team-slider {
  display: flex;
  position: relative;
  padding: 20px 0 60px;
}

.team .team-slider .swiper-pagination {
  bottom: 0;
}

.team .team-slider .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 70%);
  opacity: 1;
  margin: 0 5px;
  transition: 0.3s;
}

.team .team-slider .swiper-pagination .swiper-pagination-bullet-active {
  width: 30px;
  border-radius: 5px;
  background-color: var(--accent-color);
}

.team .team-slider .swiper-button-prev,
.team .team-slider .swiper-button-next {
  width: 40px;
  height: 40px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  border-radius: 50%;
  color: var(--contrast-color);
  transition: 0.3s;
}

.team .team-slider .swiper-button-prev:after,
.team .team-slider .swiper-button-next:after {
  font-size: 16px;
}

.team .team-slider .swiper-button-prev:hover,
.team .team-slider .swiper-button-next:hover {
  background-color: var(--accent-color);
}

.team .team-card {
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
  background-color: var(--surface-color);
  height: 100%;
}

.team .team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.team .team-card:hover .team-overlay {
  opacity: 1;
  visibility: visible;
}

/* Блок для фото з фіксованим співвідношенням сторін 1:1 */
.team .team-image,
.team .team-image-placeholder {
  width: 100%;
  aspect-ratio: 1/1; /* квадратна форма */
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.team .team-image img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* показує фото повністю, без обрізки */
  background-color: #f8f9fa; /* заповнює порожні поля */
  transition: transform 0.6s ease;
}

.team .team-image-placeholder {
  font-size: 48px;
  font-weight: bold;
  color: #6c757d;
}

.team .team-card:hover .team-image img {
  transform: scale(1.05);
}

.team .team-image .team-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.team .team-image .social-links {
  display: flex;
  gap: 15px;
}

.team .team-image .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--accent-color);
  border-radius: 50%;
  color: var(--contrast-color);
  font-size: 16px;
  transition: 0.3s;
}

.team .team-image .social-links a:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  transform: translateY(-5px);
}

.team .team-content {
  padding: 20px;
  text-align: center;
  flex-grow: 1;
}

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

.team .team-content span {
  display: block;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 15px;
}

.team .team-content p {
  font-size: 14px;
  margin-bottom: 0;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
}

@media (max-width: 991px) {
  .team .team-card {
    margin-bottom: 20px;
  }
}


/*--------------------------------------------------------------
# Partenaires Section
--------------------------------------------------------------*/
.partenaires .swiper-slide img {
  opacity: 0.5;
  transition: 0.3s;
  filter: grayscale(100);
}

.partenaires .swiper-slide img:hover {
  filter: none;
  opacity: 1;
}

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

.partenaires .swiper-pagination {
  padding-top: 40px;
  
  position: relative;
}

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

.partenaires .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--btn-color);
}
/*--------------------------------------------------------------
# Actions Section
--------------------------------------------------------------*/
.actions article {
  background: var(--surface-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  overflow: hidden;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.actions article:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.actions .post-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.actions article:hover .post-img img {
  transform: scale(1.05);
}

.actions .post-category {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  color: var(--accent-color);
  margin: 10px 0;
}

.actions .title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;

 
}

.actions .title a {
  color: var(--heading-color);
  text-decoration: none;
}

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

.actions .post-date {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.6);
}
/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .service-box {
  background-color: var(--surface-color);
  padding: 20px;
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
}

.service-details .service-box+.service-box

{
  margin-top: 30px;
}

.service-details .service-box h4

{
  font-size: 20px;
  font-weight: 700;
  border-bottom: 2px solid color-mix(in srgb, var(--default-color), transparent 92%);
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.service-details .services-list {
  background-color: var(--surface-color);
}

.service-details .services-list a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  display: flex;
  align-items: center;
  padding: 12px 15px;
  margin-top: 15px;
  transition: 0.3s;
}

.service-details .services-list a:first-child {
  margin-top: 0;
}

.service-details .services-list a i {
  font-size: 16px;
  margin-right: 8px;
  color: var(--accent-color);
}

.service-details .services-list a.active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

.service-details .services-list a.active i {
  color: var(--contrast-color);
}

.service-details .services-list a:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  color: var(--accent-color);
}

.service-details .download-catalog a {
  color: var(--default-color);
  display: flex;
  align-items: center;
  padding: 10px 0;
  transition: 0.3s;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.service-details .download-catalog a:first-child {
  border-top: 0;
  padding-top: 0;
}

.service-details .download-catalog a:last-child {
  padding-bottom: 0;
}

.service-details .download-catalog a i {
  font-size: 24px;
  margin-right: 8px;
  color: var(--accent-color);
}

.service-details .download-catalog a:hover {
  color: var(--accent-color);
}

.service-details .help-box {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  margin-top: 30px;
  padding: 30px 15px;
}

.service-details .help-box .help-icon {
  font-size: 48px;
}

.service-details .help-box h4,
.service-details .help-box a {
  color: var(--btn-color);
}

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

.service-details h3 {
  font-size: 26px;
  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);
}

.sommaire{
  background-color: var(--surface-color);
  padding: 20px;
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);}

.service-details .card-horizontal {
  display: flex;
  flex-direction: column;

  background-color: var(--surface-color);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
}


.latest-actions-sidebar .action-card-sidebar {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.latest-actions-sidebar .action-card-sidebar:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.latest-actions-sidebar .post-img img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.latest-actions-sidebar .title a {
  color: var(--default-color, #333);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.latest-actions-sidebar .title a:hover {
  color: var(--accent-color, #007bff);
}

.latest-actions-sidebar .post-date {
  font-size: 13px;
  color: #777;
}

.latest-actions-sidebar .card-description {
  font-size: 14px;
  color: #555;
  line-height: 1.4;
}

.service-details .card-horizontal {
  display: flex;
  flex-direction: column; 
  background-color: var(--surface-color);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
}

.service-details .card-horizontal .post-img {
  flex: 0 0 40%;
  max-width: 40%;
}

.service-details .card-horizontal .post-img img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
  margin: 0;
}

.service-details .card-horizontal .card-body {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


@media (max-width: 767px) {
  .service-details .card-horizontal {
    flex-direction: column; 
  }

  .service-details .card-horizontal .post-img {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .service-details .card-horizontal .post-img img {
    height: auto; 
  }

  .service-details .card-horizontal .card-body {
    padding: 15px;
  }
}

.service-details .title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}


/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
  .floating-label-group {
    position: relative;
    margin-bottom: 1.5rem;
  }

  .floating-label-group input,
  .floating-label-group textarea {
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    padding: 1rem 0.75rem 0.25rem;
    width: 100%;
    font-size: 1rem;
    background-color: transparent;
    transition: border-color 0.2s;
  }

  .floating-label-group input:focus,
  .floating-label-group textarea:focus {
    outline: none;
    border-color: #0d6efd;
  }

  .floating-label-group label {
    position: absolute;
    top: 1rem;
    left: 0.75rem;
    font-size: 1rem;
    color: #6c757d;
    transition: all 0.2s;
    pointer-events: none;
  }

  .floating-label-group input:focus + label,
  .floating-label-group input:not(:placeholder-shown) + label,
  .floating-label-group textarea:focus + label,
  .floating-label-group textarea:not(:placeholder-shown) + label {
    top: 0.25rem;
    font-size: 0.75rem;
    color: var(--accent-color);
  }

/*--------------------------------------------------------------
# Actions Section
--------------------------------------------------------------*/
.actions article {
  background-color: var(--surface-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
}

.actions .post-img {
  max-height: 240px;
  margin: -30px -30px 15px -30px;
  overflow: hidden;
  flex-shrink: 0; }

.actions .title {
  flex-grow: 1;
  line-height: 1.3;
  word-wrap: break-word;
  overflow: visible;  
}


/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.about .about-content h3 {
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.about .about-content p {
  margin-bottom: 30px;
}

.about .about-content .timeline {
  position: relative;
  margin-top: 40px;
  padding-left: 30px;
}

.about .about-content .timeline:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 70%);
}

.about .about-content .timeline .timeline-item {
  position: relative;
  margin-bottom: 30px;
}

.about .about-content .timeline .timeline-item:last-child {
  margin-bottom: 0;
}

.about .about-content .timeline .timeline-item .timeline-dot {
  position: absolute;
  left: -35px;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--accent-color);
}

.about .about-content .timeline .timeline-item .timeline-content h4 {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--heading-color);
}

.about .about-content .timeline .timeline-item .timeline-content p {
  margin-bottom: 0;
}

.about .about-image {
  position: relative;
}

.about .about-image img {
  width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about .about-image .mission-vision {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 768px) {
  .about .about-image .mission-vision {
    grid-template-columns: 1fr;
  }
}

.about .about-image .mission-vision .mission,
.about .about-image .mission-vision .vision {
  background-color: var(--surface-color);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.about .about-image .mission-vision .mission h3,
.about .about-image .mission-vision .vision h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
  position: relative;
  padding-left: 15px;
}

.about .about-image .mission-vision .mission h3:before,
.about .about-image .mission-vision .vision h3:before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 20px;
  background-color: var(--accent-color);
  border-radius: 3px;
}

.about .about-image .mission-vision .mission p,
.about .about-image .mission-vision .vision p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.values .core-values {
  margin-top: 30px;
}

.values .core-values h3 {
  font-size: 1.8rem;
  font-weight: 700;
}

.values .core-values .value-card {
  background-color: var(--surface-color);
  padding: 30px 20px;
  border-radius: 10px;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.values .core-values .value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.values .core-values .value-card .value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color:  var(--btn-color);
  border: 2px solid var(--accent-color); 
  margin-bottom: 20px;
}

.values .core-values .value-card .value-icon i {
  font-size: 32px;
  color: var(--accent-color);
}

.values .core-values .value-card h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.values .core-values .value-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Reviews Section
--------------------------------------------------------------*/
.reviews .swiper-wrapper {
  display: flex;
}

.reviews .swiper-slide {
  display: flex;
  height: auto !important;
}

.reviews .review-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  width: 100%;
    background: linear-gradient(135deg, var(--surface-color) 0%, color-mix(in srgb, var(--surface-color), var(--accent-color) 2%) 100%);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.reviews .review-item:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 12px 24px rgba(13, 110, 253, 0.15);
  border-color: rgba(13, 110, 253, 0.4);
}
/* Заголовок з логотипом */
.reviews .review-header {
  background: #f8f9fa;
  text-align: center;
  padding: 2rem 1rem 1.5rem;
}

.reviews .review-header img {
  height: 80px;
  width: auto;
  object-fit: contain;
 
  padding: 5px;
  max-width: 100%;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 0;
}

/* Тіло */
.reviews .review-body {
  padding: 0 30px 20px;
}

.reviews .review-body p {
  font-size: 1rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
  font-style: italic;
  text-align: center;
  position: relative;
}


.reviews .review-body p::before {
  top: -5px;
  left: -10px;
}

.reviews .review-body p::after {
  bottom: -20px;
  right: -5px;
}
/* Футер */
.reviews .review-footer {
  text-align: center;
  padding: 0 1.5rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.reviews .review-footer h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--bs-dark);
  margin-bottom: 0.25rem;
}

.reviews .review-footer .review-date {
  font-size: 0.8rem;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

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


.reviews .quote-icon {
  color: var(--heading-color);
  opacity: 0.5;
}

/* Swiper кнопки */
.reviews .swiper-navigation {
  position: relative;
  margin-top: 25px;
  display: flex;
  justify-content: flex-end;
}

.reviews .swiper-button-prev,
.reviews .swiper-button-next {
  position: static;
  width: 45px;
  height: 45px;
  margin: 0 10px;
  background: var(--btn-color);
  border: 2px solid var(--accent-color);
  border-radius: 50%;
  color:var(--accent-color);
  font-size: 16px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}


.reviews .swiper-button-prev:hover,
.reviews .swiper-button-next:hover {
  background: var(--hover-yellow);
  transform: scale(1.05);
}

.reviews .swiper-button-prev::after,
.reviews .swiper-button-next::after {
  font-size: 16px;
  font-weight: 600;
}



@media (max-width: 1199px) {
  .reviews .review-item .review-header {
    padding: 25px 25px 15px;
  }

  .reviews .review-item .review-header img {
    width: 70px;
    height: 70px;
  }

  .reviews .review-item .review-body,
  .reviews .review-item .review-footer {
    padding-left: 25px;
    padding-right: 25px;
  }
}

@media (max-width: 991px) {
  .reviews .review-item {
    margin-bottom: 30px;
  }
}

@media (max-width: 767px) {
  .reviews .review-item .review-header {
    padding: 20px 20px 10px;
  }

  .reviews .review-item .review-header img {
    width: 60px;
    height: 60px;
  }

  .reviews .review-item .review-body {
    padding: 0 20px 15px;
  }

  .reviews .review-item .review-body p {
    font-size: 0.95rem;
  }

  .reviews .review-item .review-footer {
    padding: 15px 20px 20px;
  }

  .reviews .review-item .review-footer h5 {
    font-size: 1rem;
  }

  .reviews .review-item .review-footer span {
    font-size: 0.8rem;
  }

  .reviews .review-item .review-footer .quote-icon {
    font-size: 1.3rem;
    bottom: 10px;
    right: 15px;
  }

  .reviews .swiper-button-prev,
  .reviews .swiper-button-next {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .reviews .swiper-button-prev::after,
  .reviews .swiper-button-next::after {
    font-size: 14px;
  }
}
/*--------------------------------------------------------------
# Finance Section
--------------------------------------------------------------*/
.finance .about-image-grid {
  position: relative;
  height: 540px;
  margin: 0 2rem;
}

.finance .about-image-grid .img-grid-main {
  position: absolute;
  top: 0;
  right: 0;
  width: 70%;
  height: 350px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.finance .about-image-grid .img-grid-secondary {
  position: absolute;
  bottom: 0;
  right: 30%;
  width: 50%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.finance .about-image-grid .img-grid-tertiary {
  position: absolute;
  left: 0;
  bottom: 70px;
  width: 40%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  z-index: 3;
}

.finance .about-image-grid .experience-badge {
  position: absolute;
  right: 10px;
  bottom: 30px;
  width: 120px;
  height: 120px;
  background: var(--btn-color);
 border: 2px solid var(--accent-color); 
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 4;
}

.finance .about-image-grid .experience-badge .years {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.2rem;
}

.finance .about-image-grid .experience-badge .text {
  font-size: 0.8rem;
  text-align: center;
  max-width: 90px;
  line-height: 1.2;
}

@media (max-width: 1199px) {
  .finance .about-image-grid {
    height: 480px;
  }

  .finance .about-image-grid .img-grid-main {
    height: 300px;
  }

  .finance .about-image-grid .img-grid-secondary {
    height: 200px;
  }

  .finance .about-image-grid .img-grid-tertiary {
    height: 220px;
  }
}
/*--------------------------------------------------------------
# Don Section
--------------------------------------------------------------*/
.don-moyens .don-moyens-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.don-moyens .don-cards-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 576px) {
  .don-moyens .don-cards-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

.don-moyens .don-card {
  background-color: var(--surface-color);
  padding: 20px;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.don-moyens .don-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.don-moyens .don-card .icon-box {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.don-moyens .don-card .icon-box i {
  font-size: 22px;
  color: var(--accent-color);
}

.don-moyens .don-card .don-text h4 {
 
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--heading-color);
}

.don-moyens .don-card .don-text p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--default-color);
  margin-bottom: 0;
}
.btn-rib {
    font-size: 16px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 50px;
    border: 2px solid var(--accent-color);
    background: transparent;
    color: var(--accent-color);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    box-shadow: none;
    transition: background-color 0.4s ease, color 0.4s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.btn-rib:hover,
.btn-rib:focus {
    background: rgba(0, 104, 193, 0.1);
    border-color: var(--accent-color);
    color: var(--accent-color);
    box-shadow: 0 4px 12px rgba(0, 104, 193, 0.25);
    transform: scale(1.03);
    outline: none;
}
/*--------------------------------------------------------------
# Pourquai Section
--------------------------------------------------------------*/

.pourquoi-donner {
  padding: 80px 0;
  background-color: var(--background-color);
}
.pourquoi-donner.about-image {
  height: 100%;
  min-height: 400px;
  overflow: hidden;
}

.pourquoi-donner .about-image .cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 10px;
}



.pourquoi-donner .about-content {
  padding-left: 20px;
   padding-right: 20px;
}

@media (max-width: 992px) {
  .pourquoi-donner .about-content {
    padding-left: 0;
    margin-top: 30px;
  }
}

.pourquoi-donner .about-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
}

.pourquoi-donner .about-content h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--heading-color);
}


.pourquoi-donner .about-content p {
  margin-bottom: 1rem;
  color: var(--default-color);
  font-size: 0.95rem;
}

.pourquoi-donnert .features-row {
  margin: 2rem 0;
}

.pourquoi-donner .feature-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}

.pourquoi-donner .feature-item .icon {
  font-size: 2.2rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.pourquoi-donner .feature-item .icon i {
  transition: transform 0.3s ease;
}

.pourquoi-donner .feature-item .icon:hover i {
  transform: translateY(-5px);
}

.pourquoi-donner .feature-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--heading-color);
}

.pourquoi-donner .feature-item p {
  font-size: 0.9rem;
  color: var(--default-color);
}
/*--------------------------------------------------------------
# Comment aider  Section
--------------------------------------------------------------*/
.comment-aider .service-card, .besoins-urgents .service-card{
  height: 100%;
  padding: 30px;
  background: var(--surface-color);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.comment-aider .service-card:hover, .besoins-urgents .service-card:hover {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
}

.comment-aider.service-card:hover .icon, .besoins-urgents .service-card:hover .icon {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.comment-aider .service-card .icon, .besoins-urgents .service-card .icon {
  width: 60px;
  height: 60px;
  margin-right: 30px;
  background:  var(--btn-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--accent-color);
  border: 2px solid var(--accent-color); 
  font-size: 28px;
  transition: all 0.3s ease;
  line-height: 1;
}

.comment-aider .service-card h3, .besoins-urgents .service-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
}

.comment-aider.service-card p, .besoins-urgents .service-card p {
  margin-bottom: 0;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  font-size: 15px;
  line-height: 1.6;
}

/*--------------------------------------------------------------
# Besoins  Section
--------------------------------------------------------------*/
.accordion-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.accordion-button {
  background-color: #f9f9f9;
  color: #333;
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background-color 0.2s ease;
}

.accordion-button:hover {
  background-color: var(--btn-color);
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  background-color: var(--hover-yellow);
  color: var();
  border-bottom: 1px solid #dee2e6;
}

.accordion-body {
  background-color: white;
  padding: 1rem 1.25rem;
  color: #444;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Icône Bootstrap à gauche */
.accordion-button i {
  font-size: 1.3rem;
  color: var(--accent-color);
  transition: transform 0.2s ease;
}

.accordion-button:not(.collapsed) i {
  transform: rotate(90deg);
}

/* Responsive spacing (optionnel) */
@media (max-width: 768px) {
  .accordion-button {
    font-size: 0.95rem;
  }
}

/* Liste stylisée des étapes de don */
.besoins-urgents .don-steps {
  padding-left: 0;
  font-size: 15px;
  color: var(--default-color);
  line-height: 1.8;
  list-style: none;
}

.besoins-urgents .don-steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.besoins-urgents .don-steps li i {
  font-size: 16px;
  color: var(--accent-color);
  margin-top: 4px;
  flex-shrink: 0;
}

.besoins-urgents .don-steps li span {
  display: inline-block;
}

.besoins-urgents .don-steps a {
  color: var(--accent-color);
  font-weight: 500;
  text-decoration: none;
}

.besoins-urgents .don-steps a:hover {
  text-decoration: underline;
}
/*--------------------------------------------------------------
# S’engager  Section
--------------------------------------------------------------*/
.why-choose-us {
  padding: 80px 0;
  background-color: var(--background-color);
}


/* --- ICONES --- */
.why-choose-us .features-list .feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.8rem;
  transition: transform 0.3s ease;
}

.why-choose-us .features-list .feature-item:hover {
  transform: translateX(8px);
}

.why-choose-us .feature-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
   color: var(--accent-color);
    background: var(--btn-color);
    border: 2px solid var(--accent-color); 
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-right: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

.why-choose-us .feature-item:hover .feature-icon {
  transform: scale(1.1) rotate(8deg);
  background: var(--hover-yellow);
  
}

.why-choose-us .feature-text h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--heading-color);
}

.why-choose-us .feature-text p {
  font-size: 0.95rem;
  color: var(--default-color);
}


.why-choose-us .about-image-grid {
  position: relative;
  height: 540px;
  margin: 0 2rem;
}

.why-choose-us .about-image-grid .img-grid-main {
  position: absolute;
  top: 0;
  right: 0;
  width: 70%;
  height: 350px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.why-choose-us .about-image-grid .img-grid-secondary {
  position: absolute;
  bottom: 0;
  right: 30%;
  width: 50%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.why-choose-us .about-image-grid .img-grid-tertiary {
  position: absolute;
  left: 0;
  bottom: 70px;
  width: 40%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  z-index: 3;
}

.why-choose-us .about-image-grid .experience-badge {
  position: absolute;
  right: 10px;
  bottom: 30px;
  width: 120px;
  height: 120px;
  background: var(--btn-color);
 border: 2px solid var(--accent-color); 
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 4;
}

.why-choose-us.about-image-grid .experience-badge .years {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.2rem;
}

.why-choose-us .about-image-grid .experience-badge .text {
  font-size: 0.8rem;
  text-align: center;
  max-width: 90px;
  line-height: 1.2;
}
/*--------------------------------------------------------------
# Recherchons des bénévoles  Section
--------------------------------------------------------------*/
.competences .competences-card {
  background-color: var(--surface-color);
  padding: 30px 20px;
  border-radius: 10px;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.competences .competences-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.competences .competences-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--btn-color);
  border: 2px solid var(--accent-color);
  margin-bottom: 20px;
}

.competences .competences-icon i {
  font-size: 32px;
  color: var(--accent-color);
}

.competences .competences-card h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.competences .competences-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}
/*--------------------------------------------------------------
# Règlement intérieur  Section
--------------------------------------------------------------*/

.application-steps {
  background-color: var(--surface-color);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.steps-wrapper {
  position: relative;
}

.steps-wrapper:before {
  content: "";
  position: absolute;
  left: 23px;
  top: 15px;
  height: calc(100% - 30px);
  width: 2px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 70%);
}

.step-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
  position: relative;
}

.step-item:last-child {
  margin-bottom: 0;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.step-content h4 {
  color: var(--heading-color);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.step-content p {
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 0;
}

/* Права колонка – інформація */
.requirements-card {
  background-color: var(--surface-color);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.requirements-card h3 {
  color: var(--heading-color);
  margin-bottom: 1rem;
}

.requirements-card p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.requirements-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.requirements-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.8rem;
}

.requirements-list li i {
  color: var(--accent-color);
  margin-right: 10px;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.requirements-list li span {
  font-size: 0.95rem;
}


.download-btn {
    font-size: 16px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 50px;
    border: 2px solid var(--accent-color);  
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    color: var(--accent-color);
    background: var(--btn-color);
    box-shadow: 0 4px 8px rgba(44, 62, 80, 0.15);
    transition: background-color 0.4s ease, color 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.download-btn:hover,
.download-btn:focus {
    background: var(--hover-yellow);
    color: var(--accent-color);
    border-color: var(--accent-color); /* бордер залишається */
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(247, 229, 140, 0.5);
    outline: none;
}
/* Головний контейнер - горизонтальна картка */
.requirements-card.horizontal-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 1.5rem;
  height: 100%;
}

/* Фото */
.requirements-card.horizontal-card .card-image {
  flex: 0 0 250px; /* ширина фото */
  display: flex;
  align-items: center;
  justify-content: center;
}

.requirements-card.horizontal-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* фото не спотворюється */
  border-radius: 10px;
}

/* Контент */
.requirements-card.horizontal-card .card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Вирівнювання кнопки вниз */
.requirements-card.horizontal-card .text-center {
  margin-top: auto;
}

/* Адаптивність */
@media (max-width: 768px) {
  .requirements-card.horizontal-card {
    flex-direction: column;
  }
  .requirements-card.horizontal-card .card-image {
    flex: 0 0 auto;
    width: 100%;
    max-height: 250px;
  }
  .requirements-card.horizontal-card .card-image img {
    height: auto;
  }
}
/*--------------------------------------------------------------
# Flash
--------------------------------------------------------------*/
.flash-container {
  position: relative;
  margin: 2rem auto;
  max-width: 800px;
  width: 90%;
  z-index: 1000;
}

.flash-message {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
  padding: 1rem 3rem 1rem 1.25rem; /* Права відступ для кнопки */
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  opacity: 1;
  animation: fadeInUp 0.4s ease;
  transition: opacity 0.5s ease;
}



/* Типи повідомлень */
.alert-success {
  background: linear-gradient(135deg, #d1f0e0, #b6e2d3);
  color: #146c43;
  border-left: 4px solid #198754;
}

.alert-danger {
  background: linear-gradient(135deg, #f8d7da, #f5c2c7);
  color: #b02a37;
  border-left: 4px solid #dc3545;
}

.alert-info {
  background: linear-gradient(135deg, #cff4fc, #b6effb);
  color: #0c5460;
  border-left: 4px solid #0dcaf0;
}

.alert-warning {
  background: linear-gradient(135deg, #fff3cd, #ffecb5);
  color: #856404;
  border-left: 4px solid #ffc107;
}


/* Анімації */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

  /*--------------------------------------------------------------
  # Actions
  --------------------------------------------------------------*/
.allactions article.actions {
  background: var(--surface-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  overflow: hidden;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.allactions article.actions:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.allactions .post-img img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s ease;
  border-radius: 8px;
}

.allactions article.actions:hover .post-img img {
  transform: scale(1.05);
}

.allactions .post-category {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  color: var(--accent-color);
  margin: 10px 0;
}

.allactions .title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-clamp: 2; /* Ajout de la propriété standard */
}

.allactions .title a {
  color: var(--heading-color);
  text-decoration: none;
}

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

.allactions .card-description {
  flex-grow: 1;
  margin-bottom: 10px;
  color: rgba(0,0,0,0.7);
  font-size: 14px;
  line-height: 1.4;
  overflow: hidden;
}

.allactions .post-date {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.6);
}
  /*--------------------------------------------------------------
  # Action-content
  --------------------------------------------------------------*/
/* Основний блок */
.action-content-section {
  margin-top: 2rem;
}

/* Велика картинка */
.action-content-section .main-image-wrapper {
  max-height: 550px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.action-content-section .main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.4s ease;
}

.action-content-section .main-image:hover {
  transform: scale(1.03);
}

/* Прев’ю справа */
.action-content-section .thumb-image {
  max-height: 180px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.action-content-section .thumb-image:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Для мобільних: прев’ю під картинкою */
.thumbs-swiper .swiper-slide img {
  max-height: 90px;
  object-fit: cover;
  border-radius: 6px;
}

/* Текст */
.action-content-section .action-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
  margin-top: 1.5rem;
}

/* Відео */
.action-content-section .action-video iframe {
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Адаптивність */
@media (max-width: 991px) {
  .action-content-section .main-image-wrapper {
    max-height: 400px;
  }

  .action-content-section .thumb-image {
    max-height: 80px;
  }
}
/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-play-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.pulsating-play-btn:hover:after {
  border-left: 15px solid var(--accent-color);
  transform: scale(20);
}

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}
/*--------------------------------------------------------------
# Error Pages (404 / 500) – centered & bigger (FIXED)
--------------------------------------------------------------*/
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 100px 0;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--accent-color), transparent 92%),
    color-mix(in srgb, var(--btn-color), transparent 70%)
  );
}

.error-wrap {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.error-card {
  background: var(--surface-color);
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
  overflow: hidden;
}

.error-left {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: color-mix(in srgb, var(--accent-color), transparent 94%);
  text-align: center;
  padding: 28px 18px;
}

/*--------------------------------------------------------------
# Error code (BIG) – yellow + blue frame (no conflicts)
--------------------------------------------------------------*/
.error-code {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: clamp(120px, 18vw, 220px);
  line-height: 0.95;

  /* Жовта заливка */
 color: var(--accent-color);

  /* Повітря */
  padding: 26px 36px 18px;
  margin-top: 12px;
  text-align: center;

  
  border-radius: 18px;
}
.error-code::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 14px auto 8px;
  border-radius: 999px;
  background: var(--accent-color);
}
/*--------------------------------------------------------------
# Left labels & status text pill
--------------------------------------------------------------*/
.error-label {
  margin-top: 10px;
  font-family: var(--nav-font);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
  text-align: center;
}


.error-status-text {
  margin-top: 14px;
  max-width: 420px;

  font-family: var(--nav-font);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.65;

  color: color-mix(in srgb, var(--default-color), transparent 18%);
  text-align: center;

  padding: 10px 16px;
  border-radius: 999px;

  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 82%);
}

/*--------------------------------------------------------------
# Right content (center option supported)
--------------------------------------------------------------*/
.error-content {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.error-title {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: clamp(28px, 3vw, 38px);
  margin-bottom: 14px;
  color: var(--heading-color);
}

.error-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
}

/* If you add text-center on .error-content */
.error-content.text-center {
  align-items: center;
  text-align: center;
}

.error-content.text-center .error-text {
  max-width: 520px;
}

/* Buttons */
.error-actions {
  margin-top: 28px;
  text-align: center;
}

.error-actions .plus-btn,
.error-actions .btn-secondary {
  margin-right: 12px;
  margin-bottom: 12px;
}

/*--------------------------------------------------------------
# Cat illustration + glow + hover breathe
--------------------------------------------------------------*/
.error-illustration {
  position: relative; /* needed for glow */
  display: flex;
  justify-content: center;
  align-items: center;
}

.error-illustration img {
  width: min(320px, 80%);
  height: auto;
  transform-origin: center;

  filter:
    drop-shadow(0 18px 28px rgba(0,0,0,.18))
    saturate(0.92)
    brightness(1.04)
    contrast(0.96);
}

/* soft accent glow behind cat */
.error-illustration::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 120px;
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  filter: blur(40px);
  z-index: -1;
}

/* Hover breathing only on cat */
.error-cat img {
  will-change: transform, filter;
  transition: filter .25s ease;
}

@keyframes cat-breathe {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-6px) scale(1.02); }
}

.error-cat:hover img {
  animation: cat-breathe 1.8s ease-in-out infinite;
  filter: drop-shadow(0 22px 34px rgba(0,0,0,.22));
}

/* Disable hover animation on touch devices */
@media (hover: none) {
  .error-cat:hover img { animation: none; }
}

/*--------------------------------------------------------------
# Mobile
--------------------------------------------------------------*/
@media (max-width: 767px) {
  .error-left {
    min-height: 240px;
    padding: 22px 14px;
  }

  .error-code {
    padding: 22px 26px 18px;
    font-size: clamp(96px, 22vw, 160px);
  }

  .error-status-text {
    font-size: 0.95rem;
    max-width: 100%;
  }

  .error-illustration img {
    width: min(240px, 90%);
  }

  .error-content {
    text-align: center;
    align-items: center;
  }

  .error-content .error-text {
    max-width: 520px;
  }
}
