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

:root { 
  --background-color: #ffffff; 
  --default-color: #4e4e4e; 
  --heading-color: #0a090f; 
  --accent-color: #2da901; 
  --surface-color: #ffffff; 
  --contrast-color: #ffffff; 
}

:root {
  --nav-color: #171717;  
  --nav-hover-color: #2da901; 
  --nav-mobile-background-color: #ffffff; 
  --nav-dropdown-background-color: #ffffff; 
  --nav-dropdown-color: #212529; 
  --nav-dropdown-hover-color: #2da901; 
}


.light-background {
  --background-color: #f9f9f9;
  --surface-color: #ffffff;
}

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

.accent-background {
  --background-color: #2da901;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --accent-color: #ffffff;
  --surface-color: #2da901;
  --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: 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 {
  --background-color: #ffffff;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 20px 0;
  transition: all 0.5s;
  z-index: 997;
}

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

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

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

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

.social-links-header.d-flex.justify-content-center a {
    display: flex!important;
    align-items: center;
    line-height: normal;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 15%;
    border: 1px solid
 color-mix(in srgb, #000000, #9f1c1c00 30%);
    font-size: 16px;
    color: color-mix(in srgb, #000000, #00000069 40%);
    margin: 0 5px;
}

@media (max-width: 1199px) {
  .social-links-header.d-flex.justify-content-center {
    display: none !important;
}
    .container-fluid.container-xl.position-relative.d-flex.align-items-center.justify-content-between {
        padding: 0 1rem;
    }
}

@media (min-width: 1199px) {
.container-fluid.container-xl.position-relative.d-flex.align-items-center.justify-content-between {
    padding: 0;
}
}


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

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

/* Мобильная навигация (до 1199px) */
@media (max-width: 1199px) {
  /* Гамбургер */
  .mobile-nav-toggle {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1001;
    font-size: 1.75rem;
    cursor: pointer;
    color: #222;
    transition: color 0.2s ease;
            line-height: 1.8;
  }
  .mobile-nav-toggle:hover {
    color: #000;
  }

    /* фон-за-меню */
  .mobile-nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
  }
  .mobile-nav-active .mobile-nav-backdrop {
    display: block;
  }

  /* Обертка меню */
   .navmenu {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 280px;               /* уже, чем full-width */
    background: #fff;
    transform: translateX(100%);/* скрываем за правым краем */
    transition: transform .3s ease;
    z-index: 999;
    padding-top: 4rem;
  }
  .mobile-nav-active .navmenu {
    transform: translateX(0);
  }

  /* Список и ссылки */
  .navmenu ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .navmenu li + li {
    margin-top: 0.5rem;
  }
  .navmenu a {
    display: block;
    padding: 0.75rem 1rem;
    font-family: var(--nav-font);
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
  }
  .navmenu a:hover,
  .navmenu a.active {
    color: #000;
  }
  /* Подчеркивание при ховере */
  .navmenu a::after {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0;
    height: 2px;
    background: #000;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
  }
  .navmenu a:hover::after,
  .navmenu a.active::after {
    transform: scaleX(1);
  }

  /* Dropdown-стрелка */
  .navmenu .dropdown > a::after {
    content: "▾";
    font-size: 0.75rem;
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
  }
  .navmenu .dropdown-active > a::after {
    transform: rotate(180deg);
  }
  .navmenu .dropdown ul {
    display: none;
    padding-left: 1rem;
    margin-top: 0.25rem;
  }
  .navmenu .dropdown-active > ul {
    display: block;
  }

i.mobile-nav-toggle.d-xl-none.bi.bi-list {
    display: none;
}
  
}
/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: #161616;
  font-size: 14px;
  padding: 40px 0;
  position: relative;
}

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

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

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

.footer .credits a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

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

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

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

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

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

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

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

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

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

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

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

.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-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 92px;
  overflow: clip;
}

img.img-fluid.rounded {
    height: 500px;
    width: 100%;
    object-fit: cover;
}

@media (max-width: 1199px) {
  img.img-fluid.rounded {
    height: 250px;
}

.header .logo img {
    padding-left: 5px;
}

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

/*--------------------------------------------------------------
# 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: 50px;
  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;
    min-height: calc(98vh - 92px);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #333;
    border-radius: var(--bs-border-radius) !important;
}

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

/* Полупрозрачный оверлей */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 2;
}

/* Внутренний блок с текстом */
.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 1200px;       /* ограничиваем ширину */
  width: 100%;
  padding: 0 1rem;         /* отступы по бокам */
  text-align: center;
  color: #fff;             /* текст белый */
}

/* Заголовок и параграф */
.hero-inner h2 {
  margin: 0;
  font-size: 64px;
  font-weight: 700;
}
.hero-inner p {
  margin: 10px 0 0;
  font-size: 36px;
  font-weight: 600;
}

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

.hero:before {
  content: "";
  background: color-mix(in srgb, #060606bf, transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

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

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

.hero p {
  margin: 5px 0 0 0;
  font-size: 36px;
  font-weight: 600;
}

.hero p span {
  letter-spacing: 1px;
  color: var(--nav-hover-color);
}

@media (max-width: 768px) {
  .hero {
margin: 0rem 1rem;
    max-width: fit-content;
}
  .hero h2 {
    font-size: 32px;
  }

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

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
#about {
  background: #fafafa;
}
.about .container {
  background-color: var(--surface-color);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin: 0 auto;
}
#about h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 1rem;
}
#about img {
  width: 100%;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: block;
}
#about p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* ================================
   Desktop Layout (≥768px)
   ================================ */
@media (min-width: 768px) {
  /* Ensure row is flex-based */
  #about .row.gy-4.align-items-center {
    display: flex;
    align-items: center;
  }
  /* Text to the right of image: add horizontal padding */
  #about .about-info {
    flex: 1;
    padding-left: 2rem;
  }
  /* Text to the left of image (philosophy): add horizontal padding */
  #about .about-me {
    flex: 1;
    padding-right: 2rem;
  }
}

textarea.form-control {
    color: #ffffff96;
}
/* ================================
   Mobile Layout (<768px)
   ================================ */
@media (max-width: 767px) {
		#about h2 {
	font-size: 1.75rem!important;
}
	section.about.section {
    padding: 2.5rem 1rem;
}
  /* Stack image and text */
  #about .row.gy-4.align-items-center {
    display: block;
    margin-bottom: 0rem;
  }
  /* Give vertical space between image and text */
  #about .about-info,
  #about .about-me {
  }
  /* Tighter container padding on small screens */
  .about .container {
    padding: 20px 1rem;
  }
}


/*--------------------------------------------------------------
# Mission Section with Background & Overlay
--------------------------------------------------------------*/
#mission {
  position: relative;
  background: url('/assets/img/mission.jpg') center/cover no-repeat;
  color: #fff;
  overflow: hidden;
  padding: 80px 0;
}

#mission::before {
  content: "";
  position: absolute;
  inset: 0;
  background:#000d01ba;
  z-index: 1;
}

#mission .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 30px 1rem;
}

#mission h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: #fff;
}

#mission p {
  font-size: 1.125rem;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
  color: #ffffffc8;
}

@media (max-width: 767px) {
  #mission {
  margin: 0rem 1rem;
    max-width: fit-content;
}
  #mission {
        padding: 0px 0;
  }
  #mission h2 {
    font-size: 1.75rem;
  }
  #mission p {
    font-size: 1rem;
  }
}

/*--------------------------------------------------------------
# Philosophy Section
--------------------------------------------------------------*/
#philosophy {
  background: #fff;
padding: 2.5rem 1rem;
}
#philosophy .container {
  padding: 30px 1rem;
  background-color: var(--surface-color);
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}
#philosophy h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  #philosophy .row {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  #philosophy .about-me {
    flex: 1;
    padding-left: 2rem;
  }
  #philosophy img {
    flex: 1;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  }
}
@media (max-width: 767px) {
	#philosophy h2 {
	font-size: 1.75rem;
}
  #philosophy .row { display: block; }
  #philosophy .about-me {
	      margin: 1rem 0rem;
  }
  #philosophy .container { padding: 20px 1rem; }
}

/*--------------------------------------------------------------
# Core Values Section
--------------------------------------------------------------*/
#values {
  position: relative;
  background: url('/assets/img/value-1.jpg') center/cover no-repeat;
  color: #fff;
  overflow: hidden;
  padding: 80px 0;
}

#values::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 81%); /* полупрозрачный чёрный оверлей */
  z-index: 1;
}

#values .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 1rem;
  text-align: center;
}

#values h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}

#values h5 {
    color: #fff;
}

#values p {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 2rem;
 color: #ffffffc8;
    max-width: 700px;
    margin: auto;
 padding: 10px 0;
}

/* Cards with semi-transparent background */
#values .card {
    background: linear-gradient(45deg, #2da90147, #2da9010d);
  border: none;
  border-radius: 0.5rem;
  box-shadow: none;
  transition: transform 0.3s ease, background 0.3s ease;
}

#values .card:hover {
  transform: translateY(-5px);
   background: linear-gradient(45deg, #ffffff47, #ffffff0d);
}

#values .card-body i {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

#values .card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

#values .card-text {
  font-size: 1rem;
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  #values {
  margin: 0rem 1rem;
    max-width: fit-content;
}
  #values {
    padding: 0px 0;
  }
	#contact {
     padding: 0px 0!important;
}
  #values .container {
    padding: 20px 1rem;
  }
  #values h2 {
    font-size: 1.75rem;
  }
  #values p {
    font-size: 1rem;
  }
}



/*--------------------------------------------------------------
# Industries Section – Grid Layout
--------------------------------------------------------------*/

.industry-card:hover .industry-img::before {
  /* Intensify overlay on hover */
  background:
   linear-gradient(45deg, black, #2da90147);
}

/* Ensure labels and content sit above overlay */
.industry-label,
.industry-content {
  position: relative;
  z-index: 2;
}

#industries {
  background: #fff;
  padding: 4rem 1rem;
}
#industries .container {
  padding: 30px 1rem;
  background-color: var(--surface-color);
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}
#industries h2{
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Карточка индустрии */
.industry-card {
  background: #f9f9f9;
  border-radius: 0.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Изображение с наложением и заголовком */
.industry-img {
  position: relative;
padding-top: 64.25%;
  background-size: cover;
  background-position: center;
}
.industry-img::before {
  content: "";
  position: absolute;
  inset: 0;
    background: linear-gradient(45deg, black, #38502f47);
}
.industry-label {
    position: absolute;
    top: 6%;
    left: 0;
    right: 0;
    padding: 0.75rem;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    /* text-align: center; */
    z-index: 2;
    border-left: 15px solid var(--accent-color);
}

/* Контент под изображением */
.industry-content {
      position: absolute;
    bottom: 0;
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
}
.industry-content p {
color: #fff;
  line-height: 1.6;
  margin-bottom: 1rem;
    z-index: 2;
}

section#industries .description {
    font-size: 1.125rem;
    line-height: 1.6;
    /* color: #fff; */
    max-width: 700px;
    margin: auto;
    text-align: center;
}

/* Responsive: одна колонка на мобилках */
@media (max-width: 767px) {
  .industry-label {
    font-size: 1.05rem;
}
  #industries {
    padding: 2.5rem 1rem;
  }
  .industry-card {
    margin-bottom: 1.5rem;
  }
}






  .industry-box {
    position: relative;
    overflow: hidden;
    min-height: 480px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  }

  .industry-box .industry-img {
    height: 76vh;
    background-size: cover;
    background-position: center;
    border-radius: 10px 10px 0 0;
  }

  .industry-box .industry-content {
    padding: 20px;
  }

  .collapse-absolute {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(358deg, black, black, transparent);
    padding: 20px;
    display: none;
    z-index: 10;
    /* border-top: 1px solid #ddd;*/
  }
  .collapse-absolute p {
color: #ffffffde;
  }

  .collapse-absolute.show {
    display: block;
  }

 .read-more-btn,
.close-btn {
    text-align: start;
    background: none;
    border: none;
    color: #2da901;
    font-size: 15px;
    font-weight: 400;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}

.read-more-btn:hover,
.close-btn:hover {
  color: #76c35a;
}


/* ==============================
   Minimalist Swiper Styles
   ============================== */

/* 1. Swiper container padding */
.industries-swiper {
padding: 3rem 0;
  position: relative;
      cursor: grab;
}

/* 2. Swiper slides spacing */
.industries-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: start;
}

/* 3. Navigation arrows */
.industries-swiper .swiper-button-prev,
.industries-swiper .swiper-button-next {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  color: var(--accent-color);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: background 0.2s ease, transform 0.2s ease;
}
.industries-swiper .swiper-button-prev:hover,
.industries-swiper .swiper-button-next:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

/* 4. Position arrows at slide edges */
.industries-swiper .swiper-button-prev { left: 0.5rem; }
.industries-swiper .swiper-button-next { right: 0.5rem; }

/* 5. Pagination bullets */
.industries-swiper .swiper-pagination {
  bottom: 0rem !important;
}
/* Move Swiper navigation buttons to the top corners */
.industries-swiper .swiper-button-prev,
.industries-swiper .swiper-button-next {
  top: 5rem;                 /* place near top */
  transform: none;           /* reset default centering transform */
}

/* Position the prev button at top-left */
.industries-swiper .swiper-button-prev {
  left: 1rem;
}

/* Position the next button at top-right */
.industries-swiper .swiper-button-next {
  right: 1rem;
}

/* Optional: slightly reduce size for a more minimalist look */
.industries-swiper .swiper-button-prev,
.industries-swiper .swiper-button-next {
  width: 2.25rem;
  height: 2.25rem;
}

/* Ensure they sit above the slides */
.industries-swiper .swiper-button-prev,
.industries-swiper .swiper-button-next {
  z-index: 10;
}
.swiper-button-next:after, .swiper-button-prev:after {
    font-family: swiper-icons;
    font-size: var(--swiper-navigation-size);
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
    font-size: 20px;
    font-weight: 900;
}

.industries-swiper .swiper-pagination-bullet {
  width: 0.75rem;
  height: 0.75rem;
  margin: 0 0.25rem !important;
  background: var(--accent-color);
  opacity: 0.3;
  transition: opacity 0.2s ease;
}
.industries-swiper .swiper-pagination-bullet-active {
  opacity: 1;
}




/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .content h3 {
  font-weight: 400;
  font-size: 34px;
}

.faq .content p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

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

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

.faq .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  margin: 0 30px 0 0;
  transition: 0.3s;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
}

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

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

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

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

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

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

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

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

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



/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
#contact {
  position: relative;
  background: url('/assets/img/hero-5.jpg') no-repeat center center/cover;
  padding: 5rem 1rem;
  color: #fff;
  margin-bottom: 60px;
}

#contact .contact-overlay {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgb(0 0 0), rgb(0 0 0 / 61%));
  z-index: 1;
}

#contact .container {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(3px);
  border-radius: 0.5rem;
  padding: 40px 2rem;
  max-width: 900px;
  margin: 0 auto;
}

#contact h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

#contact .description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
   color: #ffffffc8;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 0.375rem;
  font-size: 1rem;
  background-color: rgba(255,255,255,0.1);
  color: #fff;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.7);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent-color);
  outline: none;
  background-color: rgba(255,255,255,0.15);
	    color: #fff;
}

.contact-form .btn {
  padding: 0.75rem 2rem;
  background-color: var(--accent-color);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 0.375rem;
  transition: background-color 0.3s;
}

.contact-form .btn:hover {
  background-color: #228900;
}

@media (max-width: 767px) {
	#contact h2 {
        font-size: 1.75rem;
}
  #contact {
margin: 0rem 1rem 2.5rem 1rem;
        max-width: fit-content;
  }

  #contact .container {
    padding: 30px 1rem;
  }
}

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

.portfolio-details .swiper-wrapper {
  height: auto;
}

.portfolio-details .swiper-button-prev,
.portfolio-details .swiper-button-next {
  width: 48px;
  height: 48px;
}

.portfolio-details .swiper-button-prev:after,
.portfolio-details .swiper-button-next:after {
  color: rgba(255, 255, 255, 0.8);
  background-color: rgba(0, 0, 0, 0.15);
  font-size: 24px;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.portfolio-details .swiper-button-prev:hover:after,
.portfolio-details .swiper-button-next:hover:after {
  background-color: rgba(0, 0, 0, 0.3);
}

@media (max-width: 575px) {

  .portfolio-details .swiper-button-prev,
  .portfolio-details .swiper-button-next {
    display: none;
  }
}

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

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

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

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.portfolio-details .portfolio-info h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

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

.portfolio-details .portfolio-info ul li {
  display: flex;
  flex-direction: column;
  padding-bottom: 15px;
}

.portfolio-details .portfolio-info ul strong {
  text-transform: uppercase;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.portfolio-details .portfolio-info .btn-visit {
  padding: 8px 40px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50px;
  transition: 0.3s;
}

.portfolio-details .portfolio-info .btn-visit:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

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

.portfolio-details .portfolio-description p {
  padding: 0;
}

.portfolio-details .portfolio-description .testimonial-item {
  padding: 30px 30px 0 30px;
  position: relative;
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  margin-bottom: 50px;
}

.portfolio-details .portfolio-description .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50px;
  border: 6px solid var(--background-color);
  float: left;
  margin: 0 10px 0 0;
}

.portfolio-details .portfolio-description .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 15px 0 5px 0;
  padding-top: 20px;
}

.portfolio-details .portfolio-description .testimonial-item h4 {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
}

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

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

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

.portfolio-details .portfolio-description .testimonial-item p {
  font-style: italic;
  margin: 0 0 15px 0 0 0;
  padding: 0;
}

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

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

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

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

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

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

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

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

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

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

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

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