/*
Theme Name: Sofyaware
Theme URI: https://sofyaware.com
Author: Sofyaware B.V.
Author URI: https://sofyaware.com
Description: Corporate theme for Sofyaware B.V. — AI-powered business automation (Rabomat platform). Visual language faithfully recreates the "Soften home-02" SaaS landing template (colors, fonts, layout, imagery).
Version: 2.0.0
Requires at least: 5.9
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: sofyaware
*/

/* ==========================================================================
   0. Icon font (flaticon_mycollection)
   ========================================================================== */
@font-face {
  font-family: "flaticon_mycollection";
  src: url("assets/fonts/flaticon_mycollection.woff2") format("woff2"),
       url("assets/fonts/flaticon_mycollection.woff") format("woff"),
       url("assets/fonts/flaticon_mycollection.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
.flaticon {
  font-family: flaticon_mycollection !important;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  line-height: 1;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.flaticon-social-media-marketing:before { content: "\f103"; }
.flaticon-pen-tablet:before { content: "\f10a"; }
.flaticon-3d-model:before { content: "\f115"; }
.flaticon-customer-service:before { content: "\f11c"; }
.flaticon-quote:before { content: "\f124"; }
.flaticon-email:before { content: "\f12c"; }
.flaticon-office:before { content: "\f133"; }
.flaticon-support:before { content: "\f135"; }

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
  --themeht-primary-color: #EE2A7B;      /* pink  */
  --themeht-primary-color2: #F9CE34;     /* yellow */
  --themeht-primary-color3: #6228D7;     /* purple */
  --themeht-body-color: #75727B;
  --themeht-text-color: #16072F;         /* heading dark purple */
  --themeht-white-color: #FFFFFF;
  --themeht-bg-dark-color: #0F171B;
  --themeht-bg-light-color: #F8FAFC;
  --themeht-border-light-color: #E1E1E1;
  --c-light: #F8FAFC;

  --grad: linear-gradient(115deg, var(--themeht-primary-color2), var(--themeht-primary-color), var(--themeht-primary-color3));

  --grad-hero:
    radial-gradient(75vw 75vh at 0px 0px, #DBFDFE, transparent),
    radial-gradient(75vw 75vh at 100% 0px, #EE2A7B, transparent),
    radial-gradient(75vw 75vh at 100% 100%, #F9CE34, transparent),
    radial-gradient(75vw 75vh at 0px 100%, #6228D7, transparent);

  --grad-section:
    radial-gradient(75vw 75vh at 0px 0px, #DBFDFE, transparent),
    radial-gradient(75vw 75vh at 100% 0px, #DBFEFF, transparent),
    radial-gradient(75vw 75vh at 100% 100%, #ECB0E6, transparent),
    radial-gradient(75vw 75vh at 0px 100%, #FFF0FB, transparent);

  --font-head: 'Syne', sans-serif;
  --font-body: 'Heebo', sans-serif;

  --shadow: 0 10px 35px 0 rgba(93, 72, 223, .08);
  --logo-height: 30px;
}

/* ==========================================================================
   2. Base & typography
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 30px;
  font-weight: 400;
  color: var(--themeht-body-color);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; vertical-align: middle; }
a { text-decoration: none; color: inherit; transition: color .3s ease; }
ul { list-style: none; }
p { margin: 0 0 15px; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--themeht-text-color);
  margin: 0 0 15px;
  font-weight: 700;
  line-height: 1.25;
}
h1, .h1 { font-size: 70px; line-height: 80px; font-weight: 700; }
h2, .h2 { font-size: 46px; line-height: 56px; font-weight: 700; }
h3, .h3 { font-size: 34px; line-height: 44px; font-weight: 600; }
h4, .h4 { font-size: 26px; line-height: 36px; font-weight: 600; }
h5, .h5 { font-size: 24px; line-height: 34px; font-weight: 600; }
h6, .h6 { font-size: 20px; line-height: 30px; font-weight: 600; }

/* Prevent long unbroken strings (emails, URLs, long titles) from overflowing the viewport. */
h1, h2, h3, h4, h5, h6, p, li, a { overflow-wrap: break-word; }

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 15px;
}
.lead { font-weight: normal; font-size: 17px; line-height: 30px; }
.lead p { margin-bottom: 0; }

.text-center { text-align: center; }
.list-unstyled { padding-left: 0; margin: 0; list-style: none; }
.list-inline { padding-left: 0; list-style: none; }
.list-inline-item { display: inline-block; }

.box-shadow { box-shadow: var(--shadow); }
.rounded { border-radius: 20px !important; }

.text-grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ==========================================================================
   3. Buttons
   ========================================================================== */
.themeht-btn,
a.themeht-btn {
  position: relative;
  display: inline-block;
  padding: 10px 25px;
  border-radius: 50px;
  border: none;
  background-image: var(--grad);
  background-size: 150% 100%;
  color: var(--themeht-white-color);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.5;
  cursor: pointer;
  transition: background-position .4s ease-in-out, background .3s ease;
}
.themeht-btn:hover,
.themeht-btn:focus,
a.themeht-btn:hover,
a.themeht-btn:focus {
  color: var(--themeht-white-color);
  background-position: 100% 0;
}
.themeht-btn.dark-btn {
  background: var(--themeht-bg-dark-color);
  background-image: none;
  color: var(--themeht-white-color);
}
.themeht-btn.dark-btn:hover,
.themeht-btn.dark-btn:focus {
  background: var(--themeht-primary-color);
  color: var(--themeht-white-color);
}

/* Button row helper — consistent gap + wrap for paired buttons. */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

/* ==========================================================================
   4. Header
   ========================================================================== */
.header {
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 999;
  padding: 20px 0;
  transition: all .3s ease;
}
.header.fixed-header {
  background-color: #fff;
  box-shadow: var(--shadow);
  transition: all 500ms ease;
  animation-name: smoothScroll;
  animation-duration: 500ms;
  animation-timing-function: linear;
  animation-iteration-count: 1;
}
.header.fixed-header .main-nav .menu {
  background: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}
@keyframes smoothScroll {
  0% { transform: translateY(-40px); }
  100% { transform: translateY(0); }
}
.ht-navigation {
  flex-wrap: nowrap;
  justify-content: flex-start;
  position: relative;
  display: flex;
  align-items: center;
}
.navbar-brand.logo { padding: 0; margin: 0; }
.logo-lockup {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  gap: 10px;
}
.logo-lockup .logo-mark {
  height: 64px;
  width: auto;
  object-fit: contain;
  display: block;
}
.logo-lockup .logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1;
  color: #14417A;
  letter-spacing: 0;
  white-space: nowrap;
  transform: translateY(2px);
}
.navigation-top { flex: 1 1 auto; display: flex; justify-content: center; }

.main-nav .menu {
  flex-direction: row;
  display: flex;
  margin: 0;
  padding: 7px 20px;
  background: #fff;
  box-shadow: 0 10px 35px 0 rgba(0,0,0,.1);
  border-radius: 50px;
  backdrop-filter: blur(10px);
}
.main-nav li { position: relative; list-style-type: none; }
.main-nav > ul > li { margin: 0 15px; }
.main-nav > ul > li > a {
  font-weight: 600;
  color: var(--themeht-text-color);
  display: block;
  font-family: var(--font-head);
  font-size: 16px;
  line-height: 1.4;
  padding: 8px 0;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li.current-menu-item > a,
.main-nav > ul > li.current-menu-parent > a { color: var(--themeht-primary-color); }
.main-nav > ul > li.menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  margin-left: 6px;
  vertical-align: middle;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform .2s ease;
}
.main-nav > ul > li.menu-item-has-children:hover > a::after { transform: rotate(180deg); }
.main-nav ul.sub-menu {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 120%;
  left: 0;
  z-index: 99999;
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  margin: 0;
  box-shadow: var(--shadow);
  min-width: 260px;
  transition: all .5s ease-in-out;
}
.main-nav ul li:hover > ul.sub-menu { top: 100%; opacity: 1; visibility: visible; }
.main-nav .sub-menu li a {
  font-weight: 400;
  font-size: 15px;
  line-height: 1;
  display: block;
  white-space: nowrap;
  padding: 10px 0;
  color: var(--themeht-text-color);
}
.main-nav .sub-menu li a:hover { color: var(--themeht-primary-color); padding-left: 10px; }
.main-nav .sub-menu .menu-group-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--themeht-text-color);
  padding: 12px 0 8px;
  border-bottom: 1px solid rgba(20, 65, 122, 0.12);
  margin-bottom: 6px;
}
.main-nav .sub-menu .menu-group-title a {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--themeht-text-color);
  padding: 0;
}
.main-nav .sub-menu .menu-group-title a:hover { color: var(--themeht-primary-color); padding-left: 0; }
.main-nav ul.sub-menu--wide {
  display: flex;
  gap: 30px;
  min-width: 560px;
  padding: 24px 28px;
}
.main-nav ul.sub-menu--wide > li.sub-col {
  width: 50%;
}
.main-nav ul.sub-menu--wide > li.sub-col + li.sub-col {
  padding-left: 30px;
  border-left: 1px solid rgba(20, 65, 122, 0.12);
}
.main-nav .sub-col-list {
  margin: 0;
  padding: 0;
}
.main-nav .sub-col-list li {
  list-style-type: none;
}
.main-nav .sub-col-list li a {
  font-weight: 400;
  font-size: 15px;
  line-height: 1;
  display: block;
  white-space: nowrap;
  padding: 10px 0;
  color: var(--themeht-text-color);
}
.main-nav .sub-col-list li a:hover { color: var(--themeht-primary-color); padding-left: 10px; }

.right-nav { align-items: center; display: flex; justify-content: flex-end; gap: 10px; margin-left: auto; }

.ht-nav-toggle {
  position: relative;
  display: flex;
  cursor: pointer;
  width: 60px;
  height: 60px;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-shadow: 0 10px 35px 0 rgba(0,0,0,.1);
  border-radius: 50%;
  border: none;
  padding: 0;
}
.ht-nav-toggle span {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 2px;
  background: var(--themeht-primary-color);
  transition: all .2s ease-out;
}
.ht-nav-toggle span::before,
.ht-nav-toggle span::after {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--themeht-primary-color);
  position: absolute;
  left: 0;
  transition: .1s;
}
.ht-nav-toggle span::before { top: -7px; }
.ht-nav-toggle span::after { bottom: -7px; left: auto; right: 0; }
.menu-show .ht-nav-toggle span { background: transparent; }
.menu-show .ht-nav-toggle span::before,
.menu-show .ht-nav-toggle span::after { background: transparent; }

.lang-switcher { display: flex; gap: 6px; align-items: center; }
.lang-switcher a { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--themeht-text-color); display: inline-flex; align-items: center; gap: 3px; }
.lang-switcher a:hover { color: var(--themeht-primary-color); }
.lang-switcher .lang-caret { font-size: 11px; line-height: 1; }
.search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 10px 35px 0 rgba(0,0,0,.1);
  color: var(--themeht-text-color);
  font-size: 20px;
  cursor: pointer;
}
.search-toggle:hover { color: var(--themeht-primary-color); }

/* Search overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity .3s ease, visibility .3s ease;
}
.search-overlay.open { visibility: visible; opacity: 1; }
.search-overlay-bg {
  position: absolute;
  inset: 0;
  background: rgba(20, 65, 122, 0.97);
}
.search-overlay-inner {
  position: relative;
  width: min(720px, 90vw);
  z-index: 1;
}
.search-close {
  position: absolute;
  top: -80px;
  right: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.search-close:hover { background: rgba(255, 255, 255, 0.25); transform: rotate(90deg); }
.search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 18px;
}
.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.5px;
}
.search-input::placeholder { color: rgba(255, 255, 255, 0.55); }
.search-submit {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--themeht-primary-color);
  font-size: 24px;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.search-submit:hover { transform: scale(1.06); }
@media (max-width: 767px) {
  .search-input { font-size: 24px; }
  .search-close { top: -64px; }
}

/* ==========================================================================
   5. Hero (banner-2)
   ========================================================================== */
.banner-2 { padding: 150px 0 300px; position: relative; overflow: hidden; }
.banner-2-text { margin-top: 80px; }
.banner-2 .hero-subtitle {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  color: var(--themeht-text-color);
  margin-top: -0.5rem;
  margin-bottom: 1.75rem;
}
.banner-2 .hero-line-2 { white-space: nowrap; }
.banner-2 h1 { margin-bottom: 1.5rem; }
.banner-2 h1 .text-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.banner-2 .lead { margin-bottom: 3rem; }
.banner-2 .banner-img {
  position: absolute;
  right: -10%;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  padding: 0;
}
.banner-2 .banner-img img { width: 100%; border-radius: 20px; }

.grediant-bg2 { background-image: var(--grad-hero); }
.grediant-bg { background-image: var(--grad-section); }
.grediant-bg3 { background: var(--grad); }

.wave-shape { position: absolute; bottom: 0; left: 0; right: 0; }

.video-btn { position: relative; display: inline-block; }
.video-btn-pos { position: absolute; left: 50%; top: 50%; margin-top: -50px; margin-left: -50px; z-index: 99; }
.video-btn.is-play { background-color: var(--themeht-primary-color); border-radius: 50%; width: 100px; height: 100px; }
.video-btn.is-play .video-btn-outer-circle {
  background: var(--themeht-primary-color);
  border-radius: 50%;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  height: 100%; width: 100%;
}
.video-btn.is-play .video-btn-icon {
  position: absolute;
  top: 50%; left: 50%;
  width: 30px; height: 30px;
  transform: translate(-50%, -50%);
}
.video-btn-icon svg { fill: #fff; }
.video-btn-icon svg path { stroke: var(--themeht-primary-color2); }

/* ==========================================================================
   6. Section titles
   ========================================================================== */
.theme-title h6 {
  position: relative;
  display: inline-block;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-size: 20px;
  line-height: 30px;
}
.theme-title h2 { margin-bottom: 0; }
.theme-title p { margin-bottom: 0; margin-top: 15px; }
.theme-title.center { text-align: center; }

/* ==========================================================================
   7. Featured items
   ========================================================================== */
.featured-item {
  padding: 40px 30px;
  position: relative;
  border-radius: 50px;
  overflow: hidden;
  z-index: 9;
  background: #fff;
  box-shadow: var(--shadow);
}
.featured-item .featured-icon { display: inline-block; position: relative; margin-bottom: 30px; }
.featured-item .featured-icon i {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
  font-size: 50px;
  line-height: 50px;
}
.featured-item.style-3 .featured-icon i {
  -webkit-text-fill-color: inherit;
  border-radius: 50%;
  background: var(--grad);
  background-size: 150% 100%;
  color: #fff;
  width: 80px;
  height: 80px;
  line-height: 80px;
  font-size: 40px;
  text-align: center;
  transition: border-radius .4s ease-in-out, background-position .4s ease-in-out;
}
.featured-item.style-3:hover .featured-icon i { border-radius: 20px; background-position: 100% 0; }
.featured-item .featured-title h5 { margin: 0 0 10px; }
.featured-item .featured-desc p { margin: 0; }

/* ==========================================================================
   8. Marquee
   ========================================================================== */
.marquee-wrap { width: 100%; position: relative; overflow: hidden; display: block; }
.marquee-text {
  animation: marquee 50s linear infinite;
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  white-space: nowrap;
}
.marquee-text span {
  font-size: 80px;
  line-height: 1;
  font-weight: 600;
  font-family: var(--font-head);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.marquee-text i {
  font-size: 40px;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  margin: 0 30px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ==========================================================================
   9. Service items
   ========================================================================== */
.service-item.style-2 {
  position: relative;
  z-index: 9;
  padding: 40px;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  height: 100%;
}
.service-item .service-top { display: flex; align-items: center; }
.service-item.style-2 .service-images { flex-shrink: 0; width: 100px; margin-right: 15px; }
.service-item.style-2 .service-images img { width: 100%; }
.service-item.style-2 h4 { margin-bottom: 0; }
.service-item.style-2 .service-desc p { margin: 20px 0; }
.service-item .service-btn {
  width: 40px;
  height: 40px;
  display: flex;
  background: var(--grad);
  background-size: 150% 100%;
  border-radius: 100%;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 20px;
  position: relative;
  border: none;
  transition: background-position .4s ease-in-out;
}
.service-item .service-btn:hover,
.service-item .service-btn:focus { color: #fff; background-position: 100% 0; }

/* ==========================================================================
   10. Team members
   ========================================================================== */
.team-member { position: relative; text-align: center; }
.team-member .team-images { position: relative; overflow: hidden; border-radius: 20px; }
.team-member img { width: 100%; display: block; border-radius: 20px; }
.team-member .team-desc { padding: 20px 20px 0; text-align: center; width: 100%; position: relative; z-index: 9; }
.team-member .team-desc span { color: var(--themeht-text-color); font-weight: 400; }
.team-member .team-desc h5 { margin: 0; text-transform: capitalize; font-weight: 500; }
.team-member .team-social-icon {
  display: inline-block;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(-100%, 0, 0);
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 500;
  transition: all .3s ease;
}
.team-member:hover .team-social-icon { opacity: 1; visibility: visible; transform: translate3d(0, 0, 0); }
.team-member .team-social-icon ul { padding: 0; margin: 0; }
.team-member .team-social-icon ul li { list-style-type: none; margin-bottom: 10px; }
.team-member .team-social-icon ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #fff;
  color: var(--themeht-text-color);
  border-radius: 50%;
  font-size: 16px;
  box-shadow: var(--shadow);
}
.team-member .team-social-icon ul li a:hover { background: var(--grad); color: #fff; }

/* ==========================================================================
   11. Price tables
   ========================================================================== */
.price-table {
  padding: 50px 30px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: #fff;
  box-shadow: var(--shadow);
  height: 100%;
}
.price-header { display: flex; align-items: center; justify-content: space-between; }
.price-title { font-size: 26px; line-height: 36px; font-weight: 600; margin-bottom: 0; }
.price-value { display: flex; align-items: flex-end; margin: 10px 0 20px; }
.price-value h2 {
  font-size: 50px;
  line-height: 50px;
  font-weight: 600;
  color: var(--themeht-text-color);
  margin-bottom: 0;
  display: inline-block;
}
.price-value h2 sup { font-size: 26px; line-height: 24px; color: var(--themeht-body-color); font-weight: normal; }
.price-value h2.price-word { font-size: 34px; line-height: 44px; font-weight: 600; }
.price-value span { font-size: 16px; color: var(--themeht-body-color); margin-left: 5px; }
.price-icon { max-width: 40%; }
.price-icon img { width: 100%; }
.price-table > p { margin: 0 0 25px; }
.price-list { margin-bottom: 25px; }
.price-list ul li {
  position: relative;
  display: flex;
  margin-bottom: 20px;
  align-items: center;
}
.price-list ul li:last-child { margin-bottom: 0; }
.price-list li i { color: var(--themeht-primary-color); line-height: 20px; font-size: 20px; margin-right: 10px; }

/* ==========================================================================
   12. Testimonials
   ========================================================================== */
.testimonial {
  position: relative;
  padding: 30px;
  border-radius: 20px;
  background: #fff;
  margin-left: 20px;
  box-shadow: var(--shadow);
  height: 100%;
}
.testimonial p { font-size: 17px; line-height: 30px; font-weight: 400; margin: 30px 0; position: relative; }
.testimonial .testimonial-caption { z-index: 9; position: relative; }
.testimonial .testimonial-caption label { margin-bottom: 0; font-weight: 500; color: var(--themeht-text-color); display: block; }
.testimonial .testimonial-caption h5 { color: var(--themeht-primary-color); display: inline-block; margin-bottom: 10px; }
.testimonial .testimonial-quote i {
  position: relative;
  display: inline-block;
  z-index: 9;
  color: var(--themeht-primary-color);
  font-size: 70px;
  line-height: 1;
  opacity: .2;
}
.testimonial.style-1 .testimonial-img {
  border-radius: 20px;
  position: relative;
  display: inline-block;
  width: 80px;
  height: 80px;
  margin-left: -50px;
}
.testimonial.style-1 .testimonial-img::before {
  content: "";
  background: var(--themeht-text-color);
  width: 140px;
  height: 1px;
  position: absolute;
  top: 50%;
  margin-top: -1px;
  z-index: 99;
  left: 60px;
}
.testimonial-img img { border-radius: 20px !important; position: relative; z-index: 9; width: 100%; height: 100%; object-fit: cover; }
.testimonial-media { display: flex; align-items: center; justify-content: space-between; }
.testi-title { margin-bottom: 30px; }
.testimonial-row { margin-top: 70px; }

/* ==========================================================================
   13. Post cards
   ========================================================================== */
.post-card { position: relative; }
.post-card .post-image { overflow: hidden; position: relative; border-radius: 20px; }
.post-card .post-image img { width: 100%; border-radius: 20px; transition: transform .5s ease; }
.post-card:hover .post-image img { transform: scale(1.05); }
.post-card .post-desc { padding-top: 30px; }
.post-card .post-desc h4 { margin: 0 0 15px; text-transform: capitalize; word-break: break-word; }
.post-card .post-desc h4 a { color: var(--themeht-text-color); display: inline-block; }
.post-card .post-desc h4 a:hover { color: var(--themeht-primary-color); }
.post-meta { margin-bottom: 15px; }
.post-meta li { color: var(--themeht-body-color); font-size: 15px; margin-right: 15px; }
.post-meta li i { color: var(--themeht-primary-color); margin-right: 5px; }
.post-meta li a { color: var(--themeht-body-color); }
.post-meta li a:hover { color: var(--themeht-primary-color); }

/* ==========================================================================
   14. Section spacing helpers
   ========================================================================== */
.sec-title-pad { padding: 50px 0 30px; }
.sec-cards-pad { padding: 0 0 120px; }
.sec-about-pad { padding: 100px 0 120px; }
.sec-services-pad { padding: 70px; border-radius: 20px; }
.sec-team-title-pad { padding: 120px 0 30px; }
.sec-team-cards-pad { padding: 0 0 120px; }
.sec-testi-pad { padding: 120px 0; }
.sec-blog-title-pad { padding: 0 0 30px; }
.sec-blog-cards-pad { padding: 0 0 75px; }

.light-bg {
  background-color: var(--themeht-bg-light-color);
  background-image: url("assets/img/pricing-bg.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 120px 0;
}

/* ==========================================================================
   15. Contact section
   ========================================================================== */
.contact-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 50px;
  max-width: 720px;
  margin: 0 auto;
}
.contact-card .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-card .form-field { display: flex; flex-direction: column; }
.contact-card .form-field.full { grid-column: 1 / -1; }
.contact-card label { font-family: var(--font-head); font-weight: 600; color: var(--themeht-text-color); margin-bottom: 8px; font-size: 15px; }
.contact-card input,
.contact-card textarea {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--themeht-text-color);
  border: 1px solid var(--themeht-border-light-color);
  border-radius: 10px;
  padding: 12px 16px;
  width: 100%;
  transition: border-color .3s ease;
}
.contact-card input:focus,
.contact-card textarea:focus { border-color: var(--themeht-primary-color); outline: none; }
.contact-card textarea { height: 190px; resize: vertical; }
.contact-card input[type="submit"] {
  background-image: var(--grad);
  background-size: 150% 100%;
  color: #fff;
  border: none;
  font-family: var(--font-head);
  font-weight: 600;
  cursor: pointer;
  border-radius: 50px;
  padding: 12px 30px;
  width: auto;
  transition: background-position .4s ease-in-out;
}
.contact-card input[type="submit"]:hover { background-position: 100% 0; }
.contact-card .wpcf7-not-valid-tip { font-size: 13px; color: var(--themeht-primary-color); margin-top: 4px; }

/* ==========================================================================
   16. Footer
   ========================================================================== */
.footer {
  padding: 80px 0 30px;
  background-color: var(--themeht-bg-light-color);
  background-image: url("assets/img/footer-bg.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.primary-footer {
  position: relative;
  z-index: 99;
  font-size: 16px;
  background: var(--themeht-bg-light-color);
  padding: 40px;
  border-radius: 50px;
}
.primary-footer h5,
.primary-footer .widget-title {
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: 600;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.primary-footer .widget-title a {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-decoration: none;
}
.footer-widget { margin-bottom: 0; }
.footer-widget.widget ul { margin: 0; padding: 0; }
.footer-widget.widget ul li { list-style-type: none; margin-bottom: 15px; }
.footer-contact { margin-bottom: 60px; }
.media-icon li { font-size: 16px; font-weight: 400; color: var(--themeht-text-color); margin-bottom: 15px; }
.media-icon li:last-child { margin-bottom: 0; }
.media-icon li a { color: var(--themeht-text-color); font-size: 20px; font-weight: 500; text-decoration: underline; overflow-wrap: anywhere; }
.media-icon li a:hover { color: var(--themeht-primary-color); text-decoration: underline !important; }
.media-icon li p { color: var(--themeht-text-color); font-size: 16px; font-weight: 400; line-height: 1.2; margin-bottom: 0; overflow-wrap: anywhere; }
.media-icon li .footer-phone { height: 28px; width: auto; display: inline-block; vertical-align: middle; }
.footer-widget .menu li { margin-bottom: 0; text-transform: capitalize; }
.footer-widget .menu li:last-child { margin-bottom: 0; }
.footer-widget .menu li a { color: var(--themeht-text-color); font-size: 16px; font-weight: 400; line-height: 1.2; display: inline-block; }
.footer-widget .menu li a:hover { color: var(--themeht-primary-color); }
.footer-widget .footer-group {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  color: var(--themeht-text-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0;
}
.footer-widget .footer-group--main {
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
  padding-bottom: 0;
  margin-bottom: 0;
}
.footer-widget a.footer-group--link {
  display: block;
  color: var(--themeht-text-color);
  text-decoration: none;
}
.footer-widget a.footer-group--link:hover { color: var(--themeht-primary-color); }
.footer-solutions { margin-top: 0 !important; }
.footer-solutions .footer-menu { margin-top: 0 !important; }
.footer-social { margin-top: 30px; }
.footer-social li a {
  height: 60px;
  width: 60px;
  line-height: 64px;
  font-size: 26px;
  color: transparent;
  background: #fff;
  display: inline-block;
  text-align: center;
  border-radius: 50%;
  -webkit-text-stroke: 1px var(--themeht-text-color);
  box-shadow: var(--shadow);
}
.footer-social li a:hover { -webkit-text-stroke: 1px var(--themeht-primary-color); }
.footer-subscribe { margin-top: 60px; }
.subscribe-form {
  display: flex;
  align-items: center;
  position: relative;
  background: #fff;
  padding: 5px;
  border-radius: 10px;
}
.subscribe-form input[type="email"],
.subscribe-form input[type="email"]:focus {
  border: none;
  outline: none;
  flex: 1;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--themeht-text-color);
  background: transparent;
}
.subscribe-form .themeht-btn { flex-shrink: 0; border-radius: 10px; margin-left: 15px; }
.secondary-footer {
  color: var(--themeht-body-color);
  font-weight: normal;
  margin-top: 40px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 2;
  padding-bottom: 12px;
  overflow: visible;
}
.secondary-footer .copyright {
  text-align: center;
  line-height: 2;
  overflow: visible;
  padding-bottom: 2px;
}

/* ==========================================================================
   17. Scroll top
   ========================================================================== */
.scroll-top {
  position: fixed;
  right: 50px;
  bottom: 50px;
  height: 60px;
  width: 60px;
  cursor: pointer;
  display: block;
  border-radius: 50px;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all .2s linear;
  background: var(--themeht-white-color);
  box-shadow: var(--shadow);
  border: none;
  font-size: 24px;
  color: var(--themeht-text-color);
}
.scroll-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { color: var(--themeht-primary-color); }

/* ==========================================================================
   18. Rabomat product page
   ========================================================================== */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 180px 0 80px;
  background-image: var(--grad-hero);
}
.page-hero .breadcrumb {
  background: transparent;
  margin: 0 0 20px;
  padding: 0;
  font-size: 15px;
  color: rgba(22, 7, 47, .6);
}
.page-hero .breadcrumb a { color: var(--themeht-primary-color); }
.page-hero h1 { margin-bottom: 20px; }
.page-hero p { max-width: 720px; font-size: 18px; line-height: 30px; }
.page-hero .btn {
  border-radius: 50px;
  padding: 10px 25px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.5;
}
.page-hero .btn-primary {
  background-color: transparent;
  background-image: var(--grad);
  background-size: 150% 100%;
  border: none;
  color: var(--themeht-white-color);
  transition: background-position .4s ease-in-out;
}
.page-hero .btn-primary:hover { background-position: 100% 0; color: var(--themeht-white-color); }

.btn-outline {
  border: 2px solid var(--themeht-primary-color);
  color: var(--themeht-primary-color);
  background: transparent;
  border-radius: 50px;
  padding: 10px 25px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.5;
  transition: background .3s ease, color .3s ease;
}
.btn-outline:hover { background: var(--themeht-primary-color); color: #fff; }

.section { padding: 100px 0; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  color: var(--themeht-primary-color);
  margin-bottom: 12px;
}

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--themeht-border-light-color);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow);
}
.card .icon { font-size: 34px; line-height: 1; margin-bottom: 16px; }
.card h3 { font-size: 22px; line-height: 30px; margin-bottom: 10px; }
.card p { margin: 0; }

.prose { max-width: 760px; }
.prose h3 { margin-top: 32px; }
.prose table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.prose th, .prose td { border: 1px solid var(--themeht-border-light-color); padding: 12px 16px; text-align: left; }
.prose th { background: var(--themeht-bg-light-color); font-family: var(--font-head); color: var(--themeht-text-color); }

.product-band { background: var(--themeht-bg-dark-color); }
.product-band .card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }
.product-band .card h3, .product-band .card p { color: #fff; }

/* ==========================================================================
   19. Responsive
   ========================================================================== */
@media (max-width: 1399px) {
  .banner-2 h1, .h1 { font-size: 60px; line-height: 70px; }
}

@media (max-width: 1199px) {
  .navigation-top { display: none; }
  .main-nav { position: static; }
  .main-nav .menu {
    position: absolute;
    top: 100%;
    left: 15px;
    right: 15px;
    margin-top: 10px;
    display: none;
    flex-direction: column;
    padding: 20px;
    border-radius: 20px;
  }
  .main-nav.nav-open .menu { display: flex; }
  .main-nav > ul > li { margin: 0; }
  .main-nav > ul > li > a { padding: 10px 0; }
}

@media (max-width: 1024px) {
  h1, .h1 { font-size: 50px; line-height: 60px; }
  h2, .h2 { font-size: 40px; line-height: 50px; }
  .banner-2 { padding: 200px 0 250px; }
  .banner-2 .banner-img { position: relative; right: inherit; top: inherit; transform: inherit; width: 100%; margin-top: 60px; }
  .banner-2-text { margin-top: 0; }
  .sec-services-pad { padding: 40px; }
  .primary-footer { padding: 40px 30px; }
  .testimonial-row { margin-top: 40px; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  h1, .h1 { font-size: 40px; line-height: 50px; }
  h2, .h2 { font-size: 32px; line-height: 42px; }
  h3, .h3 { font-size: 28px; line-height: 38px; }
  .marquee-text span { font-size: 50px; }
  .marquee-text i { font-size: 30px; margin: 0 10px; }
  .featured-item { border-radius: 30px; }
  .sec-services-pad { padding: 20px; }
  .primary-footer { padding: 30px 20px; border-radius: 30px; }
  .contact-card { padding: 30px 20px; }
  .contact-card .form-grid { grid-template-columns: 1fr; }
  .testimonial { margin-left: 0; }
  .testimonial-row { margin-top: 30px; }
  .footer { padding: 60px 0 30px; }
  .banner-2 { padding: 150px 0 200px; }
  .banner-2 .hero-line-2 { white-space: normal; }
  .hero-actions .themeht-btn { width: 100%; text-align: center; }
  .page-hero { padding: 150px 0 60px; }
  .section { padding: 70px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .prose table { display: block; overflow-x: auto; white-space: nowrap; }
}

@media (max-width: 479px) {
  h1, .h1 { font-size: 34px; line-height: 44px; }
  h2, .h2 { font-size: 28px; line-height: 38px; }
  h3, .h3 { font-size: 24px; line-height: 34px; }
  .banner-2 { padding: 130px 0 160px; }
  .featured-item { padding: 30px 20px; }
  .service-item.style-2 { padding: 24px; }
  .price-table { padding: 40px 20px; }
  .page-hero { padding: 130px 0 50px; }
}
