@charset "UTF-8";

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

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

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #5b5b5b;  /* The default color of the main navmenu links */
  --nav-hover-color: #7b1226; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #444444; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #7b1226; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}
:root {
  --accent-color: #7a152b;     /* Your specific Maroon styling color */
  --contrast-color: #ffffff;   /* Pure white typography contrast */
  --default-color: #212529;    /* Standard textual font gray */
  --surface-color: #ffffff;    /* Card panel backdrops */
  --heading-color: #111111;    /* Deep header typography elements */
}
/* 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: #f5f2ef;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

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

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}
html {
  scroll-behavior: smooth;
}
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);
  }
}

/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-play-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.pulsating-play-btn:hover:after {
  border-left: 15px solid var(--accent-color);
  transform: scale(20);
}

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}
/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 997;
  padding: 10px 0;
  transition: all 0.5s ease-in-out;
  
  /* 1. INITIAL STATE (Top of Page): Fully Transparent Backdrop */
  background: transparent !important;
  background-color: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  
  /* Color Fallbacks */
  --nav-color: #ffffff;
  --heading-color: #ffffff;
}

/* Base configuration overrides when page sits at the very top */
.header:not(.scrolled) .logo .logo-default {
  display: block !important;
}
.header:not(.scrolled) .logo .logo-scrolled {
  display: none !important;
}

/* 🔄 2. SCROLLED STATE: Flips to solid white background */
.header.scrolled,
body.scrolled .header,
:root.scrolled .header {
  background: #ffffff !important;
  background-color: #ffffff !important;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.08) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  
  /* Dynamic Variable Shifts for Content Inside Header */
  --nav-color: #000000;
  --heading-color: #000000;
  --default-color: #222222;
}

/* Handle Logo Image Swapping cleanly on scroll */
.scrolled .header .logo .logo-default,
body.scrolled .header .logo .logo-default,
:root.scrolled .header .logo .logo-default {
  display: none !important;
}

.scrolled .header .logo .logo-scrolled,
body.scrolled .header .logo .logo-scrolled,
:root.scrolled .header .logo .logo-scrolled {
  display: block !important;
}

/* Logo Wrapping and Typographic Layout Structure */
.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
  transition: opacity 0.3s ease;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 500;
  color: var(--heading-color) !important; /* Forces inheritance from scrolling variables above */
  transition: color 0.3s ease;
}

.header .logo h1 a {
  color: var(--heading-color) !important;
  transition: color 0.3s ease;
}

.header .logo span {
  font-size: 30px;
  color: var(--accent-color);
  margin-left: 2px;
  font-weight: 700;
}

/* Call To Action (CTA) Button Configuration */
.header .cta-btn,
.header .cta-btn:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 26px;
  margin: 0;
  border-radius: 50px;
  transition: 0.3s;
}

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

/* Responsive Structural Breakpoint Modifiers */
@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

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

  .header .cta-btn {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 20px;
  }

  .header .navmenu {
    order: 3;
  }
}

/* Global Context State Cascades */
.scrolled .header {
  --background-color: #ffffff;
  --default-color: #222222;
  --heading-color: #000000;
  --nav-color: #222222;
}

/* Specific Page Context Fallbacks */
.index-page .header {
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --nav-color: #ffffff;
}

.index-page.scrolled .header {
  --background-color: #ffffff;
  --nav-color: #222222;
  --heading-color: #000000;
}

/*--------------------------------------------------------------
# Dark Mode Toggle Button Styles
--------------------------------------------------------------*/
.header-actions {
  order: 2;
}

@media (max-width: 1200px) {
  .header-actions {
    margin: 0 15px 0 0;
  }
  .header .cta-btn {
    margin: 0 !important; /* Managed now by layout wrapper */
  }
}

.darkmode-toggle-btn {
  background: transparent;
  border: none;
  color: #430202; /* Matches white nav links at top of page */
  font-size: 1.25rem;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease, transform 0.2s ease;
}

.darkmode-toggle-btn:hover {
  transform: scale(1.1);
  color: var(--accent-color);
}

/* Swaps button color when header turns white upon scrolling */
.header.scrolled .darkmode-toggle-btn {
  color: #000000;
}

/*--------------------------------------------------------------
# Dark Mode Overrides (Activated via JS Class injection)
--------------------------------------------------------------*/
body.dark-mode {
  --background-color: #121212;
  --default-color: #e0e0e0;
  --heading-color: #ffffff;
  --surface-color: #1e1e1e;
  
  --nav-color: #ffffff;
  --nav-mobile-background-color: #1e1e1e;
  --nav-dropdown-background-color: #1e1e1e;
  --nav-dropdown-background:transparent;
  --nav-dropdown-color: #e0e0e0;
}

/* Component Overrides for Dark Mode */
body.dark-mode .header.scrolled {
  background: #1e1e1e !important;
  background-color: #1e1e1e !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body.dark-mode .header.scrolled .darkmode-toggle-btn,
body.dark-mode .scrolled .navmenu a {
  color: #ffffff !important;
}

body.dark-mode .scrolled .navmenu .dropdown ul a {
  color: #e0e0e0 !important;
}

body.dark-mode .about-6 .content-wrapper .section-badge,
body.dark-mode .service-card,
body.dark-mode .info-card,
body.dark-mode .form-card,
body.dark-mode .connect-card {
  background-color: #1e1e1e !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Section Specific Background Fixes for Dark Mode */
body.dark-mode section,
body.dark-mode .section,
body.dark-mode .services,
body.dark-mode .services .services {
  background-color: #121212 !important;
}

/* Maintain crisp visual separation for secondary alternating layout sections */
body.dark-mode .clients,
body.dark-mode .projects,
body.dark-mode .news-insight {
  background-color: #191919 !important;
}

body.dark-mode .services .cta-section {
  background-color: #1e1e1e !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

body.dark-mode .team .member {
  background-color: #1e1e1e !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

body.dark-mode .team .member .profile-details .profile-elaborations {
  background-color: rgba(255, 255, 255, 0.02) !important;
}

/* Handling the specific modern layout overrides for the footer */
body.dark-mode #footer.footer.light-background {
  background-color: #1a1a1a !important;
  background-image: linear-gradient(to bottom, #121212 0%, #1e1e1e 100%) !important;
  color: #ffffff !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body.dark-mode .footer .brand-desc-text,
body.dark-mode .footer .footer-links ul li a {
  color: #e0e0e0 !important;
}

body.dark-mode .footer .social-pill-link {
  background: #252525 !important;
  color: #e0e0e0 !important;
  border-color: rgba(255, 255, 255, 0.05) !important;
}

body.dark-mode .footer .footer-bottom {
  background-color: rgba(0, 0, 0, 0.2) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}
/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation Rules */
@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;
  }

  /* 1. INITIAL LINK LOOK (Top of Page: Transparent backdrop, white text link) */
  .navmenu a,
  .navmenu a:focus {
    color: #ffffff !important;
    font-size: 15px;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }

  /* 2. SCROLLED LINK LOOK (After Scroll: Switches instantly to charcoal dark) */
  .scrolled .navmenu a,
  .scrolled .navmenu a:focus,
  body.scrolled .header .navmenu a,
  body.scrolled .header .navmenu a:focus,
  :root.scrolled .header .navmenu a,
  .index-page.scrolled .navmenu a,
  .products-page.scrolled .navmenu a,
  .gallery-page.scrolled .navmenu a {
    color: #000000 !important;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  /* Hover & Active Track Highlight Indicators */
  .navmenu a:hover,
  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus,
  .navmenu a.active {
    color: var(--nav-hover-color, #7b1226) !important;
  }

  .navmenu>ul>li>a:before {
    content: "";
    position: absolute;
    height: 2px;
    bottom: -27px;
    left: 0;
    background-color: var(--nav-hover-color, #7b1226);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover>a:before,
  .navmenu .active:before,
  .navmenu a.active:before {
    visibility: visible;
    width: 100% !important;
  }

  /* Dropdown Menus Baseline Logic */
  .navmenu .dropdown ul {
    margin: 0;
    padding: 6px 0;
    background: transparent;
    -webkit-backdrop-filter:none;
    backdrop-filter: none;
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 6px;
    z-index: 99;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: max-content;
    width: 100%;
    background: transparent;
  }

  /* Dropdown links at top of page */
  .navmenu .dropdown ul a {
    padding: 5px 12px;
    font-size: 12px;
    text-transform: none;
    display: block;
    color: #ffffff !important;
  }

  .navmenu .dropdown ul a i {
    font-size: 14px;
    color: #ffffff !important;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-hover-color, #7b1226) !important;
    background: rgba(255, 255, 255, 0.1);
  }

  /* Dropdown layout adjustments when scrolled */
  .scrolled .navmenu .dropdown ul,
  :root.scrolled .navmenu .dropdown ul {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
  }

  .scrolled .navmenu .dropdown ul a,
  :root.scrolled .navmenu .dropdown ul a {
    color: #060606 !important;
  }

  .scrolled .navmenu .dropdown ul a i,
  :root.scrolled .navmenu .dropdown ul a i {
    color: #010101 !important;
  }

  .scrolled .navmenu .dropdown ul a:hover,
  .scrolled .navmenu .dropdown ul li:hover>a,
  :root.scrolled .navmenu .dropdown ul a:hover,
  :root.scrolled .navmenu .dropdown ul li:hover>a {
    color: var(--nav-hover-color, #7b1226) !important;
    background: rgba(0, 0, 0, 0.04) !important;
  }

  .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 Rules */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: #ffffff !important; /* Default state visibility line fix */
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .scrolled .mobile-nav-toggle,
  body.scrolled .header .mobile-nav-toggle,
  :root.scrolled .mobile-nav-toggle {
    color: #222222 !important;
  }

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

  /* 1. SMOOTH OPENING NAVIGATION DRAWER */
  .navmenu ul {
    display: block; /* ◄ Changed from 'none' so CSS transitions can actually animate */
    list-style: none;
    position: absolute;
    inset: 60px 20px auto 20px; /* Fits content exactly, removing the excess space below */
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color, #ffffff);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    z-index: 9998;
    
    /* ◄ Hides the menu while allowing transitions */
    opacity: 0;
    visibility: hidden; 
    transform: translateY(-20px);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
  }

  /* Make links readable inside mobile drawer layout context */
  .navmenu ul a {
    color: #222222 !important;
  }

  .navmenu a,
  .navmenu a:focus {
    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, #7b1226), transparent 90%);
  }

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

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus,
  .navmenu a.active {
    color: var(--nav-hover-color, #7b1226) !important;
  }

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

  /* 2. SMOOTH ACCORDION DROPDOWN (PROJECTS) */
  .navmenu .dropdown ul {
    position: static;
    display: block; /* ◄ Changed from 'none' to allow smooth height animations */
    z-index: 99;
    padding: 0;
    margin: 0 20px;
    background-color: var(--nav-dropdown-background-color, #f9f9f9);
    /* ◄ Collapses completely and prepares transition */
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, visibility 0.4s, padding 0.4s ease, margin 0.4s ease;
  }
  .navmenu .dropdown ul a {
    font-size: 14px !important;       /* Makes text smaller on mobile screens */
    padding: 8px 15px !important;     /* Tighter padding to fit small phone widths */
    white-space: normal !important;   /* Allows long titles to wrap cleanly into flex line breaks */
    display: flex;
    align-items: center;
    width: 100%;
    line-height: 1.4;
  }
  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  /* Smooth transition trigger for dropdown expansion */
  .navmenu .dropdown > .dropdown-active {
    display: block;
    max-height: 300px; /* ◄ Expands smoothly to reveal links */
    opacity: 1;
    visibility: visible;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: rgba(33, 37, 41, 0.03);
    border-radius: 4px;
  }

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

  .mobile-nav-active .mobile-nav-toggle {
    color: #ffffff !important;
    position: fixed;
    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.85);
    transition: 0.3s;
  }

  /* Smooth transition trigger for mobile drawer opening */
  .mobile-nav-active .navmenu > ul {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Slides down gently into view */
  }
}
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght=300;400;500;600;700&display=swap');
/*--------------------------------------------------------------
# Modern Layout Override for .footer (Keeping Your Original Class Names)
--------------------------------------------------------------*/
#footer.footer.light-background {
  position: relative !important;
  font-family: 'Inter', sans-serif !important;
  padding: 90px 0 0 !important;
  color: #111111 !important;
  border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
  background-color: #ffffff !important;
  
  /* Increased white overlay to 95% (0.95) so the image underneath is barely visible */
  background-image: linear-gradient(
                      to bottom, 
                      rgba(255, 255, 255, 1) 0%, 
                      rgba(255, 255, 255, 0.92) 15%, 
                      rgba(255, 255, 255, 0.93) 30%, 
                      rgba(195, 178, 178, 0.92) 100%
                    ),
                    url('../img/uploads/slope.jpg') !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

.footer .img-footer {
  max-width: 240px;
  height: auto;
}

/* Base text properties & Justification settings */
.footer .brand-desc-text,
.footer .services-extra-content p {
  font-family: "Poppins", sans-serif !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
  color: #111111 !important;
  font-weight: 400 !important;
  max-width: 480px;
  text-align: justify !important; /* Forces uniform straight text margins */
}

.footer .services-extra-content p {
  font-size: 14px !important;
  color: #666666 !important;
  line-height: 1.5 !important;
  margin-top: 15px !important;
}

/* Modern Header Font Hierarchies */
.footer h4 {
  font-family: "Trebuchet MS", Arial, sans-serif !important;
  color: #7b1226 !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  margin-bottom: 24px !important;
  letter-spacing: -0.3px !important;
}

.footer h4::after {
  display: none !important; /* Removes template's under-bars if any exist */
}

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

.footer .footer-links ul li {
  padding: 6px 0 !important;
}

/* Base Link Layout Styles (Universal left-to-right design across columns) */
.footer .footer-links ul li a {
  font-family: 'Inter', sans-serif !important;
  color: #111111 !important;
  text-decoration: none !important;
  font-size: 15px !important;
  font-weight: 500 !important; 
  display: inline-flex !important;
  align-items: center !important;
  flex-direction: row !important; /* Keeps chevrons to the left of the text everywhere */
  gap: 10px !important;
  transition: transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1), color 0.25s ease !important;
}

/* Unified Link Hover: Text grows roughly 1 size bigger via scale */
.footer .footer-links ul li a:hover {
  color: #7b1226 !important; /* Brand Crimson Accent */
  transform: scale(1.06) !important; 
}

/* Base custom control for the chevron graphic */
.footer .chevron-img {
  width: 14px !important; 
  height: auto !important;
  object-fit: contain !important;
  transition: transform 0.25s ease, scale 0.25s ease !important;
}

/* Hover settings for standard left-aligned chevrons */
.footer .footer-links ul li a:hover .chevron-img {
  transform: translateX(6px) scale(1.15) !important; /* Moves forward and scales up slightly */
}

/* --- Clean, Compact Social Media Pill Badges Style Rules --- */
.footer .social-pills-wrapper {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}

.footer .social-pill-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #ffffff !important;
  padding: 6px 12px !important;       /* Clean, compressed padding size */
  border-radius: 50px !important;
  text-decoration: none !important;
  color: #444444 !important;
  font-size: 15px !important;          /* Reduced footprint size */
  font-weight: 500 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.25s ease !important;
  border: 1px solid rgba(0, 0, 0, 0.03) !important;
}

.footer .social-pill-link:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08) !important;
  color: #7b1226 !important;
}

.footer .social-pill-link img {
  width: 15px !important;              /* Sleeker icon dimensions */
  height: 15px !important;
  object-fit: contain !important;
}

/* Social Media Asset Swapping on Hover */
.footer .social-pill-link[href*="linkedin"]:hover img {
  content: url('../img/uploads/linkedin1.png') !important;
}

.footer .social-pill-link[href*="facebook"]:hover img {
  content: url('../img/uploads/facebook1.png') !important;
}

.footer .social-pill-link[href*="instagram"]:hover img {
  content: url('../img/uploads/instagram1.png') !important;
}

/* --- Bottom Text and Notifications --- */
.footer .follow-notice-text {
  margin-top: 45px;
}

.footer .follow-notice-text h5 {
  font-family: "Poppins", sans-serif !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #000000 !important;
  margin: 0 !important;
  letter-spacing: -0.2px !important;
}

/* Bottom Bar Modifications */
.footer .footer-bottom {
  margin-top: 60px !important;
  padding: 24px 0 !important;
  background-color: rgba(255, 255, 255, 0.5) !important;
  border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.footer .footer-bottom .copyright p {
  margin: 0 !important;
  font-size: 14px !important;
  color: #666666 !important;
  font-weight: 400 !important;
}

.footer .footer-bottom .footer-bottom-links a {
  color: #666666 !important;
  font-size: 14px !important;
  margin-left: 25px !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
  font-weight: 400 !important;
}

.footer .footer-bottom .footer-bottom-links a:hover {
  color: #7b1226 !important;
}

@media (max-width: 991px) {
  .footer .footer-bottom-links {
    display: flex !important;
    justify-content: center !important;
    gap: 20px !important;
  }
  .footer .footer-bottom-links a {
    margin-left: 0 !important;
  }
}

/* Ensure the text blocks use full width and remain cleanly justified */
.footer .brand-desc-text,
.footer .services-extra-content p {
  text-align: justify !important;
  max-width: 100% !important;
}

/* Forces all 3 menu lists to display with uniform text alignments and structures */
.footer .left-aligned-links ul li a {
  display: inline-flex !important;
  flex-direction: row !important;
  justify-content: flex-start !important;
}

/* Global Form Input Formats */
input[type=text],
input[type=email],
textarea {
  color: var(--default-color);
  background-color: var(--surface-color);
  font-size: 14px;
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

input[type=text]:focus,
input[type=email]:focus,
textarea:focus {
  border-color: var(--accent-color);
}

input[type=text]::placeholder,
input[type=email]::placeholder,
textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}
/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background-color: 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 var(--accent-color);
  border-top-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s 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: 20px; /* Locked into alignment with the chat icon */
  bottom: 28px; /* Stays at the absolute bottom corner edge */
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease-in-out;
}

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

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

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}
@media (max-width: 768px) {
  .scroll-top,
  .scroll-top.active {
    bottom: 85px; /* Bumped up so it hovers cleanly right above the chat icon */
    right: 20px;
  }
  .floating-chat-box {
    bottom: 28px; 
    right: 20px; /* Keep it neatly tucked in the corner */
  }
}
/*--------------------------------------------------------------
# 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);
  position: relative;
}

.page-title .heading {
  padding: 80px 0;
}

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

.page-title nav {
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  padding: 20px 0;
}

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

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

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

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

@media (max-width: 768px) {
  section,
  .section {
    padding: 40px 0; /* Slightly tighter padding for snappier mobile reading */
    scroll-margin-top: 60px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 40px; /* Adjusted spacing since line is removed */
  position: relative;
}

.section-title h2 {
  font-size: 24px;
  font-weight: 700;
  padding: 0;
  line-height: 1.2; /* Restored natural height so your text isn't squished */
  margin: 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
}

/* Stripped and completely destroyed the line rendering tree */
.section-title h2::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

.section-title p {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin: 10px 0 0 0;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Hero 2 Section
--------------------------------------------------------------*/
.hero-2 {
  padding: 0;
  font-family: "Poppins", sans-serif;
}

.hero-2 .hero-carousel {
  position: relative;
  overflow: hidden;
}

.hero-2 .hero-slide {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 120px 0 160px;
  position: relative;
}

.hero-2 .hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, color-mix(in srgb, var(--background-color), transparent 5%) 0%, color-mix(in srgb, var(--background-color), transparent 30%) 40%, color-mix(in srgb, var(--background-color), transparent 75%) 95%, transparent 100%);
}

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

.hero-2 .hero-content .hero-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
  padding: 5px 15px;
  border-radius: 20px;
  margin-bottom: 22px;
}

.hero-2 .hero-content h1 {
  font-family: "Poppins", sans-serif !important;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-2 .hero-content h1 em {
  font-style: italic;
  color: var(--accent-color);
}

.hero-2 .hero-content p {
  font-size: 1.05rem;
  max-width: 460px;
  margin-bottom: 36px;
  line-height: 1.75;
}

.hero-2 .hero-content .hero-actions {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-2 .hero-content .hero-actions .btn-book {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 14px 34px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.4px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero-2 .hero-content .hero-actions .btn-book:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

.hero-2 .hero-content .hero-actions .btn-menu {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 0.9rem;
  padding-bottom: 4px;
  border-bottom: 2px solid color-mix(in srgb, var(--default-color), transparent 55%);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.hero-2 .hero-content .hero-actions .btn-menu i {
  transition: transform 0.3s ease;
}

.hero-2 .hero-content .hero-actions .btn-menu:hover {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
}

.hero-2 .hero-content .hero-actions .btn-menu:hover i {
  transform: translateX(5px);
}

.hero-2 .hero-prev,
.hero-2 .hero-next {
  width: 52px;
  height: 52px;
  background-color: color-mix(in srgb, var(--default-color), transparent 80%);
  border: 1px solid color-mix(in srgb, var(--contrast-color), transparent 60%);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.hero-2 .hero-prev i,
.hero-2 .hero-next i {
  font-size: 1.2rem;
  color: var(--contrast-color);
}

.hero-2 .hero-prev::after,
.hero-2 .hero-next::after {
  display: none;
}

.hero-2 .hero-prev:hover,
.hero-2 .hero-next:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  opacity: 1;
}

@media (max-width: 768px) {

  .hero-2 .hero-prev,
  .hero-2 .hero-next {
    display: flex;
  }
}

.hero-2 .hero-prev {
  left: 32px;
}

.hero-2 .hero-next {
  right: 32px;
}

.hero-2 .hero-indicators {
  position: absolute;
  bottom: 75px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 5;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-2 .hero-indicators li {
  width: 28px;
  height: 3px;
  background-color: color-mix(in srgb, var(--contrast-color), transparent 60%);
  border: none;
  border-radius: 2px;
  padding: 0;
  cursor: pointer;
  transition: width 0.4s ease, background-color 0.3s ease;
  opacity: 1;
  text-indent: 0;
  margin: 0;
}

.hero-2 .hero-indicators li.active {
  width: 60px;
  background-color: var(--accent-color);
}

.hero-2 .hero-info-bar {
  background-color: color-mix(in srgb, var(--surface-color), transparent 50%);
}

.hero-2 .hero-info-bar .info-bar-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 26px 36px;
  border-right: 1px solid color-mix(in srgb, var(--contrast-color), transparent 88%);
  transition: background-color 0.3s ease;
}

.hero-2 .hero-info-bar .info-bar-item:last-child {
  border-right: none;
}

.hero-2 .hero-info-bar .info-bar-item:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
}

.hero-2 .hero-info-bar .info-bar-item i {
  font-size: 1.7rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.hero-2 .hero-info-bar .info-bar-item .info-bar-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-2 .hero-info-bar .info-bar-item .info-bar-text span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.hero-2 .hero-info-bar .info-bar-item .info-bar-text strong {
  font-size: 0.92rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  /* 1. Original Layout & Spacing Overrides */
  .hero-2 .hero-info-bar .info-bar-item {
    border-right: none;
    border-bottom: 1px solid color-mix(in srgb, var(--contrast-color), transparent 88%);
    padding: 18px 24px;
  }

  .hero-2 .hero-info-bar .info-bar-item:last-child {
    border-bottom: none;
  }

  .hero-2 .hero-slide {
    padding: 100px 0 130px;
  }

  .hero-2 .hero-indicators {
    bottom: 50px;
  }

  /* 2. Text Overlap Fixes (Shield content from hitting arrows) */
  .hero-2 .hero-content {
    padding-left: 55px !important;
    padding-right: 55px !important;
  }

  /* 3. Resize and Reposition Navigation Arrows for Small Screens */
  .hero-2 .hero-prev,
  .hero-2 .hero-next {
    width: 40px !important;
    height: 40px !important;
  }

  .hero-2 .hero-prev {
    left: 12px !important;
  }

  .hero-2 .hero-next {
    right: 12px !important;
  }
}

/*--------------------------------------------------------------
# About 6 Section
--------------------------------------------------------------*/
.about-6 .image-wrapper {
  position: relative;
}

.about-6 .image-wrapper img {
  border-radius: 1.5rem;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}

.about-6 .image-wrapper .experience-badge {
  position: absolute;
  bottom: 2rem;
  right: -1.5rem;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 1.5rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 1rem 2rem color-mix(in srgb, var(--accent-color) 30%, transparent);
}

.about-6 .image-wrapper .experience-badge .number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.about-6 .image-wrapper .experience-badge .text {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 0.25rem;
  opacity: 0.9;
}

.about-6 .content-wrapper {
  padding-left: 2rem;
}

.about-6 .content-wrapper .section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--accent-color) 30%, transparent);
  border-radius: 3rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.about-6 .content-wrapper .section-badge i {
  font-size: 1rem;
}

.about-6 .content-wrapper .main-heading {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.about-6 .content-wrapper .main-heading .highlight {
  color: var(--accent-color);
  position: relative;
}

.about-6 .content-wrapper .main-heading .highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background-color: var(--accent-color);
  border-radius: 2px;
}

.about-6 .content-wrapper .intro-text {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color) 80%, transparent);
  margin-bottom: 2rem;
  text-align: justify;
}

.about-6 .features-timeline {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 2.5rem;
}

.about-6 .features-timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-color), color-mix(in srgb, var(--accent-color) 30%, transparent));
  border-radius: 2px;
}

.about-6 .features-timeline .timeline-item {
  position: relative;
  padding-bottom: 1.5rem;
}

.about-6 .features-timeline .timeline-item:last-child {
  padding-bottom: 0;
}

.about-6 .features-timeline .timeline-item .timeline-marker {
  position: absolute;
  left: -2rem;
  top: 0;
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
  box-shadow: 0 0 0 4px var(--background-color), 0 0 0 6px color-mix(in srgb, var(--accent-color) 30%, transparent);
}

.about-6 .features-timeline .timeline-item .timeline-marker i {
  color: var(--contrast-color);
  font-size: 1rem;
}

.about-6 .features-timeline .timeline-item .timeline-content {
  padding-left: 1.5rem;
}

.about-6 .features-timeline .timeline-item .timeline-content h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.about-6 .features-timeline .timeline-item .timeline-content p {
  font-size: 0.9375rem;
  color: color-mix(in srgb, var(--default-color) 70%, transparent);
  margin-bottom: 0;
  line-height: 1.6;
  text-align: justify;
  hyphens: auto;
}

.about-6 .cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 3rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.about-6 .cta-btn i {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.about-6 .cta-btn:hover {
  background-color: color-mix(in srgb, var(--accent-color) 85%, black);
  color: var(--contrast-color);
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1.5rem color-mix(in srgb, var(--accent-color) 40%, transparent);
}

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

@media (max-width: 992px) {
  .about-6 .image-wrapper {
    max-width: 28rem;
    margin: 0 auto 3rem;
  }

  .about-6 .image-wrapper .experience-badge {
    right: 0;
    bottom: 1.5rem;
  }

  .about-6 .content-wrapper {
    padding-left: 0;
  }

  .about-6 .content-wrapper .main-heading {
    font-size: 1.875rem;
  }
}

@media (max-width: 576px) {
  .about-6 .image-wrapper::before {
    display: none;
  }

  .about-6 .image-wrapper .experience-badge {
    padding: 1rem;
  }

  .about-6 .image-wrapper .experience-badge .number {
    font-size: 2rem;
  }

  .about-6 .image-wrapper .experience-badge .text {
    font-size: 0.75rem;
  }

  .about-6 .content-wrapper .main-heading {
    font-size: 1.625rem;
  }

  .about-6 .content-wrapper .intro-text {
    font-size: 1rem;
  }

  .about-6 .features-timeline .timeline-item .timeline-marker {
    width: 2rem;
    height: 2rem;
  }

  .about-6 .features-timeline .timeline-item .timeline-marker i {
    font-size: 0.875rem;
  }

  .about-6 .features-timeline .timeline-item .timeline-content h4 {
    font-size: 1rem;
  }

  .about-6 .features-timeline .timeline-item .timeline-content p {
    font-size: 0.875rem;
  }

  .about-6 .cta-btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
  }
}

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients {
  padding-top: 7px;
  background-color: #fafbf4;
  padding-bottom: 0px;
}

.clients .swiper {
  padding: 10px 0;
}

.clients .swiper-wrapper {
  height: auto;
}

.clients .swiper-slide img {
  transition: 0.3s;
}

.clients .swiper-slide img:hover {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services {
  padding-top: 60px;
  background-color: color-mix(in srgb, var(--default-color), transparent 98%);
  padding-bottom: 60px;
}

.services .services-intro {
  margin-bottom: 48px;
  padding-bottom: 32px;
  text-align: justify;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.services .services-intro h2 {
  font-size: 25px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

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

.services .services-intro p {
  font-size: 16px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 0;
  text-align: justify;
}

@media (max-width: 992px) {
  .services .services-intro {
    margin-bottom: 40px;
    padding-bottom: 24px;
  }

  .services .services-intro .col-lg-4 {
    margin-top: 24px;
  }
}

.services .btn-consultation {
  display: inline-block;
  padding: 12px 28px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 2px solid var(--accent-color);
  transition: all 0.25s ease-in-out;
}

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

@media (max-width: 992px) {
  .services .btn-consultation {
    width: 100%;
    text-align: center;
  }
}

.services .service-card {
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  border-radius: 6px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease-in-out;
}

.services .service-card:hover {
  border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.services .service-card:hover .service-icon {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

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

.services .service-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 22px 14px;
}

.services .service-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  transition: all 0.25s ease-in-out;
}

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

.services .service-title {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--heading-color);
  flex: 1;
}

.services .service-card-body {
  padding: 0 22px;
  flex: 1;
}

.services .service-card-body p {
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 18px;
  text-align: justify;
}

.services .service-features {
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.services .service-features .feature-item {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 13px;
  line-height: 1.4;
}

.services .service-features .feature-item i {
  color: #800000;
  font-size: 13px;
  margin-top: 2px;
  flex-shrink: 0;
}

.services .service-card-footer {
  padding: 16px 22px 20px;
  margin-top: 16px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

.services .service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--accent-color);
  text-decoration: none;
}

.services .service-link i {
  font-size: 15px;
  transition: transform 0.25s ease-in-out;
}

@media (max-width: 768px) {

  .services .service-card-header,
  .services .service-card-body,
  .services .service-card-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

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

  .services .service-card-body p {
    font-size: 13.5px;
  }
}

.services .cta-section {
  margin-top: 48px;
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  border-radius: 6px;
  padding: 40px;
}

@media (max-width: 992px) {
  .services .cta-section {
    padding: 32px 24px;
    margin-top: 40px;
  }
}

.services .cta-content h3 {
  font-size: 28px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

@media (max-width: 768px) {
  .services .cta-content h3 {
    font-size: 24px;
  }
}

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

.services .cta-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

@media (max-width: 576px) {
  .services .cta-stats {
    gap: 24px;
  }
}

.services .stat-item .stat-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1.2;
  margin-bottom: 4px;
}

@media (max-width: 768px) {
  .services .stat-item .stat-number {
    font-size: 28px;
  }
}

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

.services .cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 992px) {
  .services .cta-actions {
    margin-top: 24px;
    flex-direction: row;
    justify-content: flex-start;
  }
}

@media (max-width: 576px) {
  .services .cta-actions {
    flex-direction: column;
  }
}

.services .btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  border: 2px solid var(--accent-color);
  transition: all 0.25s ease-in-out;
}

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

@media (max-width: 576px) {
  .services .btn-primary {
    width: 100%;
  }
}

.services .btn-secondary {
  display: inline-block;
  padding: 14px 32px;
  background-color: transparent;
  color: var(--accent-color);
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  border: 2px solid var(--accent-color);
  transition: all 0.25s ease-in-out;
}

.services .btn-secondary:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

@media (max-width: 576px) {
  .services .btn-secondary {
    width: 100%;
  }
}

@media (max-width: 768px) {

  .services .service-card-header,
  .services .service-card-body,
  .services .service-card-footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .services .service-card-header {
    padding-top: 24px;
  }

  .services .service-card-footer {
    padding-bottom: 24px;
  }

  .services .service-card-body h3 {
    font-size: 20px;
  }

  .services .service-card-body p {
    font-size: 14px;
  }

  .services .services {
    padding-top: 60px;
    background-color: color-mix(in srgb, var(--default-color), transparent 98%);
    padding-bottom: 60px;
  }

  .services .services .services-intro {
    margin-bottom: 48px;
    padding-bottom: 32px;
    text-align: justify;
    border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  }

  .services .services .services-intro h2 {
    font-size: 25px;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
  }
}

@media (max-width: 768px) and (max-width: 768px) {
  .services .services .services-intro h2 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .services .services .services-intro p {
    font-size: 16px;
    line-height: 1.6;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    margin-bottom: 0;
    text-align: justify;
  }
}

@media (max-width: 768px) and (max-width: 992px) {
  .services .services .services-intro {
    margin-bottom: 40px;
    padding-bottom: 24px;
  }

  .services .services .services-intro .col-lg-4 {
    margin-top: 24px;
  }
}

@media (max-width: 768px) {
  .services .services .service-card {
    background-color: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
    border-radius: 6px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease-in-out;
  }

  .services .services .service-card:hover {
    border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
  }

  .services .services .service-card:hover .service-icon {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

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

  .services .services .service-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 22px 14px;
  }

  .services .services .service-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    transition: all 0.25s ease-in-out;
  }

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

  .services .services .service-title {
    margin: 0;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--heading-color);
    flex: 1;
  }

  .services .services .service-card-body {
    padding: 0 22px;
    flex: 1;
  }

  .services .services .service-card-body p {
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 18px;
    text-align: justify;
  }

  .services .services .service-features {
    margin-bottom: 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .services .services .service-features .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-size: 13px;
    line-height: 1.4;
  }

  .services .services .service-features .feature-item i {
    font-size: 13px;
    margin-top: 2px;
  }

  .services .services .service-card-footer {
    padding: 16px 22px 20px;
    margin-top: 16px;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  }

  .services .services .service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--accent-color);
    text-decoration: none;
  }

  .services .services .service-link i {
    font-size: 15px;
    transition: transform 0.25s ease-in-out;
  }

  .services .services .cta-section {
    margin-top: 48px;
    background-color: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
    border-radius: 6px;
    padding: 40px;
  }
}

@media (max-width: 768px) and (max-width: 992px) {
  .services .services .cta-section {
    padding: 32px 24px;
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .services .services .cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .services .services .cta-actions .btn-primary,
  .services .services .cta-actions .btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    border: 2px solid var(--accent-color);
    transition: all 0.25s ease-in-out;
  }

  .services .services .cta-actions .btn-primary {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

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

  .services .services .cta-actions .btn-secondary {
    background-color: transparent;
    color: var(--accent-color);
  }

  .services .services .cta-actions .btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: translateY(-2px);
  }
}

@media (max-width: 768px) and (max-width: 992px) {
  .services .services .cta-actions {
    margin-top: 24px;
    flex-direction: row;
    justify-content: flex-start;
  }
}

@media (max-width: 768px) and (max-width: 576px) {
  .services .services .cta-actions {
    flex-direction: column;
  }

  .services .services .cta-actions .btn-primary,
  .services .services .cta-actions .btn-secondary {
    width: 100%;
  }
}

@media (max-width: 768px) and (max-width: 768px) {

  .services .services .service-card-header,
  .services .services .service-card-body,
  .services .services .service-card-footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .services .services .service-card-header {
    padding-top: 24px;
  }

  .services .services .service-card-footer {
    padding-bottom: 24px;
  }

  .services .services .service-card-body h3 {
    font-size: 20px;
  }

  .services .services .service-card-body p {
    font-size: 14px;
  }

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

@media (max-width: 992px) {
  .services .service-features {
    grid-template-columns: 1fr; /* Switch from 2 columns to 1 column on mobile to prevent squishing text tags */
    gap: 12px;
  }
  
  .services .cta-stats {
    justify-content: center; /* Center statistics badges cleanly on tablets/phones */
    text-align: center;
  }
}

/*--------------------------------------------------------------
# Projects Section
--------------------------------------------------------------*/
.projects {
  background-color: #fafbf4;
  padding: 60px 0;
}

.projects .service-card {
  position: relative;
  background: var(--surface-color);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.projects .service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.projects .service-card:hover .service-image img {
  transform: scale(1.05);
}

.projects .service-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 5px 15px color-mix(in srgb, var(--accent-color), transparent 60%);
}

.projects .service-icon i {
  font-size: 24px;
  color: var(--contrast-color);
  text-align: justify;
}

.projects .service-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.projects .service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.projects .service-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to top, var(--surface-color), transparent);
}

.projects .service-content {
  padding: 30px 25px;
}

.projects .service-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--heading-color);
  line-height: 1.4;
}

.projects .service-content p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 14px;
  text-align: justify;
}

.projects .see-more-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
  color: #007bff;
  text-decoration: none;
  transition: 0.3s;
}

.projects .see-more-link:hover {
  color: #0056b3;
  padding-left: 5px;
}

@media (max-width: 768px) {
  .projects .service-icon {
    width: 50px;
    height: 50px;
    top: 15px;
    right: 15px;
  }

  .projects .service-icon i {
    font-size: 20px;
  }

  .projects .service-image {
    height: 180px;
  }

  .projects .service-content {
    padding: 20px;
  }

  .projects .service-content h3 {
    font-size: 18px;
  }
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team {
  font-family: "Poppins", sans-serif;
}

.team .member {
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 5%;
  text-align: center;
  margin-bottom: 10px;
  overflow: hidden;
}

.team .member img {
  margin: -1px -1px 30px -1px;
  transition: transform 0.4s ease, filter 0.4s ease;
  transform: scale(1);
  filter: brightness(0.95);
}

.team .member:hover img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

.team .member .member-content {
  padding: 0 20px 30px 20px;
  position: relative;
  z-index: 2;
}

.team .member h4 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  margin-bottom: 2px;
  font-size: 18px;
}

.team .member span {
  font-family: "Poppins", sans-serif;
  font-style: italic;
  display: block;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.team .member .profile-details {
  font-family: "Poppins", sans-serif;
  margin-top: 14px;
  text-align: justify;
}

.team .member .profile-details summary::-webkit-details-marker {
  display: none;
}

.team .member .profile-details summary {
  list-style: none;
}

.team .member .profile-details .profile-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #800000;
  user-select: none;
  padding: 5px 0;
  transition: color 0.2s ease;
}

.team .member .profile-details .profile-summary:hover {
  color: #5a0000;
}

.team .member .profile-details .profile-summary .chevron-icon {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.team .member .profile-details[open] .profile-summary .chevron-icon {
  transform: rotate(180deg);
}

.team .member .profile-details .profile-elaborations {
  background-color: color-mix(in srgb, var(--default-color), transparent 97%);
  padding: 16px;
  border-radius: 6px;
  margin-top: 10px;
  border: 1px dashed color-mix(in srgb, #800000, transparent 80%);
}

.team .member .profile-details .profile-elaborations .profile-item {
  margin-bottom: 14px;
}

.team .member .profile-details .profile-elaborations .profile-item:last-child {
  margin-bottom: 0;
}

.team .member .profile-details .profile-elaborations .profile-item h5 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #800000;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.3px;
}

.team .member .profile-details .profile-elaborations .profile-item h5 i {
  color: #800000;
  font-size: 15px;
}

.team .member .profile-details .profile-elaborations .profile-item p {
  padding-top: 0;
  margin-bottom: 0;
  font-size: 13px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.5;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.team .member .profile-details .profile-elaborations .profile-list {
  margin: 0;
  padding-left: 16px;
  list-style-type: disc;
}

.team .member .profile-details .profile-elaborations .profile-list li {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 6px;
  text-align: left;
}

.team .member .profile-details .profile-elaborations .profile-list li:last-child {
  margin-bottom: 0;
}

.team .member .profile-details .profile-elaborations .profile-linkedin-footer {
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.team .member .profile-details .profile-elaborations .profile-linkedin-footer .linkedin-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #800000;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}

.team .member .profile-details .profile-elaborations .profile-linkedin-footer .linkedin-link:hover {
  opacity: 0.8;
}

.team .member .profile-details .profile-elaborations .profile-linkedin-footer .linkedin-link .left-side {
  display: flex;
  align-items: center;
  gap: 8px;
}

.team .member .profile-details .profile-elaborations .profile-linkedin-footer .linkedin-link .left-side i {
  font-size: 16px;
}

.team .member .profile-details .profile-elaborations .profile-linkedin-footer .linkedin-link .external-icon {
  font-size: 14px;
}
@media (max-width: 576px) {
  .team .member .profile-details .profile-elaborations {
    padding: 10px !important;
    margin-left: 5px;
    margin-right: 5px;
  }
  
  .team .member .profile-details .profile-elaborations .profile-list {
    padding-left: 12px !important;
  }
}
/*--------------------------------------------------------------
# News Insight Section
--------------------------------------------------------------*/
.news-insight {
  background-color: #fafbf4;
  padding: 60px 0;
}

/* Force structural columns to maintain equal height */
.news-insight .row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.news-insight .featured-post {
  background-color: var(--surface-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease, opacity 0.25s ease;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-insight .featured-post:last-of-type {
  margin-bottom: 0;
}

#mainFeatured {
  transition: opacity .25s ease, transform .3s ease;
}

.news-insight .featured-post:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.news-insight .featured-post:hover .featured-img img {
  transform: scale(1.05);
}

.news-insight .featured-post:hover .post-title a {
  color: var(--accent-color);
}

.news-insight .featured-img {
  position: relative;
  height: 320px;
  overflow: hidden;
}

.news-insight .featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease, opacity .25s ease;
}

.news-insight .featured-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: linear-gradient(
    135deg,
    var(--accent-color),
    color-mix(in srgb, var(--accent-color), #000 20%)
  );
  color: var(--contrast-color);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.news-insight .featured-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-insight .post-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.news-insight .post-title {
  margin: 0 0 20px 0;
  min-height: 72px;
}

.news-insight .post-title a {
  color: var(--heading-color);
  font-family: "Poppins", sans-serif !important;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  transition: .3s ease;
}

.news-insight .post-title a:hover {
  color: var(--accent-color);
}

.news-insight .post-excerpt {
  color: var(--default-color);
  font-size: 16px;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 28px;
  min-height: 85px;
}

.news-insight .post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.news-insight .read-more {
  color: var(--accent-color);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.news-insight .read-more::after {
  content: "→";
  margin-left: 8px;
  transition: .3s ease;
}

.news-insight .read-more:hover::after {
  margin-left: 12px;
}

/*--------------------------------------------------------------
# Recent Posts Clean & Proportional Settings
--------------------------------------------------------------*/
.news-insight .recent-post {
  background-color: var(--surface-color);
  font-family: "Poppins", sans-serif !important;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  transition: all 0.35s ease;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  flex: 1 1 0px;       
  min-height: 0;       
}

.news-insight .recent-post:hover {
  transform: translateX(8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, .1);
  border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
}

.news-insight .recent-post:active {
  transform: scale(.98);
}

.news-insight .recent-post:hover .recent-title a {
  color: var(--accent-color);
}

.news-insight .recent-post:hover .recent-img img {
  transform: scale(1.08);
}

.news-insight .recent-img {
  height: 100px;
  overflow: hidden;
  flex-shrink: 0;
}

.news-insight .recent-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .4s ease;
}

.news-insight .recent-content {
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.news-insight .recent-title {
  margin: 4px 0 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2; 
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-insight .recent-title a {
  font-family: "Poppins", sans-serif !important;
  color: var(--heading-color);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  transition: .3s ease;
}

.news-insight .recent-title a:hover {
  color: var(--accent-color);
}

.news-insight .recent-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  margin-top: auto;
}

.news-insight .recent-meta .author {
  color: var(--heading-color);
  font-weight: 500;
}

.news-insight .recent-meta .date {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

/*--------------------------------------------------------------
# Category Labels & Meta Global Settings
--------------------------------------------------------------*/
.news-insight .category {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--accent-color), transparent 90%),
    color-mix(in srgb, var(--accent-color), transparent 80%)
  );
  color: var(--accent-color);
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .5px;
  align-self: flex-start;
}

.news-insight .post-date {
  font-size: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-weight: 500;
}

/*--------------------------------------------------------------
# Responsive Breakpoints
--------------------------------------------------------------*/
@media (max-width: 991px) {
  .news-insight .featured-img {
    height: 250px;
  }
  .news-insight .featured-content {
    padding: 24px;
  }
  .news-insight .post-title a {
    font-size: 24px;
  }
  .news-insight .post-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .news-insight .recent-post {
    display: flex;
    flex-direction: row;
    margin-bottom: 16px;
    flex: none; 
  }
  .news-insight .recent-img {
    flex: 0 0 100px;
    height: 100px;
  }
  .news-insight .recent-content {
    flex: 1;
    padding: 16px;
  }
}

@media (max-width: 576px) {
  .news-insight .post-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .news-insight .recent-post {
    flex-direction: column;
  }
  .news-insight .recent-img {
    flex: none;
    height: 120px;
  }
}


/*--------------------------------------------------------------
# Contact Section Updates
--------------------------------------------------------------*/
.contact {
  padding: 80px 0;
}

.contact .info-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 30px 24px;
  border-radius: 12px;
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  box-shadow: 0 4px 20px -5px color-mix(in srgb, var(--default-color), transparent 95%);
  height: 100%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact .info-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
  box-shadow: 0 12px 30px -10px color-mix(in srgb, var(--accent-color), transparent 85%);
}

.contact .info-card .info-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact .info-card:hover .info-card-icon {
  background: var(--accent-color);
}

.contact .info-card:hover .info-card-icon i {
  color: var(--contrast-color);
}

.contact .info-card .info-card-icon i {
  font-size: 22px;
  color: var(--accent-color);
  transition: color 0.3s ease;
}

.contact .info-card .info-card-body h5 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--heading-color);
}

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

.contact .info-card .info-card-body .email-text {
  font-weight: 500;
  color: var(--accent-color);
}

.contact .form-card {
  padding: 40px;
  border-radius: 12px;
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  box-shadow: 0 4px 20px -5px color-mix(in srgb, var(--default-color), transparent 95%);
}

.contact .form-card .form-card-header {
  margin-bottom: 30px;
}

.contact .form-card .form-card-header h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  color: var(--heading-color);
}

.contact .form-card .form-card-header p {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  line-height: 1.6;
  margin-bottom: 0;
}

.contact .form-card .form-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: color-mix(in srgb, var(--heading-color), transparent 20%);
  margin-bottom: 8px;
}

.contact .form-card .form-control {
  height: 46px;
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 8px;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--default-color), transparent 97%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  transition: all 0.25s ease;
}

.contact .form-card select.form-control {
  appearance: auto;
  cursor: pointer;
}

.contact .form-card .form-control:focus {
  background-color: var(--surface-color);
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 92%);
}

.contact .form-card textarea.form-control {
  height: auto;
  min-height: 140px;
  resize: none;
}

.contact .form-card .btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact .form-card .btn-submit i {
  transition: transform 0.2s ease;
}

.contact .form-card .btn-submit:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 12%);
  box-shadow: 0 8px 20px -6px var(--accent-color);
}

.contact .form-card .btn-submit:hover i {
  transform: translateX(4px);
}

.contact .form-card .btn-submit:active {
  transform: scale(0.98);
}

.contact .map-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  box-shadow: 0 4px 20px -5px color-mix(in srgb, var(--default-color), transparent 95%);
  min-height: 300px;
}

.contact .map-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact .connect-card {
  padding: 30px;
  border-radius: 12px;
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  box-shadow: 0 4px 20px -5px color-mix(in srgb, var(--default-color), transparent 95%);
}

.contact .connect-card h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--heading-color);
}

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

.contact .connect-card .social-row {
  display: flex;
  gap: 12px;
}

.contact .connect-card .social-row a {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 18px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact .connect-card .social-row a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px -5px var(--accent-color);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .contact { padding: 60px 0; }
  .contact .form-card { padding: 30px; }
  .contact .map-card { min-height: 260px; }
}

@media (max-width: 768px) {
  .contact .form-card .form-card-header h3 { font-size: 20px; }
  .contact .map-card { min-height: 220px; }
}

@media (max-width: 576px) {
  .contact .info-card { padding: 24px 20px; }
  .contact .form-card { padding: 24px 20px; }
  .contact .form-card .btn-submit { width: 100%; }
  .contact .connect-card { padding: 24px 20px; }
}

#contactForm, 
#contactForm-smooth {
  scroll-margin-top: 120px;
}

/*--------------------------------------------------------------
# Hero 3 Section
--------------------------------------------------------------*/
.hero-3 {
  padding: 0;
  font-family: 'Poppins', sans-serif;
  position: relative;
  overflow: hidden;
}

.hero-3 .hero-video-container {
  min-height: 100vh;
  display: flex;
  align-items: center; 
  padding: 120px 0 160px;
  position: relative;
}

.hero-3 .hero-video-container video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-3 .hero-video-container::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.25);
}

.hero-3 .hero-content {
  position: relative;
  z-index: 2;
  text-align: justify;
}

.hero-3 .hero-content .hero-logo {
  display: inline-block;
  max-width: 180px; 
  height: auto;
  margin-bottom: 22px; 
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4)); 
}

.hero-3 .hero-content h2 {
  font-family: 'Poppins', sans-serif !important;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  text-align: justify;
  line-height: 1.15;
  margin-bottom: 15px;
  color: #ffffff;
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.4),
    0 8px 16px rgba(0, 0, 0, 0.3),
    0 20px 40px rgba(0, 0, 0, 0.2);
}

.hero-3 .hero-content p {
  font-size: 1.05rem;
  max-width: 460px; 
  margin-bottom: 36px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.5),
    0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-3 .hero-actions {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-3 .hero-actions .btn-explore {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 14px 34px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.4px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero-3 .hero-actions .btn-explore:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

.hero-3 .hero-actions .btn-specials {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 0.9rem;
  padding-bottom: 4px;
  border-bottom: 2px solid color-mix(in srgb, var(--default-color, #ffffff), transparent 55%);
  transition: color 0.3s ease, border-color 0.3s ease;
  color: #ffffff;
}

.hero-3 .hero-actions .btn-specials i {
  transition: transform 0.3s ease;
}

.hero-3 .hero-actions .btn-specials:hover {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
}

.hero-3 .hero-actions .btn-specials:hover i {
  transform: translateX(5px);
}

/*--------------------------------------------------------------
# Mobile Cleanliness & Responsive Overrides
--------------------------------------------------------------*/
@media (max-width: 768px) {
  /* Darken the background overlay slightly on mobile for better text legibility */
  .hero-3 .hero-video-container::before {
    background-color: rgba(0, 0, 0, 0.45) !important;
  }

  /* Center the content container */
  .hero-3 .hero-content {
    text-align: center !important;
  }
  
  /* Center the paragraph, optimize readability, and add text-shadow protection */
  .hero-3 .hero-content p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
    -ms-hyphens: none !important;
    font-size: 0.95rem !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    margin-bottom: 28px !important;
    color: rgba(255, 255, 255, 0.95) !important;
    /* Soft dark drop shadow to protect readability over light parts of the video */
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 1px 3px rgba(0, 0, 0, 0.9) !important;
  }

  /* Make the heading bold, clear, and visually separated from the background */
  .hero-3 .hero-content h2 {
    font-size: clamp(1.8rem, 6vw, 2.3rem) !important;
    font-weight: 800 !important; /* Made bolder to stand out */
    text-align: center !important;
    line-height: 1.25 !important;
    margin-bottom: 15px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    color: #ffffff !important;
    /* Multilayer shadow creates a high-contrast barrier over the white sonde */
    text-shadow: 
      0 2px 10px rgba(0, 0, 0, 0.9),
      0 4px 20px rgba(0, 0, 0, 0.6),
      0 0 30px rgba(0, 0, 0, 0.4) !important;
  }

  /* Center and scale the logo */
  .hero-3 .hero-content .hero-logo {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 130px !important;
    margin-bottom: 20px !important;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6)) !important;
  }

  /* Center the action buttons on mobile */
  .hero-3 .hero-actions {
    justify-content: center !important;
    gap: 20px !important;
    width: 100% !important;
  }

  .hero-3 .hero-actions .btn-explore {
    padding: 12px 28px !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important; /* Button elevation */
  }

  .hero-3 .hero-actions .btn-specials {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6) !important;
  }
}

/* Extra safety padding on extremely small screens */
@media (max-width: 480px) {
  .hero-3 .hero-video-container {
    padding: 80px 20px 100px !important; /* Keeps text safe from screen edges */
  }
}

/*--------------------------------------------------------------
# About 4 Section
--------------------------------------------------------------*/
.about-4 {
  padding-top: 80px;
  padding-bottom: 80px;
}

.about-4 .content {
  padding-right: 30px;
}

.about-4 .subtitle {
  color: var(--accent-color);
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.about-4 .title {
  font-size: 2.5rem;
  font-family: "Poppins", sans-serif !important;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--heading-color);
}

body.dark-mode .about-4 .title {
  color: var(--text-main);
}

.about-4 .description {
  margin-bottom: 30px;
  text-align: justify;
  color: var(--default-color);
}

body.dark-mode .about-4 .description {
  color: var(--text-muted);
}

.about-4 .image-grid {
  display: flex;
  gap: 15px;
  height: 450px;
}

.about-4 .main-image {
  flex: 0 0 65%;
  height: 100%;
}

.about-4 .main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-4 .side-images {
  flex: 0 0 35%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.about-4 .side-images img {
  width: 100%;
  height: calc(50% - 7.5px);
  object-fit: cover;
}

.about-4 .stats {
  margin-top: 30px;
}

.about-4 .stat-item {
  margin-bottom: 20px;
}

.about-4 .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 5px;
  line-height: 1;
}

.about-4 .stat-text {
  color: var(--heading-color);
  font-size: 1rem;
  font-weight: 600;
}

body.dark-mode .about-4 .stat-text {
  color: var(--text-main);
}

@media (max-width: 991.98px) {
  .about-4 .content {
    padding-right: 0;
    margin-bottom: 40px;
  }
  .about-4 .image-grid {
    height: auto;
    flex-direction: column;
  }
  .about-4 .main-image,
  .about-4 .side-images {
    flex: 0 0 100%;
  }
  .about-4 .side-images {
    flex-direction: row;
  }
  .about-4 .side-images img {
    height: 200px;
    width: calc(50% - 7.5px);
  }
}

/*--------------------------------------------------------------
# Slider Section
--------------------------------------------------------------*/
.slider .container-fluid {
  padding: 0;
}

.slider .event-item {
  background-size: cover;
  background-position: center;
  min-height: 600px;
  padding: 30px;
  position: relative;
}

@media (max-width: 575px) {
  .slider .event-item {
    min-height: 500px;
  }
}

.slider .event-item:before {
  content: "";
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  inset: 0;
  z-index: 1;
}

.slider .event-item h3,
.slider .event-item .price,
.slider .event-item .description {
  position: relative;
  z-index: 2;
  color: #ffffff !important;
}

.slider .event-item h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 5px;
}

.slider .event-item .price {
  border-bottom: 2px solid var(--accent-color);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
}

.slider .event-item .description {
  margin-bottom: 0;
}

.slider .swiper-wrapper {
  height: auto;
}

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

.slider .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: var(--text-light);
  opacity: 0.4;
}

body.dark-mode .slider .swiper-pagination .swiper-pagination-bullet {
  background-color: var(--text-main);
}

.slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color) !important;
  opacity: 1;
}

/*--------------------------------------------------------------
# About 5 Section
--------------------------------------------------------------*/
.about-5 {
  padding: 100px 0;
}

@media (max-width: 768px) {
  .about-5 {
    padding: 64px 0;
  }
}

.about-5 .image-wrapper {
  position: relative;
  padding: 24px;
}

.about-5 .image-wrapper .main-image {
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  width: 100%;
  height: auto;
}

body.dark-mode .about-5 .image-wrapper .main-image {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.about-5 .image-wrapper .floating-card {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: #800020;
  color: #ffffff;
  padding: 24px 32px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(128, 0, 32, 0.15);
}

@media (max-width: 992px) {
  .about-5 .image-wrapper .floating-card {
    right: 16px;
    bottom: 0;
  }
}

.about-5 .image-wrapper .floating-card .stat-number {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.about-5 .image-wrapper .floating-card .stat-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

.about-5 .image-wrapper .decorative-badge {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 50px;
  background: var(--bg-surface);
  box-shadow: 0 8px 30px var(--card-shadow);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
}

.about-5 .image-wrapper .decorative-badge i {
  color: #800020;
  font-size: 18px;
}

.about-5 .content-wrapper {
  padding-left: 32px;
}

@media (max-width: 992px) {
  .about-5 .content-wrapper {
    padding-left: 0;
    margin-top: 48px;
  }
}

.about-5 .content-wrapper .section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #800020;
  margin-bottom: 16px;
}

.about-5 .content-wrapper .section-label i {
  font-size: 8px;
}

.about-5 .content-wrapper .content-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--text-main);
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .about-5 .content-wrapper .content-title {
    font-size: 32px;
  }
}

.about-5 .content-wrapper .content-description {
  font-size: 18px;
  line-height: 1.7;
  text-align: justify;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.about-5 .features-list {
  margin-bottom: 40px;
}

.about-5 .features-list .feature-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  border-radius: 16px;
  margin-bottom: 16px;
  background: var(--bg-surface);
  box-shadow: 0 4px 20px var(--card-shadow);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-5 .features-list .feature-item:last-child {
  margin-bottom: 0;
}

.about-5 .features-list .feature-item:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 30px rgba(128, 0, 32, 0.15);
}

.about-5 .features-list .feature-item .feature-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(128, 0, 32, 0.08);
  color: #800020;
  font-size: 24px;
}

body.dark-mode .about-5 .features-list .feature-item .feature-icon {
  background: rgba(128, 0, 32, 0.25);
  color: #ff4d6d;
}

.about-5 .features-list .feature-item .feature-content h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-main);
}

.about-5 .features-list .feature-item .feature-content p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 0;
}

.about-5 .cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.about-5 .cta-buttons .btn-primary-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: 50px;
  background: #800020;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(128, 0, 32, 0.3);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-5 .cta-buttons .btn-primary-pill:hover {
  background: #600018;
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(128, 0, 32, 0.4);
}

.about-5 .cta-buttons .btn-primary-pill:hover i {
  transform: translateX(4px);
}

.about-5 .cta-buttons .btn-primary-pill i {
  transition: transform 0.3s ease;
}

.about-5 .cta-buttons .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: 50px;
  background: transparent;
  color: var(--text-main);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
}

.about-5 .cta-buttons .btn-ghost:hover {
  border-color: #800020;
  color: #800020;
  background-color: rgba(128, 0, 32, 0.05);
}

/*--------------------------------------------------------------
# Vertical Accordion Layouts (Dropdown Spec Boxes)
--------------------------------------------------------------*/
.services-list-small-wrapper {
  width: 100%;
  padding: 0 24px;
}

@media (max-width: 992px) {
  .services-list-small-wrapper {
    padding: 0;
  }
}

.services-vertical-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 2px;
}

.services-vertical-list .list-row-item {
  width: 100%;
}

.services-vertical-list .service-item.small-list-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #821526 !important;
  border: 1px solid #800020;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(128, 0, 32, 0.1);
  transition: all 0.25s ease;
  cursor: pointer;
}

.services-vertical-list .service-item.small-list-layout .item-left-content {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.services-vertical-list .service-item.small-list-layout .service-details h3,
.services-vertical-list .service-item.small-list-layout .service-icon-mini i,
.services-vertical-list .service-item.small-list-layout .service-action i {
  color: #ffffff !important;
  transition: color 0.25s ease;
}

.services-vertical-list .service-item.small-list-layout:hover {
  transform: translateX(4px);
  background: var(--bg-surface) !important;
  border-color: #800020 !important;
  box-shadow: 0 6px 20px rgba(128, 0, 32, 0.15);
}

.services-vertical-list .service-item.small-list-layout:hover .service-details h3,
.services-vertical-list .service-item.small-list-layout:hover .service-icon-mini i,
.services-vertical-list .service-item.small-list-layout:hover .service-action i {
  color: #800020 !important;
}

body.dark-mode .services-vertical-list .service-item.small-list-layout:hover .service-details h3,
body.dark-mode .services-vertical-list .service-item.small-list-layout:hover .service-icon-mini i,
body.dark-mode .services-vertical-list .service-item.small-list-layout:hover .service-action i {
  color: #ff4d6d !important;
}

.services-vertical-list .service-item.small-list-layout:hover .service-icon-mini {
  background: rgba(128, 0, 32, 0.08);
}

.services-vertical-list .service-item.small-list-layout[aria-expanded=true] {
  background: var(--bg-surface) !important;
  border-color: #800020 !important;
}

.services-vertical-list .service-item.small-list-layout[aria-expanded=true] .service-details h3,
.services-vertical-list .service-item.small-list-layout[aria-expanded=true] .service-icon-mini i,
.services-vertical-list .service-item.small-list-layout[aria-expanded=true] .service-action i {
  color: #800020 !important;
}

body.dark-mode .services-vertical-list .service-item.small-list-layout[aria-expanded=true] .service-details h3,
body.dark-mode .services-vertical-list .service-item.small-list-layout[aria-expanded=true] .service-icon-mini i,
body.dark-mode .services-vertical-list .service-item.small-list-layout[aria-expanded=true] .service-action i {
  color: #ff4d6d !important;
}

.services-vertical-list .service-item.small-list-layout[aria-expanded=true] .service-action i {
  transform: rotate(180deg);
}

.services-vertical-list .service-item.small-list-layout[aria-expanded=true] .service-icon-mini {
  background: rgba(128, 0, 32, 0.08);
}

.services-vertical-list .service-icon-mini {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  transition: background-color 0.25s ease;
}

.services-vertical-list .service-icon-mini i {
  font-size: 18px;
}

.services-vertical-list .service-details h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.services-vertical-list .service-action {
  font-size: 14px;
}

.services-vertical-list .service-action i {
  display: inline-block;
  transition: transform 0.25s ease;
}

.services-vertical-list .spec-box {
  margin-top: 14px;
  margin-bottom: 10px;
  padding-left: 15px;
  padding-right: 15px;
  overflow: hidden;
}

@media (max-width: 576px) {
  .services-vertical-list .spec-box {
    padding-left: 6px;
    padding-right: 6px;
  }
}

.services-vertical-list .spec-inner {
  border-radius: 0px;
  padding: 0px !important;
  background: transparent;
  border: none;
}

.services-vertical-list .spec-inner p {
  font-size: 14px;
  color: var(--text-muted);
}
/* Custom horizontal-scroll navigation settings for mobile viewports */
.services-vertical-list .spec-box .nav-tabs {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding-bottom: 4px;
}

.services-vertical-list .spec-box .nav-tabs::-webkit-scrollbar {
  display: none; /* Clear distracting scroll bars inside tight custom areas */
}

.services-vertical-list .spec-box .nav-tabs .nav-item {
  flex: 0 0 auto;
}

/*--------------------------------------------------------------
# Modern Spec & Technical Tables Setup
--------------------------------------------------------------*/
.modern-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Poppins", sans-serif;
  margin: 12px 0;
  background: transparent !important;
}

.modern-spec-table thead tr {
  border-top: 1px solid var(--border-color);
  border-bottom: 2px solid var(--table-header-border);
}

.modern-spec-table thead th {
  font-family: "Poppins", sans-serif;
  color: var(--table-header-text);
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  padding: 10px 10px;
  letter-spacing: 0.2px;
}

.modern-spec-table thead th:first-child {
  padding-left: 0px !important;
}

.modern-spec-table thead th:last-child {
  padding-right: 0px !important;
}

.modern-spec-table tbody tr {
  background-color: transparent !important;
  border-bottom: 1px solid var(--table-row-border);
  transition: background-color 0.2s ease;
}

.modern-spec-table tbody tr:last-child {
  border-bottom: 2px solid var(--table-header-border);
}

.modern-spec-table tbody tr:hover td {
  color: #800020 !important;
}

body.dark-mode .modern-spec-table tbody tr:hover td {
  color: #ff4d6d !important;
}

.modern-spec-table tbody tr:hover td.param-column {
  color: #800020 !important;
}

body.dark-mode .modern-spec-table tbody tr:hover td.param-column {
  color: #ff4d6d !important;
}

.modern-spec-table tbody td {
  font-family: "Poppins", sans-serif;
  padding: 11px 10px;
  font-size: 13.5px;
  color: var(--text-main);
  vertical-align: middle;
  line-height: 1.45;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.modern-spec-table tbody td:first-child {
  padding-left: 0px !important;
}

.modern-spec-table tbody td:last-child {
  padding-right: 0px !important;
}

.modern-spec-table tbody td.param-column {
  font-weight: 700;
  color: var(--table-header-text);
  white-space: nowrap;
  min-width: 110px;
}

.modern-spec-table tbody td.first-child {
  padding-left: 0px !important;
}

modern-spec-table tbody td.last-child {
  padding-right: 0px !important;
}
/*--------------------------------------------------------------
# About 3 Section
--------------------------------------------------------------*/
.about-3 {
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: var(--bg-primary);
}

.about-3 .content h2 {
  font-family: "Poppins", sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.2;
}

@media (max-width: 992px) {
  .about-3 .content h2 {
    font-size: 32px;
  }
}

.about-3 .content .description {
  font-family: "Poppins", sans-serif;
  margin-bottom: 35px;
  text-align: justify;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

.about-3 .benefits {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-3 .benefits .benefit-item {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  padding: 24px 28px;
  border-radius: 16px;
  box-shadow: 0 10px 30px var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 0;
}

.about-3 .benefits .benefit-item .icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(128, 0, 32, 0.08);
  border-radius: 12px;
  margin-right: 20px;
  color: #800020;
  font-size: 20px;
  transition: all 0.3s ease;
}

body.dark-mode .about-3 .benefits .benefit-item .icon {
  background: rgba(128, 0, 32, 0.25);
  color: #ff4d6d;
}

.about-3 .benefits .benefit-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.about-3 .benefits .benefit-item:hover .icon {
  background: #800020;
  color: #ffffff;
}

body.dark-mode .about-3 .benefits .benefit-item:hover .icon {
  background: #ff4d6d;
  color: #0f1115;
}

.about-3 .benefits .benefit-item .text h4 {
  font-family: "Poppins", sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
}

.about-3 .benefits .benefit-item .text p {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  margin-bottom: 0;
  line-height: 1.5;
  color: var(--text-muted);
}

.image-wrapper {
  position: relative;
  width: 100%;
}

.image-wrapper .main-image {
  border-radius: 24px;
  box-shadow: 0 20px 40px var(--card-shadow);
  width: 100%;
  height: auto;
  display: block;
}

/*--------------------------------------------------------------
# Navigation Spec Tabs Setup
--------------------------------------------------------------*/
.tech-spec-tabs {
  border-bottom: 1px solid var(--border-color);
  font-family: "Poppins", sans-serif;
  gap: 5px;
}

.tech-spec-tabs .nav-link {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
  border: none;
  padding: 10px 16px;
  border-radius: 8px 8px 0 0;
  transition: all 0.2s ease;
  background: transparent;
}

.tech-spec-tabs .nav-link:hover {
  color: #800020;
  background-color: rgba(128, 0, 32, 0.05);
}

body.dark-mode .tech-spec-tabs .nav-link:hover {
  color: #ff4d6d;
}

.tech-spec-tabs .nav-link.active {
  color: #800020 !important;
  background-color: var(--bg-surface) !important;
  border-bottom: 2px solid #800020 !important;
}

body.dark-mode .tech-spec-tabs .nav-link.active {
  color: #ff4d6d !important;
  border-bottom-color: #ff4d6d !important;
}

/* Generic bootstrap nav item overrides dynamically located inside layout elements */
#specTabs {
  border-bottom: 1px solid var(--border-color) !important;
}
#specTabs .nav-link {
  background: transparent !important;
  border: none !important;
  color: var(--text-light) !important;
}
#specTabs .nav-link.active {
  color: #800020 !important;
  border-bottom: 2px solid #800020 !important;
}
body.dark-mode #specTabs .nav-link.active {
  color: #ff4d6d !important;
  border-bottom-color: #ff4d6d !important;
}

/*--------------------------------------------------------------
# Minimalist Tech Table Setup
--------------------------------------------------------------*/
.minimalist-tech-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Poppins", sans-serif;
  margin-top: 15px;
  background: transparent !important;
}

.minimalist-tech-table thead tr {
  border-top: 1px solid var(--border-color);
  border-bottom: 2px solid var(--table-header-border);
}

.minimalist-tech-table thead th {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  color: var(--table-header-text);
  padding: 10px 10px;
  text-align: left;
}

.minimalist-tech-table thead th:first-child {
  padding-left: 0px !important;
}

.minimalist-tech-table thead th:last-child {
  padding-right: 0px !important;
}

.minimalist-tech-table tbody tr {
  background-color: transparent !important;
  border-bottom: 1px solid var(--table-row-border);
  transition: background-color 0.2s ease;
}

.minimalist-tech-table tbody tr:hover:not(.table-category-row) td {
  color: #800020 !important;
}

body.dark-mode .minimalist-tech-table tbody tr:hover:not(.table-category-row) td {
  color: #ff4d6d !important;
}

.minimalist-tech-table tbody tr:hover:not(.table-category-row) td.param-name {
  color: #800020 !important;
}

body.dark-mode .minimalist-tech-table tbody tr:hover:not(.table-category-row) td.param-name {
  color: #ff4d6d !important;
}

.minimalist-tech-table tbody tr:hover:not(.table-category-row) td.unit-text {
  color: #800020 !important;
}

body.dark-mode .minimalist-tech-table tbody tr:hover:not(.table-category-row) td.unit-text {
  color: #ff4d6d !important;
}

.minimalist-tech-table tbody tr:last-child {
  border-bottom: 2px solid var(--table-header-border);
}

.minimalist-tech-table tbody td {
  padding: 11px 10px;
  font-size: 13.5px;
  color: var(--text-main);
  vertical-align: middle;
  line-height: 1.45;
  transition: color 0.2s ease;
}

.minimalist-tech-table tbody td:first-child {
  padding-left: 0px !important;
}

.minimalist-tech-table tbody td:last-child {
  padding-right: 0px !important;
}

.minimalist-tech-table tbody td.param-name {
  color: var(--table-header-text);
  font-weight: 700;
}

.minimalist-tech-table tbody td.param-name small {
  display: inline-block;
  margin-top: 2px;
  letter-spacing: 0.2px;
  font-weight: 400;
  color: var(--text-muted);
}

.minimalist-tech-table tbody td.unit-text {
  color: var(--text-main);
  font-size: 13.5px;
}

.minimalist-tech-table tbody .table-category-row {
  background-color: rgba(0, 0, 0, 0.02) !important;
  border-bottom: 1px solid var(--border-color);
}

body.dark-mode .minimalist-tech-table tbody .table-category-row {
  background-color: rgba(255, 255, 255, 0.02) !important;
}

.minimalist-tech-table tbody .table-category-row td {
  padding: 12px 0px !important;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #800020;
}

body.dark-mode .minimalist-tech-table tbody .table-category-row td {
  color: #ff4d6d;
}

.minimalist-tech-table .comment-badge {
  cursor: help;
  display: inline-block;
  color: #800020;
  font-weight: bold;
  margin-left: 3px;
  padding: 0 2px;
}

body.dark-mode .minimalist-tech-table .comment-badge {
  color: #ff4d6d;
}

/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/

.gallery {
  position: relative;
  display: block;
  width: 100%;
}

.gallery .isotope-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
  padding: 0;
  list-style: none;
}

.gallery .isotope-filters li {
  cursor: pointer;
  padding: 8px 18px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--default-color);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  transition: all 0.3s ease;
}

body.dark-mode .gallery .isotope-filters li {
  color: var(--text-muted);
}

.gallery .isotope-filters li:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

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


.gallery .gallery-item {
  position: relative;
  margin-bottom: 30px;
  box-sizing: border-box;
}

.gallery .gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px var(--card-shadow);
  transition: all 0.3s ease;
  background-color: var(--background-color,#ffffff);
  width: 100%;
  display: block;
}

.gallery .gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

.gallery .gallery-card:hover .gallery-info {
  opacity: 1;
  transform: translateY(0);
}

.gallery .gallery-img {
  position: relative;
  overflow: hidden;
  width: 100%;
  display: block;
}

.gallery .gallery-img img {
  display: block;
  transition: transform 0.6s ease;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.gallery .gallery-img:hover img {
  transform: scale(1.05);
}

.gallery .gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0.1) 100%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  box-sizing: border-box;
}

.gallery .gallery-info {
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease 0.1s;
}

.gallery .gallery-info h4 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.gallery .gallery-info p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin-bottom: 15px;
}

.gallery .gallery-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.gallery .gallery-link i {
  font-size: 20px;
}

.gallery .gallery-link:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  transform: scale(1.1);
}
/*--------------------------------------------------------------
# Responsive Settings
--------------------------------------------------------------*/
@media (max-width: 768px) {
  .gallery .isotope-filters {
    margin-bottom: 25px;
    gap: 8px;
  }
  
  .gallery .isotope-filters li {
    padding: 6px 14px;
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .gallery .isotope-filters li {
    margin-bottom: 2px;
  }

  .gallery .gallery-overlay {
    padding: 15px;
  }

  .gallery .gallery-info h4 {
    font-size: 15px;
    margin-bottom: 5px;
  }

  .gallery .gallery-info p {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .gallery .gallery-link {
    width: 35px;
    height: 35px;
  }

  .gallery .gallery-link i {
    font-size: 18px;
  }

  /* 1. OVERRIDE ISOTOPE CONTAINER INLINE HEIGHT */
  .gallery .isotope-container {
    height: auto !important;
    position: relative !important;
  }
  
  /* 2. FORCE CARDS TO UNSTACK AND ALIGN VERTICALLY */
  .gallery .gallery-item {
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    transform: none !important;
    margin-bottom: 12px !important;
    float: none !important;
  }
}
/*--------------------------------------------------------------
# Cards 2 Section
--------------------------------------------------------------*/
.cards-2 {
  padding-top: 104px;
  padding-bottom: 60px;
}

.cards-2 .card-item {
  background-color: var(--surface-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  height: 100%;
}

.cards-2 .card-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.cards-2 .card-item:hover .card-img img {
  transform: scale(1.1);
}

.cards-2 .card-item:hover .card-img .card-overlay {
  opacity: 1;
  visibility: visible;
}

.cards-2 .card-item:hover .card-img .card-overlay .card-overlay-content {
  transform: translateY(0);
}

.cards-2 .card-item .card-img {
  position: relative;
  overflow: hidden;
}

.cards-2 .card-item .card-img img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.cards-2 .card-item .card-img .card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), color-mix(in srgb, var(--accent-color), transparent 30%));
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.cards-2 .card-item .card-img .card-overlay .card-overlay-content {
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.3s ease-in-out;
}

.cards-2 .card-item .card-img .card-overlay .card-overlay-content h4 {
  color: var(--contrast-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.cards-2 .card-item .card-img .card-overlay .card-overlay-content p {
  color: var(--contrast-color);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.cards-2 .card-item .card-img .card-overlay .card-overlay-content .btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--contrast-color);
  color: var(--accent-color);
  transition: all 0.3s ease;
}

.cards-2 .card-item .card-img .card-overlay .card-overlay-content .btn-link:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: rotate(45deg);
}

.cards-2 .card-item .card-img .card-overlay .card-overlay-content .btn-link i {
  font-size: 1.2rem;
}

.cards-2 .card-item .card-content {
  padding: 2rem;
}

.cards-2 .card-item .card-content .card-category {
  display: inline-block;
  font-size: 0.875rem;
  color: var(--accent-color);
  font-weight: 500;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cards-2 .card-item .card-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--heading-color);
  font-weight: 600;
  line-height: 1.3;
}

.cards-2 .card-item .card-content p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Why Us Section
--------------------------------------------------------------*/
.why-us {
  background-color: color-mix(in srgb, var(--background-color), var(--default-color) 3%);
}

.why-us .content {
  margin-bottom: 32px;
}

.why-us .content h3 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--heading-color);
}

.why-us .content p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 32px;
  color: var(--default-color);
}

.why-us .stats-wrapper {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.why-us .stats-wrapper .stat-item {
  flex: 1;
  min-width: 140px;
}

.why-us .stats-wrapper .stat-item .stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: 8px;
}

.why-us .stats-wrapper .stat-item .stat-number::after {
  content: "+";
  margin-left: 2px;
}

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

.why-us .features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .why-us .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.why-us .feature-item {
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 6px;
  padding: 24px;
  display: flex;
  gap: 20px;
  transition: all 0.3s ease-in-out;
}

.why-us .feature-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
}

.why-us .feature-item .feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 6px;
}

.why-us .feature-item .feature-icon i {
  font-size: 24px;
  color: var(--accent-color);
}

.why-us .feature-item .feature-content {
  flex: 1;
}

.why-us .feature-item .feature-content h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--heading-color);
}

.why-us .feature-item .feature-content p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

@media (max-width: 992px) {
  .why-us .col-lg-5 {
    margin-bottom: 40px;
  }

  .why-us .stats-wrapper {
    justify-content: space-between;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about {
  padding-top: 60px;
  padding-bottom: 60px;
}

.about .media-block {
  position: relative;
}

.about .media-block .primary-photo {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  box-shadow: 0 4px 6px color-mix(in srgb, var(--default-color), transparent 93%);
}

@media (max-width: 768px) {
  .about .media-block .primary-photo {
    height: 320px;
  }
}

.about .media-block .award-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  border-radius: 8px;
  padding: 12px 16px;
  box-shadow: 0 4px 6px color-mix(in srgb, var(--default-color), transparent 93%);
}

.about .media-block .award-badge>i {
  font-size: 20px;
  color: var(--accent-color);
}

.about .media-block .award-badge .award-info {
  display: flex;
  flex-direction: column;
}

.about .media-block .award-badge .award-info .award-count {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1;
}

.about .media-block .award-badge .award-info .award-text {
  font-size: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-weight: 500;
}

.about .media-block .thumbnail-row {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.about .media-block .thumbnail-row img {
  flex: 1;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  transition: box-shadow 0.2s ease;
}

.about .media-block .thumbnail-row img:hover {
  box-shadow: 0 4px 12px color-mix(in srgb, var(--default-color), transparent 90%);
}

@media (max-width: 576px) {
  .about .media-block .thumbnail-row {
    flex-direction: column;
  }

  .about .media-block .thumbnail-row img {
    height: 140px;
  }
}

.about .info-block {
  padding-left: 16px;
}

@media (max-width: 992px) {
  .about .info-block {
    padding-left: 0;
  }
}

.about .info-block .topic-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 70%);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.about .info-block .topic-badge i {
  font-size: 13px;
}

.about .info-block h2 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .about .info-block h2 {
    font-size: 1.75rem;
  }
}

.about .info-block p {
  font-size: 16px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 32px;
  max-width: 560px;
}

.about .info-block .metrics-row {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

@media (max-width: 576px) {
  .about .info-block .metrics-row {
    flex-direction: column;
    gap: 12px;
  }
}

.about .info-block .metrics-row .metric-card {
  flex: 1;
  padding: 20px 16px;
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  border-radius: 8px;
  box-shadow: 0 1px 3px color-mix(in srgb, var(--default-color), transparent 95%);
  text-align: center;
  transition: all 0.2s ease;
}

.about .info-block .metrics-row .metric-card:hover {
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--default-color), transparent 90%);
}

.about .info-block .metrics-row .metric-card .metric-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: 6px;
}

.about .info-block .metrics-row .metric-card .metric-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about .info-block .highlights-card {
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  border-radius: 8px;
  padding: 8px 0;
  margin-bottom: 32px;
  box-shadow: 0 1px 3px color-mix(in srgb, var(--default-color), transparent 95%);
}

.about .info-block .highlights-card .highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  font-size: 14px;
  color: var(--default-color);
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

.about .info-block .highlights-card .highlight-item:last-child {
  border-bottom: none;
}

.about .info-block .highlights-card .highlight-item i {
  font-size: 16px;
  color: var(--accent-color);
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 6px;
}

.about .info-block .action-group {
  display: flex;
  align-items: center;
  gap: 24px;
}

@media (max-width: 768px) {
  .about .info-block .action-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

.about .info-block .action-group .btn-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.about .info-block .action-group .btn-main:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 10%);
  color: var(--contrast-color);
}

.about .info-block .action-group .btn-main:focus {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 80%);
}

.about .info-block .action-group .btn-main i {
  font-size: 14px;
  transition: transform 0.2s ease;
}

.about .info-block .action-group .btn-main:hover i {
  transform: translateX(2px);
}

.about .info-block .action-group .helpline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.about .info-block .action-group .helpline>i {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 8px;
  color: var(--accent-color);
  font-size: 18px;
}

.about .info-block .action-group .helpline .helpline-text {
  display: flex;
  flex-direction: column;
}

.about .info-block .action-group .helpline .helpline-text span {
  font-size: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 45%);
  font-weight: 500;
}

.about .info-block .action-group .helpline .helpline-text a {
  font-size: 14px;
  font-weight: 600;
  color: var(--heading-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.about .info-block .action-group .helpline .helpline-text a:hover {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  min-height: 100vh;
  position: relative;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

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

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  font-family: "Inter", sans-serif;
}

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

.hero p span {
  color: #FBBF24;
  letter-spacing: 1px;
  border-bottom: 2px solid #FBBF24;
}

.hero .social-links {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.hero .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--default-color), transparent 92%);
  color: var(--default-color);
  font-size: 20px;
  transition: 0.3s;
}

.hero .social-links a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
}

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

  .hero p {
    font-size: 20px;
  }
}

/*--------------------------------------------------------------
# Gallery 3 Section
--------------------------------------------------------------*/
.gallery-3 {
  padding-top: 60px;
  padding-bottom: 60px;
}

.gallery-3 .filter-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  margin-bottom: 32px;
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color) 12%, transparent);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  flex-wrap: wrap;
}

.gallery-3 .filter-bar .filter-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: color-mix(in srgb, var(--default-color) 60%, transparent);
  padding-right: 16px;
  border-right: 1px solid color-mix(in srgb, var(--default-color) 12%, transparent);
}

@media (max-width: 576px) {
  .gallery-3 .filter-bar .filter-label {
    border-right: none;
    padding-right: 0;
    width: 100%;
  }
}

.gallery-3 .shadcn-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery-3 .shadcn-filters li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: transparent;
  color: var(--default-color);
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
}

.gallery-3 .shadcn-filters li .filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 10px;
  background: color-mix(in srgb, var(--default-color) 8%, transparent);
  color: color-mix(in srgb, var(--default-color) 70%, transparent);
  transition: all 0.2s ease;
}

.gallery-3 .shadcn-filters li:hover {
  background: color-mix(in srgb, var(--default-color) 6%, transparent);
  border-color: color-mix(in srgb, var(--default-color) 12%, transparent);
}

.gallery-3 .shadcn-filters li:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color) 25%, transparent);
}

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

.gallery-3 .shadcn-filters li.filter-active .filter-count {
  background: color-mix(in srgb, var(--contrast-color) 22%, transparent);
  color: var(--contrast-color);
}

.gallery-3 .gallery-item {
  margin-bottom: 16px;
}

.gallery-3 .shadcn-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color) 12%, transparent);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.gallery-3 .shadcn-card:hover {
  border-color: color-mix(in srgb, var(--default-color) 22%, transparent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.gallery-3 .shadcn-card:hover .card-media img {
  transform: scale(1.03);
}

.gallery-3 .card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: color-mix(in srgb, var(--default-color) 6%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--default-color) 10%, transparent);
}

.gallery-3 .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-3 .card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  border-radius: 12px;
  background: color-mix(in srgb, var(--background-color) 92%, transparent);
  color: var(--heading-color);
  border: 1px solid color-mix(in srgb, var(--default-color) 15%, transparent);
  backdrop-filter: blur(6px);
}

.gallery-3 .card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 24px;
}

.gallery-3 .card-head {
  margin-bottom: 16px;
}

.gallery-3 .card-head .card-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--heading-color);
  margin: 0 0 8px 0;
}

.gallery-3 .card-head .card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color) 70%, transparent);
  margin: 0;
}

.gallery-3 .card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid color-mix(in srgb, var(--default-color) 10%, transparent);
}

.gallery-3 .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--heading-color);
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--default-color) 18%, transparent);
  border-radius: 6px;
  transition: all 0.2s ease;
}

.gallery-3 .btn-ghost i {
  font-size: 14px;
}

.gallery-3 .btn-ghost:hover {
  background: color-mix(in srgb, var(--default-color) 6%, transparent);
  border-color: color-mix(in srgb, var(--default-color) 28%, transparent);
  color: var(--heading-color);
}

.gallery-3 .btn-ghost:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color) 22%, transparent);
}

.gallery-3 .btn-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-color);
  padding: 8px 4px;
  border-radius: 6px;
  transition: color 0.2s ease;
}

.gallery-3 .btn-link i {
  font-size: 14px;
  transition: transform 0.2s ease;
}

.gallery-3 .btn-link:hover {
  color: color-mix(in srgb, var(--accent-color) 80%, transparent);
}

.gallery-3 .btn-link:hover i {
  transform: translate(2px, -2px);
}

.gallery-3 .btn-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color) 22%, transparent);
}

.gallery-3 .glightbox-clean .gslide-description {
  background: #272727;
}

.gallery-3 .glightbox-clean .gslide-title {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

@media (max-width: 768px) {
  .gallery-3 .card-body {
    padding: 20px;
  }

  .gallery-3 .card-head .card-title {
    font-size: 16px;
  }
}

/*--------------------------------------------------------------
# Services 6 Section
--------------------------------------------------------------*/
.services-6 {
  padding-top: 60px;
  background: var(--background-color, #ffffff);
  padding-bottom: 60px;
}

/* Global split grid configuration */
.services-6 .services-layout-grid {
  align-items: start;
}

.services-6 .services-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Modern Minimal Service Card Item */
.services-6 .service-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1.5rem;
  padding: 1.75rem 2rem;
  background: var(--surface-color, #ffffff);
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.35s cubic-bezier(0.215, 0.61, 0.355, 1);
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .services-6 .service-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
  }
}

/* Hover States: Crisp, professional shadow depth & border accentuation */
.services-6 .service-item:hover {
  transform: translateY(-2px);
  background: var(--surface-color, #ffffff);
  box-shadow: 0 12px 30px color-mix(in srgb, var(--default-color), transparent 94%), 0 4px 12px color-mix(in srgb, var(--accent-color), transparent 96%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 60%);
}

.services-6 .service-item:hover .service-icon {
  background: var(--accent-color);
  color: var(--contrast-color, #ffffff);
}

.services-6 .service-item:hover .service-btn {
  background: var(--accent-color);
  color: var(--contrast-color, #ffffff);
  transform: rotate(180deg);
}

/* ==========================================================================
   UPDATED: Expanded Image Container Configuration (250px x 250px)
   ========================================================================== */
.services-6 .service-item .service-image,
.services-6 .service-item .service-image-container {
  width: 250px !important;
  height: 250px !important;
  max-width: 250px !important;
  max-height: 250px !important;
  flex: 0 0 250px !important;
  /* Locks structural width to exactly 250px */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: color-mix(in srgb, var(--default-color), transparent 96%);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

/* Forces image to scale uniformly inside the newly expanded layout boundaries */
.services-6 .service-item .service-image img,
.services-6 .service-item .service-image-container img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  padding: 12px !important;
  /* Slightly increased padding for clean breathing room */
}

/* Card Body Details & Header Typography */
.services-6 .service-item .service-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  color: var(--accent-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: all 0.3s ease;
}

.services-6 .service-item .service-details {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.services-6 .service-item .service-details h3 {
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 0 !important;
  color: var(--heading-color);
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-align: center;
}

.services-6 .service-item .service-details p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  line-height: 1.5;
  margin-bottom: 0;
  font-size: 14.5px;
}

/* Modern Dynamic Parameter Badges */
.services-6 .service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.75rem;
}

.services-6 .service-features .feature-tag {
  background: color-mix(in srgb, var(--default-color), transparent 96%);
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 550;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  transition: all 0.25s ease;
}

/* Action Controls & Chevron Alignments */
.services-6 .service-item .service-action {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 6px;
}

@media (max-width: 768px) {
  .services-6 .service-item .service-action {
    width: 100%;
    justify-content: space-between;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 95%);
    padding-top: 1rem;
    margin-top: 0.25rem;
  }
}

.services-6 .service-item .service-action .price-range {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.services-6 .service-item .service-action .service-btn {
  width: 36px;
  height: 36px;
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  border-radius: 8px;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
}

.services-6 .service-item .service-action .service-btn i {
  display: inline-block;
  line-height: 1;
}

/* Collapsible inner data grid specs */
.services-6 .collapse-spec-box {
  background: var(--surface-color, #ffffff);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-top: 0;
  border-radius: 0 0 14px 14px;
  margin-top: -16px;
  margin-bottom: 8px;
  padding: 2rem;
}

/* Right-Hand Config Sidebar Sticky Panel */
.services-6 .config-sidebar-panel {
  position: sticky;
  top: 2rem;
  z-index: 10;
}

.services-6 .hardware-highlights-card {
  background: var(--surface-color, #ffffff);
  border-radius: 14px;
  padding: 2rem;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.services-6 .config-quote-form-card {
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  border-radius: 14px;
  padding: 2rem;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

/* Form refinement styles */
.services-6 .form-label-custom {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.services-6 .form-control-custom {
  font-size: 14px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  background: #ffffff;
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  transition: all 0.2s ease;
}

.services-6 .form-control-custom:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 92%);
}

/* Premium Bottom CTA Block */
.services-6 .bottom-cta {
  margin-top: 3.5rem;
}

.services-6 .bottom-cta .cta-content {
  background: var(--surface-color, #ffffff);
  border-radius: 16px;
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

@media (max-width: 768px) {
  .services-6 .bottom-cta .cta-content {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }
}

.services-6 .bottom-cta .cta-content .cta-text h4 {
  font-size: 20px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 0.4rem;
}

.services-6 .bottom-cta .cta-content .cta-text p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0;
  font-size: 14.5px;
}

.services-6 .bottom-cta .cta-actions .btn-contact {
  display: inline-block;
  background: var(--heading-color);
  color: var(--contrast-color, #ffffff);
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 550;
  font-size: 14.5px;
  transition: all 0.25s ease;
}

.services-6 .bottom-cta .cta-actions .btn-contact:hover {
  background: var(--accent-color);
  transform: translateY(-1px);
}

/*--------------------------------------------------------------
# Services 3 Section
--------------------------------------------------------------*/
.services-3 .service-card {
  background: var(--surface-color);
  border-radius: 20px;
  padding: 48px 36px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px color-mix(in srgb, var(--default-color), transparent 92%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid color-mix(in srgb, var(--accent-color), transparent 90%);
}

.services-3 .service-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 60px color-mix(in srgb, var(--accent-color), transparent 80%);
  border-color: var(--accent-color);
}

.services-3 .service-card:hover .card-gradient {
  opacity: 1;
}

.services-3 .service-card:hover .icon-wrapper {
  transform: rotate(360deg) scale(1.1);
  background: linear-gradient(135deg, var(--accent-color) 0%, color-mix(in srgb, var(--accent-color), var(--heading-color) 40%) 100%);
}

.services-3 .service-card:hover .service-number {
  transform: scale(1.2);
  color: var(--accent-color);
}

.services-3 .service-card:hover .read-more {
  gap: 12px;
}

.services-3 .service-card:hover .read-more i {
  transform: translateX(4px);
}

.services-3 .service-card .card-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 95%) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.services-3 .service-card .service-number {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 72px;
  font-weight: 800;
  color: color-mix(in srgb, var(--default-color), transparent 95%);
  line-height: 1;
  transition: all 0.4s ease;
}

.services-3 .service-card .icon-wrapper {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 10%) 0%, var(--accent-color) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.services-3 .service-card .icon-wrapper i {
  font-size: 42px;
  color: var(--contrast-color);
}

.services-3 .service-card h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  color: var(--heading-color);
}

.services-3 .service-card p {
  font-size: 15px;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 28px;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

.services-3 .service-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--heading-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.services-3 .service-card .read-more span {
  position: relative;
}

.services-3 .service-card .read-more span::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.services-3 .service-card .read-more i {
  font-size: 22px;
  transition: transform 0.3s ease;
}

.services-3 .service-card .read-more:hover {
  color: var(--accent-color);
}

.services-3 .service-card .read-more:hover span::after {
  width: 100%;
}

@media (max-width: 768px) {
  .services-3 .service-card {
    padding: 36px 28px;
  }

  .services-3 .service-card .service-number {
    font-size: 56px;
    top: 20px;
    right: 24px;
  }

  .services-3 .service-card .icon-wrapper {
    width: 72px;
    height: 72px;
    margin-bottom: 24px;
  }

  .services-3 .service-card .icon-wrapper i {
    font-size: 34px;
  }

  .services-3 .service-card h3 {
    font-size: 22px;
    margin-bottom: 14px;
  }

  .services-3 .service-card p {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .services-3 .service-card .read-more {
    font-size: 15px;
  }

  .services-3 .service-card .read-more i {
    font-size: 20px;
  }
}
/*--------------------------------------------------------------
# Shared Departments Layout (Departments 2, 3, 4, & 5)
--------------------------------------------------------------*/
/* Section Containers */
.departments-2, .departments-3, .departments-4, .departments-5 {
  padding: 60px 0;
}

/* Custom Navigation Bar (Maroon Banner Style) */
.specialty-navigation .nav-pills {
  background: var(--accent-color);
  border-radius: 6px !important;
  justify-content: center;
  position: relative;
  margin-bottom: 40px;
  border: none;
  overflow: visible !important; /* CRUCIAL: Stops the bar from clipping out-of-bounds elements */
}

/* Clear limits on alignment container wrappers */
.specialty-navigation .d-flex.align-items-center {
  position: relative;
  overflow: visible !important;
}

.specialty-navigation .nav-pills .nav-link.department-tab {
  color: rgba(255, 255, 255, 0.6) !important; /* Slightly translucent for unselected links */
  background: transparent !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  padding: 15px 35px !important;
  border-radius: 0;
  position: relative;
  transition: 0.3s;
  border: none !important;
  box-shadow: none !important;
  font-size: 1rem;
  letter-spacing: 0.5px;
  overflow: visible !important; /* Allows pseudo-elements to float outside the block boundary */
}

.specialty-navigation .nav-pills .nav-link.department-tab.active {
  color: #ffffff !important;
  opacity: 1;
}

/* Automatically appends a thin separator line ONLY between sibling project choices */
.specialty-navigation .nav-link.department-tab + .nav-link.department-tab {
  border-left: 1px solid rgba(255, 255, 255, 0.4) !important;
}

/* Active Downward Arrow Pointer */
.specialty-navigation .nav-pills .nav-link.department-tab.active::after {
  content: '';
  position: absolute;
  bottom: -23px; /* Extended to clear the parent container padding entirely */
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px 8px 0 8px;
  border-style: solid;
  border-color: var(--accent-color) transparent transparent transparent;
  width: 0;
  height: 0;
  z-index: 9999 !important; /* Ensures it stays on top of subsequent page text cards */
  display: block !important;
}

@media (max-width: 768px) {
  .specialty-navigation .nav-pills .nav-link.department-tab.active::after {
    display: none !important;
  }
}

/* Main Content Wrapper Card */
.department-content {
  background: var(--surface-color);
  padding: 50px 40px;
  border-radius: 8px;
  box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.06);
  margin-top: 10px;
}

/* Forces columns to stay equal height across normal sizes */
.department-content .row {
  display: flex;
  align-items: stretch;
}

/* Typography & Layout Rules */
.department-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--heading-color);
  line-height: 1.4;
}

.department-description {
  font-size: 15px;
  color: #555555;
  line-height: 1.7;
  margin-bottom: 30px;
}

/* Department Sidebar Image Container */
.department-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  width: 100%;
  height: 400px !important;    /* Force container to stop growing */
  max-height: 400px !important;/* Strictly cap it */
  align-self: flex-start;
}

.department-image img {
  width: 100%;
  height: 100% !important;     /* Force image to match the container frame */
  max-height: 400px !important;/* Cut off anything beyond this boundary */
  object-fit: cover !important;/* Zoom and crop cleanly without squishing */
  object-position: center;     /* Centers the crop focal point */
}

/* Service Info Grid Items */
.department-content .service-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.department-content .service-icon {
  background: var(--accent-color);
  color: #ffffff;
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  box-shadow: 0px 4px 10px rgba(122, 21, 43, 0.2);
}

.department-content .service-icon i {
  font-size: 18px;
  color: #ffffff;
}

.department-content .service-content h4 {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--heading-color);
  letter-spacing: 0.5px;
}

.department-content .service-content p {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Smooth Tab Transitions */
.department-content .tab-pane {
  opacity: 0;
  transition: opacity 0.35s ease;
}

.department-content .tab-pane.show.active {
  opacity: 1;
}

/* Global Typography Override Rules */
body, h1, h2, h3, h4, h5, h6, .navmenu, .cta-btn, p, span, a {
  font-family: 'Poppins', sans-serif !important;
}

:root {
  --accent-color: #7a152b;     /* Maroon */
  --contrast-color: #ffffff;   /* White */
  --default-color: #212529;    /* Dark Body Gray */
  --surface-color: #ffffff;    /* Card Surface */
  --heading-color: #111111;    /* Primary Text Headers */
}

/* Full-Screen Title Header */
.page-title {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 500px;
  background: url('../img/uploads/bakunsite3.png') no-repeat center center/cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.page-title::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 2;
}

.page-title .heading {
  position: relative;
  z-index: 3;
  color: #ffffff !important;
  width: 100%;
  padding: 0 15px;
}

/* 
    CINEMATIC 3D TITLE: 
    Uses massive font weight (900), tracking, and a 4-layer 
    blended drop shadow for an elite, high-end corporate look.
*/
.page-title .heading-title {
  color: #ffffff !important;
  font-size: 4.5rem; 
  font-weight: 900 !important; /* Maximum structural bold weight */
  text-transform: uppercase;
  letter-spacing: 4px; /* Cinematic spacing profile */
  margin-bottom: 25px;
  
  /* Multi-layered natural shadow layers for deep separation from image */
  text-shadow: 
    0px 2px 4px rgba(0, 0, 0, 0.4),
    0px 8px 16px rgba(0, 0, 0, 0.6),
    0px 16px 32px rgba(0, 0, 0, 0.5),
    0px 24px 64px rgba(0, 0, 0, 0.4);
}

/* 
    ELEGANT ELABORATION: 
    Kept at a standard professional weight (400) to contrast the massive title, 
    but made visually "bolder" and readable using increased scale, fine tracking, 
    and a rich ambient glow backdrop shadow.
*/
.page-title .heading p {
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: 1.35rem;
  font-weight: 400; /* Regular weight to preserve clear contrast against the title */
  line-height: 1.8;
  letter-spacing: 0.5px;
  max-width: 800px;
  margin: 0 auto;
  
  /* Creates a powerful high-contrast reading cloud directly behind the glyphs */
  text-shadow: 
    0px 2px 8px rgba(0, 0, 0, 0.95),
    0px 4px 20px rgba(0, 0, 0, 0.7);
}

.page-title .breadcrumbs {
  position: absolute;
  bottom: 40px;
  left: 0; right: 0;
  z-index: 3;
}

.page-title .breadcrumbs ol {
  display: flex;
  list-style: none;
  justify-content: center;
  padding: 0; margin: 0;
  font-size: 14px;
}

.page-title .breadcrumbs ol li a {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.5px;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.8);
  transition: color 0.2s ease;
}

.page-title .breadcrumbs ol li a:hover {
  color: #ffffff;
}

.page-title .breadcrumbs ol li + li::before {
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.4);
  content: "/";
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.8);
}

.page-title .breadcrumbs ol li.current {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.8);
}