/**
* Template Name: LeadPage
* Template URL: https://bootstrapmade.com/leadpage-bootstrap-landing-page-template/
* Updated: Aug 12 2025 with Bootstrap v5.3.7
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

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

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #1a1715; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #110a06; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #c85716; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}


/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

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

.dark-background {
  --background-color: #000000;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252626;
  --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);
}
/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

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

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

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

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

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

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

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

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

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 200px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-title:before {
  content: "";
  background-color: color-mix(in srgb, var(--background-color), transparent 20%);
  position: absolute;
  inset: 0;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 300;
  margin-bottom: 10px;
}

.page-title p {
  font-weight: 300;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  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 50%);
}

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

@media (max-width: 1199px) {

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

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

.section-title h2 {
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.2;
  color: var(--heading-color);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

@media (max-width: 768px) {
  .section-title h2 {
    font-size: 2.5rem;
  }
}

.section-title .subtitle {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  position: relative;
}

.section-title .subtitle::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background: var(--accent-color);
}

.section-title p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  max-width: 900px;
  margin: 0 auto;
  text-wrap: balance;
}

/*--------------------------------------------------------------
# About Us Section
--------------------------------------------------------------*/
.about-us .about-showcase {
  margin-bottom: 6rem;
}

/* Force equal height columns */
.about-us .about-showcase .row {
  align-items: stretch;
}

/* LEFT: Featured About */
.about-us .about-showcase .about-featured {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 50vh;
}

.about-us .about-showcase .about-featured .about-image {
  position: absolute;
  inset: 0;
}

.about-us .about-showcase .about-featured .about-image img {
  width: 100%;
  height: 100%;
  object-fit:cover;
  transition: transform 0.6s ease;
}

.about-us .about-showcase .about-featured .about-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--heading-color), transparent 25%) 0%,
    color-mix(in srgb, var(--accent-color), transparent 35%) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.about-us .about-showcase .about-featured .about-overlay .overlay-content {
  text-align: center;
  color: var(--contrast-color);
  padding: 2rem;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.about-us .about-showcase .about-featured .about-overlay .overlay-content h3 {
  font-size: 2.1rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

.about-us .about-showcase .about-featured .about-overlay .overlay-content p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
  opacity: 0.9;
}

.about-us .about-showcase .about-featured .about-overlay .overlay-content .about-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--contrast-color);
  text-decoration: none;
  border-bottom: 1px solid var(--contrast-color);
  padding-bottom: 4px;
  font-weight: 400;
}

.about-us .about-showcase .about-featured:hover .about-overlay {
  opacity: 1;
}

.about-us .about-showcase .about-featured:hover .overlay-content {
  transform: translateY(0);
}

.about-us .about-showcase .about-featured:hover img {
  transform: scale(1.05);
}

/* RIGHT: About Highlights */
.about-us .about-showcase .about-highlights {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface-color);
}

.about-us .about-showcase .about-highlights .highlight-item {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 2rem 2.5rem;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  transition: background 0.3s ease, transform 0.3s ease;
}

.about-us .about-showcase .about-highlights .highlight-item:last-child {
  border-bottom: none;
}

.about-us .about-showcase .about-highlights .highlight-item:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  transform: translateX(8px);
}

.about-us .about-showcase .about-highlights .highlight-item .highlight-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.75rem;
  flex-shrink: 0;
}

.about-us .about-showcase .about-highlights .highlight-item .highlight-icon i {
  font-size: 1.35rem;
  color: var(--accent-color);
  opacity: 0.85;
}

.about-us .about-showcase .about-highlights .highlight-item .highlight-content h4 {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 0.4rem;
}

.about-us .about-showcase .about-highlights .highlight-item .highlight-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
}

/* ABOUT EXTRA CARDS */
.about-us .about-extra .about-card {
  background: var(--surface-color);
  height: 100%;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-us .about-extra .about-card .card-image {
  height: 250px;
  overflow: hidden;
}

.about-us .about-extra .about-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.about-us .about-extra .about-card .card-body {
  padding: 2.25rem 2rem;
}

.about-us .about-extra .about-card h5 {
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.about-us .about-extra .about-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 2rem;
}

.about-us .about-extra .about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px color-mix(in srgb, var(--default-color), transparent 85%);
}

.about-us .about-extra .about-card:hover img {
  transform: scale(1.05);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .about-us .about-showcase .about-featured,
  .about-us .about-showcase .about-highlights {
    height: auto;
  }

  .about-us .about-showcase .about-highlights .highlight-item {
    flex-direction: column;
    text-align: center;
    padding: 1.75rem;
  }

  .about-us .about-showcase .about-highlights .highlight-item .highlight-icon {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

.services .additional-services .service-card:hover {
  box-shadow: 0 20px 40px;
}

/*--------------------------------------------------------------
# Base Card Styling (Shared – REQUIRED)
--------------------------------------------------------------*/
.service-card,
.about-card {
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  border-radius: 6px;
  box-shadow: 0 4px 18px color-mix(in srgb, var(--default-color), transparent 92%);
  overflow: hidden;
}


/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .tabs-wrapper {
  max-width: 1100px;
  margin: 0 auto;
}

.features .tabs-header {
  margin-bottom: 80px;
}

@media (max-width: 768px) {
  .features .tabs-header {
    margin-bottom: 60px;
  }
}

.features .tabs-header{
  border: none;
  justify-content: center;
  gap: 0;
  background: var(--surface-color);
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 2px 20px color-mix(in srgb, var(--default-color), transparent 94%);
}

@media (max-width: 768px) {
  .features .tabs-header {
    flex-direction: column;
    gap: 4px;
  }
}

.features .tabs-header  {
  flex: 1;
  cursor: pointer;
}

@media (max-width: 768px) {
  .features .tabs-header {
    flex: none;
    width: 100%;
  }
}

.features .tabs-header  {
  border: none;
  background: transparent;
  padding: 0;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.features .tabs-header {
  background: var(--accent-color);
}

.features .tabs-header  .tab-content-preview .tab-number {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--contrast-color), transparent 85%);
}

.features .tabs-header .tab-content-preview .tab-text h6,
.features .tabs-header .tab-content-preview .tab-text small {
  color: var(--contrast-color);
}

.features .tabs-header  {
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
}

.features .tabs-header .tab-content-preview .tab-number {
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
  color: var(--accent-color);
}

.features .tabs-header .tab-content-preview {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
}

@media (max-width: 768px) {
  .features .tabs-header .tab-content-preview {
    padding: 16px 20px;
    gap: 12px;
  }
}

.features .tabs-header  .tab-content-preview .tab-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--default-color), transparent 92%);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .features .tabs-header .tab-content-preview .tab-number {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
}

.features .tabs-header  .tab-content-preview .tab-text {
  text-align: left;
}

@media (max-width: 768px) {
  .features .tabs-header .tab-content-preview .tab-text {
    flex: 1;
  }
}

.features .tabs-header  .tab-content-preview .tab-text h6 {
  margin: 0 0 2px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--heading-color);
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .features .tabs-header .tab-content-preview .tab-text h6 {
    font-size: 13px;
  }
}

.features .tabs-header .tab-content-preview .tab-text small {
  font-size: 11px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  transition: all 0.3s ease;
  display: block;
  line-height: 1;
}

.features .tab-content .tab-pane {
  animation: fadeInContent 0.5s ease-in-out;
}

.features .tab-content .content-area {
  padding-right: 40px;
}

@media (max-width: 992px) {
  .features .tab-content .content-area {
    padding-right: 0;
    margin-bottom: 50px;
  }
}

.features .tab-content .content-area .content-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--accent-color);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 24px;
}

.features .tab-content .content-area .content-badge i {
  font-size: 14px;
}

.features .tab-content .content-area h3 {
  font-size: 36px;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .features .tab-content .content-area h3 {
    font-size: 28px;
  }
}

@media (max-width: 576px) {
  .features .tab-content .content-area h3 {
    font-size: 24px;
  }
}

.features .tab-content .content-area p {
  font-size: 16px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .features .tab-content .content-area p {
    font-size: 15px;
  }
}

.features .tab-content .content-area .highlight-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 576px) {
  .features .tab-content .content-area .highlight-stats {
    gap: 24px;
  }
}

.features .tab-content .content-area .highlight-stats .stat-item .stat-value {
  display: block;
  font-size: 28px;
  font-weight: 300;
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: 4px;
}

@media (max-width: 768px) {
  .features .tab-content .content-area .highlight-stats .stat-item .stat-value {
    font-size: 24px;
  }
}

.features .tab-content .content-area .highlight-stats .stat-item .stat-label {
  font-size: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.features .tab-content .content-area .feature-points {
  margin-bottom: 40px;
}

.features .tab-content .content-area .feature-points .point-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.features .tab-content .content-area .feature-points .point-item:last-child {
  margin-bottom: 0;
}

.features .tab-content .content-area .feature-points .point-item i {
  font-size: 12px;
  color: var(--accent-color);
  margin-top: 4px;
  flex-shrink: 0;
}

.features .tab-content .content-area .feature-points .point-item span {
  font-size: 14px;
  line-height: 1.6;
  color: var(--default-color);
}

.features .tab-content .content-area .explore-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-color);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.features .tab-content .content-area .explore-link:hover {
  gap: 12px;
  color: var(--accent-color);
}

.features .tab-content .content-area .explore-link:hover i {
  transform: translate(2px, -2px);
}

.features .tab-content .content-area .explore-link i {
  font-size: 16px;
  transition: all 0.3s ease;
}

.features .tab-content .visual-content {
  position: relative;
  padding-left: 40px;
}

@media (max-width: 992px) {
  .features .tab-content .visual-content {
    padding-left: 0;
  }
}

.features .tab-content .visual-content img {
  width: 100%;
  border-radius: 8px;
}

.features .tab-content .visual-content .floating-element {
  position: absolute;
  bottom: 20px;
  right: 20px;
}

@media (max-width: 768px) {
  .features .tab-content .visual-content .floating-element {
    bottom: 15px;
    right: 15px;
  }
}

.features .tab-content .visual-content .floating-element .floating-card {
  background: var(--surface-color);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 30px color-mix(in srgb, var(--default-color), transparent 85%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  animation: floatAnimation 3s ease-in-out infinite;
}

@media (max-width: 768px) {
  .features .tab-content .visual-content .floating-element .floating-card {
    padding: 12px 16px;
    gap: 10px;
  }
}

.features .tab-content .visual-content .floating-element .floating-card i {
  font-size: 20px;
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .features .tab-content .visual-content .floating-element .floating-card i {
    font-size: 18px;
  }
}

.features .tab-content .visual-content .floating-element .floating-card .card-info span {
  display: block;
  font-size: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.features .tab-content .visual-content .floating-element .floating-card .card-info strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--heading-color);
}

@media (max-width: 768px) {
  .features .tab-content .visual-content .floating-element .floating-card .card-info strong {
    font-size: 12px;
  }
}

/* ==============================
   FEATURES 2-COLUMN TABS LAYOUT
   ============================== */

.features .tabs-2col {
  max-width: 1100px;
  margin: 0 auto;
}

/* LEFT SIDEBAR */
.features .tabs-sidebar {
  background: var(--surface-color);
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 2px 20px color-mix(in srgb, var(--default-color), transparent 94%);
  height: 100%;
}

.features .tabs-sidebar .nav-tabs {
  border: none;
  gap: 6px;
}

.features .tabs-sidebar .nav-link {
  width: 100%;
  border: none !important;
  background: transparent !important;
  border-radius: 10px;
  padding: 0;
  position: relative;
  overflow: hidden;
  text-align: left;
}

/* Active indicator bar (left) */
.features .tabs-sidebar .nav-link::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 12px;
  bottom: 12px;
  width: 4px;
  border-radius: 4px;
  background: transparent;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.25s ease;
}

.features .tabs-sidebar .nav-link.active::before {
  background: var(--accent-color);
  opacity: 1;
}

/* Tab row content */
.features .tabs-sidebar .tab-content-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 16px 16px 28px; /* space for the bar */
  position: relative;
  z-index: 1;
}

.features .tabs-sidebar .tab-content-preview .tab-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--default-color), transparent 92%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}

.features .tabs-sidebar .tab-content-preview .tab-text h6 {
  margin: 0 0 3px 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--heading-color);
}

.features .tabs-sidebar .tab-content-preview .tab-text small {
  display: block;
  font-size: 11px;
  line-height: 1.15;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

/* Optional: subtle hover */
.features .tabs-sidebar .nav-link:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 94%) !important;
}

/* RIGHT PANEL */
.features .tabs-panel {
  background: transparent;
}

/* Make right card feel aligned */
.features .tabs-panel .tab-pane {
  animation: fadeInContent 0.35s ease-in-out;
}

/* Responsive: sidebar goes on top */
@media (max-width: 992px) {
  .features .tabs-sidebar {
    position: relative;
  }
}
/* ===== Features Right Panel: One Column Layout (content then image) ===== */

.features .tabs-panel .tab-pane {
  padding: 18px 10px;
}

.features .tabs-panel .content-area {
  padding-right: 0 !important;
  margin-bottom: 18px;
}

.features .tabs-panel .content-area h3 {
  margin-bottom: 10px;
}

.features .tabs-panel .tab-intro {
  margin-bottom: 18px;
  max-width: 60ch;
  font-size: 15px;
  line-height: 1.65;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

/* Reduce huge gaps from older template stats section */
.features .tabs-panel .highlight-stats {
  display: none; /* remove if you don’t use stats anywhere */
}

/* Make bullets tighter */
.features .tabs-panel .feature-points {
  margin-bottom: 18px;
}

.features .tabs-panel .feature-points .point-item {
  margin-bottom: 12px;
}

/* Image below content: full width */
.features .tabs-panel .visual-content.visual-below {
  padding-left: 0 !important;
  margin-top: 10px;
}

.features .tabs-panel .visual-content.visual-below img {
  border-radius: 12px;
}

/* Floating card positioning improved */
.features .tabs-panel .visual-content .floating-element {
  bottom: 14px;
  right: 14px;
}

/* Optional: Make sidebar and panel top-aligned neatly */
.features .tabs-sidebar,
.features .tabs-panel {
  height: 100%;
}

/* =========================================
   FIX 1: Gap after image (right panel)
   FIX 2: Active indicator line positioning
   Paste at END of CSS
   ========================================= */

/* ---------- FIX 1: Image -> content spacing ---------- */
/* Add space below the image block inside each tab */
.features .tabs-panel .visual-content {
  margin-bottom: 22px; /* adjust: 16-28px */
}

/* If you used a special class like visual-below, keep it too */
.features .tabs-panel .visual-content.visual-below {
  margin-bottom: 22px;
}

/* Optional: reduce extra padding if your tab-pane feels too tall */
.features .tabs-panel .tab-pane {
  padding-top: 10px;
  padding-bottom: 14px;
}


/* ---------- FIX 2: Left active line alignment ---------- */
/* Make sure nav-link is the positioning reference */
.features .tabs-sidebar .nav-link {
  position: relative;
}

/* Force the indicator to be centered vertically and NOT stick to top */
.features .tabs-sidebar .nav-link::before {
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%);
  height: 36px;              /* fixed height so it looks consistent */
  left: 10px;                /* keep inside padding */
  width: 4px;
  border-radius: 4px;
  z-index: 1;
}

/* Ensure text sits above the line */
.features .tabs-sidebar .tab-content-preview {
  position: relative;
  z-index: 2;
  padding-left: 30px;        /* keep enough space so line never overlaps */
}

/* (Nice touch) Slight active background so it feels premium */
.features .tabs-sidebar .nav-link.active {
  background: color-mix(in srgb, var(--accent-color), transparent 94%) !important;
}

/* If any older CSS adds borders/lines, kill them */
.features .tabs-sidebar .nav-link.active,
.features .tabs-sidebar .nav-link:focus,
.features .tabs-sidebar .nav-link:hover {
  border: none !important;
  box-shadow: none !important;
}

/* =========================================================
   FIX: Sidebar becomes truly flexible
   - If few items → they stretch and fill height
   - If many items → becomes scrollable, items stop stretching
   Works without :has()
   ========================================================= */

/* Make the whole left column a real height reference */
.features .tabs-wrapper.tabs-2col .row {
  align-items: stretch;
}

/* Sidebar is a column with fixed internal height */
.features .tabs-sidebar-flex {
  height: 100%;
  min-height: 520px; /* IMPORTANT: gives flex something to fill */
  display: flex;
  flex-direction: column;
}

/* Make the ul fill sidebar height */
.features .tabs-sidebar-flex .nav-tabs {
  border: none;
  display: flex;
  flex-direction: column;
  flex: 1;                 /* fill available sidebar height */
  gap: 12px;
}

/* Default behaviour = stretch items */
.features .tabs-sidebar-flex .nav-item {
  flex: 1 1 0;
  min-height: 64px;
}

.features .tabs-sidebar-flex .nav-link {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
}

/* ---------- MANY ITEMS MODE (scroll) ----------
   If you have 7+ items, add this class ONCE:
   <div class="tabs-sidebar tabs-sidebar-flex tabs-sidebar-scroll">
*/
.features .tabs-sidebar-flex.tabs-sidebar-scroll .nav-tabs {
  overflow-y: auto;
  max-height: 560px;       /* controls sidebar list height */
  padding-right: 6px;
  gap: 8px;
}

.features .tabs-sidebar-flex.tabs-sidebar-scroll .nav-item {
  flex: 0 0 auto;          /* stop stretching */
  min-height: 58px;
}

/* Optional: prettier scrollbar */
.features .tabs-sidebar-flex.tabs-sidebar-scroll .nav-tabs::-webkit-scrollbar {
  width: 6px;
}
.features .tabs-sidebar-flex.tabs-sidebar-scroll .nav-tabs::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--default-color), transparent 80%);
  border-radius: 10px;
}
.features .tabs-sidebar-flex.tabs-sidebar-scroll .nav-tabs::-webkit-scrollbar-track {
  background: transparent;
}


/* =========================================
   Fix text alignment + bullet consistency
   For the RIGHT tab content block
   ========================================= */

/* 1) Keep badge/title/intro centered (nice), but within a clean max width */
.features .tabs-panel .content-area {
  max-width: 820px;          /* controls readability */
  margin: 0 auto;            /* centers the block */
  text-align: center;        /* badge/title/intro centered */
}

/* 2) Intro text size & spacing */
.features .tabs-panel .content-area .tab-intro,
.features .tabs-panel .content-area p {
  max-width: 62ch;
  margin: 0 auto 18px auto;
  line-height: 1.65;
}

/* 3) Bullet list should be LEFT aligned but centered as a block */
.features .tabs-panel .feature-points {
  max-width: 720px;          /* bullet block width */
  margin: 24px auto 22px auto;
  text-align: left;          /* KEY: bullets left aligned */
}

/* 4) Make every bullet line start from same x-position */
.features .tabs-panel .feature-points .point-item {
  display: grid;
  grid-template-columns: 18px 1fr;  /* icon column + text */
  column-gap: 12px;
  align-items: start;
  margin-bottom: 14px;
}

/* Keep arrow aligned properly */
.features .tabs-panel .feature-points .point-item i {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1;
}

/* Bullet text styling */
.features .tabs-panel .feature-points .point-item span {
  line-height: 1.65;
  font-size: 15px;
  color: var(--default-color);
}

/* 5) CTA stays centered */
.features .tabs-panel .explore-link {
  justify-content: center;
  display: inline-flex;
}

/* Mobile: allow full width */
@media (max-width: 768px) {
  .features .tabs-panel .content-area {
    max-width: 100%;
    text-align: left;              /* mobile reads better */
  }
  .features .tabs-panel .feature-points {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}


/* ===== Mobile: open details in modal ===== */
@media (max-width: 991.98px) {
  /* Left sidebar becomes full width */
  .features .tabs-wrapper.tabs-2col .col-lg-4 {
    width: 100%;
  }

  /* Hide right content panel on mobile (details go to modal instead) */
  .features .tabs-wrapper.tabs-2col .col-lg-8 {
    display: none;
  }

  .features .tabs-sidebar .nav-link {
    padding: 0;
  }
}

/* Modal styling */
.service-modal .modal-body {
  padding: 18px 18px 10px;
}

.service-modal .content-area {
  max-width: 100%;
  margin: 0;
  text-align: left; /* modal readability */
}

.service-modal .feature-points {
  max-width: 100%;
  margin: 16px 0 14px;
  text-align: left;
}

.service-modal .visual-content {
  margin-top: 14px;
  margin-bottom: 0;
}

.service-modal img {
  border-radius: 12px;
}


/* ==============================
   MOBILE SERVICE MODAL - POLISH
   ============================== */

/* Make modal fullscreen on small screens look like a sheet */
@media (max-width: 575.98px) {
  .service-modal.modal-content {
    border-radius: 18px;
  }
}

/* Header cleaner */
.service-modal .modal-header {
  padding: 14px 16px;
}

.service-modal .modal-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

/* Body spacing */
.service-modal .modal-body {
  padding: 14px 16px 18px !important;
}

/* Remove extra top title duplication look */
.service-modal .content-area {
  text-align: left !important;
  max-width: 100% !important;
}

/* Badge: make it small and neat */
.service-modal .content-badge {
  display: inline-flex;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  margin: 8px 0 10px;
  font-size: 12px;
}

/* Title inside modal */
.service-modal .content-area h3 {
  font-size: 26px;
  line-height: 1.15;
  margin: 6px 0 10px;
  font-weight: 500;
}

/* Intro text */
.service-modal .tab-intro,
.service-modal .content-area p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 14px;
  max-width: 100% !important;
}

/* Bullet list: compact + aligned */
.service-modal .feature-points {
  margin: 10px 0 14px !important;
  max-width: 100% !important;
}

.service-modal .feature-points .point-item {
  display: grid;
  grid-template-columns: 18px 1fr;
  column-gap: 10px;
  margin-bottom: 10px;
}

.service-modal .feature-points .point-item i {
  font-size: 14px;
  margin-top: 4px;
}

.service-modal .feature-points .point-item span {
  font-size: 14px;
  line-height: 1.55;
}

/* CTA: centered and not floating weird */
.service-modal .explore-link {
  margin-top: 8px;
  display: inline-flex;
  justify-content: flex-start;
  font-size: 14px;
}

/* Image: ensure it is fully visible and looks premium */
.service-modal .visual-content {
  margin-top: 16px !important;
  margin-bottom: 0 !important;
}

.service-modal .visual-content img {
  width: 100%;
  border-radius: 14px;
  display: block;
}

/* Floating element: smaller on mobile */
.service-modal .floating-element {
  right: 12px !important;
  bottom: 12px !important;
}

.service-modal .floating-card {
  padding: 10px 12px !important;
  border-radius: 12px !important;
}


/* ======================================================
   MOBILE FIX: Sidebar options overlapping (Services tabs)
   ====================================================== */
@media (max-width: 991.98px) {

  /* Ensure the columns stack properly */
  .features .tabs-wrapper.tabs-2col .row {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .features .tabs-wrapper.tabs-2col .col-lg-4,
  .features .tabs-wrapper.tabs-2col .col-lg-8 {
    width: 100%;
    max-width: 100%;
  }

  /* Right panel hidden on mobile (since modal is used) */
  .features .tabs-wrapper.tabs-2col .col-lg-8 {
    display: none !important;
  }

  /* Sidebar container clean */
  .features .tabs-sidebar {
    padding: 0;
  }

  /* UL layout: no stretching, just normal list */
  .features .tabs-sidebar .nav-tabs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding-right: 0 !important;
    border: none !important;
  }

  /* Each item must NOT stretch and must have minimum height */
  .features .tabs-sidebar .nav-item {
    flex: 0 0 auto !important;
    min-height: auto !important;
  }

  /* Each tab button becomes a neat row card */
  .features .tabs-sidebar .nav-link {
    width: 100%;
    padding: 14px 14px 14px 18px !important;
    border-radius: 14px !important;
    background: var(--surface-color) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    min-height: 64px;
    position: relative;
    overflow: hidden;
  }

  /* Active background */
  .features .tabs-sidebar .nav-link.active {
    background: color-mix(in srgb, var(--accent-color), transparent 94%) !important;
  }

  /* Orange indicator line: centered */
  .features .tabs-sidebar .nav-link::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 50% !important;
    transform: translateY(-50%);
    width: 4px;
    height: 32px;
    border-radius: 4px;
    background: var(--accent-color);
    opacity: 0;
  }

  .features .tabs-sidebar .nav-link.active::before {
    opacity: 1;
  }

  /* The internal preview layout */
  .features .tabs-sidebar .tab-content-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 0 !important;      /* kill desktop padding that causes overlap */
    margin: 0 !important;
  }

  /* Number circle */
  .features .tabs-sidebar .tab-number {
    width: 36px !important;
    height: 36px !important;
    flex: 0 0 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    background: color-mix(in srgb, var(--default-color), transparent 92%);
    color: color-mix(in srgb, var(--default-color), transparent 30%);
  }

  /* Text must wrap properly (no overlap) */
  .features .tabs-sidebar .tab-text {
    display: flex;
    flex-direction: column;
    min-width: 0;              /* IMPORTANT: allows wrapping inside flex */
    flex: 1;
  }

  .features .tabs-sidebar .tab-text h6 {
    margin: 0;
    font-size: 14px;
    line-height: 1.2;
    white-space: normal;       /* allow wrap */
    word-break: break-word;
  }

  .features .tabs-sidebar .tab-text small {
    margin-top: 3px;
    font-size: 12px;
    line-height: 1.2;
    white-space: normal;       /* allow wrap */
    word-break: break-word;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
  }
}


/* ======================================================
   MOBILE: Center all content in LEFT sidebar items
   ====================================================== */
@media (max-width: 991.98px) {

  /* Each tab becomes a centered card */
  .features .tabs-sidebar .nav-link {
    justify-content: center !important;
    text-align: center !important;
    padding: 16px 14px !important;
  }

  /* Remove left padding reserved for indicator */
  .features .tabs-sidebar .tab-content-preview {
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 0 !important;
  }

  /* Number circle centered */
  .features .tabs-sidebar .tab-number {
    margin: 0 auto !important;
  }

  /* Text block centered */
  .features .tabs-sidebar .tab-text {
    align-items: center !important;
    text-align: center !important;
  }

  .features .tabs-sidebar .tab-text h6,
  .features .tabs-sidebar .tab-text small {
    text-align: center !important;
    white-space: normal !important;
  }

  /* Active indicator line: center vertically but keep left */
  .features .tabs-sidebar .nav-link::before {
    left: 8px !important;
    top: 50% !important;
    transform: translateY(-50%);
    height: 28px;
  }
}

@media (max-width: 991.98px) {
  .features .explore-link.secondary {
    background: transparent;
    color: var(--accent-color) !important;
    border: 1.5px solid var(--accent-color);
    box-shadow: none;
  }
}



@keyframes fadeInContent {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatAnimation {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* Center ONLY the percentage + small label */
.features .tab-content .content-area .highlight-stats {
  justify-content: center;
  text-align: center;
}

.features .tab-content .content-area .highlight-stats .stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Center ONLY the bullet points */
.features .tab-content .content-area .feature-points {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.features .tab-content .content-area .feature-points .point-item {
  justify-content: center;
  text-align: center;
}


/*--------------------------------------------------------------
# Features Cards Section
--------------------------------------------------------------*/
.features-cards .feature-card {
  height: 100%;
  background-color: var(--surface-color);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--default-color), transparent 94%);
  position: relative;
  overflow: hidden;
  transition: 0.3s;
}

.features-cards .feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px color-mix(in srgb, var(--default-color), transparent 90%);
}

.features-cards .feature-card.highlighted {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 85%), var(--surface-color));
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 75%);
}

.features-cards .feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 65px;
  height: 65px;
  border-radius: 18px;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 40%));
  color: var(--contrast-color);
}

.features-cards .feature-icon i {
  font-size: 1.75rem;
}

.features-cards h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.features-cards p {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.features-cards .feature-benefits {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.features-cards .feature-benefits li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--heading-color);
}

.features-cards .feature-benefits li i {
  color: var(--accent-color);
  font-size: 1rem;
}

.features-cards .feature-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 20px color-mix(in srgb, var(--default-color), transparent 92%);
}

.features-cards .feature-image img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.features-cards .feature-image img:hover {
  transform: scale(1.05);
}

.features-cards .feature-testimonial {
  margin-top: 4rem;
  background-color: var(--surface-color);
  border-radius: 16px;
  box-shadow: 0 15px 40px color-mix(in srgb, var(--default-color), transparent 94%);
  overflow: hidden;
}

.features-cards .testimonial-image {
  height: 100%;
}

.features-cards .testimonial-image img {
  height: 100%;
  object-fit: cover;
}

.features-cards .testimonial-content {
  padding: 3rem;
}

.features-cards .testimonial-content .quote-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  font-size: 1.75rem;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.features-cards .testimonial-content p {
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 2rem;
  color: var(--heading-color);
}

.features-cards .testimonial-content .testimonial-author h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.features-cards .testimonial-content .testimonial-author span {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.95rem;
}

@media (max-width: 991px) {
  .features-cards .feature-card {
    margin-bottom: 1.5rem;
    padding: 2rem;
  }

  .features-cards .testimonial-content {
    padding: 2rem;
    text-align: center;
  }

  .features-cards .testimonial-content .quote-icon {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 767px) {
  .features-cards .feature-testimonial {
    margin-top: 2rem;
  }

  .features-cards .testimonial-image {
    max-height: 300px;
    overflow: hidden;
  }

  .features-cards .testimonial-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
  }

  .features-cards .testimonial-content {
    padding: 1.5rem;
  }

  .features-cards .testimonial-content p {
    font-size: 1.1rem;
  }
}


/* ============================================================
   FORCE 4 FEATURE TABS TO EXPAND HORIZONTALLY ACROSS THE ROW
   ============================================================ */

.features .tabs-header .nav {
  display: flex !important;
  width: 100% !important;
  justify-content: space-between !important;
}

.features .tabs-header .nav-item {
  flex: 1 1 0 !important;    /* Each tab gets equal width */
  max-width: 25% !important; /* Guarantees 4-per-row horizontal expansion */
}

.features .tabs-header .nav-link {
  width: 100% !important;
  padding: 20px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  border: none !important;
  background: transparent !important;
}

.features .tabs-header .tab-content-preview {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}


/* ============================================================
   RESPONSIVE FEATURE TABS — 2 ROWS ON SMALL SCREENS
   ============================================================ */

@media (max-width: 768px) {

  /* Make the tab container wrap into two rows */
  .features .tabs-header .nav {
    display: flex !important;
    flex-wrap: wrap !important;
    padding: 0 !important;
    gap: 0 !important; /* optional: add gap if you want spacing */
  }

  /* Each tab takes 50% width = 2 per row */
  .features .tabs-header .nav-item {
    flex: 0 0 50% !important;  /* 2 tabs per row */
    max-width: 50% !important;
  }

  /* Adjust padding so tabs don’t look too tall on mobile */
  .features .tabs-header .nav-link {
    padding: 16px 10px !important;
  }

  /* Center & scale text for mobile */
  .features .tab-content-preview {
    flex-direction: column;
    gap: 6px;
  }

  .features .tab-number {
    width: 32px !important;
    height: 32px !important;
    font-size: 12px !important;
  }

  .features .tab-text h6 {
    font-size: 13px !important;
  }

  .features .tab-text small {
    font-size: 11px !important;
  }
}


/* ======================================
   About Overlay – White & Bold Text
   ====================================== */

.about-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.65),
    rgba(0, 0, 0, 0.35)
  ); /* ensures text readability */
}

.about-overlay .overlay-content h3 {
  color: #ffffff;
  font-weight: 700;          /* BOLD */
  letter-spacing: 0.5px;
}

.about-overlay .overlay-content p {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;          /* medium-bold */
  line-height: 1.6;
}

/* CTA link styled clearly */
.about-overlay .about-link {
  color: #ffffff;
  font-weight: 600;
}

.about-overlay .about-link span {
  color: #ffffff;
}

.about-overlay .about-link i {
  color: #ffffff;
}

/* Optional: hover effect (premium feel) */
.about-overlay .about-link:hover {
  opacity: 0.9;
  transform: translateX(4px);
}


/* =====================================================
   FORCE styles ONLY for About Overlay section
   (overrides any general/global CSS)
   ===================================================== */

.about-overlay .overlay-content h3 {
  color: #ffffff !important;
  font-weight: 700 !important;
  letter-spacing: 0.4px;
}

.about-overlay .overlay-content p {
  color: #ffffff !important;
  font-weight: 500 !important;
  line-height: 1.6;
}

/* CTA link text */
.about-overlay .overlay-content .about-link,
.about-overlay .overlay-content .about-link span,
.about-overlay .overlay-content .about-link i {
  color: #ffffff !important;
  font-weight: 600 !important;
}

/* Optional: add subtle text contrast (recommended on images) */
.about-overlay .overlay-content h3,
.about-overlay .overlay-content p {
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .contact-form-container {
  padding: 60px 0;
}

.contact .contact-form-container .form-intro {
  margin-bottom: 60px;
}

.contact .contact-form-container .form-intro h2 {
  font-size: 36px;
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--heading-color);
  letter-spacing: -0.5px;
}

@media (max-width: 768px) {
  .contact .contact-form-container .form-intro h2 {
    font-size: 28px;
  }
}

.contact .contact-form-container .form-intro p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--default-color);
  margin-bottom: 0;
  opacity: 0.85;
}

.contact .contact-form-container .contact-form .row {
  margin-bottom: 40px;
}

.contact .contact-form-container .contact-form .row:last-of-type {
  margin-bottom: 0;
}

.contact .contact-form-container .contact-form .form-field {
  position: relative;
  margin-bottom: 40px;
}

.contact .contact-form-container .contact-form .form-field.message-field {
  margin-bottom: 50px;
}

.contact .contact-form-container .contact-form .form-field .field-label {
  position: absolute;
  top: -10px;
  left: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--heading-color);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: 0.8;
}

.contact .contact-form-container .contact-form .form-field .form-input {
  width: 100%;
  border: none;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  background: transparent;
  padding: 20px 0 15px 0;
  font-size: 16px;
  color: var(--default-color);
  transition: all 0.3s ease;
}

.contact .contact-form-container .contact-form .form-field .form-input:focus {
  outline: none;
  border-bottom-color: var(--accent-color);
  background: transparent;
}

.contact .contact-form-container .contact-form .form-field .form-input::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  opacity: 1;
}

.contact .contact-form-container .contact-form .form-field .message-input {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
  padding-top: 25px;
}

.contact .contact-form-container .contact-form .send-button {
  background: transparent;
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
  padding: 18px 40px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.contact .contact-form-container .contact-form .send-button .button-arrow {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.contact .contact-form-container .contact-form .send-button:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.contact .contact-form-container .contact-form .send-button:hover .button-arrow {
  transform: translateX(5px);
}

.contact .contact-sidebar {
  background: color-mix(in srgb, var(--accent-color), transparent 97%);
  height: 100%;
  padding: 60px 40px;
}

.contact .contact-sidebar .contact-header {
  margin-bottom: 60px;
}

.contact .contact-sidebar .contact-header h3 {
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 20px;
  color: var(--heading-color);
  letter-spacing: -0.3px;
}

.contact .contact-sidebar .contact-header p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--default-color);
  margin-bottom: 0;
  opacity: 0.85;
}

.contact .contact-sidebar .contact-methods {
  margin-bottom: 60px;
}

.contact .contact-sidebar .contact-method {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 40px;
}

.contact .contact-sidebar .contact-method:last-child {
  margin-bottom: 0;
}

.contact .contact-sidebar .contact-method .contact-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
}

.contact .contact-sidebar .contact-method .contact-icon i {
  font-size: 20px;
}

.contact .contact-sidebar .contact-method .contact-details {
  flex: 1;
}

.contact .contact-sidebar .contact-method .contact-details .method-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-color);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.contact .contact-sidebar .contact-method .contact-details p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--default-color);
  margin-bottom: 0;
}

.contact .contact-sidebar .connect-section {
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding-top: 40px;
}

.contact .contact-sidebar .connect-section .connect-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-color);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 20px;
}

.contact .contact-sidebar .connect-section .social-links {
  display: flex;
  gap: 15px;
}

.contact .contact-sidebar .connect-section .social-links .social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--default-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact .contact-sidebar .connect-section .social-links .social-link i {
  font-size: 16px;
}

.contact .contact-sidebar .connect-section .social-links .social-link:hover {
  color: var(--accent-color);
  transform: translateY(-2px);
}

@media (max-width: 992px) {
  .contact .contact-form-container {
    padding: 40px 0;
  }

  .contact .contact-sidebar {
    padding: 40px 30px;
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .contact .contact-form-container .form-intro {
    margin-bottom: 40px;
    text-align: center;
  }

  .contact .contact-form-container .contact-form .row {
    margin-bottom: 20px;
  }

  .contact .contact-form-container .contact-form .form-field {
    margin-bottom: 30px;
  }

  .contact .contact-sidebar {
    padding: 30px 25px;
  }

  .contact .contact-sidebar .contact-header,
  .contact .contact-sidebar .contact-methods {
    margin-bottom: 40px;
  }

  .contact .contact-sidebar .contact-method {
    margin-bottom: 30px;
  }
}

/* =====================================
   CONTACT METHOD ACCENT HOVER ONLY
===================================== */

.contact .contact-sidebar .contact-method {
  padding: 16px 18px;
  border-radius: 12px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

/* ENTIRE ROW → ACCENT COLOR */
.contact .contact-sidebar .contact-method:hover {
  background-color: var(--accent-color);
}

/* Text turns white */
.contact .contact-sidebar .contact-method:hover
.contact-details p,
.contact .contact-sidebar .contact-method:hover
.method-label {
  color: var(--contrast-color);
}

/* Icon turns white */
.contact .contact-sidebar .contact-method:hover
.contact-icon {
  color: var(--contrast-color);
}



/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team {
  padding-top: 60px;
  padding-bottom: 60px;
}

.team .member-card {
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.team .member-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px color-mix(in srgb, var(--default-color), transparent 92%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 60%);
}

.team .member-card:hover .member-media .social-list {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.team .member-card .member-media {
  position: relative;
  aspect-ratio: 1/1;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
}

.team .member-card .member-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team .member-card .member-media .social-list {
  list-style: none;
  position: absolute;
  inset-inline: 12px;
  bottom: 12px;
  display: flex;
  gap: 10px;
  background: color-mix(in srgb, var(--background-color), var(--accent-color) 6%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  backdrop-filter: blur(4px);
  border-radius: 999px;
  padding: 8px 10px;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.team .member-card .member-media .social-list a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--default-color);
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.team .member-card .member-media .social-list a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: color-mix(in srgb, var(--accent-color), transparent 30%);
  transform: translateY(-2px);
}

.team .member-card .member-content {
  padding: 18px 18px 22px;
}

.team .member-card .member-content .member-name {
  font-size: 1.05rem;
  margin: 0 0 4px 0;
}

.team .member-card .member-content .member-role {
  margin: 0 0 10px 0;
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
}

.team .member-card .member-content .member-bio {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--default-color), transparent 18%);
}

.team .team-highlight {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 92%) 0%, color-mix(in srgb, var(--accent-color), transparent 96%) 100%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 70%);
  border-radius: 14px;
  padding: 22px 22px;
}

.team .team-highlight .icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-right: 14px;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 70%);
}

.team .team-highlight .icon-wrap i {
  font-size: 1.25rem;
}

.team .team-highlight .title {
  margin: 0 0 6px 0;
  font-size: 1.1rem;
}

.team .team-highlight .desc {
  color: color-mix(in srgb, var(--default-color), transparent 18%);
}

.team .join-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: radial-gradient(1200px 300px at 20% -10%, color-mix(in srgb, var(--accent-color), transparent 82%), transparent 60%), radial-gradient(900px 300px at 120% 110%, color-mix(in srgb, var(--accent-color), transparent 86%), transparent 60%), var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 70%);
  display: flex;
}

.team .join-card .join-content {
  padding: 24px;
  position: relative;
  z-index: 2;
}

.team .join-card .join-content p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.team .join-card .join-content .btn-join {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 25%);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.team .join-card .join-content .btn-join:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px color-mix(in srgb, var(--accent-color), transparent 70%);
  background: color-mix(in srgb, var(--accent-color), white 10%);
  color: var(--contrast-color);
}

.team .swiper-wrapper {
  height: auto !important;
}

@media (max-width: 992px) {
  .team .team-highlight .icon-wrap {
    margin-right: 12px;
  }
}

@media (max-width: 768px) {
  .team .member-card .member-content {
    padding: 16px;
  }

  .team .member-card .member-content .member-bio {
    font-size: 0.9rem;
  }

  .team .join-card .join-content {
    padding: 20px;
  }
}





/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #433f39; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #ffb03b; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

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

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

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

.dark-background {
  --background-color: #1e160d;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #42301c;
  --contrast-color: #ffffff;
}


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





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




/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  padding: 0;
}

.hero .carousel {
  width: 100%;
  min-height: 100vh;
  padding: 0;
  margin: 0;
  background-color: var(--background-color);
  position: relative;
}

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

.hero .carousel-item {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero .carousel-item:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 50%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .carousel-container {
  position: absolute;
  inset: 90px 64px 64px 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 3;
}

.hero h2 {
  margin-bottom: 30px;
  font-size: 48px;
  font-weight: 700;
  animation: fadeInDown 1s both;
}

.hero h2 span {
  color: var(--accent-color);
}

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

.hero p {
  animation: fadeInDown 1s both 0.2s;
}

@media (min-width: 1024px) {

  .hero h2,
  .hero p {
    max-width: 60%;
  }
}

.hero .btn-get-started {
  color: var(--contrast-color);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 32px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 10px 5px;
  animation: fadeInUp 1s both 0.4s;
  border: 2px solid var(--accent-color);
}

.hero .btn-get-started:hover {
  background: var(--accent-color);
}

.hero .carousel-control-prev,
.hero .carousel-control-next {
  width: 10%;
  transition: 0.3s;
  opacity: 0.5;
}

.hero .carousel-control-prev:focus,
.hero .carousel-control-next:focus {
  opacity: 0.5;
}

.hero .carousel-control-prev:hover,
.hero .carousel-control-next:hover {
  opacity: 0.9;
}

@media (min-width: 1024px) {

  .hero .carousel-control-prev,
  .hero .carousel-control-next {
    width: 5%;
  }
}

.hero .carousel-control-next-icon,
.hero .carousel-control-prev-icon {
  background: none;
  font-size: 32px;
  line-height: 1;
}

.hero .carousel-indicators {
  list-style: none;
}

.hero .carousel-indicators li {
  cursor: pointer;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}


/* FORCE CAROUSEL TEXT TO WHITE */
.hero .carousel-container h2,
.hero .carousel-container p,
.hero .carousel-container a {
  color: #ffffff !important;
}

/* MAKE CAROUSEL NAVIGATION ARROWS WHITE */
.hero .carousel-control-prev-icon,
.hero .carousel-control-next-icon {
  filter: invert(1) brightness(200%) !important;
}

/* ENSURE ARROWS DON'T SHOW BLACK BACKGROUND */
.hero .carousel-control-prev,
.hero .carousel-control-next {
  background: transparent !important;
}

/* MAKE INDICATORS WHITE */
.hero .carousel-indicators li {
  background-color: #ffffff !important;
}

.hero .carousel-indicators .active {
  background-color: var(--accent-color) !important; /* matches theme color */
}


.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 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: 16px;
}

@media (max-width: 576px) {

  .stats .stats-item {
    display: flex;
    flex-direction: column;          /* stack icon + text */
    justify-content: center;         /* center vertically */
    align-items: center !important;  /* override Bootstrap */
    text-align: center;
  }

  .stats .stats-item i {
    margin-right: 0 !important;      /* remove left spacing */
    margin-bottom: 12px;
  }
}

.why-us .card-item {
  background: var(--surface-color);
  padding: 50px 30px;
  transition: all ease-in-out 0.3s;
  height: 100%;
  position: relative;
}

.why-us .card-item span {
  color: var(--default-color);
  display: block;
  font-size: 28px;
  font-weight: 700;
}

.why-us .card-item h4 {
  font-size: 24px;
  font-weight: 600;
  padding: 0;
  margin: 20px 0;
  color: var(--default-color);
}

.why-us .card-item h4 a {
  color: var(--default-color);
}

.why-us .card-item p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0;
  padding: 0;
}

.why-us .card-item:hover {
  background: var(--accent-color);
  padding: 30px 30px 70px 30px;
}

.why-us .card-item:hover span,
.why-us .card-item:hover h4 a,
.why-us .card-item:hover p {
  color: var(--contrast-color);
}


/* MOBILE FIX FOR CAROUSEL TEXT */
@media (max-width: 768px) {

  /* Make text smaller */
  .hero .carousel-container h2 {
    font-size: 26px !important;
    line-height: 1.3 !important;
  }

  .hero .carousel-container p {
    font-size: 15px !important;
    line-height: 1.6 !important;
    max-width: 90% !important;
    margin: 0 auto !important;
  }

  /* Center text container */
  .hero .carousel-container {
    inset: 40px 20px !important; /* reduce side padding */
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Make buttons center nicely */
  .hero .btn-get-started {
    font-size: 14px !important;
    padding: 6px 24px !important;
    margin: 8px 4px !important;
  }
}

/* FIX CAROUSEL TEXT BEING SHIFTED TO THE RIGHT */
.hero .carousel-container {
  left: 50% !important;
  transform: translateX(-50%) !important;

  /* Remove the default inset padding offset causing the shift */
  right: auto !important;
  width: 100%;
  max-width: 90%;  /* keeps text nicely centered */
  text-align: center !important;
}


/* ===========================
   GAP REDUCER (HOME PAGE)
   =========================== */

/* Reduce overall section padding (was 60px 0) */
section.section,
section,
.section {
  padding: 35px 0 !important;
}

/* Reduce huge spacing under titles (was 60px) */
.section-title {
  padding-bottom: 28px !important;
}

/* Reduce spacing between subtitle, h2, and paragraph */
.section-title .subtitle {
  margin-bottom: 10px !important;
}

.section-title h2 {
  margin-bottom: 10px !important;
}

.section-title p {
  margin-top: 0 !important;
}

/* About: remove extra inner gap */
.about-us .about-showcase {
  margin-bottom: 2.5rem !important; /* was 6rem */
}

/* Optional: About extra cards top margin is large in HTML */
.about-us .about-extra.mt-5 {
  margin-top: 2rem !important; /* was ~3rem+ */
}

.hero .carousel {
  min-height: 100vh !important; /* was 100vh */
}

/* ===============================
   HERO BLACK BAR FIX (FINAL)
   =============================== */

/* Force hero section to have no background color */
#hero {
  background: transparent !important;
}

/* Make carousel truly full height */
#hero .carousel,
#hero .carousel-inner,
#hero .carousel-item {
  height: 100vh !important;
  min-height: 100vh !important;
}

/* Ensure image covers entire hero */
#hero .carousel-item img {
  height: 100% !important;
  width: 100% !important;
  object-fit: cover !important;
}

/* Remove any margin/padding leaks */
#hero,
#hero * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}


.hero .carousel-item:before {
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.35),
    rgba(0,0,0,0.55)
  ) !important;
}


html, body {
  margin: 0 !important;
  padding: 0 !important;
}

/* Remove the browser default gap at top (does not change navbar styling) */
html, body {
  margin: 0 !important;
  padding: 0 !important;
}

/* Make hero start from the very top */
#hero {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

#hero .carousel,
#hero .carousel-inner,
#hero .carousel-item {
  height: 100vh;
  min-height: 100vh;
}



/* =========================================================
   GLOBAL BODY TEXT = Features paragraph size (consistent)
   Headings unaffected.
========================================================= */

/* Set the global readable paragraph size */
p,
.section-title p,
.about-us p,
.features p,
.features-cards p,
.why-us p,
.team p,
.card-item p,
.member-bio,
.join-card p,
.team-highlight .desc {
  font-size: 16px !important;
  line-height: 1.75 !important;
  letter-spacing: 0 !important;
}

/* Make sure section intro line doesn't look huge */
.section-title p {
  max-width: 820px;
  margin: 10px auto 0 auto !important;
}

/* Keep hero paragraph slightly larger for impact (optional) */
#hero .carousel-container p {
  font-size: 17px !important;
  line-height: 1.7 !important;
}

/* Mobile: slightly smaller but consistent */
@media (max-width: 768px) {
  p,
  .section-title p,
  .about-us p,
  .features p,
  .features-cards p,
  .why-us p,
  .team p,
  .card-item p,
  .member-bio,
  .join-card p,
  .team-highlight .desc {
    font-size: 15px !important;
    line-height: 1.7 !important;
  }

  #hero .carousel-container p {
    font-size: 15px !important;
  }
}



/* ======================================================
   WHY-US in STEPS STYLE (Scoped) — Effects + Compact
   ====================================================== */

#why-us .process-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 1.2rem 0; /* smaller than steps */
}

#why-us .process-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding-bottom: 1.6rem; /* tighter */
}

#why-us .process-item:last-child {
  padding-bottom: 0;
}

#why-us .process-item .content {
  width: 100%;
  position: relative;
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--accent-color), transparent 94%),
    var(--surface-color)
  );
  border: 1.5px solid color-mix(in srgb, var(--accent-color), transparent 82%);
  border-radius: 18px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  overflow: hidden;
}

#why-us .process-item .content:hover {
  transform: translateX(10px);
  box-shadow: -10px 12px 28px color-mix(in srgb, var(--default-color), transparent 88%);
}

#why-us .process-item .step-number {
  position: absolute;
  left: -24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3.4rem; /* slightly smaller */
  font-weight: 800;
  color: var(--accent-color);
  font-family: var(--heading-font);
  line-height: 1;
  opacity: 0.18;
  transition: transform 0.28s ease, opacity 0.28s ease;
  pointer-events: none;
}

#why-us .process-item .content:hover .step-number {
  transform: translateY(-50%) translateX(-6px);
  opacity: 0.28;
}

#why-us .process-item .card-body {
  padding: 1.4rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

#why-us .process-item .step-icon {
  flex-shrink: 0;
  width: 62px;
  height: 62px;
  background: var(--accent-color);
  border-radius: 14px;
  display: grid;
  place-items: center;
  transition: transform 0.28s ease, background 0.28s ease;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--accent-color), transparent 70%);
}

#why-us .process-item .step-icon i {
  font-size: 1.7rem;
  color: var(--contrast-color);
}

#why-us .process-item .content:hover .step-icon {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--accent-color), transparent 15%),
    var(--accent-color)
  );
  transform: rotate(8deg);
}

#why-us .process-item .step-content h3 {
  color: var(--heading-color);
  font-size: 1.25rem;
  margin: 0 0 0.45rem 0;
  font-weight: 650;
  line-height: 1.25;
}

#why-us .process-item .step-content p {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0;
}

/* Mobile: keep effects but adjust layout */
@media (max-width: 767.98px) {
  #why-us .process-container {
    padding: 0.8rem 0;
  }

  #why-us .process-item {
    padding-bottom: 1.1rem;
  }

  #why-us .process-item .content:hover {
    transform: translateY(-4px);
  }

  #why-us .process-item .step-number {
    font-size: 2.7rem;
    left: 50%;
    top: -1.2rem;
    transform: translateX(-50%);
    opacity: 0.16;
  }

  #why-us .process-item .content:hover .step-number {
    transform: translateX(-50%);
    opacity: 0.22;
  }

  #why-us .process-item .card-body {
    padding: 1.4rem 1.2rem 1.1rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.9rem;
  }

  #why-us .process-item .step-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
  }

  #why-us .process-item .step-icon i {
    font-size: 1.55rem;
  }

  #why-us .process-item .step-content h3 {
    font-size: 1.15rem;
  }
}



/* =================================================
   PARTNERS SECTION – SPACING FIX
================================================= */

/* Give the entire section breathing room */
#partners,
#team.section:has(.partners-carousel-track) {
  padding-top: 60px !important;
  padding-bottom: 70px !important;
}

/* Space below section title */
#partners .section-title,
#team.section .section-title:has(+ .partners-carousel-track) {
  margin-bottom: 40px !important;
}

/* Subtitle spacing */
#partners .section-title p,
#team.section .section-subtitle {
  margin-top: 10px !important;
  margin-bottom: 0 !important;
  font-size: 16px !important;
}

/* Push carousel away from heading */
.partners-carousel-track {
  margin-top: 40px !important;
}

/* Make partner cards taller and more premium */
.partner-logo {
  padding: 28px 24px !important;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Slightly increase gap between cards */
.partners-carousel-track {
  gap: 24px !important;
}

/* Mobile: keep it airy, not cramped */
@media (max-width: 768px) {
  #partners,
  #team.section:has(.partners-carousel-track) {
    padding-top: 45px !important;
    padding-bottom: 55px !important;
  }

  .partners-carousel-track {
    margin-top: 30px !important;
    gap: 18px !important;
  }

  .partner-logo {
    min-height: 96px;
    padding: 22px !important;
  }
}


/* ======================================================
   PARTNER LOGOS – BIG, CLEAN, NO BACKGROUND
   ====================================================== */

/* Track layout */
#partners .partners-carousel-track {
  display: flex;
  align-items: center;
  gap: 72px;               /* more breathing space */
  overflow: hidden;
}

/* Logo container — NO background, NO border */
#partners .partner-logo {
  flex: 0 0 auto;
  width: 200px;            /* BIGGER width */
  height: 150px;           /* BIGGER height */
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0;
}

/* Logo image — fill space naturally */
#partners .partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;     /* keep original proportions */
  opacity: 0.9;
  transition: all 0.3s ease;
}

/* Hover effect (premium but subtle) */
#partners .partner-logo img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.08);
}

/* Tablet */
@media (max-width: 992px) {
  #partners .partner-logo {
    width: 170px;
    height: 100px;
  }

  #partners .partners-carousel-track {
    gap: 40px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  #partners .partner-logo {
    width: 140px;
    height: 90px;
  }

  #partners .partners-carousel-track {
    gap: 20px;
  }
}

/* =========================================================
   HERO CAROUSEL – CLEAN, PREMIUM, NOT CONGESTED
========================================================= */

/* Title: slightly smaller + cleaner */
#hero .carousel-container h2 {
  font-size: 38px !important;     /* reduces congestion */
  font-weight: 650 !important;
  line-height: 1.15 !important;
  margin-bottom: 14px !important;
  letter-spacing: -0.4px;
}

/* Paragraph: make it readable, not too many lines */
#hero .carousel-container p {
  font-size: 16px !important;
  line-height: 1.75 !important;
  max-width: 680px;              /* limits line length */
  margin: 0 auto 22px auto !important;
  opacity: 0.95;
}


/* Mobile: reduce card padding and heading size */
@media (max-width: 768px) {
  #hero .carousel-container {
    max-width: 92%;
    padding: 18px 16px;
    border-radius: 18px;
  }

  #hero .carousel-container h2 {
    font-size: 28px !important;
  }

  #hero .carousel-container p {
    font-size: 14.5px !important;
    line-height: 1.65 !important;
    max-width: 100%;
  }
}

/* =========================================================
   SERVICES (FEATURES TABS) – FIT IN ONE VIEWPORT (DESKTOP)
   Goal: switch tabs without scrolling back up
========================================================= */

/* Only on desktop/laptop heights */
@media (min-width: 992px) and (min-height: 700px) {

  /* reduce section padding */
  #features.section {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  /* reduce space under section title */
  #features .section-title {
    margin-bottom: 18px !important;
  }

  /* tabs header less tall */
  #features .tabs-header {
    margin-bottom: 16px !important;
  }

  #features .nav-tabs .nav-link {
    padding: 14px 18px !important;
  }

  /* reduce content vertical spacing */
  #features .content-area h3 {
    margin-bottom: 10px !important;
  }

  #features .content-area p {
    margin-bottom: 14px !important;
    line-height: 1.5 !important;
  }

  #features .highlight-stats {
    margin: 14px 0 !important;
    gap: 18px !important;
  }

  #features .feature-points {
    margin: 12px 0 !important;
    gap: 8px !important;
  }

  /* image: keep same width but reduce height */
  #features .visual-content img {
    width: 100% !important;
    height: 340px !important;   /* key change */
    object-fit: cover !important;
    border-radius: 14px;
  }

  /* floating card position tighter */
  #features .floating-element {
    transform: scale(0.95);
  }
}

/* Small laptop / shorter screens: tighten more */
@media (min-width: 992px) and (max-height: 700px) {
  #features.section { padding-top: 26px !important; padding-bottom: 26px !important; }
  #features .visual-content img { height: 300px !important; }
}


/* GLOBAL PAGE OFFSET (all pages) */
.page-main {
  padding-top: 140px; /* ⬅ increased from 110px */
}

@media (max-width: 768px) {
  .page-main {
    padding-top: 110px; /* ⬅ increased from 90px */
  }
}

/* =====================================================
   NAVBAR – GLASS + SOFT HOVER (FINAL OVERRIDE)
   ===================================================== */

/* Glass background – more transparent */
.glass-navbar {
  background: rgba(255, 255, 255, 0.6) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Base nav link */
.nav-wrapper .nav-link {
  color: #2f2f2f !important;
  font-weight: 500;
  padding: 10px 14px;
  border: none !important;
  background: transparent !important;
  transition: color 0.3s ease, background-color 0.3s ease;
}

/* ❌ REMOVE underline / blue / yellow line */
.nav-wrapper .nav-link::after,
.nav-wrapper .nav-link::before {
  content: none !important;
  display: none !important;
}

/* Hover – soft, premium */
.nav-wrapper .nav-link:hover {
  color: #6a6a6a !important;
  background-color: rgba(0, 0, 0, 0.04);
  border-radius: 6px;
}

/* Active / current page */
.nav-wrapper .nav-link.active,
.nav-wrapper .nav-link[aria-current="page"] {
  color: #5c5c5c !important;
  background-color: rgba(0, 0, 0, 0.06);
  border-radius: 6px;
}

/* =====================================================
   DROPDOWN – REMOVE STRONG COLOR
   ===================================================== */

.nav-wrapper .dropdown {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.nav-wrapper .dropdown-item {
  color: #333 !important;
  transition: background 0.25s ease, color 0.25s ease;
}

/* Dropdown hover – no blue/yellow */
.nav-wrapper .dropdown-item:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: #000 !important;
}

/* =====================================================
   MOBILE MENU BACKGROUND FIX
   ===================================================== */

@media (max-width: 991px) {
  .nav-wrapper {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
  }
}


/* REMOVE the diamond / arrow pointer on dropdown */
.nav-wrapper .dropdown::before,
.nav-wrapper .dropdown::after {
  content: none !important;
  display: none !important;
}

/* If the diamond is coming from individual items */
.nav-wrapper .dropdown-item::before,
.nav-wrapper .dropdown-item::after {
  content: none !important;
  display: none !important;
}


/* ================================
   IAST Logo Hover Full Form
   Desktop Only
================================ */

/* Logo container */
.logo {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

/* Full form text */
.logo-fullform {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.5px;

  /* Match your site theme */
  color: rgba(255, 255, 255, 0.85);

  /* Hidden by default */
  opacity: 0;
  transform: translateX(-6px);
  pointer-events: none;

  /* Smooth animation */
  transition: opacity 0.35s ease, transform 0.35s ease;

  /* Soft glow effect */
  text-shadow: 0 0 12px rgba(0, 180, 255, 0.25);
}

/* Hover effect (DESKTOP ONLY) */
@media (min-width: 992px) {
  .logo:hover .logo-fullform {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Disable on mobile completely */
@media (max-width: 991px) {
  .logo-fullform {
    display: none;
  }
}



/* 4) Keep text stable + don’t let it wrap */
#company-name .logo-fullform {
  white-space: nowrap;
  margin-left: 12px;
}


.social-links .social-icon i {
  font-size: 20px;
  color: #444;
  transition: color 0.3s ease;
}

.social-links .social-icon:hover .bi-instagram {
  color: #e1306c;
}

.social-links .social-icon:hover .bi-linkedin {
  color: #0a66c2;
}


/* ================================
   HERO BUTTON COLOR FIX (ORANGE)
   ================================ */

.hero .btn-get-started,
.hero .btn-get-started-outline,
.hero a.btn-get-started,
.hero a.btn-get-started-outline {
  border-color: var(--accent-color) !important;
  color: #fff !important;
}

/* Hover state */
.hero .btn-get-started:hover,
.hero .btn-get-started-outline:hover {
  background-color: var(--accent-color) !important;
  border-color: var(--accent-color) !important;
  color: #fff !important;
}


/* =========================================================
   FIX: Dropdown getting clipped on services pages
   (because sections use overflow: clip/hidden)
========================================================= */

/* Ensure navbar can overflow */
.nav-wrapper,
.glass-navbar,
.navbar-content,
.main-nav,
.nav-item {
  overflow: visible !important;
}

/* Make dropdown appear above ALL page content */
.nav-wrapper {
  position: relative;
  z-index: 99999 !important;
}

.glass-navbar {
  position: relative;
  z-index: 99999 !important;
}

/* Dropdown positioning + visibility */
.main-nav .nav-item.has-dropdown {
  position: relative;
}

.main-nav .nav-item.has-dropdown .dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 260px;

  display: none;
  z-index: 100000 !important;

  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.12);

  padding: 10px;
}

/* Show dropdown on desktop hover */
@media (min-width: 992px){
  .main-nav .nav-item.has-dropdown:hover > .dropdown {
    display: block;
  }
}

/* Dropdown items */
.main-nav .nav-item.has-dropdown .dropdown .dropdown-item{
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
}

.main-nav .nav-item.has-dropdown .dropdown .dropdown-item:hover{
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
}


/* make sure dropdown is above everything */
.nav-wrapper,
.glass-navbar {
  position: relative;
  z-index: 5000;
}

.nav-item.has-dropdown { position: relative; }

.nav-item .dropdown {
  z-index: 6000;
}

/* if any parent has overflow hidden, dropdown can't be clicked */
.glass-navbar,
.navbar-content,
.nav-wrapper {
  overflow: visible !important;
}
@media (max-width: 991px) {
  .nav-item.has-dropdown .dropdown {
    position: static;       /* becomes part of vertical menu */
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  /* hide unless open */
  .nav-item.has-dropdown:not(.open) .dropdown {
    display: none;
  }

  .nav-item.has-dropdown.open .dropdown {
    display: block;
  }
}


/* ===============================
   IAST FULL FORM – BLINK / PULSE
   =============================== */

.logo {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-fullform {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--accent-color, #ff7a18);  
  opacity: 0;
  animation: iastBlink 1.5s ease-in-out infinite;
}


@keyframes iastBlink {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  25% {
    opacity: 1;
  }
  35% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}


@media (max-width: 576px) {
  .logo-fullform {
    display: none;
  }
}



/* ===============================
   IAST FULL FORM – ONE-TIME WIGGLE
   =============================== */
/*
.logo {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-fullform {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--accent-color, #ff7a18);
  opacity: 1;
  animation: iastWiggle 2s ease-in-out 1.2s 2 forwards;
}

@keyframes iastWiggle {
  0% {
    transform: translateX(0);
  }
  15% {
    transform: translateX(-2px);
  }
  30% {
    transform: translateX(3px);
  }
  45% {
    transform: translateX(-2px);
  }
  60% {
    transform: translateX(2px);
  }
  100% {
    transform: translateX(0);
  }
}

*/

@media (max-width: 768px) {
  .carousel-item {
    height: 100svh; /* stable mobile viewport */
  }

  .carousel-video {
    width: 100%;
    height: 100%;
  }

  .carousel-container h2 {
    font-size: 1.5rem;
  }

  .carousel-container p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}
@media (max-width: 768px) {
  .carousel-item {
    height: 100svh;
  }

  .carousel-video {
    width: 100%;
    height: 100%;
  }
}
