/**
* Template Name: UpConstruction
* Template URL: https://bootstrapmade.com/upconstruction-bootstrap-construction-website-template/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Open Sans", 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: "Roboto", sans-serif;
  --nav-font: "Poppins", 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: #364d59;
  /* Default color used for the majority of the text content across the entire website */
  --heading-color: #2E5A87;
  /* Color for headings, subheadings and title throughout the website - SCUI Blue */
  --accent-color: #FEB900;
  /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out - SCUI Yellow */
  --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: rgba(255, 255, 255, 0.55);
  /* The default color of the main navmenu links */
  --nav-hover-color: #FEB900;
  /* Applied to main navmenu links when they are hovered over or active - SCUI Yellow */
  --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: #2E5A87;
  /* Used for navigation links of the dropdown items in the navigation menu - SCUI Blue */
  --nav-dropdown-hover-color: #FEB900;
  /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over - SCUI Yellow */
}

/* 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: #f8f9fa;
  /* Light background with subtle tint for better contrast with SCUI colors */
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #2E5A87;
  /* SCUI Blue background for dark sections */
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# Accessibility Features for Dyslexia Support
--------------------------------------------------------------*/

/* Accessibility Toolbar */
.accessibility-toolbar {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
  font-family: var(--default-font);
}

.accessibility-toggle {
  background: var(--accent-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.accessibility-toggle:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.accessibility-panel {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  height: 100vh;
  background: white;
  border-right: 3px solid var(--heading-color);
  padding: 80px 20px 20px 20px;
  box-shadow: 3px 0 15px rgba(0, 0, 0, 0.2);
  transition: left 0.3s ease;
  overflow-y: auto;
  z-index: 999;
}

/* Accessibility Overlay */
.accessibility-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.accessibility-overlay.show {
  opacity: 1;
  visibility: visible;
}

.accessibility-panel.show {
  left: 0;
}

.accessibility-panel h4 {
  color: var(--heading-color);
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

.accessibility-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--heading-color);
  cursor: pointer;
  padding: 5px;
  line-height: 1;
}

.accessibility-close:hover {
  color: var(--accent-color);
}

.accessibility-controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accessibility-controls .btn {
  font-size: 14px;
  padding: 12px 16px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 60%);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  background: transparent;
  text-align: center;
  border-radius: 0;
  transition: all 0.3s ease;
}

.accessibility-controls .btn:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-1px);
}

.accessibility-controls .btn.active {
  background: var(--heading-color);
  border-color: var(--heading-color);
  color: var(--contrast-color);
}

/* Language Selector Styling */
.language-selector {
  margin: 12px 0;
}

.language-label {
  display: block;
  font-size: 14px;
  color: var(--heading-color);
  margin-bottom: 8px;
  font-weight: 500;
}

.language-dropdown {
  width: 100% !important;
  padding: 12px 16px !important;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 60%) !important;
  color: color-mix(in srgb, var(--default-color), transparent 30%) !important;
  background: white !important;
  border-radius: 0 !important;
  font-size: 14px !important;
  font-family: var(--default-font) !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  text-align: left !important;
}

.language-dropdown:hover,
.language-dropdown:focus {
  background: var(--accent-color) !important;
  border-color: var(--accent-color) !important;
  color: var(--contrast-color) !important;
  outline: none !important;
  transform: translateY(-1px) !important;
}

.language-dropdown option {
  background: white !important;
  color: var(--default-color) !important;
  padding: 8px 12px !important;
  font-size: 14px !important;
  border-radius: 0 !important;
  border: none !important;
}

/* Dyslexia-Friendly Features */
.dyslexic-font {
  font-family: 'OpenDyslexic', Arial, sans-serif !important;
}

.dyslexic-font h1,
.dyslexic-font h2,
.dyslexic-font h3,
.dyslexic-font h4,
.dyslexic-font h5,
.dyslexic-font h6 {
  font-family: 'OpenDyslexic', Arial, sans-serif !important;
}

/* Selective Text Sizing - Only affects content text, not titles/buttons */
/* EXCEPTION: Hero title is excluded from accessibility text sizing */
.custom-text-sizing p:not(.hero-title),
.custom-text-sizing li,
.custom-text-sizing .card-body p,
.custom-text-sizing .service-item p,
.custom-text-sizing .post-content p,
.custom-text-sizing blockquote,
.custom-text-sizing .icon-box p,
.custom-text-sizing .php-email-form input::placeholder,
.custom-text-sizing .php-email-form textarea::placeholder,
.custom-text-sizing .meta,
.custom-text-sizing .readmore {
  font-size: calc(1rem * var(--content-text-size, 100) / 100) !important;
  line-height: calc(1.6 * var(--content-text-size, 100) / 100) !important;
}

/* High specificity overrides for sections that have conflicting CSS */
.custom-text-sizing .services .service-item p,
.custom-text-sizing .alt-services .icon-box p,
.custom-text-sizing .alt-services-2 .icon-box p,
.custom-text-sizing .constructions .card-body p {
  font-size: calc(1rem * var(--content-text-size, 100) / 100) !important;
  line-height: calc(1.6 * var(--content-text-size, 100) / 100) !important;
}

/* High specificity overrides for navbar and footer text sizing */
.custom-text-sizing .navmenu a,
.custom-text-sizing .navmenu a:focus,
.custom-text-sizing .footer .footer-about p,
.custom-text-sizing .footer .footer-links ul li a,
.custom-text-sizing .footer .social-links a,
.custom-text-sizing .footer h4 {
  font-size: calc(1rem * var(--content-text-size, 100) / 100) !important;
  line-height: calc(1.6 * var(--content-text-size, 100) / 100) !important;
}

/* High specificity overrides for get-started section text sizing */
.custom-text-sizing .get-started .content p,
.custom-text-sizing .content-text p {
  font-size: calc(1rem * var(--content-text-size, 100) / 100) !important;
  line-height: calc(1.6 * var(--content-text-size, 100) / 100) !important;
}

/* High specificity overrides for about section text sizing */
.custom-text-sizing .about .text-justify,
.custom-text-sizing .about div[data-translate] {
  font-size: calc(1rem * var(--content-text-size, 100) / 100) !important;
  line-height: calc(1.6 * var(--content-text-size, 100) / 100) !important;
}

/* High specificity overrides for header breadcrumb text sizing */
.custom-text-sizing .new-page-header__breadcrumb,
.custom-text-sizing .new-page-header__breadcrumb a,
.custom-text-sizing .new-page-header__breadcrumb .sep,
.custom-text-sizing .new-page-header__breadcrumb .current {
  font-size: calc(1rem * var(--content-text-size, 100) / 100) !important;
  line-height: calc(1.6 * var(--content-text-size, 100) / 100) !important;
}

/* Special handling for card descriptions to prevent overflow */
.custom-text-sizing .card-body p,
.custom-text-sizing .service-item p {
  font-size: calc(0.9rem * var(--content-text-size, 100) / 100) !important;
  line-height: calc(1.5 * var(--content-text-size, 100) / 100) !important;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

/* Icon box content scaling */
.custom-text-sizing .icon-box div p {
  font-size: calc(0.95rem * var(--content-text-size, 100) / 100) !important;
  line-height: calc(1.5 * var(--content-text-size, 100) / 100) !important;
  margin-bottom: calc(0.5rem * var(--content-text-size, 100) / 100);
}

/* Preserve original sizing for UI elements - prevent text scaling from affecting these */
/* EXCEPTION: Hero title is completely excluded from accessibility scaling */
.custom-text-sizing .btn,
.custom-text-sizing button,
.custom-text-sizing .card-title,
.custom-text-sizing .widget-title,
.custom-text-sizing .post-title,
.custom-text-sizing .client-name,
.custom-text-sizing .hero-title {
  font-size: revert !important;
  line-height: revert !important;
}

/* Explicitly preserve Bootstrap heading sizes when text scaling is active */
.custom-text-sizing h1 {
  font-size: calc(1.375rem + 1.5vw) !important;
  line-height: 1.2 !important;
}

@media (min-width: 1200px) {
  .custom-text-sizing h1 {
    font-size: 2.5rem !important;
  }
}

.custom-text-sizing h2:not(.hero-title),
.custom-text-sizing .section-title h2,
.custom-text-sizing .hero .info h2:not(.hero-title) {
  font-size: calc(1.325rem + 0.9vw) !important;
  line-height: 1.2 !important;
}

@media (min-width: 1200px) {

  .custom-text-sizing h2:not(.hero-title),
  .custom-text-sizing .section-title h2,
  .custom-text-sizing .hero .info h2:not(.hero-title) {
    font-size: 2rem !important;
  }
}

/* Override hero-specific font sizes when accessibility is active - EXCEPT hero-title */
.custom-text-sizing .hero .info .hero-description {
  font-size: 36px !important;
  /* 2x bigger even with accessibility */
}

@media (max-width: 768px) {
  .custom-text-sizing .hero .info .hero-description {
    font-size: 24px !important;
    /* 2x bigger for mobile with accessibility */
  }
}

/* Hero title is EXCLUDED from accessibility text sizing - uses only responsive breakpoints */

.custom-text-sizing h3 {
  font-size: calc(1.3rem + 0.6vw) !important;
  line-height: 1.2 !important;
}

@media (min-width: 1200px) {
  .custom-text-sizing h3 {
    font-size: 1.75rem !important;
  }
}

.custom-text-sizing h4 {
  font-size: calc(1.275rem + 0.3vw) !important;
  line-height: 1.2 !important;
}

@media (min-width: 1200px) {
  .custom-text-sizing h4 {
    font-size: 1.5rem !important;
  }
}

.custom-text-sizing h5 {
  font-size: 1.25rem !important;
  line-height: 1.2 !important;
}

.custom-text-sizing h6 {
  font-size: 1rem !important;
  line-height: 1.2 !important;
}

/* Ensure containers can handle text scaling */
.custom-text-sizing .card-item,
.custom-text-sizing .service-item,
.custom-text-sizing .icon-box {
  overflow: visible;
  min-height: auto;
}

/* Prevent text overflow in cards */
.custom-text-sizing .card-body,
.custom-text-sizing .service-item,
.custom-text-sizing .icon-box div {
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

.large-text {
  font-size: 120% !important;
  line-height: 1.6 !important;
}

.large-text h1 {
  font-size: 3rem !important;
}

.large-text h2 {
  font-size: 2.5rem !important;
}

.large-text h3 {
  font-size: 2rem !important;
}

.large-text h4 {
  font-size: 1.5rem !important;
}

.high-contrast {
  background: #000000 !important;
  color: #FFFF00 !important;
}

.high-contrast h1,
.high-contrast h2,
.high-contrast h3,
.high-contrast h4,
.high-contrast h5,
.high-contrast h6 {
  color: #FFFF00 !important;
}

.high-contrast a {
  color: #00FFFF !important;
}

.high-contrast .btn {
  background: #FFFF00 !important;
  color: #000000 !important;
  border-color: #FFFF00 !important;
}

/* Reading Guide */
.reading-guide-active {
  position: relative;
}

.reading-guide {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-color);
  z-index: 999;
  transition: all 0.1s ease;
  display: none;
  pointer-events: none;
  /* Allow clicks to pass through */
}

.reading-guide.active {
  display: block;
}

/* Focus improvements for dyslexia */
body.accessibility-enhanced p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

body.accessibility-enhanced li {
  margin-bottom: 0.5rem;
}

/* Responsive accessibility toolbar */
@media (max-width: 768px) {
  .accessibility-toolbar {
    bottom: 10px;
    left: 10px;
  }

  .accessibility-panel {
    width: 280px;
    left: -300px;
    padding: 70px 15px 15px 15px;
  }

  .accessibility-panel.show {
    left: 0;
  }

  .accessibility-controls .btn {
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 0;
  }
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(255, 255, 255, 0);
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 20px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo img {
  max-height: 32px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 24px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .logo span {
  font-size: 24px;
  padding-left: 1px;
  font-family: var(--heading-font);
  color: var(--color-primary);
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: rgba(255, 255, 255, 1);
  --heading-color: #2E5A87;
  /* SCUI Blue for header text when scrolled */
  --nav-color: #2E5A87;
  /* SCUI Blue for nav links when scrolled */
  --nav-hover-color: #FEB900;
  /* SCUI Yellow for nav hover when scrolled */
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu>ul>li {
    white-space: nowrap;
    padding: 15px 14px;
  }

  .navmenu>ul>li:last-child {
    padding-right: 0;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    /* font-size: 14px; - Removed to allow text sizing accessibility */
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
    text-transform: uppercase;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu>ul>li>a:before {
    content: "";
    position: absolute;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--accent-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover>a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    font-weight: 400;
    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;
  }
}

/* Mobile Navigation */
@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);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .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);
    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);
  background: url("../images/hero/scui-skyscrapers-1.jpg") center bottom no-repeat;
  background-size: 100% auto;
  font-size: 14px;
  position: relative;
}

.footer .container {
  position: relative;
}

.footer:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 20%);
  position: absolute;
  inset: 0;
}

.footer .footer-top {
  padding-top: 50px;
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer .footer-about p {
  /* font-size: 14px; - Removed to allow text sizing accessibility */
  font-family: var(--heading-font);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  /* font-size: 16px; - Removed to allow text sizing accessibility */
  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; - Removed to allow text sizing accessibility */
  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 {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.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 {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.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: 8px;
  font-size: 13px;
}

/* Footer spacing fix - Company and Profile Links super close together */
.footer .row {
  --bs-gutter-x: 0.125rem !important;
}

/* Make SCUI info elements bigger */
.footer .footer-info h3 {
  font-size: 2rem !important;
  margin-bottom: 1rem !important;
}

.footer .footer-info p {
  font-size: 1.1rem !important;
  line-height: 1.6 !important;
  margin-bottom: 0.8rem !important;
}

.footer .footer-info strong {
  font-size: 1.2rem !important;
}

.footer .footer-info .social-links a {
  width: 50px !important;
  height: 50px !important;
  font-size: 20px !important;
}

/* SCUI info styling */
.footer .footer-info h3 {
  font-size: 2rem !important;
  margin-bottom: 1rem !important;
}

/* Make Company and Profile Links bigger (but not as big as SCUI info) */
.footer .footer-links h4 {
  font-size: 1.3rem !important;
  margin-bottom: 1rem !important;
}

.footer .footer-links ul li {
  padding: 8px 0 !important;
}

.footer .footer-links ul li a {
  /* font-size: 1rem !important; - Removed to allow text sizing accessibility */
}

/* Make Company and Profile sections 50-50 on mobile so they can be side by side */
@media (max-width: 767px) {
  .footer .footer-links.col-lg-2.col-md-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
  
  /* Ensure Profile section has same width as Company section */
  .footer .footer-links.col-lg-4.col-md-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
  
  /* Hide empty spacer div on mobile */
  .footer .col-lg-2.col-md-6:empty {
    display: none !important;
  }
  
  /* Fix footer background image for mobile - make it less blocky */
  .footer {
    background-size: cover;
    background-position: 80% calc(100% - 40px);
  }
  
  /* Make SCUI section text smaller on mobile */
  .footer .footer-info h3 {
    font-size: 1.5rem !important;
  }
  
  .footer .footer-info p {
    font-size: 0.9rem !important;
  }
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: white;
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 160px 0 60px 0;
  text-align: center;
  position: relative;
}

.page-title:before {
  content: "";
  background-color: color-mix(in srgb, var(--background-color), transparent 40%);
  position: absolute;
  inset: 0;
}

.page-title h1 {
  font-size: 56px;
  font-weight: 500;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

.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 20%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 92px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 76px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 42px;
  font-weight: 700;
  position: relative;
}

.section-title h2:before,
.section-title h2:after {
  display: none;
}

.section-title p {
  margin-bottom: 0;
}

/* Responsive section title sizing */
@media (max-width: 768px) {
  .section-title h2 {
    font-size: 36px;
  }
}

@media (max-width: 576px) {
  .section-title h2 {
    font-size: 32px;
  }
}

/*--------------------------------------------------------------
# Hero Section - Universal Fullscreen
--------------------------------------------------------------*/
/* Universal fullscreen enforcement for all devices */
.hero,
.hero .carousel,
.hero .carousel-item {
  min-height: 100vh !important;
}

.hero .carousel-item img {
  min-height: 100vh !important;
  width: 100vw !important;
  object-fit: cover !important;
  object-position: center !important;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh !important;
  height: 100vh !important;
  height: 100dvh !important;
  position: relative;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: none !important;
}

.hero .info {
  position: relative;
  inset: 0;
  z-index: 3;
  padding: 140px 0 60px 0;
}

@media (max-width: 768px),
(max-height: 480px) {
  .hero .info {
    padding: 100px 50px 60px 50px;
  }
}

.hero .info h2 {
  margin-bottom: 30px;
  padding-bottom: 30px;
  font-size: 56px;
  font-weight: 700;
  position: relative;
  text-align: center;
}

.hero .info h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 80px;
  height: 4px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

/* Hero Title - 2x bigger font size, no orange line */
.hero .info .hero-title,
.hero .info h2.hero-title,
h2.hero-title {
  font-size: 112px !important;
  /* 2x of 56px */
  margin-bottom: 5px !important;
  /* Reduced to bring title and subtitle closer */
  padding-bottom: 0 !important;
  /* Remove padding to eliminate space for orange line */
  line-height: 1.1 !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  /* Ensure white color on dark background */
}

.hero .info .hero-title:after {
  display: none !important;
  /* Remove orange line */
}

/* Hero Description - 2x bigger font size */
.hero .info .hero-description {
  font-size: 36px !important;
  /* 2x of 18px */
  line-height: 1.3 !important;
  margin-bottom: 30px !important;
}

/* Tablet Hero Section - Including Surface Pro 7 */
@media (max-width: 1024px) and (min-width: 769px) {
  .hero {
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
  }

  .hero .carousel,
  .hero .carousel-item {
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
  }

  .hero .carousel-item img {
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    width: 100vw !important;
    object-fit: cover;
    object-position: center;
  }

  .hero .info .hero-title,
  .hero .info h2.hero-title,
  h2.hero-title {
    font-size: 80px !important;
    /* Tablet size - increased from 72px */
    line-height: 1.1 !important;
  }
  
  .hero .info .hero-description {
    font-size: 28px !important;
  }
}

/* Mobile Hero Section Comprehensive Fix */
@media (max-width: 768px) {
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    /* Dynamic viewport height for mobile browsers */
    height: 100vh;
    height: 100dvh;
  }

  .hero .carousel,
  .hero .carousel-item {
    min-height: 100vh;
    min-height: 100dvh;
    height: 100vh;
    height: 100dvh;
  }

  .hero .carousel-item img {
    min-height: 100vh;
    min-height: 100dvh;
    height: 100vh;
    height: 100dvh;
    width: 100vw;
    object-fit: cover;
    object-position: center;
  }

  /* Special positioning for construction image on mobile - show left side */
  .hero .carousel-item:nth-child(2) img[src*="construction"],
  .hero .carousel-item img[src*="scui-hero-construction-2.png"] {
    object-position: 10% center !important;
  }

  .hero .info {
    padding: 80px 20px 40px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero .info h2 {
    font-size: 36px;
  }

  .hero .info .hero-title,
  .hero .info h2.hero-title,
  h2.hero-title {
    font-size: 48px !important;
    /* Mobile size - increased from 32px to maintain visibility */
    line-height: 1.1 !important;
    margin-bottom: 15px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
  }

  .hero .info .hero-description {
    font-size: 20px !important;
    /* Mobile description size */
    line-height: 1.4 !important;
    margin-bottom: 25px !important;
  }

  .hero .info .btn-get-started {
    font-size: 14px;
    padding: 12px 30px;
    margin-top: 10px;
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  .hero .info .hero-title,
  .hero .info h2.hero-title,
  h2.hero-title {
    font-size: 36px !important;
    line-height: 1.1 !important;
    color: #ffffff !important;
  }

  .hero .info .hero-description {
    font-size: 16px !important;
    line-height: 1.3 !important;
  }

  .hero .info .btn-get-started {
    font-size: 13px;
    padding: 10px 25px;
  }
}


/* Portrait orientation and unusual aspect ratio fix */
@media (orientation: portrait) and (max-width: 900px) {
  .hero .carousel-item img {
    object-fit: cover;
    object-position: center;
    min-height: 100vh;
    min-height: 100dvh;
    min-width: 100vw;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
  }
}

/* iOS Safari specific fix - All screen sizes */
@supports (-webkit-touch-callout: none) {
  .hero,
  .hero .carousel,
  .hero .carousel-item,
  .hero .carousel-item img {
    min-height: -webkit-fill-available !important;
    height: -webkit-fill-available !important;
  }

  .hero .info {
    min-height: -webkit-fill-available;
  }
}

.hero .info p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 18px;
}

.hero .info .btn-get-started {
  color: var(--contrast-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 10px;
  border: 2px solid var(--accent-color);
}

.hero .info .btn-get-started:hover {
  background: var(--accent-color);
}

.hero .carousel {
  inset: 0;
  position: absolute;
  overflow: hidden;
  z-index: 1;
  width: 100%;
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 100vh !important;
}

.hero .carousel-item {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #000;
  overflow: hidden;
  transition-duration: 0.4s;
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 100vh !important;
}

.hero .carousel-item img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 100vh !important;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

/* Override for construction image on mobile - show left side */
@media (max-width: 768px) {
  .hero .carousel-item:nth-child(2) img[src*="construction"],
  .hero .carousel-item img[src*="scui-hero-construction-2.png"] {
    object-position: 10% center !important;
  }
}

.hero .carousel-item::before {
  display: none !important;
}

.hero .carousel-control-prev {
  justify-content: start;
}

@media (min-width: 640px) {
  .hero .carousel-control-prev {
    padding-left: 15px;
  }
}

.hero .carousel-control-next {
  justify-content: end;
}

@media (min-width: 640px) {
  .hero .carousel-control-next {
    padding-right: 15px;
  }
}

.hero .carousel-control-next-icon,
.hero .carousel-control-prev-icon {
  background: none;
  font-size: 26px;
  line-height: 0;
  background: color-mix(in srgb, var(--default-color), transparent 80%);
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  border-radius: 50px;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .carousel-control-prev,
.hero .carousel-control-next {
  z-index: 3;
  transition: 0.3s;
}

.hero .carousel-control-prev:focus,
.hero .carousel-control-next:focus {
  opacity: 0.5;
}

.hero .carousel-control-prev:hover,
.hero .carousel-control-next:hover {
  opacity: 0.9;
}

/*--------------------------------------------------------------
# Get Started Section
--------------------------------------------------------------*/
.get-started .content {
  padding: 30px 0;
}

.get-started .content h3 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 25px;
  padding-bottom: 25px;
  position: relative;
}

.get-started .content h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

.get-started .content p {
  /* font-size: 14px; - Removed to allow text sizing accessibility */
}

/* New Diagonal Section Styling */
#get-started.diagonal-section {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  padding: 0 !important;
}

.diagonal-section {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  padding: 0 !important;
}

.diagonal-left {
  position: relative;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  height: 100%;
  z-index: 1;
}

.diagonal-right {
  position: relative;
  background: #34495e;
  display: flex;
  align-items: center;
  min-height: 500px;
  height: 100%;
  padding-left: 80px;
  padding-right: 60px;
  z-index: 2;
}

.diagonal-right::before {
  content: '';
  position: absolute;
  top: 0;
  left: -60px;
  width: 120px;
  height: 100%;
  min-height: 500px;
  background: #34495e;
  transform: skewX(10deg);
  z-index: 1;
}

.content-image {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-left: 20px;
  padding-right: 40px;
}

.content-image img {
  max-width: 320px;
  height: auto;
  filter: brightness(1.1);
  margin-left: -40px;
}

.content-text {
  color: white;
  padding-right: 20px;
  padding-left: 20px;
  position: relative;
  z-index: 3;
  max-width: 100%;
}

.content-text h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
}

.content-text h3 .text-primary {
  color: #FEB900 !important;
}

.content-text p {
  /* font-size: 13px; - Removed to allow text sizing accessibility */
  line-height: 1.6;
  color: #ecf0f1;
  margin-bottom: 15px;
  text-align: justify;
}

.content-text p:last-child {
  margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  /* Remove diagonal cut on mobile - make it square layout */
  .diagonal-left::after {
    display: none;
  }

  .diagonal-right::before {
    display: none;
  }

  .diagonal-right {
    background: #34495e;
    padding: 40px 30px;
  }

  .diagonal-left {
    background: #e9ecef;
    padding: 40px 30px;
  }

  .content-image img {
    max-width: 280px;
    margin: 0 auto;
    display: block;
  }

  .diagonal-section {
    min-height: auto;
  }

  .diagonal-left,
  .diagonal-right {
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  .content-text h3 {
    font-size: 24px;
  }

  .content-text p {
    font-size: 12px;
  }

  /* Ensure diagonal cuts are removed on smaller mobile */
  .diagonal-right::before {
    display: none;
  }

  .diagonal-left::after {
    display: none;
  }

  .diagonal-right {
    background: #34495e;
    padding: 30px 20px;
  }

  .diagonal-left {
    background: #e9ecef;
    padding: 30px 20px;
  }

  .content-image img {
    max-width: 250px;
    margin: 0 auto;
    display: block;
  }

  .diagonal-left,
  .diagonal-right {
    min-height: 250px;
  }
}

.get-started .php-email-form {
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  padding: 30px;
  height: 100%;
}

@media (max-width: 575px) {
  .get-started .php-email-form {
    padding: 20px;
  }
}

.get-started .php-email-form h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.get-started .php-email-form p {
  font-size: 14px;
  margin-bottom: 20px;
}

.get-started .php-email-form input[type=text],
.get-started .php-email-form input[type=email],
.get-started .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 20%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.get-started .php-email-form input[type=text]:focus,
.get-started .php-email-form input[type=email]:focus,
.get-started .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.get-started .php-email-form input[type=text]::placeholder,
.get-started .php-email-form input[type=email]::placeholder,
.get-started .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.get-started .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 4px;
}

.get-started .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Constructions Section
--------------------------------------------------------------*/
.constructions .card-item {
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  position: relative;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.constructions .card-item.h-100 {
  height: 100% !important;
}

.constructions .card-item .card-bg {
  min-height: 200px;
  position: relative;
  flex-shrink: 0;
}

.constructions .card-item .card-bg img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.constructions .card-item .card-body {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.constructions .card-item h4 {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 15px;
}

.constructions .card-item p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0;
  flex-grow: 1;
}

/* Responsive adjustments for constructions section */
@media (max-width: 991.98px) {
  .constructions .card-item {
    margin-bottom: 30px;
  }

  .constructions .card-item .card-bg {
    min-height: 180px;
  }
}

@media (max-width: 767.98px) {
  .constructions .card-item .card-bg {
    min-height: 160px;
  }

  .constructions .card-item .card-body {
    padding: 20px;
  }
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  padding: 40px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
  height: 100%;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.services .service-item .icon {
  width: 48px;
  height: 48px;
  position: relative;
  margin: 0 auto 50px auto;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services .service-item .icon i {
  color: var(--heading-color);
  font-size: 56px;
  transition: ease-in-out 0.3s;
  z-index: 2;
  position: relative;
}

.services .service-item .icon:before {
  position: absolute;
  content: "";
  height: 100%;
  width: 100%;
  background: color-mix(in srgb, var(--heading-color), transparent 95%);
  border-radius: 50px;
  z-index: 1;
  top: 10px;
  right: -20px;
  transition: 0.3s;
}

.services .service-item h3 {
  color: color-mix(in srgb, var(--heading-color), transparent 20%);
  font-weight: 700;
  margin: 0 auto 20px auto;
  padding-bottom: 8px;
  font-size: 22px;
  position: relative;
  display: inline-block;
  border-bottom: 4px solid color-mix(in srgb, var(--heading-color), transparent 90%);
  transition: 0.3s;
  text-align: center !important;
}

.services .service-item p {
  line-height: 24px;
  /* font-size: 14px; - Removed to allow text sizing accessibility */
  margin-bottom: 0;
  text-align: justify !important;
}

.services .service-item .readmore {
  margin-top: 15px;
  display: inline-block;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/* Card colors - middle card blue, left/right cards gray */
.services .container .row > div:nth-child(2) .service-item {
  background-color: #2f577f !important;
  color: #ffffff !important;
}

.services .container .row > div:nth-child(2) .service-item h3 {
  color: #ffffff !important;
  border-bottom-color: rgba(255, 255, 255, 0.3) !important;
}

.services .container .row > div:nth-child(2) .service-item p {
  color: #ffffff !important;
}

.services .container .row > div:nth-child(1) .service-item,
.services .container .row > div:nth-child(3) .service-item {
  background-color: #e5e9ec !important;
  color: #000000 !important;
}

.services .container .row > div:nth-child(1) .service-item h3,
.services .container .row > div:nth-child(3) .service-item h3 {
  color: #000000 !important;
  border-bottom-color: rgba(47, 87, 127, 0.3) !important;
}

.services .container .row > div:nth-child(1) .service-item p,
.services .container .row > div:nth-child(3) .service-item p {
  color: #000000 !important;
}

/* Card hover effect */
.services .service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.15);
}

.services .service-item:hover .icon i {
  color: var(--heading-color);
  transform: scale(1.1);
}

/* Icon colors for different card backgrounds */
.services .container .row > div:nth-child(2) .service-item .icon i {
  color: #ffffff !important;
}

.services .container .row > div:nth-child(1) .service-item .icon i,
.services .container .row > div:nth-child(3) .service-item .icon i {
  color: #2f577f !important;
}

/* Icon background circles for different card backgrounds - match card colors */
.services .container .row > div:nth-child(2) .service-item .icon:before {
  background: rgba(47, 87, 127, 0.2) !important; /* Blue circle for blue card */
}

.services .container .row > div:nth-child(1) .service-item .icon:before,
.services .container .row > div:nth-child(3) .service-item .icon:before {
  background: rgba(229, 233, 236, 0.8) !important; /* Gray circle for gray cards */
}

/* Change circle color to yellow on icon hover - with higher specificity */
.services .container .row > div:nth-child(1) .service-item:hover .icon:before,
.services .container .row > div:nth-child(2) .service-item:hover .icon:before,
.services .container .row > div:nth-child(3) .service-item:hover .icon:before {
  background: #FEB900 !important;
}

/* Override read-more-button background color with higher specificity */
.services .service-item.read-more-button {
  background-color: #2f577f !important;
}

/* Force override for read-more-button with maximum specificity */
.services .container .row .col-12 .service-item.read-more-button {
  background-color: #2f577f !important;
}

.services .service-item:hover h3 {
  border-color: #FEB900 !important;
  color: var(--heading-color);
}

/* Ensure underline is yellow on hover with higher specificity */
.services .container .row > div:nth-child(1) .service-item:hover h3,
.services .container .row > div:nth-child(2) .service-item:hover h3,
.services .container .row > div:nth-child(3) .service-item:hover h3 {
  border-color: #FEB900 !important;
}

.services .service-item:hover .readmore {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Custom Bullet Points for Vision and Mission
--------------------------------------------------------------*/
.alt-services .icon-box div p {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.6;
}

.alt-services .icon-box div p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 12px;
  background: var(--accent-color);
  border-radius: 50%;
}

/* Remove the text bullet */
.alt-services .icon-box div p {
  text-indent: 0;
}

/*--------------------------------------------------------------
# Alt Services Section
--------------------------------------------------------------*/
.alt-services .features-image {
  position: relative;
  min-height: 400px;
}

.alt-services .features-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.alt-services h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.alt-services h3:after {
  content: "";
  background: var(--accent-color);
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  left: 0;
  bottom: 0;
}

.alt-services .icon-box {
  margin-top: 50px;
}

.alt-services .icon-box i {
  color: var(--accent-color);
  background-color: var(--surface-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 25px;
  font-size: 28px;
  width: 56px;
  height: 56px;
  border-radius: 4px;
  line-height: 0;
  box-shadow: 0px 2px 30px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.alt-services .icon-box:hover i {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.alt-services .icon-box h4 {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 18px;
}

.alt-services .icon-box h4 a {
  color: var(--heading-color);
  transition: 0.3s;
}

.alt-services .icon-box h4 a:hover {
  color: var(--accent-color);
}

.alt-services .icon-box p {
  line-height: 24px;
  /* font-size: 14px; - Removed to allow text sizing accessibility */
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Left-aligned text for both Vision and Mission sections
--------------------------------------------------------------*/
/* Remove right-alignment from Vision section - use default left alignment */
/* Vision section will now use default left alignment like Mission section */

/*--------------------------------------------------------------
# Mobile-only layout for Vision and Mission sections
--------------------------------------------------------------*/
@media (max-width: 767px) {

  /* Make both Vision and Mission sections have image on top, text below */
  #mission-section .row,
  #vision-section .row {
    flex-direction: column !important;
  }

  /* Ensure images appear first on mobile */
  #mission-section .features-image,
  #vision-section .features-image {
    order: 1 !important;
    margin-bottom: 30px;
  }

  /* Text content appears second on mobile with left alignment */
  #mission-section .col-lg-5,
  #vision-section .col-lg-5 {
    order: 2 !important;
    text-align: left !important;
  }
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .nav-tabs {
  border: 0;
}

.features .nav-link {
  color: var(--heading-color);
  padding: 15px 0;
  transition: 0.3s;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  height: 100%;
  border: 0;
  border-bottom: 4px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.features .nav-link i {
  padding-right: 15px;
  font-size: 48px;
}

.features .nav-link h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

@media (max-width: 575px) {
  .features .nav-link h4 {
    font-size: 16px;
  }
}

.features .nav-link:hover {
  color: var(--accent-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.features .nav-link.active {
  background-color: var(--background-color);
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.features .tab-content {
  margin-top: 30px;
}

.features .tab-pane h3 {
  color: var(--heading-color);
  font-weight: 700;
  font-size: 32px;
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.features .tab-pane h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

.features .tab-pane ul {
  list-style: none;
  padding: 0;
}

.features .tab-pane ul li {
  padding-top: 10px;
}

.features .tab-pane ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--accent-color);
}

.features .tab-pane p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Projects Section
--------------------------------------------------------------*/
.projects .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.projects .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 18px;
  font-weight: 500;
  margin: 0 10px;
  line-height: 1;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.projects .portfolio-filters li:hover,
.projects .portfolio-filters li.filter-active {
  color: var(--accent-color);
}

.projects .portfolio-filters li:first-child {
  margin-left: 0;
}

.projects .portfolio-filters li:last-child {
  margin-right: 0;
}

/* Responsive project image sizing */
@media (max-width: 991.98px) {
  .projects .portfolio-content {
    height: 280px !important;
    min-height: 280px !important;
    max-height: 280px !important;
  }
}

@media (max-width: 767.98px) {
  .projects .portfolio-content {
    height: 260px !important;
    min-height: 260px !important;
    max-height: 260px !important;
  }
}

@media (max-width: 575.98px) {
  .projects .portfolio-content {
    height: 240px !important;
    min-height: 240px !important;
    max-height: 240px !important;
  }
}

@media (max-width: 575px) {
  .projects .portfolio-filters li {
    font-size: 14px;
    margin: 0 5px;
  }
}

.projects .portfolio-content {
  position: relative;
  overflow: hidden;
  height: 300px !important;
  /* Fixed height for consistent sizing */
  min-height: 300px !important;
  max-height: 300px !important;
}

.projects .portfolio-content img,
.projects .portfolio-content img.img-fluid {
  transition: 0.3s;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover;
  object-position: center;
  display: block;
}

.projects .portfolio-content .portfolio-info {
  opacity: 0;
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px;
}

.projects .portfolio-content .portfolio-info h4 {
  font-size: 14px;
  padding: 5px 10px;
  font-weight: 400;
  color: #ffffff;
  display: inline-block;
  background-color: var(--accent-color);
}

.projects .portfolio-content .portfolio-info p {
  position: absolute;
  bottom: 10px;
  text-align: center;
  display: inline-block;
  left: 0;
  right: 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.projects .portfolio-content .portfolio-info .preview-link,
.projects .portfolio-content .portfolio-info .details-link {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 26px;
  color: #fff;
  transition: 0.3s;
  line-height: 1.2;
}

.projects .portfolio-content .portfolio-info .preview-link:hover,
.projects .portfolio-content .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.projects .portfolio-content .portfolio-info .details-link {
  left: 50%;
  font-size: 34px;
  line-height: 0;
}

.projects .portfolio-content:hover .portfolio-info {
  opacity: 1;
}

.projects .portfolio-content:hover img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonial-wrap {
  padding-left: 50px;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  background-color: var(--surface-color);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  box-sizing: content-box;
  padding: 30px 30px 30px 60px;
  margin: 30px 15px;
  min-height: 200px;
  position: relative;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 10px;
  border: 6px solid var(--background-color);
  position: absolute;
  left: -45px;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
  margin: 0;
}

.testimonials .testimonial-item .stars {
  margin: 10px 0;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 60%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 15px auto 15px auto;
}

.testimonials .testimonial-item .watch-video {
  font-size: 18px;
  color: var(--accent-color);
  text-decoration: none;
  z-index: 10;
  font-weight: 600;
  transition: all 0.3s ease;
}

.testimonials .testimonial-item .watch-video i {
  font-size: 26px;
  margin-right: 8px;
}

.testimonials .testimonial-item .watch-video:hover {
  color: var(--heading-color);
}

.testimonials .testimonial-item .listen-audio {
  font-size: 18px;
  color: var(--accent-color);
  text-decoration: none;
  z-index: 10;
  font-weight: 600;
  transition: all 0.3s ease;
}

.testimonials .testimonial-item .listen-audio i {
  font-size: 26px;
  margin-right: 8px;
}

.testimonials .testimonial-item .listen-audio .audio-play-btn {
  background: none;
  border: none;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  padding: 0;
  cursor: pointer;
}

.testimonials .testimonial-item .listen-audio:hover {
  color: var(--heading-color);
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--background-color);
  opacity: 1;
  border: 1px solid var(--accent-color);
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

@media (max-width: 767px) {
  .testimonials .testimonial-wrap {
    padding-left: 0;
  }

  .testimonials .testimonials-carousel,
  .testimonials .testimonials-slider {
    overflow: hidden;
  }

  .testimonials .testimonial-item {
    padding: 30px;
    margin: 15px;
  }

  .testimonials .testimonial-item .testimonial-img {
    position: static;
    left: auto;
  }
}

/*--------------------------------------------------------------
# Clients Section - Pure CSS Infinite Slider
--------------------------------------------------------------*/
.clients {
  padding: 60px 0;
  overflow: hidden;
}

.clients-slider {
  width: 100%;
  max-width: 95vw;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.clients-slider::before,
.clients-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 200px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.clients-slider::before {
  left: 0;
  background: linear-gradient(to right, rgba(248,249,250,1) 0%, rgba(248,249,250,0) 100%);
}

.clients-slider::after {
  right: 0;
  background: linear-gradient(to left, rgba(248,249,250,1) 0%, rgba(248,249,250,0) 100%);
}

.clients-track {
  position: relative;
  height: 223px;
}

.client-item {
  position: absolute;
  width: 200px;
  margin-right: 120px;
}

.clients .client-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 23px;
  transition: 0.3s;
  height: 223px;
}

.clients .client-logo img {
  max-width: 203px;
  max-height: 162px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: 0.3s;
  filter: grayscale(100%);
  opacity: 0.6;
}

.clients .client-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

.clients .client-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--heading-color);
  margin-top: 13px;
  opacity: 0;
  transition: 0.3s;
}

.clients .client-logo:hover .client-name {
  opacity: 1;
}







@media (max-width: 767px) {
  .clients {
    padding: 40px 0;
  }
  
  .clients-slider {
    max-width: 100vw;
  }
  
  .clients-slider::before,
  .clients-slider::after {
    width: 60px;
  }
  
  .clients-track {
    height: 100px;
  }
  
  .client-item {
    width: 120px;
    margin-right: 30px;
  }
  
  .clients .client-logo {
    padding: 10px;
    height: 100px;
  }

  .clients .client-logo img {
    max-width: 90px;
    max-height: 60px;
  }

  .clients .client-name {
    font-size: 11px;
    margin-top: 5px;
  }
}

/*--------------------------------------------------------------
# Recent Blog Posts Section
--------------------------------------------------------------*/
.recent-blog-posts .post-item {
  background: var(--surface-color);
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.recent-blog-posts .post-item .post-img img {
  transition: 0.5s;
}

.recent-blog-posts .post-item .post-date {
  position: absolute;
  right: 0;
  bottom: 0;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  text-transform: uppercase;
  font-size: 13px;
  padding: 6px 12px;
  font-weight: 500;
}

.recent-blog-posts .post-item .post-content {
  padding: 30px;
}

.recent-blog-posts .post-item .post-title {
  color: var(--heading-color);
  font-size: 20px;
  font-weight: 700;
  transition: 0.3s;
  margin-bottom: 15px;
}

.recent-blog-posts .post-item .meta i {
  font-size: 16px;
  color: var(--accent-color);
}

.recent-blog-posts .post-item .meta span {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.recent-blog-posts .post-item hr {
  color: color-mix(in srgb, var(--default-color), transparent 80%);
  margin: 20px 0;
}

.recent-blog-posts .post-item .readmore {
  display: flex;
  align-items: center;
  font-weight: 600;
  line-height: 1;
  transition: 0.3s;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.recent-blog-posts .post-item .readmore i {
  line-height: 0;
  margin-left: 6px;
  font-size: 16px;
}

.recent-blog-posts .post-item:hover .post-title,
.recent-blog-posts .post-item:hover .readmore {
  color: var(--accent-color);
}

.recent-blog-posts .post-item:hover .post-img img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Blog Carousel Swiper
--------------------------------------------------------------*/
.blog-swiper {
  overflow: hidden;
  padding: 20px 0 50px 0;
}

.blog-swiper .swiper-slide {
  height: auto;
}

.blog-swiper .post-item {
  margin: 0;
  height: 100%;
  background-color: var(--surface-color);
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

/* Blog carousel post images - same as blog.html */
.blog-swiper .post-img {
  height: 250px;
  overflow: hidden;
}

.blog-swiper .post-img img {
  transition: 0.5s;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.blog-swiper .post-content {
  padding: 30px;
}

.blog-swiper .post-title {
  font-size: 20px;
  color: var(--heading-color);
  font-weight: 700;
  transition: 0.3s;
  margin-bottom: 15px;
}

.blog-swiper .meta i {
  font-size: 16px;
  color: var(--accent-color);
}

.blog-swiper .meta span {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.blog-swiper hr {
  color: color-mix(in srgb, var(--default-color), transparent 80%);
  margin: 20px 0;
}

.blog-swiper .readmore {
  display: flex;
  align-items: center;
  font-weight: 600;
  line-height: 1;
  transition: 0.3s;
  color: var(--heading-color);
}

.blog-swiper .readmore i {
  line-height: 0;
  margin-left: 6px;
  font-size: 16px;
}

.blog-swiper .post-item:hover .post-title,
.blog-swiper .post-item:hover .readmore {
  color: var(--accent-color);
}

.blog-swiper .post-item:hover .post-img img {
  transform: scale(1.1);
}

.blog-swiper .swiper-pagination {
  margin-top: 30px;
  position: relative;
}

.blog-swiper .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--background-color);
  opacity: 1;
  border: 1px solid var(--accent-color);
}

.blog-swiper .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

/* Responsive adjustments for blog carousel images - same as blog.html */
@media (max-width: 991.98px) {
  .blog-swiper .post-img {
    height: 220px;
  }
}

@media (max-width: 767.98px) {
  .blog-swiper .post-img {
    height: 200px;
  }
  
  .blog-swiper {
    padding: 10px 0 40px 0;
  }
  
  .blog-swiper .swiper-pagination {
    margin-top: 20px;
  }
}

@media (max-width: 575.98px) {
  .blog-swiper .post-img {
    height: 180px;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .inner-title {
  font-size: 2.75rem;
  font-weight: 700;
  margin: 30px 0;
}

@media (min-width: 991px) {
  .about .inner-title {
    max-width: 65%;
    margin: 0 0 80px 0;
  }
}

.about .our-story {
  padding: 40px;
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
}

@media (min-width: 991px) {
  .about .our-story {
    padding-right: 35%;
  }
}

.about .our-story h4 {
  text-transform: uppercase;
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.about .our-story h3 {
  font-size: 2.25rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.about .our-story p:last-child {
  margin-bottom: 0;
}

.about ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.about ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.about ul i {
  font-size: 1.25rem;
  margin-right: 0.5rem;
  line-height: 1.2;
  color: var(--accent-color);
}

.about .watch-video i {
  font-size: 2rem;
  transition: 0.3s;
  color: var(--accent-color);
}

.about .watch-video a {
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-left: 8px;
  transition: 0.3s;
}

.about .watch-video:hover a {
  color: var(--accent-color);
}

.about .about-img {
  min-height: 400px;
  position: relative;
}

@media (min-width: 992px) {
  .about .about-img {
    position: absolute;
    top: 0;
    right: 0;
    min-height: 600px;
  }
}

.about .about-img img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

/*--------------------------------------------------------------
# Stats Counter Section
--------------------------------------------------------------*/
.stats-counter .stats-item {
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
  padding: 30px;
  background-color: #eeeeee;
}

.stats-counter .stats-item i {
  color: var(--accent-color);
  font-size: 42px;
  line-height: 0;
  margin-right: 20px;
}

.stats-counter .stats-item span {
  color: var(--heading-color);
  font-size: 36px;
  display: block;
  font-weight: 600;
}

.stats-counter .stats-item p {
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 16px;
}

/* Center the stats items when there are only 2 items */
.stats-counter .row {
  display: flex;
  justify-content: center;
}

.stats-counter .col-lg-3 {
  max-width: 300px;
  margin: 0 20px;
}

/* Mobile responsive for stats counter - stack vertically and center perfectly */
@media (max-width: 768px) {
  .stats-counter .row {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .stats-counter .col-lg-3 {
    max-width: 280px;
    width: 100%;
    margin: 0;
    padding: 0;
    flex: none;
  }
  
  .stats-counter .stats-item {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
}

/*--------------------------------------------------------------
# Alt Services 2 Section
--------------------------------------------------------------*/
.alt-services-2 .features-image {
  position: relative;
  min-height: 400px;
}

.alt-services-2 .features-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.alt-services-2 h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.alt-services-2 .icon-box {
  margin-top: 30px;
}

.alt-services-2 .icon-box i {
  color: var(--accent-color);
  margin-right: 15px;
  font-size: 24px;
  line-height: 1.2;
}

.alt-services-2 .icon-box h4 {
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 18px;
}

.alt-services-2 .icon-box p {
  line-height: 24px;
  /* font-size: 14px; - Removed to allow text sizing accessibility */
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .member {
  position: relative;
}

.team .member .member-img {
  margin: 0 80px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  width: 250px;
  height: 250px;
  aspect-ratio: 1;
}

@media (max-width: 1024px) {
  .team .member .member-img {
    margin: 0 60px;
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 768px) {
  .team .member .member-img {
    margin: 0 auto;
    width: 180px;
    height: 180px;
  }

  .team .member {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.team .member .member-img img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Rotate specific team member images -90 degrees (270 degrees) to correct orientation */
.team .member .member-img img[src*="Darmawan"],
.team .member .member-img img[src*="Wakhid Efendi"],
.team .member .member-img img[src*="M. Saiful Hidayat"] {
  transform: rotate(-90deg);
}

.team .member .member-img .social {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  padding-bottom: 20px;
  transition: 0.3s;
  visibility: hidden;
  opacity: 0;
}

.team .member .member-img .social a {
  transition: 0.3s;
  color: var(--contrast-color);
  font-size: 20px;
  margin: 0 8px;
}

.team .member .member-img .social a:hover {
  color: var(--accent-color);
}

.team .member .member-info {
  margin-top: 30px;
}

.team .member .member-info h4 {
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 18px;
}

.team .member .member-info span {
  font-style: italic;
  display: block;
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 10px;
}

.team .member .member-info p {
  margin-bottom: 0;
  font-size: 14px;
}

.team .member:hover .member-img .social {
  padding-bottom: 0;
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Features Cards Section
--------------------------------------------------------------*/
.features-cards h3 {
  font-size: 20px;
  font-weight: 700;
}

.features-cards p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.features-cards ul li {
  display: flex;
  align-items: center;
  font-size: 14px;
  padding-top: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.features-cards ul li i {
  font-size: 16px;
  color: var(--accent-color);
  margin-right: 6px;
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  background-color: var(--surface-color);
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Project Details Section
--------------------------------------------------------------*/
.project-details .portfolio-details-slider img {
  width: 100%;
}

.project-details .swiper-wrapper {
  height: auto;
}

.project-details .swiper-button-prev,
.project-details .swiper-button-next {
  width: 48px;
  height: 48px;
}

.project-details .swiper-button-prev:after,
.project-details .swiper-button-next:after {
  color: rgba(255, 255, 255, 0.8);
  background-color: rgba(0, 0, 0, 0.15);
  font-size: 24px;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.project-details .swiper-button-prev:hover:after,
.project-details .swiper-button-next:hover:after {
  background-color: rgba(0, 0, 0, 0.3);
}

@media (max-width: 575px) {

  .project-details .swiper-button-prev,
  .project-details .swiper-button-next {
    display: none;
  }
}

.project-details .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.project-details .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.project-details .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.project-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.project-details .portfolio-info h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

.project-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.project-details .portfolio-info ul li {
  display: flex;
  flex-direction: column;
  padding-bottom: 15px;
}

.project-details .portfolio-info ul strong {
  text-transform: uppercase;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.project-details .portfolio-info .btn-visit {
  padding: 8px 40px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50px;
  transition: 0.3s;
}

.project-details .portfolio-info .btn-visit:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.project-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.project-details .portfolio-description p {
  padding: 0;
}

.project-details .portfolio-description .testimonial-item {
  padding: 30px 30px 0 30px;
  position: relative;
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  margin-bottom: 50px;
}

.project-details .portfolio-description .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50px;
  border: 6px solid var(--background-color);
  float: left;
  margin: 0 10px 0 0;
}

.project-details .portfolio-description .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 15px 0 5px 0;
  padding-top: 20px;
}

.project-details .portfolio-description .testimonial-item h4 {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
}

.project-details .portfolio-description .testimonial-item .quote-icon-left,
.project-details .portfolio-description .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}

.project-details .portfolio-description .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.project-details .portfolio-description .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.project-details .portfolio-description .testimonial-item p {
  font-style: italic;
  margin: 0 0 15px 0 0 0;
  padding: 0;
}

/*--------------------------------------------------------------
# Blog Posts Section
--------------------------------------------------------------*/
.blog-posts article {
  background-color: var(--surface-color);
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.blog-posts .post-img {
  height: 250px;
  overflow: hidden;
}

.blog-posts .post-img img {
  transition: 0.5s;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.blog-posts .post-date {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  position: absolute;
  right: 0;
  bottom: 0;
  text-transform: uppercase;
  font-size: 13px;
  padding: 6px 12px;
  font-weight: 500;
}

.blog-posts .post-content {
  padding: 30px;
}

.blog-posts .post-title {
  font-size: 20px;
  color: var(--heading-color);
  font-weight: 700;
  transition: 0.3s;
  margin-bottom: 15px;
}

.blog-posts .meta i {
  font-size: 16px;
  color: var(--accent-color);
}

.blog-posts .meta span {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-posts p {
  margin-top: 20px;
}

.blog-posts hr {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  margin-bottom: 15px;
}

.blog-posts .readmore {
  display: flex;
  align-items: center;
  font-weight: 600;
  line-height: 1;
  transition: 0.3s;
  color: color-mix(in srgb, var(--heading-color), transparent 20%);
}

.blog-posts .readmore i {
  line-height: 0;
  margin-left: 6px;
  font-size: 16px;
}

.blog-posts article:hover .post-title,
.blog-posts article:hover .readmore {
  color: var(--accent-color);
}

.blog-posts article:hover .post-img img {
  transform: scale(1.1);
}

/* Responsive adjustments for blog post images */
@media (max-width: 991.98px) {
  .blog-posts .post-img {
    height: 220px;
  }
}

@media (max-width: 767.98px) {
  .blog-posts .post-img {
    height: 200px;
  }
}

@media (max-width: 575.98px) {
  .blog-posts .post-img {
    height: 180px;
  }
}

/*--------------------------------------------------------------
# Blog Pagination Section
--------------------------------------------------------------*/
.blog-pagination {
  padding-top: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-pagination ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.blog-pagination li {
  margin: 0 5px;
  transition: 0.3s;
}

.blog-pagination li a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 7px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-pagination li a.active,
.blog-pagination li a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.blog-pagination li a.active a,
.blog-pagination li a:hover a {
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Blog Details Section
--------------------------------------------------------------*/
.blog-details {
  padding-bottom: 30px;
}

.blog-details .article {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog-details .post-img {
  margin: -30px -30px 20px -30px;
  overflow: hidden;
}

.blog-details .title {
  color: var(--heading-color);
  font-size: 28px;
  font-weight: 700;
  padding: 0;
  margin: 30px 0;
}

.blog-details .content {
  margin-top: 20px;
}

.blog-details .content h3 {
  font-size: 22px;
  margin-top: 30px;
  font-weight: bold;
}

.blog-details .content blockquote {
  overflow: hidden;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 60px;
  position: relative;
  text-align: center;
  margin: 20px 0;
}

.blog-details .content blockquote p {
  color: var(--default-color);
  line-height: 1.6;
  margin-bottom: 0;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
}

.blog-details .content blockquote:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--accent-color);
  margin-top: 20px;
  margin-bottom: 20px;
}

.blog-details .meta-top {
  margin-top: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-details .meta-top ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}

.blog-details .meta-top ul li+li {
  padding-left: 20px;
}

.blog-details .meta-top i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-details .meta-top a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}

.blog-details .meta-bottom {
  padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.blog-details .meta-bottom i {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  display: inline;
}

.blog-details .meta-bottom a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  transition: 0.3s;
}

.blog-details .meta-bottom a:hover {
  color: var(--accent-color);
}

.blog-details .meta-bottom .cats {
  list-style: none;
  display: inline;
  padding: 0 20px 0 0;
  font-size: 14px;
}

.blog-details .meta-bottom .cats li {
  display: inline-block;
}

.blog-details .meta-bottom .tags {
  list-style: none;
  display: inline;
  padding: 0;
  font-size: 14px;
}

.blog-details .meta-bottom .tags li {
  display: inline-block;
}

.blog-details .meta-bottom .tags li+li::before {
  padding-right: 6px;
  color: var(--default-color);
  content: ",";
}

.blog-details .meta-bottom .share {
  font-size: 16px;
}

.blog-details .meta-bottom .share i {
  padding-left: 5px;
}

/*--------------------------------------------------------------
# Blog Author Section
--------------------------------------------------------------*/
.blog-author {
  padding: 10px 0 40px 0;
}

.blog-author .author-container {
  background-color: var(--surface-color);
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog-author img {
  max-width: 120px;
  margin-right: 20px;
}

.blog-author h4 {
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 0px;
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-author .social-links {
  margin: 0 10px 10px 0;
}

.blog-author .social-links a {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  margin-right: 5px;
}

.blog-author p {
  font-style: italic;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Blog Comments Section
--------------------------------------------------------------*/
.blog-comments {
  padding: 10px 0;
}

.blog-comments .comments-count {
  font-weight: bold;
}

.blog-comments .comment {
  margin-top: 30px;
  position: relative;
}

.blog-comments .comment .comment-img {
  margin-right: 14px;
}

.blog-comments .comment .comment-img img {
  width: 60px;
}

.blog-comments .comment h5 {
  font-size: 16px;
  margin-bottom: 2px;
}

.blog-comments .comment h5 a {
  font-weight: bold;
  color: var(--default-color);
  transition: 0.3s;
}

.blog-comments .comment h5 a:hover {
  color: var(--accent-color);
}

.blog-comments .comment h5 .reply {
  padding-left: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-comments .comment h5 .reply i {
  font-size: 20px;
}

.blog-comments .comment time {
  display: block;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 5px;
}

.blog-comments .comment.comment-reply {
  padding-left: 40px;
}

/*--------------------------------------------------------------
# Comment Form Section
--------------------------------------------------------------*/
.comment-form {
  padding-top: 10px;
}

.comment-form form {
  background-color: var(--surface-color);
  margin-top: 30px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.comment-form form h4 {
  font-weight: bold;
  font-size: 22px;
}

.comment-form form p {
  font-size: 14px;
}

.comment-form form input {
  background-color: var(--surface-color);
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  font-size: 14px;
  border-radius: 4px;
  padding: 10px 10px;
}

.comment-form form input:focus {
  color: var(--default-color);
  background-color: var(--surface-color);
  box-shadow: none;
  border-color: var(--accent-color);
}

.comment-form form input::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.comment-form form textarea {
  background-color: var(--surface-color);
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  border-radius: 4px;
  padding: 10px 10px;
  font-size: 14px;
  height: 120px;
}

.comment-form form textarea:focus {
  color: var(--default-color);
  box-shadow: none;
  border-color: var(--accent-color);
  background-color: var(--surface-color);
}

.comment-form form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.comment-form form .form-group {
  margin-bottom: 25px;
}

.comment-form form .btn-primary {
  border-radius: 4px;
  padding: 10px 20px;
  border: 0;
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.comment-form form .btn-primary:hover {
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item {
  background-color: var(--surface-color);
  padding: 20px 0 30px 0;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  width: 56px;
  height: 56px;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
  border-radius: 50%;
  border: 2px dotted color-mix(in srgb, var(--accent-color), transparent 40%);
}

.contact .info-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 10px 0;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .php-email-form {
  background-color: var(--surface-color);
  height: 100%;
  padding: 30px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 20px;
  }
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: #2e5a87;
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 0;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, #2e5a87, transparent 20%);
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widgets-container {
  background-color: var(--surface-color);
  padding: 30px;
  margin: 60px 0 30px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.widget-title {
  color: var(--heading-color);
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  margin: 0 0 20px 0;
}

.widget-item {
  margin-bottom: 40px;
}

.widget-item:last-child {
  margin-bottom: 0;
}

.search-widget form {
  background: var(--background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  padding: 3px 10px;
  position: relative;
  transition: 0.3s;
}

.search-widget form input[type=text] {
  border: 0;
  padding: 4px;
  border-radius: 4px;
  width: calc(100% - 40px);
  background-color: var(--background-color);
  color: var(--default-color);
}

.search-widget form input[type=text]:focus {
  outline: none;
}

.search-widget form button {
  background: var(--accent-color);
  color: var(--contrast-color);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  font-size: 16px;
  padding: 0 15px;
  margin: -1px;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
  line-height: 0;
}

.search-widget form button i {
  line-height: 0;
}

.search-widget form button:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.search-widget form:is(:focus-within) {
  border-color: var(--accent-color);
}

.categories-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.categories-widget ul li {
  padding-bottom: 10px;
}

.categories-widget ul li:last-child {
  padding-bottom: 0;
}

.categories-widget ul a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.categories-widget ul a:hover {
  color: var(--accent-color);
}

.categories-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.recent-posts-widget .post-item {
  display: flex;
  margin-bottom: 15px;
}

.recent-posts-widget .post-item:last-child {
  margin-bottom: 0;
}

.recent-posts-widget .post-item img {
  width: 80px;
  margin-right: 15px;
}

.recent-posts-widget .post-item h4 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 5px;
}

.recent-posts-widget .post-item h4 a {
  color: var(--default-color);
  transition: 0.3s;
}

.recent-posts-widget .post-item h4 a:hover {
  color: var(--accent-color);
}

.recent-posts-widget .post-item time {
  display: block;
  font-style: italic;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.tags-widget {
  margin-bottom: -10px;
}

.tags-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tags-widget ul li {
  display: inline-block;
}

/* Project Images */
.project-images img {
  width: 100%;
  height: auto;
  border-radius: 0;
  transition: transform 0.3s ease;
}

.project-images img:hover {
  transform: scale(1.02);
}

.tags-widget ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  padding: 6px 14px;
  margin: 0 6px 8px 0;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 60%);
  display: inline-block;
  transition: 0.3s;
}

.tags-widget ul a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: 1px solid var(--accent-color);
}

.tags-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  font-size: 14px;
}

/*--------------------------------------------------------------
# Get Started Section - Improved Typography
--------------------------------------------------------------*/
.get-started .content h3 {
  font-size: 1.75rem !important;
  font-weight: 600;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.get-started .content p {
  /* font-size: 1.1rem !important; - Removed to allow text sizing accessibility */
  line-height: 1.7;
  margin-bottom: 1.25rem;
  color: var(--default-color);
}

/* Form section improvements */
.get-started .php-email-form h3 {
  font-size: 1.5rem !important;
  margin-bottom: 1rem;
}

.get-started .php-email-form p {
  font-size: 1rem !important;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.get-started .php-email-form .form-control {
  font-size: 1rem !important;
  padding: 0.75rem 1rem;
}

.get-started .php-email-form button {
  font-size: 1rem !important;
  padding: 0.75rem 2rem;
  font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .get-started .content h3 {
    font-size: 1.5rem !important;
  }

  .get-started .content p {
    font-size: 1rem !important;
  }
}

/*--------------------------------------------------------------
# Features Section - Improved Typography
--------------------------------------------------------------*/
.features .section-title h2 {
  font-size: 2.25rem !important;
  margin-bottom: 1rem;
}

.features .section-title p {
  font-size: 1.1rem !important;
  line-height: 1.6;
}

.features .tab-content h3 {
  font-size: 1.6rem !important;
  margin-bottom: 1rem;
  font-weight: 600;
}

.features .tab-content p {
  font-size: 1.05rem !important;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.features .tab-content ul li {
  font-size: 1rem !important;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.features .nav-tabs .nav-link h4 {
  font-size: 1.25rem !important;
  font-weight: 500;
}

/* Responsive layout for features tab navigation */
@media (max-width: 991px) {
  .features .nav-tabs .nav-item {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }

  .features .nav-tabs .nav-link h4 {
    font-size: 1.1rem !important;
  }
}

@media (max-width: 575px) {
  .features .nav-tabs .nav-item {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }

  .features .nav-tabs .nav-link h4 {
    font-size: 1rem !important;
  }

  .features .nav-link {
    padding: 12px 5px !important;
  }
}

/*--------------------------------------------------------------
# What We Do Section (Constructions) - Improved Typography
--------------------------------------------------------------*/
.constructions .section-title h2 {
  font-size: 2.25rem !important;
  margin-bottom: 1rem;
}

.constructions .section-title p {
  font-size: 1.1rem !important;
  line-height: 1.6;
}

.constructions .card-title {
  font-size: 1.4rem !important;
  font-weight: 600;
  margin-bottom: 1rem;
}

.constructions .card-body p {
  /* font-size: 1rem !important; - Removed to allow text sizing accessibility */
  line-height: 1.7;
}

/*--------------------------------------------------------------
# Services Section - Improved Typography
--------------------------------------------------------------*/
.services .section-title h2 {
  font-size: 2.25rem !important;
  margin-bottom: 1rem;
}

.services .section-title p {
  font-size: 1.1rem !important;
  line-height: 1.6;
}

.services .service-item h3 {
  font-size: 1.3rem !important;
  font-weight: 600;
  margin-bottom: 1rem;
}

.services .service-item p {
  /* font-size: 1rem !important; - Removed to allow text sizing accessibility */
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.services .service-item .readmore {
  font-size: 0.95rem !important;
  font-weight: 500;
}

/*--------------------------------------------------------------
# Responsive Typography Adjustments
--------------------------------------------------------------*/
@media (max-width: 768px) {

  .features .section-title h2,
  .constructions .section-title h2,
  .services .section-title h2 {
    font-size: 1.8rem !important;
  }

  .features .tab-content h3 {
    font-size: 1.4rem !important;
  }

  .constructions .card-title {
    font-size: 1.2rem !important;
  }

  .services .service-item h3 {
    font-size: 1.15rem !important;
  }
}

@media (max-width: 576px) {

  .features .section-title h2,
  .constructions .section-title h2,
  .services .section-title h2 {
    font-size: 1.6rem !important;
  }
}

/*--------------------------------------------------------------
# Hero Section - Enhanced Typography for Updated Content
--------------------------------------------------------------*/
.hero .info .hero-title {
  line-height: 1.3 !important;
  margin-bottom: 5px !important;
  /* Reduced to bring title and subtitle closer */
}

.hero .info .hero-description {
  font-size: 36px !important;
  /* Ensure font size is applied here too */
  line-height: 1.6;
  margin-bottom: 2.5rem;
  font-weight: 500;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

@media (max-width: 768px) {
  .hero .info .hero-description {
    font-size: 24px !important;
    /* 2x bigger for mobile */
    line-height: 1.5;
    margin-bottom: 2rem;
  }
}

@media (max-width: 576px) {
  .hero .info .hero-description {
    font-size: 20px !important;
    /* 2x bigger for small mobile */
    margin-bottom: 1.5rem;
  }
}

/*--------------------------------------------------------------
# Hero Title - Minimal Fix for Two-Line Layout
--------------------------------------------------------------*/
.hero .info .hero-title {
  line-height: 1.2 !important;
  /* Use !important to ensure it applies */
  padding-bottom: 0 !important;
  /* Ensure no padding for orange line */
}

/*--------------------------------------------------------------
# Get Started Section - Logo Responsiveness Fix
--------------------------------------------------------------*/
.get-started .content img {
  max-width: 100%;
  height: auto;
  width: auto;
}

@media (max-width: 768px) {
  .get-started .content img {
    max-width: 90%;
  }
}

@media (max-width: 576px) {
  .get-started .content img {
    max-width: 85%;
  }
}

@media (max-width: 480px) {
  .get-started .content img {
    max-width: 80%;
  }
}

/*--------------------------------------------------------------
# Ecosystem Section - Mobile Spacing Improvements
--------------------------------------------------------------*/
/* Ensure consistent icon-text layout across all screen sizes */
#ecosystem .card-item .row {
  margin: 0;
}

#ecosystem .card-item .col-4,
#ecosystem .card-item .col-8 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 991px) {
  #ecosystem .col-xl-6 {
    margin-bottom: 2rem;
  }

  #ecosystem .card-item .col-4 {
    padding-right: 1rem;
  }

  #ecosystem .card-item .col-8 {
    padding-left: 0.5rem;
  }

  #ecosystem .card-item .card-bg {
    min-height: 120px;
  }

  #ecosystem .card-item .card-body {
    padding: 1.5rem 1rem;
  }

  #ecosystem .card-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }

  #ecosystem .card-item p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

@media (max-width: 767px) {
  .alt-services .row {
    margin-bottom: 2rem;
  }

  .alt-services .col-lg-6 {
    margin-bottom: 2rem;
  }

  .alt-services .icon-box {
    padding: 2rem 1.5rem;
    margin-bottom: 1.5rem;
  }

  .alt-services .icon-box .icon {
    margin-bottom: 2rem;
  }

  .alt-services .icon-box h4 {
    margin-bottom: 1rem;
    line-height: 1.3;
  }

  .alt-services .icon-box p {
    margin-bottom: 0;
    line-height: 1.6;
  }
}

@media (max-width: 575px) {
  #ecosystem .card-item .col-4 {
    padding-right: 0.75rem;
  }

  #ecosystem .card-item .col-8 {
    padding-left: 0.25rem;
  }

  #ecosystem .card-item .card-bg {
    min-height: 100px;
  }

  #ecosystem .card-item .card-body {
    padding: 1rem 0.75rem;
  }

  #ecosystem .card-item h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  #ecosystem .card-item p {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .alt-services .icon-box {
    padding: 1.5rem 1rem;
    margin-bottom: 1.25rem;
  }

  .alt-services .icon-box .icon {
    margin-bottom: 1.75rem;
  }

  .alt-services .icon-box .icon i {
    font-size: 3rem;
  }

  .alt-services .icon-box h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }

  .alt-services .icon-box p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

/* Responsive Text Display */
.mobile-text {
  display: none;
}

.desktop-text {
  display: inline;
}

/* Text alignment utilities */
.text-justify {
  text-align: justify !important;
}

/* Specific rule for justified text within section titles */
.section-title .text-justify,
.container.section-title .text-justify {
  text-align: justify !important;
}

/* Override service item text alignment for specific cases */
.services .service-item p.text-justify {
  text-align: justify !important;
}

.services .service-item ul.text-left {
  text-align: left !important;
}

.services .service-item ul.text-left li {
  text-align: left !important;
}

/* Override service item centering for specific layouts */
.services .service-item.text-center {
  text-align: center !important;
}

.services .service-item.text-center h3 {
  text-align: center !important;
}

.services .service-item.text-center p {
  text-align: center !important;
}

/* Mobile responsive text */
@media (max-width: 768px) {
  .mobile-text {
    display: inline;
  }

  .desktop-text {
    display: none;
  }
}

/*--------------------------------------------------------------
# Mengapa Kami Features - Two Line Titles
--------------------------------------------------------------*/
/* Style for feature titles with em-dash separator to display on two lines */
.mengapa-kami-page .features .tab-content h3[data-translate*="features.socialEnterprise.title"],
.mengapa-kami-page .features .tab-content h3[data-translate*="features.wakafProduktif.title"],
.mengapa-kami-page .features .tab-content h3[data-translate*="features.kemitraanBumn.title"],
.mengapa-kami-page .features .tab-content h3[data-translate*="features.transparansi.title"] {
  position: relative;
  line-height: 1.2;
}

/* JavaScript will split the title at the em-dash and apply these classes */
.feature-title-main {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 0.25rem;
}

.feature-title-subtitle {
  display: block;
  font-size: 1rem;
  font-weight: 400;
  color: var(--default-color);
  opacity: 0.8;
}

/*
--------------------------------------------------------------
# Mengapa Kami Features - Consistent Image Sizes
--------------------------------------------------------------*/
/* Ensure all images in the features section have the same size and aspect ratio */
.mengapa-kami-page .features .tab-content .col-lg-6 img {
  width: 100%;
  height: 400px;
  /* Fixed height for consistency */
  object-fit: cover;
  /* Crop image to fit while maintaining aspect ratio */
  object-position: center;
  /* Center the image within the container */


}

/* Responsive adjustments for smaller screens */
@media (max-width: 991px) {
  .mengapa-kami-page .features .tab-content .col-lg-6 img {
    height: 300px;
    /* Smaller height on tablets */
  }
}

@media (max-width: 576px) {
  .mengapa-kami-page .features .tab-content .col-lg-6 img {
    height: 250px;
    /* Even smaller height on mobile */
  }
}

/*
--------------------------------------------------------------
# Mengapa Kami Features - Bullet Point Text Alignment
--------------------------------------------------------------*/
/* Fix bullet point text alignment for multi-line text */
.mengapa-kami-page .features .tab-content ul {
  padding-left: 0;
  list-style: none;
}

.mengapa-kami-page .features .tab-content ul li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.4rem;
  padding-left: 0;
}

.mengapa-kami-page .features .tab-content ul li i {
  flex-shrink: 0;
  /* Prevent icon from shrinking */
  margin-right: 0.75rem;
  margin-top: 0.125rem;
  /* Slight adjustment to align with text baseline */
  color: var(--accent-color);
}

.mengapa-kami-page .features .tab-content ul li span {
  flex: 1;
  /* Take up remaining space */
  line-height: 1.6;
}

/*
--------------------------------------------------------------
# Mengapa Kami Features - Background Color
--------------------------------------------------------------*/
/* Add light background to the features section */
.mengapa-kami-page .features {
  background-color: #f8f9fa;
}

/*-------
-------------------------------------------------------
# Mengapa Kami Features - Tab Content Background
--------------------------------------------------------------*/
/* Override Bootstrap's white background on tab content */
.mengapa-kami-page .features .tab-content,
.mengapa-kami-page .features .tab-pane {
  background-color: #f8f9fa !important;
}

/*--
------------------------------------------------------------
# Features Section Background
--------------------------------------------------------------*/
#features.features.section {
  background-color: #f8f9fa;
}

/*-----
---------------------------------------------------------
# Mengapa Pilih SCUI Section Background - Mengapa Kami Page Only
--------------------------------------------------------------*/
.mengapa-kami-page #alt-services-2 {
  background-color: #f8f9fa;
}

/* Keunggu
lan Kami Section - Force White Background */
.mengapa-kami-page #features.features.section {
  background-color: #ffffff !important;
}

.mengapa-kami-page #features .tab-content {
  background-color: #ffffff !important;
}

.mengapa-kami-page #features .tab-pane {
  background-color: #ffffff !important;
}

/*
 Keunggulan Kami Images - Mobile Only */
@media (max-width: 768px) {
  .mengapa-kami-page #features .tab-pane img {
    max-width: 70% !important;
    height: auto !important;
    margin: 0 auto !important;
    display: block !important;
  }
}