/**
* Template Name: CoreBiz
* Template URL: https://bootstrapmade.com/corebiz-bootstrap-business-template/
* Updated: Aug 30 2025 with Bootstrap v5.3.8
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

@charset "UTF-8";

/*--------------------------------------------------------------
# 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: "Montserrat", sans-serif;
  --nav-font: "Open Sans", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: #ffffff;
  /* Background color for the entire website, including individual sections */
  --default-color: #444444;
  /* Default color used for the majority of the text content across the entire website */
  --heading-color: #674c1d;
  /* Color for headings, subheadings and title throughout the website - using your dark brown */
  --accent-color: #ddaf26;
  /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out - using your gold */
  --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: #222222;
  /* The default color of the main navmenu links */
  --nav-hover-color: #ddaf26;
  /* Applied to main navmenu links when they are hovered over or active - using your gold */
  --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: #222222;
  /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #ddaf26;
  /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. - using your gold */
}

/*--------------------------------------------------------------
# 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: #f8f6f0;
  /* Light beige background */
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #b8802b;
  /* Using your medium brown for dark backgrounds */
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #674c1d;
  /* Using your dark brown for surfaces */
  --contrast-color: #ffffff;
}

/*--------------------------------------------------------------
# Consistent Section Backgrounds
--------------------------------------------------------------*/
/* Apply same background to all main sections */
.hero,
.about,
.clients,
.programs,
.skills,
.services,
.portfolio,
.team,
.contact,
.faq,
.vision-mission-section,
.testimonials {
  background-color: #faf8f3 !important;
}

/* Keep header and footer untouched */
.header,
.footer {
  background-color: var(--background-color) !important;
}

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

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

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

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

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

@media (max-width: 575px) {

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

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

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

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

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

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

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

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

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

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

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

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - 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 15px;
    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 a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    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);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

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

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - 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 i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

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

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .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 96%);
  padding: 50px 0;
}

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

.footer .footer-newsletter .newsletter-form {
  margin-top: 30px;
  margin-bottom: 15px;
  padding: 6px 8px;
  position: relative;
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
  box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  transition: 0.3s;
  border-radius: 4px;
}

.footer .footer-newsletter .newsletter-form:focus-within {
  border-color: var(--accent-color);
}

.footer .footer-newsletter .newsletter-form input[type=email] {
  border: 0;
  padding: 4px;
  width: 100%;
  background-color: var(--surface-color);
  color: var(--default-color);
}

.footer .footer-newsletter .newsletter-form input[type=email]:focus-visible {
  outline: none;
}

.footer .footer-newsletter .newsletter-form input[type=submit] {
  border: 0;
  font-size: 16px;
  padding: 0 20px;
  margin: -7px -8px -7px 0;
  background: var(--accent-color);
  color: var(--contrast-color);
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
}

.footer .footer-newsletter .newsletter-form input[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.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;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-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;
}

/* ========== MOBILE FOOTER OPTIMIZATION ========== */
/* Add this to main.css to fix the footer layout on phones */

@media (max-width: 991px) {
  .footer .row>div {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    /* Subtle separator line */
  }

  /* Remove border from the last item to avoid a hanging line */
  .footer .row>div:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  /* Center the logo on mobile */
  .footer .footer-logo {
    text-align: center;
    margin-top: 10px;
  }

  /* Make headings slightly larger and clearer on mobile */
  .footer h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--heading-color);
  }

  /* Add spacing to links for easier tapping */
  .footer .footer-links ul li {
    padding: 8px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
  }

  /* Adjust contact info spacing */
  .footer .footer-contact p {
    margin-bottom: 15px;
  }
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background-color: var(--background-color);
  transition: all 0.6s ease-out;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#preloader div.loader-dots {
  position: relative;
  width: 61px;
  /* 48px travel + 13px width */
  height: 13px;
  left: auto;
  background-color: transparent;
  animation: none;
  border-radius: 0;
}

#preloader div.loader-dots div {
  position: absolute;
  left: 0;
  width: 13px;
  height: 13px;
  background-color: var(--accent-color);
  border-radius: 50%;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

#preloader div.loader-dots div:nth-child(1) {
  left: 0;
  animation: animate-preloader-1 0.6s infinite;
}

#preloader div.loader-dots div:nth-child(2) {
  left: 0;
  animation: animate-preloader-2 0.6s infinite;
}

#preloader div.loader-dots div:nth-child(3) {
  left: 24px;
  animation: animate-preloader-2 0.6s infinite;
}

#preloader div.loader-dots div:nth-child(4) {
  left: 48px;
  animation: animate-preloader-3 0.6s infinite;
}

@keyframes animate-preloader-1 {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes animate-preloader-3 {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(0);
  }
}

@keyframes animate-preloader-2 {
  0% {
    transform: translate(0, 0);
  }

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

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

.scroll-top i {
  font-size: 28px;
  /* Increased from 24px to 28px */
  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 {
  --background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 25px 0;
  position: relative;
}

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

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}

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

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.custom-breadcrumbs {
  padding: 12px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 1px solid #dee2e6;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.breadcrumb-item:hover {
  color: #0056b3;
  transform: translateY(-1px);
}

.breadcrumb-item.current {
  color: #495057;
  cursor: default;
}

.breadcrumb-divider {
  color: #6c757d;
  font-size: 12px;
}

.breadcrumb-item i {
  font-size: 16px;
}

/* Breadcrumb Styling */
.breadcrumbs {
  padding: 15px 0;
  background: #f8f5ed;
  min-height: 40px;
  margin-top: 82px;
}

.breadcrumb {
  background: transparent;
  margin-bottom: 0;
  padding: 0;
}

.breadcrumb-item a {
  color: #b8802b;
  text-decoration: none;
}

.breadcrumb-item.active {
  color: #674c1d;
}

.breadcrumb-item+.breadcrumb-item::before {
  content: ">";
  color: #b8802b;
}

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

@media (max-width: 1199px) {

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

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

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:before {
  content: "";
  position: absolute;
  display: block;
  width: 160px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  padding: 0;
  /* Background will be handled by the consistent backgrounds section */
  position: relative;
  overflow: hidden;
}

.hero .hero-content {
  position: relative;
  z-index: 2;
}

.hero .hero-content .content {
  padding: 80px 0;
}

.hero .hero-content .content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--heading-color);
}

@media (max-width: 768px) {
  .hero .hero-content .content h1 {
    font-size: 2.5rem;
  }
}

.hero .hero-content .content p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 3rem;
  max-width: 90%;
}

.hero .hero-content .content .cta-group {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero .hero-content .content .cta-group .btn-primary {
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  display: inline-block;
}

.hero .hero-content .content .cta-group .btn-primary:hover {
  background: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.hero .hero-content .content .cta-group .btn-secondary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--heading-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.hero .hero-content .content .cta-group .btn-secondary i {
  font-size: 1.5rem;
  color: var(--accent-color);
  transition: all 0.3s ease;
}

.hero .hero-content .content .cta-group .btn-secondary:hover {
  color: var(--accent-color);
}

.hero .hero-content .content .cta-group .btn-secondary:hover i {
  transform: scale(1.1);
}

.hero .hero-content .hero-image {
  position: relative;
  padding: 80px 0;
}

@keyframes float-hero {
  0% {
    transform: translateY(0px);
  }

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

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

.hero .hero-content .hero-image img {
  border-radius: 12px;
  box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 85%);
  width: 100%;
  height: auto;
  animation: float-hero 6s ease-in-out infinite;
}

.hero .hero-content .hero-image .floating-card {
  position: absolute;
  bottom: 40px;
  left: -40px;
  background: var(--surface-color);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 15px 40px color-mix(in srgb, var(--default-color), transparent 85%);
  backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
  .hero .hero-content .hero-image .floating-card {
    left: 20px;
    bottom: 20px;
    padding: 1.5rem;
  }
}

.hero .hero-content .hero-image .floating-card .card-content {
  display: flex;
  gap: 2rem;
}

@media (max-width: 576px) {
  .hero .hero-content .hero-image .floating-card .card-content {
    flex-direction: column;
    gap: 1rem;
  }
}

.hero .hero-content .hero-image .floating-card .metric {
  text-align: center;
}

.hero .hero-content .hero-image .floating-card .metric .number {
  display: block;
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent-color);
  line-height: 1;
}

.hero .hero-content .hero-image .floating-card .metric .label {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-top: 0.25rem;
}

.hero .hero-features {
  background: var(--surface-color);
  padding: 4rem 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.hero .hero-features .feature-item {
  text-align: center;
  padding: 2rem 1rem;
  transition: all 0.3s ease;
}

.hero .hero-features .feature-item:hover {
  transform: translateY(-5px);
}

.hero .hero-features .feature-item .icon {
  width: 80px;
  height: 80px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.hero .hero-features .feature-item .icon i {
  font-size: 2rem;
  color: var(--accent-color);
}

.hero .hero-features .feature-item h4 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--heading-color);
}

.hero .hero-features .feature-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 0;
}

.hero .hero-features .feature-item:hover .icon {
  background: var(--accent-color);
  transform: scale(1.1);
}

.hero .hero-features .feature-item:hover .icon i {
  color: var(--contrast-color);
}

@media (max-width: 992px) {
  .hero .hero-content .content {
    text-align: center;
    padding: 60px 0 40px;
  }

  .hero .hero-content .content p {
    max-width: 100%;
  }

  .hero .hero-content .hero-image {
    padding: 40px 0 60px;
  }
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url("../img/bg/abstract-bg-1.webp") center/cover no-repeat;
  opacity: 0.03;
  z-index: 1;
}


/*--------------------------------------------------------------
# Portfolio Mobile Expansion Animation
--------------------------------------------------------------*/
@media (max-width: 768px) {
  .portfolio .portfolio-grid.isotope-container {
    max-height: 1200px;
    /* Initial height showing limited items */
    overflow: hidden;
    transition: max-height 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    /* Smoother and slower transition */
  }
}

/* Icon Rotation Animation */
.portfolio-show-more .btn i {
  transition: transform 0.5s ease;
  display: inline-block;
}

.portfolio-show-more .btn i.rotated {
  transform: rotate(180deg);
}

/*--------------------------------------------------------------
# About Section - Mobile Optimizations
--------------------------------------------------------------*/
@media (max-width: 768px) {
  .about .content {
    padding: 0 15px;
  }

  .vm-card {
    padding: 20px;
  }

  .vm-icon-box {
    margin-bottom: 15px;
  }
}

/*--------------------------------------------------------------
# About Section - Complete Improved Version
--------------------------------------------------------------*/
.about {
  padding: 80px 0;
  background-color: var(--background-color);
  position: relative;
}

.about .section-title {
  text-align: center;
  padding-bottom: 60px;
}

.about .section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: var(--heading-color);
}

.about .section-title h2:before {
  content: "";
  position: absolute;
  display: block;
  width: 160px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
}

.about .section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.about .section-title p {
  margin-bottom: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/* Content Styling */
.about .content {
  padding-right: 50px;
}

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

.about .content h2 {
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 25px;
  color: var(--heading-color);
  position: relative;
}

.about .content h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
}

@media (max-width: 768px) {
  .about .content h2 {
    font-size: 1.875rem;
    margin-bottom: 20px;
  }
}

.about .content .lead {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 30px;
  color: var(--default-color);
  font-weight: 400;
  padding: 20px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.about .content .description {
  margin-bottom: 40px;
}

.about .content .description p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  text-align: justify;
}

.about .content .description p:last-child {
  margin-bottom: 0;
}

/* Stats Row - Compact & Professional */
.about .content .stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
  padding: 30px;
  background: var(--surface-color);
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  box-shadow: 0 4px 20px color-mix(in srgb, var(--default-color), transparent 95%);
}

@media (max-width: 768px) {
  .about .content .stats-row {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 25px;
    margin-bottom: 35px;
  }
}

.about .content .stats-row .stat-item {
  text-align: center;
  padding: 15px;
  transition: all 0.3s ease;
  position: relative;
}

.about .content .stats-row .stat-item:hover {
  transform: translateY(-3px);
}

.about .content .stats-row .stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: color-mix(in srgb, var(--default-color), transparent 90%);
}

@media (max-width: 768px) {
  .about .content .stats-row .stat-item:not(:last-child)::after {
    display: none;
  }
}

/* 5S Service Approach Styling */
.five-s-box {
  background: #ffffff;
  padding: 20px 10px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.five-s-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(184, 128, 43, 0.15);
  border-color: rgba(184, 128, 43, 0.2);
}

.five-s-box .icon {
  width: 50px;
  height: 50px;
  background: rgba(184, 128, 43, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: all 0.3s ease;
  color: var(--accent-color);
  font-size: 1.5rem;
}

.five-s-box:hover .icon {
  background: var(--accent-color);
  color: #fff;
  transform: scale(1.1);
}

.five-s-box span {
  font-weight: 600;
  color: var(--heading-color);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.about .content .stats-row .stat-item .stat-number {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
  font-family: var(--heading-font);
}

@media (max-width: 768px) {
  .about .content .stats-row .stat-item .stat-number {
    font-size: 2rem;
  }
}

.about .content .stats-row .stat-item .stat-label {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
  line-height: 1.3;
}

/* CTA Section - Clean & Professional */
.about .content .cta-section {
  display: flex;
  align-items: center;
  gap: 25px;
  padding-top: 25px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

@media (max-width: 576px) {
  .about .content .cta-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

.about .content .cta-section .btn-primary {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-color);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.about .content .cta-section .btn-primary:hover {
  background-color: transparent;
  color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px color-mix(in srgb, var(--accent-color), transparent 80%);
}

.about .content .cta-section .btn-link {
  color: var(--heading-color);
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.about .content .cta-section .btn-link:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

.about .content .cta-section .btn-link:hover i {
  transform: translateX(4px);
}

.about .content .cta-section .btn-link i {
  transition: transform 0.3s ease;
  font-size: 0.9rem;
}

/* Image Container - Perfectly Proportioned */
.about .image-container {
  position: relative;
  height: 100%;
  min-height: 450px;
  max-height: 500px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px color-mix(in srgb, var(--default-color), transparent 85%);
  margin: 0 auto;
  width: 90%;
}

@media (max-width: 1200px) {
  .about .image-container {
    max-height: 450px;
  }
}

@media (max-width: 992px) {
  .about .image-container {
    min-height: 350px;
    max-height: 400px;
    width: 80%;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .about .image-container {
    min-height: 300px;
    max-height: 350px;
    width: 100%;
  }
}

.about .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.about .image-container:hover img {
  transform: scale(1.05);
}

/* Image Overlay - Subtle & Professional */
.about .image-container .image-overlay {
  position: absolute;
  bottom: 20px;
  right: 20px;
  left: auto;
  background: linear-gradient(135deg, var(--surface-color) 0%, color-mix(in srgb, var(--surface-color), transparent 20%) 100%);
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 20px color-mix(in srgb, var(--default-color), transparent 70%);
  backdrop-filter: blur(10px);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  max-width: 200px;
  transition: all 0.3s ease;
}

.about .image-container:hover .image-overlay {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px color-mix(in srgb, var(--default-color), transparent 60%);
}

@media (max-width: 576px) {
  .about .image-container .image-overlay {
    bottom: 15px;
    right: 15px;
    padding: 12px 15px;
    max-width: 160px;
  }
}

.about .image-container .image-overlay .overlay-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.about .image-container .image-overlay .overlay-content i {
  font-size: 1.5rem;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.about .image-container:hover .image-overlay .overlay-content i {
  transform: scale(1.1);
  background: var(--accent-color);
  color: var(--contrast-color);
}

.about .image-container .image-overlay .overlay-content .overlay-text h4 {
  font-size: 0.9rem;
  margin-bottom: 2px;
  color: var(--heading-color);
  font-weight: 600;
  line-height: 1.2;
}

.about .image-container .image-overlay .overlay-content .overlay-text p {
  margin: 0;
  font-size: 0.8rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  line-height: 1.3;
}

/* Enhanced Typography */
.about .content .description strong {
  color: var(--heading-color);
  font-weight: 600;
}

.about .content .description em {
  color: var(--accent-color);
  font-style: italic;
}

.about .content .description ul {
  list-style: none;
  padding-left: 0;
  margin: 20px 0;
}

.about .content .description ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  line-height: 1.6;
}

.about .content .description ul li::before {
  content: none;
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

/* Animation Enhancements */
.about .content [data-aos] {
  transition: all 0.6s ease;
}

.about .image-container [data-aos] {
  transition: all 0.8s ease;
}

/* Focus States for Accessibility */
.about .content .cta-section .btn-primary:focus,
.about .content .cta-section .btn-link:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

.about .content .cta-section .btn-primary:focus {
  background-color: transparent;
  color: var(--accent-color);
}

/* Loading States */
.about .image-container.loading {
  background: linear-gradient(90deg,
      color-mix(in srgb, var(--default-color), transparent 95%) 25%,
      color-mix(in srgb, var(--default-color), transparent 90%) 50%,
      color-mix(in srgb, var(--default-color), transparent 95%) 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .about .image-container {
    box-shadow: 0 8px 30px color-mix(in srgb, var(--default-color), transparent 90%);
  }

  .about .content .stats-row {
    background: color-mix(in srgb, var(--surface-color), black 5%);
    border-color: color-mix(in srgb, var(--default-color), transparent 85%);
  }

  .about .image-container .image-overlay {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--surface-color), black 5%) 0%,
        color-mix(in srgb, var(--surface-color), transparent 20%) 100%);
  }
}

/* Print Styles */
@media print {
  .about {
    padding: 40px 0;
  }

  .about .content .stats-row {
    box-shadow: none;
    border: 1px solid #ccc;
    background: #f9f9f9;
  }

  .about .image-container {
    box-shadow: none;
    border: 1px solid #ccc;
  }

  .about .image-container .image-overlay {
    background: #fff;
    border: 1px solid #ccc;
  }
}

/* Additional Utility Classes */
.about .text-accent {
  color: var(--accent-color);
}

.about .text-muted {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.about .highlight-box {
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-left: 4px solid var(--accent-color);
  padding: 20px;
  border-radius: 0 8px 8px 0;
  margin: 25px 0;
}

.about .highlight-box p {
  margin: 0;
  font-style: italic;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

/* Responsive Text Sizes */
@media (max-width: 576px) {
  .about .content .lead {
    font-size: 1rem;
    padding: 15px 0;
  }

  .about .content .description p {
    font-size: 0.95rem;
    text-align: left;
  }

  .about .content h2 {
    font-size: 1.75rem;
  }
}

/* Smooth Scrolling Anchor */
.about {
  scroll-margin-top: 80px;
}

@media (max-width: 768px) {
  .about {
    scroll-margin-top: 60px;
  }
}

/* About Section Centering Styles */
.about .content {
  padding: 0;
  text-align: center;
}

.about .content h2 {
  margin-bottom: 2rem;
}

.about .content .lead {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  color: var(--default-color);
}

.about .content .description {
  margin-bottom: 3rem;
  text-align: left;
}

.about .content .description p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.about .stats-row {
  margin: 3rem 0;
}

.about .stat-item {
  text-align: center;
  padding: 1.5rem;
}

.about .stat-item .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
  font-family: var(--heading-font);
}

.about .stat-item .stat-label {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.about .cta-section {
  margin-top: 2rem;
}

.about .btn-primary {
  background: var(--accent-color);
  border-color: var(--accent-color);
  padding: 0.75rem 2rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.about .btn-primary:hover {
  background: color-mix(in srgb, var(--accent-color), black 10%);
  border-color: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .about .content .description {
    text-align: center;
  }

  .about .stat-item .stat-number {
    font-size: 2rem;
  }
}

/* --- Vision & Mission Professional Redesign --- */

.vision-mission-section {
  padding: 20px 0;
}

.vm-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-top: 4px solid var(--accent-color);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  /* Uses your template's accent color */
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

/* Hover Effect: Lifts card up slightly */
.vm-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(184, 128, 43, 0.15);
}

/* Header Styling */
.vm-header {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.vm-icon-box {
  width: 70px;
  height: 70px;
  background: var(--surface-color);
  /* Light background from template */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px auto;
  color: var(--accent-color);
  font-size: 32px;
  transition: 0.3s;
}

.vm-card:hover .vm-icon-box {
  background: var(--accent-color);
  color: #fff;
}

.vm-header h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.vm-header::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  margin: 15px auto 0 auto;
}

/* List Styling */
.vm-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.vm-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  font-size: 15px;
  color: var(--default-color);
  line-height: 1.6;
}

/* List Icons */
.vm-list li i {
  color: var(--accent-color);
  font-size: 18px;
  margin-right: 12px;
  margin-top: 2px;
  /* Align icon with first line of text */
  flex-shrink: 0;
  /* Prevents icon from shrinking on mobile */
}

/* Mobile Responsiveness adjustment */
@media (max-width: 768px) {
  .vm-card {
    padding: 30px 20px;
  }
}

/* Programs Section Styling */
.programs {
  padding: 80px 0;
  /* Background will be handled by the consistent backgrounds section */
}

.programs .section-title {
  margin-bottom: 60px;
}

.program-item {
  margin-bottom: 80px;
}

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

.program-card {
  background: var(--surface-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.4s ease;
  position: relative;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 85%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
}

.program-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
}

.program-badge span {
  display: inline-block;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), var(--heading-color) 30%));
  color: var(--contrast-color);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.program-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 20px 0 0 20px;
  height: 100%;
}

.program-image-link {
  display: block;
  position: relative;
  height: 100%;
}

.program-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 80%) 0%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
}

.program-card:hover .image-overlay {
  opacity: 1;
}

.overlay-content {
  text-align: center;
  color: var(--contrast-color);
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.program-card:hover .overlay-content {
  transform: translateY(0);
}

.overlay-content i {
  font-size: 2.5rem;
  margin-bottom: 10px;
  display: block;
}

.overlay-content span {
  font-weight: 600;
  font-size: 1rem;
}

.program-content {
  padding: 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.program-content h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--heading-color);
  line-height: 1.3;
}

.program-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.program-tag {
  padding: 6px 12px;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--accent-color);
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
}

.program-subtitle {
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 20px;
  font-weight: 500;
}

.program-description {
  font-size: 1rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 25px;
}

.program-link {
  color: var(--accent-color);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.program-link:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 20%);
  text-decoration: underline;
}

.program-features {
  margin-bottom: 30px;
}

.feature {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
}

.feature i {
  color: var(--accent-color);
  margin-right: 10px;
  margin-top: 3px;
  flex-shrink: 0;
}

.feature span {
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.5;
}

.program-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), var(--heading-color) 20%));
  color: var(--contrast-color);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  align-self: flex-start;
  box-shadow: 0 4px 15px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.program-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px color-mix(in srgb, var(--accent-color), transparent 60%);
  color: var(--contrast-color);
}

.program-cta i {
  transition: transform 0.3s ease;
}

.program-cta:hover i {
  transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 992px) {
  .program-image-wrapper {
    border-radius: 20px 20px 0 0;
    height: 300px;
  }

  .program-content {
    padding: 30px;
  }

  .program-content h3 {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .programs {
    padding: 60px 0;
  }

  .program-item {
    margin-bottom: 60px;
  }

  .program-content {
    padding: 25px;
  }

  .program-content h3 {
    font-size: 1.4rem;
  }

  .program-tags {
    gap: 8px;
  }

  .program-tag {
    font-size: 0.75rem;
    padding: 5px 10px;
  }

  .program-cta {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .program-badge {
    top: 15px;
    left: 15px;
  }

  .program-badge span {
    font-size: 0.7rem;
    padding: 6px 12px;
  }

  .program-content {
    padding: 20px;
  }

  .program-content h3 {
    font-size: 1.3rem;
  }

  .feature span {
    font-size: 0.9rem;
  }
}

/*--------------------------------------------------------------
# Skills Section
--------------------------------------------------------------*/
.skills {
  --skill-spacing: 40px;
  --icon-size: 60px;
  --progress-height: 4px;
  --border-subtle: color-mix(in srgb, var(--default-color), transparent 90%);
  --text-muted: color-mix(in srgb, var(--default-color), transparent 45%);
  --surface-elevated: color-mix(in srgb, var(--surface-color), var(--accent-color) 2%);
}

.skills .intro-content {
  margin-bottom: 80px;
}

.skills .intro-content .lead-text {
  font-size: 20px;
  line-height: 1.7;
  color: var(--text-muted);
  font-weight: 300;
  margin: 0;
}

.skills .skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: var(--skill-spacing);
  margin-bottom: 60px;
}

.skills .skill-item {
  padding: 36px 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.4s ease;
}

.skills .skill-item:hover {
  transform: translateY(-4px);
}

.skills .skill-item:hover .skill-icon i {
  color: var(--accent-color);
  transform: scale(1.1);
}

.skills .skill-item .skill-icon {
  margin-bottom: 24px;
}

.skills .skill-item .skill-icon i {
  font-size: var(--icon-size);
  color: var(--text-muted);
  transition: all 0.4s ease;
}

.skills .skill-item .skill-name {
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 20px;
  color: var(--heading-color);
  line-height: 1.3;
}

.skills .skill-item .skill-level {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.skills .skill-item .skill-level .level-text {
  font-size: 14px;
  color: var(--accent-color);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  min-width: 90px;
}

.skills .skill-item .skill-level .progress-track {
  flex: 1;
  height: var(--progress-height);
  background: var(--border-subtle);
  border-radius: 2px;
  overflow: hidden;
}

.skills .skill-item .skill-level .progress-track .progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 30%));
  border-radius: 2px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.skills .skill-item .skill-description {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0;
}

.skills .certification-area {
  padding-top: 60px;
  border-top: 1px solid var(--border-subtle);
}

.skills .certification-area .cert-content .cert-title {
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 16px;
  color: var(--heading-color);
}

.skills .certification-area .cert-content .cert-description {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.skills .certification-area .cert-content .cert-list .cert-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border-subtle);
}

.skills .certification-area .cert-content .cert-list .cert-item:last-child {
  border-bottom: none;
}

.skills .certification-area .cert-content .cert-list .cert-item i {
  color: var(--accent-color);
  font-size: 20px;
}

.skills .certification-area .cert-content .cert-list .cert-item span {
  font-size: 16px;
  color: var(--default-color);
}

.skills .certification-area .tools-showcase .tools-title {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 24px;
  color: var(--heading-color);
}

.skills .certification-area .tools-showcase .tools-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skills .certification-area .tools-showcase .tools-grid .tool-tag {
  padding: 8px 16px;
  background: var(--surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  font-size: 14px;
  color: var(--default-color);
  transition: all 0.3s ease;
}

.skills .certification-area .tools-showcase .tools-grid .tool-tag:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
  color: var(--accent-color);
}

@media (max-width: 992px) {
  .skills .skills-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .skills .skill-item {
    padding: 28px 0;
  }

  .skills .skill-item .skill-name {
    font-size: 22px;
  }

  .skills .cert-content .cert-title {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .skills {
    --skill-spacing: 24px;
    --icon-size: 50px;
  }

  .skills .intro-content {
    margin-bottom: 60px;
  }

  .skills .intro-content .lead-text {
    font-size: 18px;
  }

  .skills .certification-area {
    padding-top: 40px;
  }

  .skills .certification-area .tools-showcase {
    margin-top: 40px;
  }
}

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients .client-item {
  padding: 1.5rem;
  text-align: center;
  height: 100%;
  background-color: var(--surface-color);
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.3s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clients .client-item img {
  max-width: 100%;
  transition: all 0.3s ease-in-out;
  filter: grayscale(100);
  opacity: 0.8;
}

.clients .client-item:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
}

.clients .client-item:hover img {
  filter: grayscale(0);
  opacity: 1;
}

@media (max-width: 1199px) {
  .clients .client-item {
    padding: 1.25rem;
  }
}

@media (max-width: 767px) {
  .clients .client-item {
    padding: 1rem;
  }
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services {
  padding: 120px 0;
  background-color: #faf8f3;
  /* Light background for the entire section */
}

.services .service-item {
  padding: 60px 40px;
  background-color: #fff;
  /* Keep white background for cards */
  border-radius: 8px;
  transition: all 0.4s ease;
  height: 100%;
  position: relative;
  border: 1px solid #f0e6d1;
  /* Subtle border color matching #ead4a8 */
}

.services .service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(234, 212, 168, 0.15);
  /* Use the color with transparency */
  background-color: #fefcf7;
  /* Slightly off-white on hover */
  border-color: #ead4a8;
  /* Highlight border on hover */
}

.services .service-item:hover .service-icon i {
  transform: scale(1.1);
}

.services .service-item:hover .service-link {
  color: var(--accent-color);
}

.services .service-item:hover .service-link i {
  transform: translateX(8px);
}

.services .service-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #6c5ce7 20%));
  border-radius: 50%;
}

.services .service-icon i {
  font-size: 36px;
  color: var(--contrast-color);
  transition: transform 0.3s ease;
}

.services h3 {
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
  line-height: 1.3;
}

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

.services .service-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--heading-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.services .service-link i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

/* Alternative option with #ead4a8 as card background */
/* Uncomment below if you want the cards to have the #ead4a8 color */

/*
.services .service-item {
  padding: 60px 40px;
  background-color: #faf6eb; 
  border-radius: 8px;
  transition: all 0.4s ease;
  height: 100%;
  position: relative;
  border: 1px solid #ead4a8;
}

.services .service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(234, 212, 168, 0.25);
  background-color: #ead4a8;
}
*/

@media (max-width: 768px) {
  .services {
    padding: 80px 0;
  }

  .services .service-item {
    padding: 40px 24px;
  }

  .services .service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 32px;
  }

  .services .service-icon i {
    font-size: 28px;
  }

  .services h3 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .services p {
    font-size: 15px;
    margin-bottom: 32px;
  }
}



/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials {
  position: relative;
  overflow: hidden;
  /* Swiper Navigation */
  /* Swiper Pagination */
  /* Responsive Styles */
}

.testimonials .testimonial-slider {
  position: relative;
  padding-bottom: 50px;
}

.testimonials .testimonial-slider .swiper-wrapper {
  height: auto !important;
}

.testimonials .testimonial-item {
  background: linear-gradient(135deg, var(--surface-color) 0%, color-mix(in srgb, var(--surface-color), var(--accent-color) 2%) 100%);
  border-radius: 20px;
  padding: 0;
  height: 100%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.4s ease;
  overflow: hidden;
  position: relative;
}

.testimonials .testimonial-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), color-mix(in srgb, var(--accent-color), var(--heading-color) 30%));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.testimonials .testimonial-item:hover {
  border-color: var(--accent-color);
}

.testimonials .testimonial-item:hover::before {
  transform: scaleX(1);
}

.testimonials .testimonial-item:hover .testimonial-header img {
  transform: scale(1.05);
}

.testimonials .testimonial-item:hover .quote-icon {
  color: var(--accent-color);
  transform: scale(1.1);
}

.testimonials .testimonial-header {
  position: relative;
  text-align: center;
  padding: 30px 30px 20px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--surface-color), var(--accent-color) 3%) 0%, var(--surface-color) 100%);
}

.testimonials .testimonial-header img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid color-mix(in srgb, var(--accent-color), transparent 70%);
  margin-bottom: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonials .testimonial-header .rating {
  display: flex;
  justify-content: center;
  gap: 3px;
}

.testimonials .testimonial-header .rating i {
  color: #ffc107;
  font-size: 0.9rem;
}

.testimonials .testimonial-body {
  padding: 0 30px 20px;
}

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

.testimonials .testimonial-body p::before,
.testimonials .testimonial-body p::after {
  content: '"';
  font-size: 1.5rem;
  color: var(--accent-color);
  opacity: 0.6;
  font-family: serif;
  position: absolute;
}

.testimonials .testimonial-body p::before {
  top: -5px;
  left: -10px;
}

.testimonials .testimonial-body p::after {
  bottom: -20px;
  right: -5px;
}

.testimonials .testimonial-footer {
  padding: 20px 30px 30px;
  text-align: center;
  position: relative;
}

.testimonials .testimonial-footer h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--heading-color);
  margin: 0 0 5px;
}

.testimonials .testimonial-footer span {
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  display: block;
  margin-bottom: 15px;
}

.testimonials .testimonial-footer .quote-icon {
  position: absolute;
  bottom: 15px;
  right: 25px;
  color: color-mix(in srgb, var(--accent-color), transparent 60%);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.testimonials .swiper-navigation {
  position: relative;
  margin-top: 25px;
  display: flex;
  justify-content: flex-end;
}

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

.testimonials .swiper-button-prev:hover,
.testimonials .swiper-button-next:hover {
  background: color-mix(in srgb, var(--accent-color), var(--heading-color) 20%);
  transform: scale(1.05);
}

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

.testimonials .swiper-pagination {
  position: static;
  margin-top: 30px;
  text-align: center;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: color-mix(in srgb, var(--default-color), transparent 70%);
  opacity: 1;
  margin: 0 6px;
  transition: all 0.3s ease;
}

.testimonials .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: var(--accent-color);
  transform: scale(1.2);
}

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

  .testimonials .testimonial-item .testimonial-header img {
    width: 70px;
    height: 70px;
  }

  .testimonials .testimonial-item .testimonial-body,
  .testimonials .testimonial-item .testimonial-footer {
    padding-left: 25px;
    padding-right: 25px;
  }
}

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

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

  .testimonials .testimonial-item .testimonial-header img {
    width: 60px;
    height: 60px;
  }

  .testimonials .testimonial-item .testimonial-header .rating i {
    font-size: 0.8rem;
  }

  .testimonials .testimonial-item .testimonial-body {
    padding: 0 20px 15px;
  }

  .testimonials .testimonial-item .testimonial-body p {
    font-size: 0.95rem;
  }

  .testimonials .testimonial-item .testimonial-footer {
    padding: 15px 20px 20px;
  }

  .testimonials .testimonial-item .testimonial-footer h5 {
    font-size: 1rem;
  }

  .testimonials .testimonial-item .testimonial-footer span {
    font-size: 0.8rem;
  }

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

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

  .testimonials .swiper-button-prev::after,
  .testimonials .swiper-button-next::after {
    font-size: 14px;
  }
}

@media (max-width: 575px) {
  .testimonials .testimonial-slider {
    padding-bottom: 30px;
  }

  .testimonials .testimonial-item .testimonial-header {
    padding: 15px 15px 10px;
  }

  .testimonials .testimonial-item .testimonial-header img {
    width: 55px;
    height: 55px;
  }

  .testimonials .testimonial-item .testimonial-body {
    padding: 0 15px 10px;
  }

  .testimonials .testimonial-item .testimonial-body p {
    font-size: 0.9rem;
  }

  .testimonials .testimonial-item .testimonial-footer {
    padding: 10px 15px 15px;
  }

  .testimonials .testimonial-item .testimonial-footer h5 {
    font-size: 0.95rem;
  }

  .testimonials .testimonial-item .testimonial-footer .quote-icon {
    font-size: 1.2rem;
  }

  .testimonials .swiper-navigation {
    margin-top: 10px;
  }
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
/* Fix portfolio section background */
.portfolio {
  background-color: #faf8f3 !important;
}

.portfolio .portfolio-filters-wrapper {
  text-align: center;
  margin-bottom: 60px;
}

.portfolio .portfolio-filters {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  padding: 0;
  margin: 0;
  list-style: none;
  position: relative;
}

.portfolio .portfolio-filters::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 90%);
}

.portfolio .portfolio-filters li {
  position: relative;
  cursor: pointer;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  transition: all 0.4s ease-out;
  letter-spacing: 0.5px;
}

.portfolio .portfolio-filters li::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: all 0.4s ease-out;
  transform: translateX(-50%);
}

.portfolio .portfolio-filters li:hover {
  color: var(--default-color);
}

.portfolio .portfolio-filters li.filter-active {
  color: var(--default-color);
}

.portfolio .portfolio-filters li.filter-active::after {
  width: 100%;
}

.portfolio .portfolio-card {
  background: var(--surface-color);
  transition: all 0.4s ease-out;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  min-height: 350px;
  /* Consistent minimum height */
}

.portfolio .portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
}

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

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

.portfolio .portfolio-card:hover .content h3 {
  color: var(--accent-color);
}

.portfolio .image-container {
  position: relative;
  overflow: hidden;
  height: 200px;
  /* Fixed height for all images */
  flex-shrink: 0;
  /* Prevent shrinking */
}

.portfolio .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ensures images fill container properly */
  transition: transform 0.4s ease-out;
}

.portfolio .image-container .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: color-mix(in srgb, var(--accent-color), transparent 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease-out;
  backdrop-filter: blur(2px);
}

.portfolio .image-container .overlay-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  transform: translateY(20px);
  transition: transform 0.4s ease-out 0.1s;
  width: 100%;
  height: 100%;
}

/* FIXED: Center the overlay content properly */
.portfolio-card:hover .image-container .overlay-content {
  transform: translateY(0);
}

/* Fixed Icon Styles - Properly sized and centered */
.portfolio .image-container .overlay-content a {
  width: 44px;
  height: 44px;
  background: var(--surface-color);
  color: var(--heading-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
}

/* Perfectly centered icons */
.portfolio .image-container .overlay-content a i {
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Specific adjustment for zoom icon */
.portfolio .image-container .overlay-content a .bi-zoom-in {
  font-size: 17px;
}

/* Specific adjustment for arrow icon */
.portfolio .image-container .overlay-content a .bi-arrow-right {
  font-size: 18px;
}

/* Hover effects */
.portfolio .image-container .overlay-content a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: scale(1.1);
}

.portfolio .image-container .overlay-content a:hover i {
  transform: translate(-50%, -50%);
  /* Keep centered on hover */
}

.portfolio .content {
  padding: 20px 15px;
  text-align: center;
  flex-grow: 1;
  /* Fill remaining space */
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 130px;
  /* Consistent content height */
}

.portfolio .content h3 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
  transition: color 0.3s ease;
  letter-spacing: 0.3px;
  line-height: 1.3;
  min-height: 2.6em;
  /* Fixed height for titles */
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio .content p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 13px;
  line-height: 1.4;
  margin: 0;
  letter-spacing: 0.2px;
  min-height: 2.8em;
  /* Fixed height for descriptions */
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 992px) {
  .portfolio .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .portfolio .portfolio-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    /* Smaller gap */
  }
}

/* Enhanced Mobile Portfolio Section */
@media (max-width: 768px) {

  /* Enhanced Mobile Filters - FIXED HORIZONTAL SCROLLING */
  .portfolio .portfolio-filters-wrapper {
    margin-bottom: 30px;
    text-align: left;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 10px;
  }

  .portfolio .portfolio-filters-wrapper::-webkit-scrollbar {
    display: none;
  }

  .portfolio .portfolio-filters {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    padding: 0 10px 15px;
    margin: 0;
    width: max-content;
    min-width: 100%;
  }

  .portfolio .portfolio-filters::after {
    display: none;
  }

  .portfolio .portfolio-filters li {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 10px 16px;
    font-size: 14px;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
    border-radius: 25px;
    transition: all 0.3s ease;
    background: var(--surface-color);
    margin-bottom: 0;
  }

  .portfolio .portfolio-filters li.filter-active {
    background: var(--accent-color);
    color: var(--contrast-color);
    border-color: var(--accent-color);
  }

  .portfolio .portfolio-filters li::after {
    display: none;
  }

  /* Grid Layout */
  .portfolio .portfolio-grid.isotope-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-height: 800px;
    overflow: hidden;
    transition: max-height 0.5s ease;
  }



  .portfolio .portfolio-item {
    margin-bottom: 0;
  }

  /* Mobile Card Adjustments */
  .portfolio .portfolio-card {
    height: 100%;
    min-height: 280px;
    /* Consistent mobile height */
    transition: all 0.3s ease;
  }

  .portfolio .image-container {
    height: 150px;
    /* Consistent mobile image height */
  }

  .portfolio .content {
    padding: 15px 10px;
    min-height: 110px;
    /* Consistent mobile content height */
  }

  .portfolio .content h3 {
    font-size: 14px;
    margin-bottom: 4px;
    line-height: 1.3;
    min-height: 2.4em;
    /* Adjusted for mobile */
  }

  .portfolio .content p {
    font-size: 12px;
    line-height: 1.3;
    min-height: 2.6em;
    /* Adjusted for mobile */
  }

  /* Show More Button */
  .portfolio-show-more {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  }

  .portfolio-show-more .btn {
    background: var(--accent-color);
    color: var(--contrast-color);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px color-mix(in srgb, var(--accent-color), transparent 70%);
  }

  .portfolio-show-more .btn:hover {
    background: color-mix(in srgb, var(--accent-color), black 15%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px color-mix(in srgb, var(--accent-color), transparent 60%);
  }

  .portfolio-show-more .btn i {
    transition: transform 0.3s ease;
  }

  .portfolio-show-more .btn.expanded i {
    transform: rotate(180deg);
  }

  /* Slightly smaller icons on mobile */
  .portfolio .image-container .overlay-content a {
    width: 42px;
    height: 42px;
  }

  .portfolio .image-container .overlay-content a i {
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  .portfolio .portfolio-grid.isotope-container {
    grid-template-columns: 1fr;
    gap: 12px;
    max-height: 600px;
  }

  .portfolio .portfolio-card {
    min-height: 260px;
    /* Adjusted for single column */
  }

  .portfolio .image-container {
    height: 140px;
    /* Adjusted for single column */
  }

  .portfolio .portfolio-filters li {
    padding: 8px 14px;
    font-size: 13px;
  }

  .portfolio .image-container .overlay-content a {
    width: 40px;
    height: 40px;
  }

  .portfolio .image-container .overlay-content a i {
    font-size: 16px;
  }
}

@media (max-width: 380px) {
  .portfolio .portfolio-grid.isotope-container {
    max-height: 500px;
  }

  .portfolio .portfolio-card {
    min-height: 240px;
  }

  .portfolio .content h3 {
    font-size: 13px;
  }

  .portfolio .content p {
    font-size: 11px;
  }
}

/* Hide show more button on desktop */
@media (min-width: 769px) {
  .portfolio-show-more {
    display: none;
  }
}

/* Portfolio Section Height Control */
.portfolio {
  min-height: 800px;
  position: relative;
}

.portfolio-grid.isotope-container {
  transition: all 0.5s ease-in-out;
  min-height: 500px;
}

.portfolio-item.isotope-item {
  transition: all 0.5s ease-in-out;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .portfolio {
    min-height: 700px;
  }
}

@media (max-width: 768px) {
  .portfolio {
    min-height: 600px;
  }

  .portfolio-grid.isotope-container {
    min-height: 400px;
  }
}

@media (max-width: 576px) {
  .portfolio {
    min-height: 500px;
  }

  .portfolio-grid.isotope-container {
    min-height: 300px;
  }
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .member-card {
  background-color: var(--surface-color);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 5px 25px color-mix(in srgb, var(--default-color), transparent 85%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.team .member-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px color-mix(in srgb, var(--default-color), transparent 80%);
}

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

.team .member-image-wrapper {
  overflow: hidden;
  position: relative;
}

.team .member-image-wrapper img {
  width: 100%;
  aspect-ratio: 1/1.1;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.team .member-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.team .member-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 0.25rem;
}

.team .member-role {
  font-size: 0.875rem;
  color: var(--accent-color);
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.team .member-email {
  font-size: 0.9rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 1rem;
  flex-grow: 1;
}

.team .member-phoneNumber {
  font-size: 0.9rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 1rem;
  flex-grow: 1;
}


.team .member-socials {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.team .member-socials a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0 8px;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.team .member-socials a:hover {
  color: var(--accent-color);
}

@media (max-width: 991.98px) {
  .team .member-name {
    font-size: 1.15rem;
  }

  .team .member-role {
    font-size: 0.8rem;
  }
}

@media (max-width: 767.98px) {
  .team .row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
  }

  .team .member-card {
    box-shadow: 0 3px 15px color-mix(in srgb, var(--default-color), transparent 90%);
  }

  .team .member-name {
    font-size: 1.1rem;
  }
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .faq-item {
  margin-bottom: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq .faq-item:last-child {
  border-bottom: none;
}

.faq .faq-item.faq-active .faq-header .faq-number {
  color: var(--accent-color);
  font-weight: 500;
}

.faq .faq-item.faq-active .faq-header h4 {
  color: var(--accent-color);
}

.faq .faq-item.faq-active .faq-header .faq-toggle {
  color: var(--accent-color);
  transform: rotate(0deg);
}

.faq .faq-item.faq-active .faq-header .faq-toggle i.bi-plus {
  opacity: 0;
  transform: rotate(90deg);
}

.faq .faq-item.faq-active .faq-header .faq-toggle i.bi-dash {
  opacity: 1;
  transform: rotate(0deg);
}

.faq .faq-item.faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
}

.faq .faq-item:not(.faq-active) .faq-header .faq-toggle i.bi-plus {
  opacity: 1;
  transform: rotate(0deg);
}

.faq .faq-item:not(.faq-active) .faq-header .faq-toggle i.bi-dash {
  opacity: 0;
  transform: rotate(-90deg);
}

.faq .faq-item .faq-header {
  display: flex;
  align-items: center;
  padding: 40px 0;
  cursor: pointer;
  gap: 0;
  transition: all 0.3s ease;
}

.faq .faq-item .faq-header:hover .faq-number {
  transform: scale(1.1);
}

.faq .faq-item .faq-header:hover .faq-toggle {
  transform: scale(1.1);
}

.faq .faq-item .faq-header .faq-number {
  flex-shrink: 0;
  width: 80px;
  font-family: var(--heading-font);
  font-size: 1.1rem;
  font-weight: 300;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  transition: all 0.3s ease;
  letter-spacing: -0.02em;
}

.faq .faq-item .faq-header h4 {
  flex: 1;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--heading-color);
  transition: all 0.3s ease;
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin-right: 20px;
}

.faq .faq-item .faq-header .faq-toggle {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 18px;
  transition: all 0.3s ease;
  position: relative;
}

.faq .faq-item .faq-header .faq-toggle i {
  position: absolute;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  visibility: hidden;
  opacity: 0;
}

.faq .faq-item .faq-content .content-inner {
  padding: 0 80px 40px 80px;
  overflow: hidden;
}

.faq .faq-item .faq-content .content-inner p {
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  line-height: 1.8;
  font-size: 1rem;
  font-weight: 300;
}

@media (max-width: 768px) {
  .faq .faq-item .faq-header {
    padding: 30px 0;
  }

  .faq .faq-item .faq-header .faq-number {
    width: 60px;
    font-size: 1rem;
  }

  .faq .faq-item .faq-header h4 {
    font-size: 1.1rem;
    margin-right: 15px;
  }

  .faq .faq-item .faq-header .faq-toggle {
    width: 20px;
    height: 20px;
    font-size: 16px;
  }

  .faq .faq-item .faq-content .content-inner {
    padding: 0 60px 30px 60px;
  }

  .faq .faq-item .faq-content .content-inner p {
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .faq .faq-item .faq-header {
    padding: 25px 0;
  }

  .faq .faq-item .faq-header .faq-number {
    width: 50px;
    font-size: 0.9rem;
  }

  .faq .faq-item .faq-header h4 {
    font-size: 1rem;
    margin-right: 10px;
  }

  .faq .faq-item .faq-content .content-inner {
    padding: 0 50px 25px 50px;
  }

  .faq .faq-item .faq-content .content-inner p {
    font-size: 0.9rem;
  }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
  padding: 60px 0;
  background-color: var(--background-color);
}

.contact .section-title {
  text-align: center;
  padding-bottom: 60px;
}

.contact .section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: var(--heading-color);
}

.contact .section-title h2:before {
  content: "";
  position: absolute;
  display: block;
  width: 160px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
}

.contact .section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.contact .section-title p {
  margin-bottom: 0;
  font-size: 18px;
  color: var(--heading-color);
}

.contact .info {
  width: 100%;
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 8px;
  padding: 30px;
  height: 100%;
  box-shadow: 0 4px 20px color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.3s ease;
}

.contact .info:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px color-mix(in srgb, var(--default-color), transparent 85%);
}

.contact .info i {
  font-size: 20px;
  color: var(--accent-color);
  float: left;
  width: 44px;
  height: 44px;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--heading-color);
  line-height: 1.3;
}

.contact .info p {
  padding: 0 0 0 60px;
  margin-bottom: 0;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.6;
}

.contact .info p a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  text-decoration: none;
  transition: 0.3s;
}

.contact .info p a:hover {
  color: var(--accent-color);
}

.contact .info .address,
.contact .info .email,
.contact .info .phone {
  margin-bottom: 30px;
  position: relative;
}

.contact .info .address:last-child,
.contact .info .email:last-child,
.contact .info .phone:last-child {
  margin-bottom: 0;
}

.contact .info .address::after,
.contact .info .email::after,
.contact .info .phone::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 60px;
  right: 0;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 92%);
}

.contact .info .phone::after {
  display: none;
}

.contact .info iframe {
  margin-top: 30px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  width: 100%;
  height: 290px;
  transition: all 0.3s ease;
}

.contact .info iframe:hover {
  border-color: var(--accent-color);
}

.contact .info:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: scale(1.1);
}

/* Contact Form Styles (if you want to keep the form in the future) */
.contact .php-email-form {
  width: 100%;
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 20px color-mix(in srgb, var(--default-color), transparent 90%);
}

.contact .php-email-form .form-group {
  padding-bottom: 20px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #dc3545;
  background: color-mix(in srgb, #dc3545, transparent 90%);
  text-align: left;
  padding: 15px;
  font-weight: 600;
  border-radius: 4px;
  margin-bottom: 20px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #28a745;
  background: color-mix(in srgb, #28a745, transparent 90%);
  text-align: center;
  padding: 15px;
  font-weight: 600;
  border-radius: 4px;
  margin-bottom: 20px;
}

.contact .php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 4px;
  box-shadow: none;
  font-size: 14px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  background: var(--surface-color);
  color: var(--default-color);
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent-color), transparent 80%);
}

.contact .php-email-form input {
  height: 44px;
}

.contact .php-email-form textarea {
  padding: 10px 12px;
  resize: vertical;
  min-height: 120px;
}

.contact .php-email-form button[type="submit"] {
  background: var(--accent-color);
  border: 0;
  padding: 12px 34px;
  color: var(--contrast-color);
  transition: 0.4s;
  border-radius: 4px;
  font-weight: 500;
}

.contact .php-email-form button[type="submit"]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  transform: translateY(-2px);
}

/* Responsive Contact Section */
@media (max-width: 1200px) {
  .contact .info {
    padding: 25px;
  }
}

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

  .contact .section-title {
    padding-bottom: 40px;
  }

  .contact .section-title h2 {
    font-size: 28px;
  }

  .contact .info {
    margin-bottom: 30px;
    padding: 25px;
  }

  .contact .row .col-lg-6:last-child .info {
    margin-bottom: 0;
  }

  .contact .info h4 {
    font-size: 16px;
    padding: 0 0 0 55px;
  }

  .contact .info p {
    font-size: 13px;
    padding: 0 0 0 55px;
  }

  .contact .info iframe {
    height: 250px;
  }
}

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

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

  .contact .section-title h2 {
    font-size: 24px;
    margin-bottom: 15px;
    padding-bottom: 15px;
  }

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

  .contact .info {
    padding: 20px;
    margin-bottom: 25px;
  }

  .contact .info i {
    font-size: 18px;
    width: 40px;
    height: 40px;
  }

  .contact .info h4 {
    padding: 0 0 0 50px;
    font-size: 15px;
  }

  .contact .info p {
    padding: 0 0 0 50px;
    font-size: 13px;
  }

  .contact .info .address,
  .contact .info .email,
  .contact .info .phone {
    margin-bottom: 25px;
  }

  .contact .info iframe {
    height: 220px;
    margin-top: 25px;
  }
}

@media (max-width: 576px) {
  .contact {
    padding: 30px 0;
  }

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

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

  .contact .info {
    padding: 15px;
    margin-bottom: 20px;
  }

  .contact .info i {
    font-size: 16px;
    width: 36px;
    height: 36px;
  }

  .contact .info h4 {
    padding: 0 0 0 45px;
    font-size: 14px;
  }

  .contact .info p {
    padding: 0 0 0 45px;
    font-size: 12px;
  }

  .contact .info .address,
  .contact .info .email,
  .contact .info .phone {
    margin-bottom: 20px;
  }

  .contact .info .address::after,
  .contact .info .email::after,
  .contact .info .phone::after {
    left: 45px;
    bottom: -10px;
  }

  .contact .info iframe {
    height: 200px;
    margin-top: 20px;
  }
}

@media (max-width: 380px) {
  .contact .info {
    padding: 12px;
  }

  .contact .info i {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .contact .info h4 {
    padding: 0 0 0 40px;
    font-size: 13px;
  }

  .contact .info p {
    padding: 0 0 0 40px;
    font-size: 11px;
  }

  .contact .info .address::after,
  .contact .info .email::after,
  .contact .info .phone::after {
    left: 40px;
  }

  .contact .info iframe {
    height: 180px;
  }
}

/* Animation for loading spinner */
@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

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

/* Dark mode support */
@media (prefers-color-scheme: dark) {

  .contact .info,
  .contact .php-email-form {
    background: color-mix(in srgb, var(--surface-color), black 5%);
    border-color: color-mix(in srgb, var(--default-color), transparent 85%);
  }

  .contact .php-email-form input,
  .contact .php-email-form textarea {
    background: color-mix(in srgb, var(--surface-color), black 3%);
    border-color: color-mix(in srgb, var(--default-color), transparent 75%);
    color: var(--default-color);
  }
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details {
  padding: 80px 0;
}

.service-details .service-intro {
  text-align: center;
  margin-bottom: 80px;
}

.service-details .service-intro .service-badge {
  margin-bottom: 24px;
}

.service-details .service-intro .service-badge span {
  display: inline-block;
  padding: 8px 24px;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--accent-color);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.service-details .service-intro h1 {
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 32px;
  color: var(--heading-color);
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .service-details .service-intro h1 {
    font-size: 2.5rem;
  }
}

.service-details .service-intro .lead {
  font-size: 1.25rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .service-details .service-intro .lead {
    font-size: 1.1rem;
  }
}

.service-details .service-content {
  margin-bottom: 80px;
}

.service-details .visual-section {
  margin-bottom: 80px;
}

.service-details .visual-section .service-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.service-details .visual-section .service-text {
  padding-left: 40px;
}

@media (max-width: 992px) {
  .service-details .visual-section .service-text {
    padding-left: 0;
    margin-top: 40px;
  }
}

.service-details .visual-section .service-text h2 {
  font-size: 2.25rem;
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 24px;
  color: var(--heading-color);
  letter-spacing: -0.01em;
}

@media (max-width: 768px) {
  .service-details .visual-section .service-text h2 {
    font-size: 1.8rem;
  }
}

.service-details .visual-section .service-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--default-color);
  margin-bottom: 20px;
}

.service-details .visual-section .service-text p:last-child {
  margin-bottom: 0;
}

.service-details .features-section {
  margin-bottom: 80px;
  padding: 60px 0;
  background: color-mix(in srgb, var(--default-color), transparent 97%);
}

.service-details .features-section .feature-item {
  text-align: center;
  padding: 0 20px;
}

.service-details .features-section .feature-item .feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-details .features-section .feature-item .feature-icon i {
  font-size: 2rem;
  color: var(--accent-color);
}

.service-details .features-section .feature-item h4 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--heading-color);
}

.service-details .features-section .feature-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 0;
}

.service-details .process-section {
  margin-bottom: 80px;
}

.service-details .process-section .process-info {
  padding-right: 40px;
}

@media (max-width: 992px) {
  .service-details .process-section .process-info {
    padding-right: 0;
    margin-bottom: 40px;
  }
}

.service-details .process-section .process-info h3 {
  font-size: 2rem;
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 24px;
  color: var(--heading-color);
  letter-spacing: -0.01em;
}

@media (max-width: 768px) {
  .service-details .process-section .process-info h3 {
    font-size: 1.6rem;
  }
}

.service-details .process-section .process-info p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--default-color);
  margin: 0;
}

.service-details .process-section .process-steps .step {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
}

.service-details .process-section .process-steps .step:last-child {
  margin-bottom: 0;
}

.service-details .process-section .process-steps .step .step-number {
  min-width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: var(--contrast-color);
  font-size: 14px;
  font-weight: 500;
}

.service-details .process-section .process-steps .step .step-content h5 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--heading-color);
}

.service-details .process-section .process-steps .step .step-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
}

.service-details .info-grid .info-card {
  height: 100%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 32px;
}

.service-details .info-grid .info-card .info-header {
  margin-bottom: 24px;
}

.service-details .info-grid .info-card .info-header h4 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--heading-color);
}

.service-details .info-grid .info-card .info-header p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 0;
}

.service-details .info-grid .info-card .info-content .price-range {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.service-details .info-grid .info-card .info-content .price-range .price-label {
  display: block;
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.service-details .info-grid .info-card .info-content .price-range .price-value {
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--accent-color);
  display: block;
}

.service-details .info-grid .info-card .info-content .info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-details .info-grid .info-card .info-content .info-list li {
  font-size: 0.95rem;
  color: var(--default-color);
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px;
}

.service-details .info-grid .info-card .info-content .info-list li:last-child {
  margin-bottom: 0;
}

.service-details .info-grid .info-card .info-content .info-list li::before {
  content: "";
  position: absolute;
  left: 0;
  color: var(--accent-color);
}

/*
/* Ensure testimonials has white background *
.testimonials {
  background-color: #ffffff !important;
}
*/
.service-details .info-grid .info-card .testimonial-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--default-color);
  margin-bottom: 24px;
  font-style: italic;
}

.service-details .info-grid .info-card .testimonial-content .testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.service-details .info-grid .info-card .testimonial-content .testimonial-author .author-image {
  width: 48px;
  height: 48px;
  object-fit: cover;
}

.service-details .info-grid .info-card .testimonial-content .testimonial-author .author-info h6 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--heading-color);
}

.service-details .info-grid .info-card .testimonial-content .testimonial-author .author-info span {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.service-details .info-grid .info-card .service-form .form-field {
  margin-bottom: 16px;
}

.service-details .info-grid .info-card .service-form input[type=text],
.service-details .info-grid .info-card .service-form input[type=email],
.service-details .info-grid .info-card .service-form input[type=tel],
.service-details .info-grid .info-card .service-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  font-size: 14px;
  background-color: var(--surface-color);
  color: var(--default-color);
  transition: border-color 0.3s ease;
}

.service-details .info-grid .info-card .service-form input[type=text]:focus,
.service-details .info-grid .info-card .service-form input[type=email]:focus,
.service-details .info-grid .info-card .service-form input[type=tel]:focus,
.service-details .info-grid .info-card .service-form textarea:focus {
  outline: none;
  border-color: var(--accent-color);
}

.service-details .info-grid .info-card .service-form input[type=text]::placeholder,
.service-details .info-grid .info-card .service-form input[type=email]::placeholder,
.service-details .info-grid .info-card .service-form input[type=tel]::placeholder,
.service-details .info-grid .info-card .service-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.service-details .info-grid .info-card .service-form .submit-btn {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 500;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  margin-top: 8px;
}

.service-details .info-grid .info-card .service-form .submit-btn:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.service-details .info-grid .info-card .service-form .submit-btn i {
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .service-details {
    padding: 60px 0;
  }

  .service-details .service-intro {
    margin-bottom: 60px;
  }

  .service-details .service-content {
    margin-bottom: 60px;
  }

  .service-details .visual-section,
  .service-details .features-section,
  .service-details .process-section {
    margin-bottom: 60px;
  }

  .service-details .features-section .row>div {
    margin-bottom: 40px;
  }

  .service-details .features-section .row>div:last-child {
    margin-bottom: 0;
  }

  .service-details .info-grid .row>div {
    margin-bottom: 32px;
  }

  .service-details .info-grid .row>div:last-child {
    margin-bottom: 0;
  }
}



/*--------------------------------------------------------------
# Footer Styling
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding: 60px 0 30px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

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

.footer .footer-about h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 20px;
  position: relative;
}

.footer .footer-about h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 2px;
  background: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  line-height: 1.6;
}

.footer .footer-contact p i {
  color: var(--accent-color);
  margin-right: 8px;
  margin-top: 4px;
  flex-shrink: 0;
}

.footer .footer-contact strong {
  color: var(--heading-color);
  min-width: 60px;
  display: inline-block;
}

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

.footer .footer-links h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 20px;
  position: relative;
}

.footer .footer-links h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 2px;
  background: var(--accent-color);
}

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

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

.footer .footer-links ul li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  transition: 0.3s;
}

.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.4;
  transition: 0.3s;
  text-decoration: none;
}

.footer .footer-links ul li:hover {
  padding-left: 5px;
}

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

.footer .footer-links ul li:hover i {
  color: var(--accent-color);
  transform: translateX(3px);
}

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

.footer .copyright p {
  margin-bottom: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.footer .copyright strong {
  color: var(--heading-color);
}

.footer .credits {
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.footer .credits a {
  color: var(--accent-color);
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer {
    padding: 40px 0 20px;
  }

  .footer .footer-top {
    padding-bottom: 30px;
  }

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

  .footer .footer-about h4,
  .footer .footer-links h4 {
    font-size: 16px;
  }

  .footer .footer-contact p {
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .footer .row {
    text-align: center;
  }

  .footer .footer-about h4::after,
  .footer .footer-links h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer .footer-contact p {
    justify-content: center;
  }
}

/*--------------------------------------------------------------
# Portfolio Section Height Control
--------------------------------------------------------------*/
.portfolio {
  min-height: 800px;
  position: relative;
}

.portfolio-grid.isotope-container {
  transition: all 0.5s ease-in-out;
  min-height: 500px;
}

.portfolio-item.isotope-item {
  transition: all 0.5s ease-in-out;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .portfolio {
    min-height: 700px;
  }
}

@media (max-width: 768px) {
  .portfolio {
    min-height: 600px;
  }

  .portfolio-grid.isotope-container {
    min-height: 400px;
  }
}

@media (max-width: 576px) {
  .portfolio {
    min-height: 500px;
  }

  .portfolio-grid.isotope-container {
    min-height: 300px;
  }
}

/*--------------------------------------------------------------
# Enhanced Mobile Navigation
--------------------------------------------------------------*/

/* Mobile Nav Toggle Button */
.mobile-nav-toggle {
  position: relative;
  z-index: 9999;
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--accent-color);
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-nav-toggle:hover {
  background: color-mix(in srgb, var(--accent-color), black 15%);
  transform: scale(1.05);
}

.mobile-nav-toggle i {
  font-size: 24px;
  color: var(--contrast-color);
  transition: all 0.3s ease;
}

/* Mobile Navigation Menu */
.navmenu-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background: var(--surface-color);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
  z-index: 9998;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  padding: 80px 0 40px;
}

.navmenu-mobile.active {
  right: 0;
}

/* Mobile Navigation Overlay */
.navmenu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 9997;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.navmenu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Navigation Links */
.navmenu-mobile ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.navmenu-mobile ul li {
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.navmenu-mobile ul li:last-child {
  border-bottom: none;
}

.navmenu-mobile ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  color: var(--nav-color);
  text-decoration: none;
  font-family: var(--nav-font);
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.navmenu-mobile ul li a:hover,
.navmenu-mobile ul li a.active {
  color: var(--nav-hover-color);
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
}

.navmenu-mobile ul li a.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: var(--accent-color);
}

.navmenu-mobile ul li a i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.navmenu-mobile ul li a:hover i {
  transform: translateX(4px);
}

/* Mobile Dropdown */
.navmenu-mobile .dropdown ul {
  background: color-mix(in srgb, var(--surface-color), black 2%);
  border-left: 3px solid var(--accent-color);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.navmenu-mobile .dropdown.active ul {
  max-height: 500px;
}

.navmenu-mobile .dropdown ul li a {
  padding-left: 48px;
  font-size: 14px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 95%);
}

.navmenu-mobile .dropdown ul li:last-child a {
  border-bottom: none;
}

/* Mobile Header Adjustments */
@media (max-width: 1199px) {
  .header .branding {
    min-height: 70px;
  }

  .header .logo img {
    max-height: 32px;
  }

  .scrolled .header .branding {
    min-height: 60px;
  }
}

/* Mobile Contact Info in Navigation */
.mobile-contact-info {
  padding: 24px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-top: 20px;
}

.mobile-contact-info .contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  color: var(--default-color);
  font-size: 14px;
}

.mobile-contact-info .contact-item:last-child {
  margin-bottom: 0;
}

.mobile-contact-info .contact-item i {
  color: var(--accent-color);
  margin-right: 12px;
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.mobile-contact-info .contact-item a {
  color: inherit;
  text-decoration: none;
}

.mobile-contact-info .contact-item a:hover {
  color: var(--accent-color);
}

/* Mobile CTA Button */
.mobile-cta {
  padding: 24px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.mobile-cta .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 14px 20px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.mobile-cta .btn-primary:hover {
  background: color-mix(in srgb, var(--accent-color), black 15%);
  transform: translateY(-2px);
}

/* Close Button */
.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 9999;
}

.mobile-nav-close:hover {
  background: var(--accent-color);
  transform: rotate(90deg);
}

.mobile-nav-close i {
  font-size: 20px;
  color: var(--default-color);
  transition: color 0.3s ease;
}

.mobile-nav-close:hover i {
  color: var(--contrast-color);
}

/* Animation for menu items */
.navmenu-mobile ul li {
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.4s ease;
}

.navmenu-mobile.active ul li {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger animation for menu items */
.navmenu-mobile ul li:nth-child(1) {
  transition-delay: 0.1s;
}

.navmenu-mobile ul li:nth-child(2) {
  transition-delay: 0.15s;
}

.navmenu-mobile ul li:nth-child(3) {
  transition-delay: 0.2s;
}

.navmenu-mobile ul li:nth-child(4) {
  transition-delay: 0.25s;
}

.navmenu-mobile ul li:nth-child(5) {
  transition-delay: 0.3s;
}

.navmenu-mobile ul li:nth-child(6) {
  transition-delay: 0.35s;
}

.navmenu-mobile ul li:nth-child(7) {
  transition-delay: 0.4s;
}

/* Animation for contact info items */
.mobile-contact-info .contact-item {
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.4s ease;
}

.navmenu-mobile.active .mobile-contact-info .contact-item {
  opacity: 1;
  transform: translateX(0);
}

.navmenu-mobile.active .mobile-contact-info .contact-item:nth-child(1) {
  transition-delay: 0.45s;
}

.navmenu-mobile.active .mobile-contact-info .contact-item:nth-child(2) {
  transition-delay: 0.5s;
}

.navmenu-mobile.active .mobile-contact-info .contact-item:nth-child(3) {
  transition-delay: 0.55s;
}

/* Enhanced Mobile Responsive Design */
@media (max-width: 768px) {
  .hero .hero-content .content h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .hero .hero-content .content p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .section-title h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .navmenu-mobile {
    width: 100%;
  }

  .mobile-contact-info,
  .mobile-cta {
    padding: 20px;
  }

  .navmenu-mobile ul li a {
    padding: 14px 20px;
  }

  .navmenu-mobile .dropdown ul li a {
    padding-left: 40px;
  }
}

/* Body scroll lock when menu is open */
body.mobile-nav-open {
  overflow: hidden;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Enhanced focus states for accessibility */
.navmenu-mobile ul li a:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: -2px;
}

.mobile-nav-toggle:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* Add to your existing mobile navigation CSS */
body.mobile-nav-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

/* Ensure navigation overlay covers everything */
.navmenu-overlay {
  z-index: 9997;
}

.navmenu-mobile {
  z-index: 9998;
}

/* Hide scroll top and chat when nav is open */
body.mobile-nav-open .scroll-top,
body.mobile-nav-open #wp-live-chat-by-3CX {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Ensure proper z-index stacking */
.navmenu-overlay {
  z-index: 9997 !important;
}

.navmenu-mobile {
  z-index: 9998 !important;
}

/* Hide floating elements when nav is open */
body.mobile-nav-open .scroll-top {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

body.mobile-nav-open #wp-live-chat-by-3CX {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

/* Ensure chat widget and scroll button have lower z-index by default */
.scroll-top {
  z-index: 9990;
}

#wp-live-chat-by-3CX {
  z-index: 9990;
}

/* Body scroll lock - SIMPLIFIED */
body.mobile-nav-open {
  overflow: hidden !important;
}

/* Ensure proper z-index stacking */
.navmenu-overlay {
  z-index: 9997 !important;
}

.navmenu-mobile {
  z-index: 9998 !important;
}

/* Hide floating elements when nav is open */
body.mobile-nav-open .scroll-top,
body.mobile-nav-open #wp-live-chat-by-3CX {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Add this to your main.css */
.navmenu-mobile.active,
.navmenu-overlay.active {
  display: block;
}

body.mobile-nav-open {
  overflow: hidden;
  position: relative;
  height: 100%;
}

/* Ensure the mobile nav overlay covers everything */
.navmenu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9997;
}

.navmenu-mobile {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  height: 100%;
  background: white;
  z-index: 9998;
  overflow-y: auto;
}

/* === PROFESSIONAL POLISH UPGRADES === */

/* 1. Enhanced Hero Typography */
.hero .hero-content .content h1.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, var(--heading-color), var(--accent-color));

  /* Add this line to fix the warning: */
  background-clip: text;

  /* Keep these lines: */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .hero-subtitle {
  font-size: 2rem;
  font-weight: 400;
  display: block;
  margin-top: 10px;
  color: var(--default-color);
  /* Fallback */
  -webkit-text-fill-color: var(--default-color);
}

/* --------------------------------------------------------------
# Footer Alignment Fixes
-------------------------------------------------------------- */

/* 1. Force Phone and Email (single lines) to align vertically center */
.footer .footer-contact p {
  align-items: center !important;
}

/* 2. Remove the top margin from icons so they center perfectly */
.footer .footer-contact p i {
  margin-top: 0 !important;
}

/* 3. Keep the Address (the first item) aligned to the top */
.footer .footer-contact p:first-child {
  align-items: flex-start !important;
}

/* 4. Push the Address icon down slightly to match the first line of text */
.footer .footer-contact p:first-child i {
  margin-top: 4px !important;
}

/*--------------------------------------------------------------
# Client Logo Grid Standardization
--------------------------------------------------------------*/
.client-logo-wrapper {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.client-logo-wrapper:hover {
  background-color: rgba(0, 0, 0, 0.02);
  transform: translateY(-2px);
}

.client-logo {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  transition: all 0.3s ease;
  /* Ensure no inline styles override this */
  width: auto !important;
  height: auto !important;
}

.client-logo-lg {
  max-height: 150px !important;
}

.client-logo-xl {
  max-height: 200px !important;
}

.avg-logo {
  object-fit: contain !important;
  padding: 20px;
  background-color: #fff;
}

/*--------------------------------------------------------------
# Services Carousel
--------------------------------------------------------------*/
.services-slider .service-item {
  height: 100%;
  margin-bottom: 0;
  /* Remove bottom margin as spacing is handled by Swiper */
}

.services-slider .swiper-slide {
  height: auto;
}

.services-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.services-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid var(--accent-color);
}

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

/*--------------------------------------------------------------
# iPad Footer Fixes (Final Robust)
--------------------------------------------------------------*/

/* iPad Horizontal (Landscape) - 992px to 1366px */
@media (min-width: 992px) and (max-width: 1366px) {

  /* Force 50% width for all footer columns to give more space */
  .footer .row>div {
    width: 50% !important;
    margin-bottom: 30px;
  }

  /* Ensure logo column is also 50% and centered if needed, or left aligned */
  .footer-logo-col {
    width: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Adjust phone number size slightly, but now it has more space */
  .footer .footer-contact p {
    font-size: 14px !important;
  }

  .footer .footer-contact p span {
    white-space: nowrap !important;
  }
}

/* iPad Vertical (Portrait) - Max 991px */
@media (max-width: 991px) {

  /* Force logo column to be full width and centered */
  .footer-logo-col {
    width: 100% !important;
    text-align: center !important;
    margin-top: 20px !important;
    padding-top: 20px !important;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  }

  .footer .footer-logo {
    text-align: center !important;
  }

  .footer .footer-logo img {
    margin: 0 auto !important;
    display: inline-block !important;
  }
}

/*--------------------------------------------------------------
# iPad Footer Fixes (Final Robust v2)
--------------------------------------------------------------*/

/* iPad Horizontal (Landscape) - 992px to 1366px */
@media (min-width: 992px) and (max-width: 1366px) {

  /* Force 50% width for content columns */
  .footer .row>div {
    width: 50% !important;
    margin-bottom: 30px;
  }

  /* Force Logo column to 100% width to ensure centering */
  .footer-logo-col {
    width: 100% !important;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  }

  /* Phone number adjustments */
  .footer .footer-contact p {
    font-size: 14px !important;
  }

  .footer .footer-contact p span {
    white-space: nowrap !important;
  }
}

/* iPad Vertical (Portrait) - Max 991px */
@media (max-width: 991px) {

  /* Ensure consistent spacing for all columns */
  .footer .row>div {
    margin-bottom: 30px;
  }

  /* Force logo column to be full width and centered */
  .footer-logo-col {
    width: 100% !important;
    text-align: center !important;
    margin-top: 10px !important;
    padding-top: 20px !important;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  }

  .footer .footer-logo {
    text-align: center !important;
  }

  .footer .footer-logo img {
    margin: 0 auto !important;
    display: inline-block !important;
  }
}

/*--------------------------------------------------------------
# iPad Footer Fixes (Final Robust v3)
--------------------------------------------------------------*/

/* iPad Horizontal (Landscape) - 992px to 1366px */
@media (min-width: 992px) and (max-width: 1366px) {

  /* Force 50% width for content columns */
  .footer .row>div {
    width: 50% !important;
    margin-bottom: 30px;
  }

  /* Force Logo column to 100% width to ensure centering - HIGH SPECIFICITY */
  .footer .row>div.footer-logo-col {
    width: 100% !important;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  }

  /* Phone number adjustments */
  .footer .footer-contact p {
    font-size: 14px !important;
  }

  .footer .footer-contact p span {
    white-space: nowrap !important;
  }
}

/* iPad Vertical (Portrait) - Max 991px */
@media (max-width: 991px) {

  /* Fix 'Line Break' by extending children to cover gutter */
  /* Assuming the border is on .footer-about or .footer-links */
  .footer .row>div>div {
    margin-left: -1.5rem;
    /* Counteract gx-5 padding (approx) */
    margin-right: -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    /* Ensure line exists */
    padding-bottom: 30px;
    height: 100%;
  }

  /* Remove border from the last item (logo wrapper) to avoid double line */
  .footer .row>div.footer-logo-col>div {
    border-bottom: none;
  }

  /* Force logo column to be full width and centered */
  .footer .row>div.footer-logo-col {
    width: 100% !important;
    text-align: center !important;
    margin-top: 0 !important;
    /* Spacing handled by child padding */
    padding-top: 0 !important;
    border-top: none !important;
    /* We use the child border-bottom of previous rows instead */
  }

  .footer .footer-logo {
    text-align: center !important;
    padding-top: 20px;
    /* Add padding back */
  }

  .footer .footer-logo img {
    margin: 0 auto !important;
    display: inline-block !important;
  }
}

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients {
  padding: 20px 0;
}

.clients .client-logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100px;
  /* Fixed container height */
  padding: 15px;
  transition: transform 0.3s ease;
}

.clients .client-logo-wrapper:hover {
  transform: translateY(-5px);
}

.clients .client-logo {
  max-width: 100%;
  max-height: 70px;
  /* Much smaller base size */
  width: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}

.clients .client-logo-lg {
  max-height: 70px;
}

.clients .client-logo-xl {
  max-height: 70px;
}

.clients .client-logo-microsoft {
  margin-left: 12px;
}

.clients .client-logo-sm {
  max-height: 45px;
}

.clients .client-logo-medium {
  max-height: 55px;
}

.clients .client-logo-large-plus {
  max-height: 85px;
}

.clients .client-logo-akuvox {
  margin-top: 8px;
}

.clients .client-logo-lenovo {
  max-height: 48px;
}

.clients .client-logo-netand {
  max-height: 95px;
}

.portfolio-yealink-headset {
  width: 100%;
  height: 300px;
  object-fit: contain;
  padding: 0px 40px 80px 40px;
  background-color: #fff;
}

@media (min-width: 768px) and (max-width: 1180px) and (orientation: landscape) {
  .portfolio-yealink-headset {
    object-position: top;
    padding-bottom: 100px;
  }
}

/*--------------------------------------------------------------
# Mobile Navigation (Consolidated & Animated)
--------------------------------------------------------------*/
.navmenu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  backdrop-filter: blur(3px);
}

.navmenu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.navmenu-mobile {
  position: fixed;
  top: 0;
  right: -320px;
  /* Hidden off-screen */
  width: 320px;
  height: 100vh;
  background: #ffffff;
  z-index: 9999;
  transition: right 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  padding: 20px 20px 40px 20px;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.navmenu-mobile.active {
  right: 0;
  /* Slides in */
}

/* Mobile Links Styling */
.navmenu-mobile ul {
  padding: 0;
  margin: 20px 0;
  list-style: none;
}

.navmenu-mobile ul li {
  margin-bottom: 0;
  border-bottom: 1px solid #eee;

  /* Animation Initial State */
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.4s ease;
}

/* When Active: Trigger "Pop One by One" Animation */
.navmenu-mobile.active ul li {
  opacity: 1;
  transform: translateX(0);
}

.navmenu-mobile.active ul li:nth-child(1) {
  transition-delay: 0.1s;
}

.navmenu-mobile.active ul li:nth-child(2) {
  transition-delay: 0.2s;
}

.navmenu-mobile.active ul li:nth-child(3) {
  transition-delay: 0.3s;
}

.navmenu-mobile.active ul li:nth-child(4) {
  transition-delay: 0.4s;
}

.navmenu-mobile.active ul li:nth-child(5) {
  transition-delay: 0.5s;
}

.navmenu-mobile.active ul li:nth-child(6) {
  transition-delay: 0.6s;
}

.navmenu-mobile.active ul li:nth-child(7) {
  transition-delay: 0.7s;
}

.navmenu-mobile.active ul li:nth-child(8) {
  transition-delay: 0.8s;
}

.navmenu-mobile ul li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  font-size: 16px;
  color: #444;
  text-decoration: none;
  font-weight: 500;
}

.navmenu-mobile ul li a:hover {
  color: #ddaf26;
}

/* Close Button */
.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 28px;
  color: #444;
  cursor: pointer;
}