/**
* piotrlitwa.com — Main Stylesheet
* Based on FlexStart template design system
*/

/*--------------------------------------------------------------
# Font & Color Variables
--------------------------------------------------------------*/
:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --heading-font: "Nunito", sans-serif;
  --nav-font: "Poppins", sans-serif;
}

:root {
  --background-color: #ffffff;
  --default-color: #444444;
  --heading-color: #012970;
  --accent-color: #4154f1;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
}

:root {
  --nav-color: #012970;
  --nav-hover-color: #4154f1;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #212529;
  --nav-dropdown-hover-color: #4154f1;
}

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

:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

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);
  font-weight: 700;
  line-height: 1.3;
}

img {
  max-width: 100%;
  height: auto;
}

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

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

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

.header .logo h1 span {
  color: var(--accent-color);
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 15px;
  padding: 8px 25px;
  margin: 0 0 0 30px;
  border-radius: 4px;
  transition: 0.3s;
  font-weight: 500;
  border: none;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.header .lang-switch {
  font-size: 14px;
  font-weight: 600;
  font-family: var(--nav-font);
  cursor: pointer;
  transition: 0.3s;
  color: var(--nav-color);
  opacity: 0.6;
}

.header .lang-switch:hover,
.header .lang-switch.active {
  opacity: 1;
  color: var(--accent-color);
}

.header .lang-divider {
  opacity: 0.3;
  margin: 0 2px;
}

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

  .header .btn-getstarted {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
    font-size: 13px;
  }

  .header .navmenu {
    order: 3;
  }

  .header .d-flex.align-items-center.me-3 {
    order: 2;
    margin-right: 10px;
  }
}

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

/* Sub-page Header — visible separator from start */
body:not(.index-page) .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/* Index Page Header */
.index-page .header {
  --background-color: rgba(255, 255, 255, 0);
}

.index-page.scrolled .header {
  --background-color: #ffffff;
}

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

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

  .navmenu li {
    position: relative;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

.footer .footer-newsletter {
  background-color: color-mix(in srgb, var(--accent-color), transparent 97%);
  border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
  border-bottom: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
  padding: 50px 0;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/*--------------------------------------------------------------
# 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 delay on mobile
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 98px;
  overflow: clip;
}

@media (max-width: 1199px) {
  section,
  .section {
    scroll-margin-top: 56px;
  }
}

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

.section-title h2 {
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 700;
  padding: 8px 20px;
  margin: 0;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  display: inline-block;
  text-transform: uppercase;
  border-radius: 50px;
  font-family: var(--default-font);
}

.section-title p {
  color: var(--heading-color);
  margin: 10px 0 0 0;
  font-size: 32px;
  font-weight: 700;
  font-family: var(--heading-font);
}

.section-title p .description-title {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Page Title & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

.page-title .heading {
  padding: 160px 0 60px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

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

.page-title .heading p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 18px;
  max-width: 600px;
}

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

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

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 5px 0 30px 0;
  font-size: 20px;
  font-weight: 400;
}

.hero .hero-photo {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
  border: 6px solid var(--surface-color);
}

.hero .hero-titles h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--heading-color);
}

.hero .hero-titles p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 0.95rem;
  margin: 0;
}

.hero .btn-get-started {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 40px;
  border-radius: 4px;
  transition: 0.5s;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.hero .btn-get-started i {
  margin-left: 5px;
  font-size: 18px;
  transition: 0.3s;
}

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

.hero .btn-get-started:hover i {
  transform: translateX(5px);
}

.hero .btn-secondary-hero {
  font-size: 16px;
  transition: 0.5s;
  color: var(--default-color);
  font-weight: 600;
  padding: 12px 30px;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 70%);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
}

.hero .btn-secondary-hero:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

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

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

  .hero .hero-photo {
    width: 200px;
    height: 200px;
  }

  .hero .btn-get-started,
  .hero .btn-secondary-hero {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }
}

@media (max-width: 991px) {
  .hero .hero-photo {
    width: 240px;
    height: 240px;
  }
}

/*--------------------------------------------------------------
# Trust Bar Section
--------------------------------------------------------------*/
.trust-bar {
  padding: 40px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.trust-bar .label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.trust-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  transition: 0.3s;
}

.trust-logo:hover {
  color: var(--default-color);
}

.trust-bar .trust-subtext {
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.stats .stats-item i {
  color: var(--accent-color);
  font-size: 42px;
  line-height: 0;
  margin-right: 20px;
}

.stats .stats-item span {
  color: var(--heading-color);
  font-size: 36px;
  display: block;
  font-weight: 600;
}

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

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

.services .service-item .icon {
  font-size: 36px;
  padding: 20px 20px;
  border-radius: 4px;
  position: relative;
  margin-bottom: 25px;
  display: inline-block;
  line-height: 0;
  transition: 0.3s;
}

.services .service-item h3 {
  font-size: 24px;
  font-weight: 700;
}

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

.services .service-item .read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  padding: 8px 20px;
}

.services .service-item .read-more i {
  line-height: 0;
  margin-left: 5px;
  font-size: 18px;
}

/* Color variants */
.services .service-item.item-cyan {
  border-bottom: 3px solid #0dcaf0;
}
.services .service-item.item-cyan .icon {
  color: #0dcaf0;
  background: rgba(13, 202, 240, 0.1);
}
.services .service-item.item-cyan .read-more {
  color: #0dcaf0;
}
.services .service-item.item-cyan:hover {
  background: #0dcaf0;
}

.services .service-item.item-orange {
  border-bottom: 3px solid #fd7e14;
}
.services .service-item.item-orange .icon {
  color: #fd7e14;
  background: rgba(253, 126, 20, 0.1);
}
.services .service-item.item-orange .read-more {
  color: #fd7e14;
}
.services .service-item.item-orange:hover {
  background: #fd7e14;
}

.services .service-item.item-teal {
  border-bottom: 3px solid #20c997;
}
.services .service-item.item-teal .icon {
  color: #20c997;
  background: rgba(32, 201, 151, 0.1);
}
.services .service-item.item-teal .read-more {
  color: #20c997;
}
.services .service-item.item-teal:hover {
  background: #20c997;
}

.services .service-item.item-red {
  border-bottom: 3px solid #df1529;
}
.services .service-item.item-red .icon {
  color: #df1529;
  background: rgba(223, 21, 4, 0.1);
}
.services .service-item.item-red .read-more {
  color: #df1529;
}
.services .service-item.item-red:hover {
  background: #df1529;
}

.services .service-item:hover h3,
.services .service-item:hover p,
.services .service-item:hover .read-more {
  color: #fff;
}

.services .service-item:hover .icon {
  background: #fff;
}

/*--------------------------------------------------------------
# Video Section
--------------------------------------------------------------*/
.video-section {
  --background-color: #1a1a2e;
  --default-color: #ffffff;
  --heading-color: #ffffff;
}

.video-section p {
  color: rgba(255, 255, 255, 0.7);
}

.video-embed {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
  aspect-ratio: 16/9;
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/*--------------------------------------------------------------
# Specializations Section
--------------------------------------------------------------*/
.specializations .spec-card {
  background-color: var(--surface-color);
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  padding: 30px;
  height: 100%;
  transition: 0.3s;
}

.specializations .spec-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 12px;
}

.specializations .spec-card p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 15px;
  margin-bottom: 0;
}

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

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonial-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: 0.3s;
  border-radius: 5px;
}

.testimonials .testimonial-item:hover {
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.15);
}

.testimonials .testimonial-item .quote-icon {
  color: color-mix(in srgb, var(--accent-color), transparent 70%);
  font-size: 36px;
  margin-bottom: 10px;
}

.testimonials .testimonial-item blockquote {
  font-style: italic;
  color: var(--default-color);
  line-height: 1.8;
  font-size: 15px;
  flex-grow: 1;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--accent-color);
}

.testimonials .testimonial-item .author {
  font-weight: 700;
  font-size: 14px;
  color: var(--heading-color);
}

.testimonials .testimonial-item .flag {
  font-size: 1.1rem;
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
  padding: 40px 20px;
  text-align: center;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  transition: 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

@media (min-width: 1200px) {
  .pricing .pricing-item:hover {
    transform: scale(1.1);
    box-shadow: 0px 0 30px rgba(0, 0, 0, 0.15);
  }
}

.pricing .pricing-item h3 {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 15px;
}

.pricing .pricing-item .price {
  font-size: 36px;
  color: var(--heading-color);
  font-weight: 600;
  font-family: var(--heading-font);
}

.pricing .pricing-item .price span {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  font-weight: 300;
}

.pricing .pricing-item .sub-price {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-top: 0;
  margin-bottom: 15px;
}

.pricing .pricing-item .icon {
  padding: 15px 0;
}

.pricing .pricing-item .icon i {
  font-size: 48px;
}

.pricing .pricing-item ul {
  padding: 0;
  list-style: none;
  color: var(--default-color);
  text-align: center;
  line-height: 26px;
  font-size: 16px;
  margin-bottom: 25px;
  flex-grow: 1;
}

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

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

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

.pricing .pricing-item .featured {
  width: 200px;
  position: absolute;
  top: 18px;
  right: -68px;
  transform: rotate(45deg);
  z-index: 1;
  font-size: 14px;
  padding: 1px 0 3px 0;
  background: var(--accent-color);
  color: var(--contrast-color);
}

.pricing .custom-dev-card {
  background-color: var(--surface-color);
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  padding: 30px;
  text-align: center;
}

/*--------------------------------------------------------------
# FAQ Section
--------------------------------------------------------------*/
.faq .faq-container .faq-item {
  position: relative;
  padding: 20px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  overflow: hidden;
}

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

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

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

/*--------------------------------------------------------------
# CTA Section
--------------------------------------------------------------*/
.cta-section {
  background: linear-gradient(135deg, var(--accent-color) 0%, #012970 100%);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  color: #ffffff;
  font-size: 32px;
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 580px;
  margin: 0 auto 2rem;
  font-size: 16px;
}

.cta-section .btn-cta {
  background: #ffffff;
  color: var(--accent-color);
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 4px;
  display: inline-block;
  transition: 0.3s;
  font-size: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cta-section .btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
  color: var(--accent-color);
}

.cta-section .btn-cta-outline {
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #ffffff;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 4px;
  display: inline-block;
  transition: 0.3s;
  font-size: 16px;
  background: transparent;
}

.cta-section .btn-cta-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff;
}

.cta-section .microcopy {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 1rem;
}

/*--------------------------------------------------------------
# Service Details (Services page)
--------------------------------------------------------------*/
.service-details .service-detail-item {
  padding: 60px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.service-details .service-detail-item:last-child {
  border-bottom: none;
}

.service-details .service-detail-item .eyebrow {
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--accent-color);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.service-details .service-detail-item h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
}

.service-details .service-detail-item .intro {
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.8;
}

.service-details .service-detail-item h3 {
  font-size: 18px;
  color: var(--heading-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.service-details .service-detail-item ul {
  padding-left: 0;
  list-style: none;
}

.service-details .service-detail-item ul li {
  padding: 6px 0 6px 28px;
  position: relative;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.service-details .service-detail-item ul li::before {
  font-family: "bootstrap-icons";
  content: "\F26A";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: 700;
}

.service-details .service-detail-item .price-tag {
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  border-radius: 4px;
  padding: 16px 24px;
  font-weight: 600;
  color: var(--heading-color);
  display: inline-block;
  margin-top: 1rem;
}

.service-details .service-detail-item .btn-service {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-weight: 500;
  font-size: 15px;
  padding: 10px 30px;
  border-radius: 4px;
  transition: 0.3s;
  display: inline-block;
  border: none;
}

.service-details .service-detail-item .btn-service:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# About Page
--------------------------------------------------------------*/
.about-intro .story-section p {
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.9;
}

.about-intro .hero-photo {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
  border: 6px solid var(--surface-color);
}

@media (max-width: 991px) {
  .about-intro .hero-photo {
    width: 240px;
    height: 240px;
  }
}

.experience .experience-item {
  border-left: 3px solid var(--accent-color);
  padding-left: 24px;
  margin-bottom: 24px;
}

.experience .experience-item h3 {
  font-size: 18px;
  margin-bottom: 0.25rem;
}

.experience .experience-item p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 15px;
  margin-bottom: 0;
}

.how-i-work .work-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  padding: 30px;
  height: 100%;
  transition: 0.3s;
}

.how-i-work .work-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.how-i-work .work-item p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 15px;
  margin: 0;
}

.how-i-work .work-item:hover {
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

/*--------------------------------------------------------------
# Tools Page
--------------------------------------------------------------*/
.tools .tool-card {
  background-color: var(--surface-color);
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  padding: 30px;
  text-align: center;
  transition: 0.3s;
  height: 100%;
}

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

.tools .tool-card .icon {
  font-size: 48px;
  margin-bottom: 15px;
  display: block;
}

.tools .tool-card .icon i {
  color: var(--accent-color);
}

.tools .tool-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.tools .tool-card p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 15px;
}

.tools .tool-card .btn-tool {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 25px;
  border-radius: 4px;
  transition: 0.3s;
  display: inline-block;
  border: none;
}

.tools .tool-card .btn-tool:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
  color: var(--contrast-color);
}

.tools .tool-card .btn-tool-outline {
  color: var(--accent-color);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 25px;
  border-radius: 4px;
  transition: 0.3s;
  display: inline-block;
  border: 1px solid var(--accent-color);
  background: transparent;
}

.tools .tool-card .btn-tool-outline:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Resources Section
--------------------------------------------------------------*/
.resources .resource-card {
  background-color: var(--surface-color);
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  padding: 30px;
  height: 100%;
  transition: 0.3s;
}

.resources .resource-card:hover {
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.15);
}

.resources .resource-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.resources .resource-card p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 15px;
}

.resources .resource-card a {
  font-weight: 600;
  font-size: 15px;
}

/*--------------------------------------------------------------
# Mobile nav button & lang switch adjustments
--------------------------------------------------------------*/
@media (max-width: 767px) {
  .header .btn-getstarted {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .header .btn-getstarted {
    font-size: 12px;
    padding: 5px 12px;
    margin: 0 10px 0 0;
  }
}

@media (max-width: 575px) {
  .header .d-flex.align-items-center.me-3 {
    margin-right: 5px;
  }

  .header .lang-switch {
    font-size: 12px;
  }
}

/*--------------------------------------------------------------
# Mobile Responsiveness Fixes
--------------------------------------------------------------*/

/* Prevent horizontal scroll globally */
html,
body {
  overflow-x: hidden !important;
  max-width: 100vw;
}

/* Force word-wrap on all headings to prevent overflow */
h1, h2, h3, h4, h5, h6,
.hero h1,
.section-title p,
.page-title .heading h1,
.cta-section h2 {
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}

/*--- Header & Nav: Tablet and below (< 1200px) ---*/
@media (max-width: 1199px) {
  /* Keep header items in one row */
  .header > .container-fluid,
  .header > .container-xl,
  .header .container-fluid.container-xl {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
  }

  /* Force-hide desktop nav list */
  .navmenu > ul {
    display: none !important;
  }

  /* Re-show nav list only when mobile menu is active */
  .mobile-nav-active .navmenu > ul {
    display: block !important;
  }

  /* Navmenu container — only shows hamburger on mobile */
  .navmenu {
    display: flex;
    align-items: center;
  }

  /* Lang switch compact */
  .header .d-flex.align-items-center.me-3 {
    flex-shrink: 0;
  }
}

/*--- Phones (max-width: 767px) ---*/
@media (max-width: 767px) {

  /* Header */
  .header {
    padding: 10px 0;
  }

  .header .logo h1 {
    font-size: 22px;
  }

  /* Section titles */
  .section-title p {
    font-size: 22px;
  }

  .section-title {
    padding-bottom: 30px;
  }

  /* General sections — less padding */
  section,
  .section {
    padding: 40px 0;
  }

  /* Page title */
  .page-title .heading {
    padding: 100px 0 30px 0;
  }

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

  .page-title .heading p {
    font-size: 15px;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding: 90px 0 40px 0;
  }

  .hero h1 {
    font-size: 24px;
    line-height: 32px;
  }

  .hero p {
    font-size: 15px;
    line-height: 23px;
    margin-bottom: 20px;
  }

  .hero .hero-photo {
    width: 160px;
    height: 160px;
  }

  .hero .hero-titles h4 {
    font-size: 15px;
  }

  .hero .hero-titles p {
    font-size: 13px;
  }

  .hero .btn-get-started {
    padding: 10px 20px;
    font-size: 14px;
    width: 100%;
    text-align: center;
  }

  .hero .btn-secondary-hero {
    padding: 10px 20px;
    font-size: 14px;
    width: 100%;
    text-align: center;
  }

  /* Stats */
  .stats .stats-item {
    padding: 20px 15px;
  }

  .stats .stats-item i {
    font-size: 30px;
    margin-right: 12px;
  }

  .stats .stats-item span {
    font-size: 26px;
  }

  .stats .stats-item p {
    font-size: 13px;
  }

  /* Services cards */
  .services .service-item {
    padding: 30px 20px;
  }

  .services .service-item h3 {
    font-size: 18px;
  }

  .services .service-item p {
    font-size: 13px;
  }

  /* Video section */
  .video-section h2 {
    font-size: 22px;
  }

  .video-section p {
    font-size: 14px;
  }

  /* Specializations */
  .specializations .spec-card {
    padding: 20px;
  }

  .specializations .spec-card h4 {
    font-size: 16px;
  }

  .specializations .spec-card p {
    font-size: 14px;
  }

  /* Testimonials */
  .testimonials .testimonial-item {
    padding: 20px;
  }

  .testimonials .testimonial-item blockquote {
    font-size: 14px;
    line-height: 1.6;
    padding-left: 12px;
  }

  .testimonials .testimonial-item .author {
    font-size: 13px;
  }

  /* Pricing */
  .pricing .pricing-item {
    padding: 25px 15px;
  }

  .pricing .pricing-item .price {
    font-size: 28px;
  }

  .pricing .pricing-item ul {
    font-size: 14px;
  }

  .pricing .pricing-item .btn-buy {
    padding: 8px 28px;
    font-size: 14px;
  }

  .pricing .pricing-item .sub-price {
    font-size: 12px;
  }

  .pricing .custom-dev-card {
    padding: 20px 15px;
  }

  /* FAQ */
  .faq .faq-container .faq-item h3 {
    font-size: 14px;
    margin-right: 30px;
  }

  .faq .faq-container .faq-item .faq-content p {
    font-size: 14px;
  }

  /* CTA section */
  .cta-section {
    padding: 50px 0;
  }

  .cta-section h2 {
    font-size: 22px;
  }

  .cta-section p {
    font-size: 14px;
    padding: 0 10px;
  }

  .cta-section .btn-cta {
    padding: 12px 24px;
    font-size: 14px;
  }

  .cta-section .btn-cta-outline {
    padding: 10px 24px;
    font-size: 14px;
  }

  /* Footer */
  .footer .footer-top {
    padding-top: 30px;
  }

  .footer h4 {
    font-size: 15px;
  }

  /* Service details page */
  .service-details .service-detail-item {
    padding: 30px 0;
  }

  .service-details .service-detail-item h2 {
    font-size: 20px;
  }

  .service-details .service-detail-item .intro {
    font-size: 14px;
  }

  .service-details .service-detail-item .price-tag {
    font-size: 13px;
    padding: 12px 16px;
    display: block;
    text-align: center;
    word-break: break-word;
  }
}

/*--- Very small phones (max-width: 400px) ---*/
@media (max-width: 400px) {
  .header .logo h1 {
    font-size: 20px;
  }

  .hero h1 {
    font-size: 20px;
    line-height: 28px;
  }

  .hero .hero-photo {
    width: 130px;
    height: 130px;
  }

  .section-title p {
    font-size: 18px;
  }

  .page-title .heading h1 {
    font-size: 20px;
  }

  .pricing .pricing-item .price {
    font-size: 24px;
  }

  .cta-section h2 {
    font-size: 18px;
  }

  .stats .stats-item span {
    font-size: 22px;
  }
}
