:root {
    --primary: #2ca6a9;
    /* Teal - Primary (solid) */
    --primary-dark: #248a8c;
    /* Darker Teal for hover */
    --secondary: #e5a13d;
    /* Amber - Secondary (solid) */
    --secondary-dark: #c98a32;
    /* Darker Amber for hover */
    --dark: #0f172a;
    /* Dark text */
    --light: #f8fafc;
    /* Light background */
    --gray: #64748b;
    /* Muted text */
    --light-gray: #e2e8f0;
    /* Borders */
    --white: #ffffff;
    --transition: all 0.25s ease;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.12);
    --radius: 6px;
    --border: 1px solid var(--light-gray);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    padding-top: 80px;
    /* Space for fixed navbar */
    -webkit-font-smoothing: antialiased;
}

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
.main-navbar {
    background-color: var(--white);
    /* default; overridden by .navbar-bg-* */
    border-bottom: var(--border);
    min-height: 80px;
    /* default; overridden by .navbar-height-* */
    box-shadow: none;
    /* default; overridden by .navbar-shadow-* */
    transition: var(--transition);
}

/* --- header.background --- */
.navbar-bg-white {
    background-color: var(--white);
}

.navbar-bg-light {
    background-color: var(--light-gray);
}

.navbar-bg-dark {
    background-color: var(--dark);
    border-bottom: none;
}

.navbar-bg-primary {
    background-color: var(--primary);
    border-bottom: none;
}

.navbar-bg-transparent {
    background-color: transparent;
    border-bottom: none;
}

/* --- header.shadow --- */
.navbar-shadow-subtle {
    box-shadow: var(--shadow);
}

.navbar-shadow-prominent {
    box-shadow: var(--shadow-hover);
}

/* --- header.height --- */
.navbar-height-compact {
    min-height: 60px;
}

.navbar-height-compact .brand-logo {
    height: 28px;
}

.navbar-height-normal {
    min-height: 80px;
}

.navbar-height-tall {
    min-height: 100px;
}

.navbar-height-tall .brand-logo {
    height: 44px;
}

/* --- header.pill_style --- */
.navbar-pill {
    border-radius: 999px;
    overflow: hidden;
}

.navbar-pill.fixed-top {
    top: 16px;
    left: 16px;
    right: 16px;
    width: auto;
}

/* --- header.position: static shouldn't reserve fixed-navbar space --- */
.navbar-static {
    position: static;
}

body:has(.main-navbar.navbar-static) {
    padding-top: 0;
}

/* Body offset follows the actual navbar height when fixed */
body:has(.main-navbar.navbar-height-compact:not(.navbar-static)) {
    padding-top: 60px;
}

body:has(.main-navbar.navbar-height-tall:not(.navbar-static)) {
    padding-top: 100px;
}

.main-navbar .navbar-toggler {
    border-color: var(--light-gray);
    padding: 0.4rem 0.6rem;
}

/* --- header.scroll_behavior --- */
.navbar-always-transparent {
    background-color: transparent !important;
    border-bottom: none;
    box-shadow: none !important;
}

/* Starts transparent; requires a small JS scroll listener to toggle
   the .is-scrolled class once the page scrolls past the top, at
   which point this rule restores the chosen background/shadow. */
.navbar-scroll-transition {
    background-color: transparent;
    border-bottom: none;
    box-shadow: none;
}

.navbar-scroll-transition.is-scrolled {
    background-color: var(--white);
    border-bottom: var(--border);
}

/* --- header.show_search --- */
.nav-search-link {
    cursor: default;
    opacity: 0.85;
}

.main-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2815, 23, 42, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.brand-logo {
    height: 36px;
    width: auto;
    margin-right: 10px;
    /* Removed invert filter since navbar is now white */
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    color: var(--nav-text-color, #0f172a);
    font-size: 1.05rem;
    font-weight: 700;
}

.brand-subtitle {
    color: var(--nav-text-color, #0f172a);
    opacity: 0.7;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-navbar .nav-link {
    color: var(--nav-link-color, var(--nav-text-color, #0f172a)) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.4rem 0.8rem !important;
    position: relative;
    transition: var(--transition);
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link:focus {
    color: var(--nav-link-hover-color, #2ca6a9) !important;
}

/* --- header.link_hover: underline --- */
.navbar-links-underline .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.8rem;
    right: 0.8rem;
    width: 0;
    height: 2px;
    background-color: var(--nav-link-hover-color, var(--primary));
    transition: var(--transition);
}

.navbar-links-underline .nav-link:hover::after {
    width: calc(100% - 1.6rem);
}

/* Fix: dropdown toggle caret matches link hover color */
.navbar-links-underline .nav-link.dropdown-toggle::after {
    border-top-color: var(--nav-link-hover-color, var(--primary));
}

/* --- header.link_hover: pill / background --- */
.navbar-links-pill .nav-link:hover,
.navbar-links-background .nav-link:hover {
    background-color: color-mix(in srgb, currentColor 12%, transparent);
}

.navbar-links-pill .nav-link:hover {
    border-radius: 999px;
}

.navbar-links-background .nav-link:hover {
    border-radius: var(--radius);
}

.language-menu .dropdown-item.active {
    background-color: var(--primary);
    color: var(--white);
}

.header-button {
    background: var(--primary);
    color: var(--white) !important;
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    font-size: 0.95rem;
    min-width: auto;
}

.header-button:hover {
    background: var(--nav-btn-hover-bg, var(--primary-dark)) !important;
    border-color: var(--nav-btn-hover-bg, var(--primary-dark)) !important;
    color: var(--white) !important;
}

/* Transparent hover = outline effect */
.header-button:hover[style*="--nav-btn-hover-bg: transparent"] {
    background: transparent !important;
    color: var(--nav-text-color, #ffffff) !important;
}

/* White hover needs dark text */
.header-btn-hover-white:hover {
    color: #0f172a !important;
}

/* --- header.button_color --- */
.header-btn-primary {
    background: var(--primary);
    color: var(--white) !important;
    border: none;
}

.header-btn-secondary {
    background: var(--secondary);
    color: var(--white) !important;
    border: none;
}

.header-btn-dark {
    background: var(--dark);
    color: var(--white) !important;
    border: none;
}

.header-btn-light {
    background: var(--white);
    color: var(--dark) !important;
    border: none;
}

.header-btn-outline-primary {
    background: transparent;
    color: var(--primary) !important;
    border: 2px solid var(--primary);
}

.header-btn-outline-light {
    background: transparent;
    color: var(--white) !important;
    border: 2px solid var(--white);
}

.header-btn-none {
    background: transparent;
    color: var(--nav-text-color, var(--dark)) !important;
    border: none;
    padding: 0.4rem 0.8rem;
    font-weight: 500;
}

/* --- header.button_hover effects --- */
.header-btn-hover-lighten:hover {
    filter: brightness(1.15);
}

.header-button.header-btn-hover-outline:hover {
    background: transparent !important;
    color: var(--nav-btn-hover-bg, var(--primary)) !important;
    border-color: var(--nav-btn-hover-bg, var(--primary));
}

.header-btn-hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    padding: 9rem 0 4.5rem;
    background-color: var(--light);
    text-align: center;
    border-bottom: var(--border);
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.3rem;
    line-height: 1.3;
    color: var(--dark);
    font-weight: 700;
}

.hero .lead {
    font-size: 1.15rem;
    color: var(--gray);
    margin-bottom: 2.2rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero .btn-primary {
    background: var(--primary);
    border: 2px solid var(--primary);
    color: var(--white);
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
}

.hero .btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.hero .btn-outline-light {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
}

.hero .btn-outline-light:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--white);
}

/* =========================================
   SECTIONS & GENERAL
   ========================================= */
.section {
    padding: 4.5rem 0;
}

.section h2 {
    font-size: 2.1rem;
    margin-bottom: 0.9rem;
    color: var(--dark);
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary);
    margin: 0.8rem auto 0;
}

.section-subtitle {
    color: var(--gray);
    max-width: 650px;
    margin: 1.2rem auto 0;
    font-size: 1rem;
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.services-section {
    background-color: var(--white);
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    border: var(--border);
    transition: var(--transition);
    box-shadow: none;
    height: 100%;
}

.service-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
    transform: none;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    color: var(--white);
    font-size: 1.5rem;
}

.service-icon img {
    max-width: 200px;
    max-height: 200px;
    filter: brightness(0) invert(1);
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
    color: var(--dark);
    font-weight: 600;
}

.service-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about-section {
    background-color: var(--white);
    border-top: var(--border);
    border-bottom: var(--border);
}

.about-section h2 span {
    color: var(--primary);
}

.about-image {
    width: 100%;
    border-radius: var(--radius);
    border: var(--border);
    box-shadow: none;
}

/* =========================================
   STATS
   ========================================= */
.stat-item {
    padding: 1rem;
    background: var(--light);
    border-radius: var(--radius);
    border: var(--border);
    text-align: center;
    box-shadow: none;
}

.stat-value {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.2rem;
    font-weight: 700;
    line-height: 1.2;
}

.stat-label {
    font-weight: 500;
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
}

/* =========================================
   CTA SECTION
   ========================================= */
.cta-section {
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
}

.cta-section h2::after {
    background: var(--white);
}

.cta-section .lead {
    max-width: 650px;
    margin: 0 auto 2rem;
    font-size: 1.05rem;
    opacity: 0.95;
    line-height: 1.6;
    color: var(--white);
}

.cta-section .btn-light {
    background: var(--white);
    color: var(--primary);
    font-weight: 700;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

.cta-section .btn-light:hover {
    background: var(--light);
    color: var(--primary-dark);
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
    background: var(--dark);
    color: var(--white);
    padding: 3.5rem 0 1.8rem;
    border-top: none;
}

.site-footer h4,
.site-footer h5 {
    font-size: 1.3rem;
    margin-bottom: 1.1rem;
    color: var(--white);
    font-weight: 600;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.footer-brand {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 1.1rem;
    font-weight: 600;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.site-footer p {
    color: #cbd5e1;
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.65rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.footer-links a:hover {
    color: var(--secondary);
}

.contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 0.8rem;
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-label {
    color: var(--secondary);
    margin-right: 4px;
    font-weight: 600;
}

.contact-list a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
}

.contact-list a:hover {
    color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 2.5rem;
}

.footer-legal a {
    color: var(--secondary);
    text-decoration: none;
}

.footer-legal a:hover {
    text-decoration: underline;
}

.footer-legal .separator {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.2);
}

.footer-social .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.footer-social .social-icon:hover {
    background: #2ca6a9;
    /* Your brand teal color */
    color: #ffffff;
    transform: translateY(-3px);
}

/* ═══════════════════════════════════════════
   FOOTER — Backgrounds
   ═══════════════════════════════════════════ */
.site-footer {
    position: relative;
    overflow: hidden;
}

.footer-bg-dark {
    background-color: #0f172a;
    color: #ffffff;
}

.footer-bg-darker {
    background-color: #020617;
    color: #ffffff;
}

.footer-bg-primary {
    background-color: #2ca6a9;
    color: #ffffff;
}

.footer-bg-light {
    background-color: #f8fafc;
    color: #0f172a;
}

.footer-bg-white {
    background-color: #ffffff;
    color: #0f172a;
    border-top: 1px solid #e2e8f0;
}

/* Light backgrounds: adjust text colors */
.footer-bg-light h4,
.footer-bg-light h5,
.footer-bg-white h4,
.footer-bg-white h5 {
    color: #0f172a;
    border-bottom-color: #2ca6a9;
}

.footer-bg-light p,
.footer-bg-white p {
    color: #475569;
}

.footer-bg-light .footer-links a,
.footer-bg-white .footer-links a {
    color: #64748b;
}

.footer-bg-light .footer-links a:hover,
.footer-bg-white .footer-links a:hover {
    color: #2ca6a9;
}

.footer-bg-light .contact-list li,
.footer-bg-white .contact-list li {
    color: #475569;
}

.footer-bg-light .contact-label,
.footer-bg-white .contact-label {
    color: #2ca6a9;
}

.footer-bg-light .footer-bottom,
.footer-bg-white .footer-bottom {
    color: #94a3b8;
    border-top-color: #e2e8f0;
}

/* ═══════════════════════════════════════════
   FOOTER — Padding
   ═══════════════════════════════════════════ */
.footer-pad-compact {
    padding: 2rem 0 1rem;
}

.footer-pad-medium {
    padding: 3.5rem 0 1.8rem;
}

.footer-pad-spacious {
    padding: 5rem 0 2.5rem;
}

/* ═══════════════════════════════════════════
   FOOTER — Overlay (via ::before)
   ═══════════════════════════════════════════ */
.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.site-footer>.container {
    position: relative;
    z-index: 1;
}

.footer-overlay-white::before {
    background-color: #ffffff;
}

.footer-overlay-black::before {
    background-color: #000000;
}

.footer-overlay-navy::before {
    background-color: #0f172a;
}

.footer-overlay-primary::before {
    background-color: #2ca6a9;
}

.footer-overlay-0::before {
    opacity: 0;
}

.footer-overlay-20::before {
    opacity: 0.2;
}

.footer-overlay-40::before {
    opacity: 0.4;
}

.footer-overlay-60::before {
    opacity: 0.6;
}

.footer-overlay-80::before {
    opacity: 0.8;
}

/* ═══════════════════════════════════════════
   FOOTER — Giant Brand Text
   ═══════════════════════════════════════════ */
.footer-giant-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffffff;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    z-index: 0;
}

.footer-giant-opacity-5 {
    opacity: 0.05;
}

.footer-giant-opacity-10 {
    opacity: 0.10;
}

.footer-giant-opacity-15 {
    opacity: 0.15;
}

.footer-giant-opacity-20 {
    opacity: 0.20;
}

.footer-bg-light .footer-giant-text,
.footer-bg-white .footer-giant-text {
    color: #0f172a;
}

/* ═══════════════════════════════════════════
   FOOTER — Minimal (1-column)
   ═══════════════════════════════════════════ */
.footer-minimal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-minimal-logo {
    height: 36px;
    width: auto;
}

/* ═══════════════════════════════════════════
   FOOTER — Language Switcher (inline)
   ═══════════════════════════════════════════ */
.footer-lang-inline {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-lang-inline a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-lang-inline a:hover,
.footer-lang-inline a.active {
    color: #ffffff;
}

.footer-bg-light .footer-lang-inline a,
.footer-bg-white .footer-lang-inline a {
    color: #64748b;
}

.footer-bg-light .footer-lang-inline a:hover,
.footer-bg-white .footer-lang-inline a:hover,
.footer-bg-light .footer-lang-inline a.active,
.footer-bg-white .footer-lang-inline a.active {
    color: #2ca6a9;
}

/* ═══════════════════════════════════════════
   FOOTER — Newsletter
   ═══════════════════════════════════════════ */
.footer-newsletter-title {
    font-weight: 700;
    font-size: 1.25rem;
}

.footer-newsletter-subtitle {
    opacity: 0.75;
    margin-top: 4px;
}

.footer-divider {
    border-top-color: rgba(255, 255, 255, 0.1);
    margin-top: 1.5rem;
}

.footer-bg-light .footer-divider,
.footer-bg-white .footer-divider {
    border-top-color: #e2e8f0;
}

/* ═══════════════════════════════════════════
   FOOTER — CTA Banner
   ═══════════════════════════════════════════ */
.footer-cta {
    padding: 2rem 0;
}

.footer-cta-primary {
    background-color: #2ca6a9;
    color: #ffffff;
}

.footer-cta-dark {
    background-color: #0f172a;
    color: #ffffff;
}

.footer-cta-gradient {
    background: linear-gradient(135deg, #2ca6a9, #1d4ed8);
    color: #ffffff;
}

.footer-cta-title {
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-cta-desc {
    opacity: 0.85;
    font-size: 0.95rem;
}

/* ═══════════════════════════════════════════
   FOOTER — Back to Top
   ═══════════════════════════════════════════ */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #2ca6a9;
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1060;
    box-shadow: 0 4px 12px rgba(44, 166, 169, 0.3);
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #248a8c;
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════════
   FOOTER — Sticky Bar
   ═══════════════════════════════════════════ */
.site-footer-sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: #0f172a;
    color: #ffffff;
    padding: 10px 0;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.site-footer-sticky.is-visible {
    transform: translateY(0);
}

.site-footer-sticky.is-dismissed {
    display: none;
}

.footer-sticky-text {
    font-size: 0.9rem;
}

.footer-sticky-text a {
    color: #5eead4;
    text-decoration: none;
}

.footer-sticky-text a:hover {
    text-decoration: underline;
}

.footer-sticky-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.footer-sticky-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer-sticky-newsletter {
    max-width: 400px;
}

@media (max-width: 768px) {
    .footer-minimal {
        flex-direction: column;
        text-align: center;
    }

    .footer-sticky-newsletter {
        max-width: 100%;
    }
}

/* =============================================
   RICH TEXT / CONTENT BLOCK
   ============================================= */

.rich-text-section {
    position: relative;
}

.rich-text-narrow {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.rich-text-wide {
    max-width: 100%;
}

.rich-text-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.bg-dark .rich-text-heading {
    color: #ffffff;
}

.rich-text-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #475569;
}

.bg-dark .rich-text-content {
    color: #cbd5e1;
}

/* Style common HTML elements inside rich text */
.rich-text-content h1,
.rich-text-content h2,
.rich-text-content h3,
.rich-text-content h4,
.rich-text-content h5,
.rich-text-content h6 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: #0f172a;
}

.bg-dark .rich-text-content h1,
.bg-dark .rich-text-content h2,
.bg-dark .rich-text-content h3,
.bg-dark .rich-text-content h4,
.bg-dark .rich-text-content h5,
.bg-dark .rich-text-content h6 {
    color: #ffffff;
}

.rich-text-content p {
    margin-bottom: 1rem;
}

.rich-text-content ul,
.rich-text-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.rich-text-content ul li,
.rich-text-content ol li {
    margin-bottom: 0.35rem;
}

.rich-text-content a {
    color: #2ca6a9;
    text-decoration: underline;
}

.rich-text-content a:hover {
    color: #248a8c;
}

.rich-text-content blockquote {
    border-left: 4px solid #2ca6a9;
    padding: 0.75rem 1.25rem;
    margin: 1.25rem 0;
    background: rgba(44, 166, 169, 0.05);
    border-radius: 0 6px 6px 0;
}

.rich-text-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.rich-text-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.rich-text-content table th,
.rich-text-content table td {
    border: 1px solid #e2e8f0;
    padding: 0.5rem 0.75rem;
    text-align: left;
}

.rich-text-content table th {
    background: #f8fafc;
    font-weight: 600;
}

.rich-text-content code {
    background: #f1f5f9;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
}

.rich-text-content pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 1rem;
}

.rich-text-content pre code {
    background: none;
    padding: 0;
}

.rich-text-content hr {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 1.5rem 0;
}

/* =============================================
   PROCESS / HOW WE WORK BLOCK
   ============================================= */

.process-section {
    position: relative;
    overflow: hidden;
}

.process-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
}

.process-subtitle {
    font-size: 1.05rem;
    color: #64748b;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.process-dark .process-title {
    color: #ffffff;
}

.process-dark .process-subtitle {
    color: #94a3b8;
}

/* --- Vertical Timeline Layout --- */
.process-vertical {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.process-vertical.has-connectors::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
}

.process-dark.process-vertical.has-connectors::before,
.process-dark .process-vertical.has-connectors::before {
    background: rgba(255, 255, 255, 0.15);
}

.process-vertical .process-step {
    display: flex;
    gap: 24px;
    padding-bottom: 40px;
    position: relative;
}

.process-vertical .process-step:last-child {
    padding-bottom: 0;
}

.process-vertical .process-step-indicator {
    flex-shrink: 0;
    z-index: 1;
}

.process-vertical .process-step-content {
    padding-top: 4px;
}

/* --- Horizontal Steps Layout --- */
.process-horizontal {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    position: relative;
    flex-wrap: wrap;
}

.process-horizontal.has-connectors::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: #e2e8f0;
}

.process-dark .process-horizontal.has-connectors::before {
    background: rgba(255, 255, 255, 0.15);
}

.process-horizontal .process-step {
    flex: 1;
    min-width: 160px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-horizontal .process-step-indicator {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

/* --- Cards Grid Layout --- */
.process-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.process-cards .process-step {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.process-cards .process-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    border-color: #2ca6a9;
}

.process-dark .process-cards .process-step {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.process-dark .process-cards .process-step:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #2ca6a9;
}

.process-cards .process-step-indicator {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

/* --- Shared Step Elements --- */
.process-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2ca6a9, #248a8c);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(44, 166, 169, 0.3);
}

.process-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2ca6a9, #248a8c);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(44, 166, 169, 0.3);
}

.process-duration {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #2ca6a9;
    background: rgba(44, 166, 169, 0.1);
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.process-step-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.process-dark .process-step-title {
    color: #ffffff;
}

.process-step-desc {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0;
}

.process-dark .process-step-desc {
    color: #94a3b8;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .process-horizontal {
        flex-direction: column;
        align-items: flex-start;
    }

    .process-horizontal.has-connectors::before {
        top: 0;
        bottom: 0;
        left: 28px;
        right: auto;
        width: 2px;
        height: auto;
    }

    .process-horizontal .process-step {
        display: flex;
        gap: 20px;
        text-align: left;
        padding-bottom: 32px;
    }

    .process-horizontal .process-step:last-child {
        padding-bottom: 0;
    }

    .process-horizontal .process-step-indicator {
        margin-bottom: 0;
        flex-shrink: 0;
    }
}

/* =============================================
   FAQ / ACCORDION BLOCK
   ============================================= */

.faq-section {
    padding: 80px 0;
}

.faq-header {
    text-align: center;
    margin-bottom: 48px;
}

.faq-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0;
    letter-spacing: -0.02em;
}

.faq-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin-top: 12px;
    margin-bottom: 0;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.faq-dark .faq-title {
    color: #ffffff;
}

.faq-dark .faq-subtitle {
    color: #94a3b8;
}

.faq-container {
    max-width: 780px;
    margin: 0 auto;
}

.faq-category {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #2ca6a9;
    margin-top: 32px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(44, 166, 169, 0.15);
}

.faq-dark .faq-category {
    color: #5eead4;
    border-bottom-color: rgba(94, 234, 212, 0.2);
}

/* --- FAQ Item --- */
.faq-item {
    margin-bottom: 8px;
}

/* --- Question Button --- */
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 16px;
    transition: all 0.2s ease;
    border-radius: 10px;
}

.faq-question-text {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.5;
    flex: 1;
}

/* --- Plus/Minus Icon --- */
.faq-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #64748b;
    transition: all 0.3s ease;
}

.faq-icon-line {
    transition: all 0.3s ease;
    transform-origin: center;
}

.faq-item.is-open .faq-icon {
    background: #2ca6a9;
    color: #ffffff;
    transform: rotate(0deg);
}

.faq-item.is-open .faq-icon-v {
    opacity: 0;
    transform: rotate(90deg);
}

/* --- Answer --- */
.faq-answer {
    height: 0px;
    overflow: hidden;
    transition: height 0.35s ease;
}

.faq-answer-content {
    padding: 0 24px 24px;
    font-size: 0.95rem;
    line-height: 1.75;
    color: #64748b;
}

.faq-answer-content p {
    margin-bottom: 12px;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

.faq-answer-content ul,
.faq-answer-content ol {
    padding-left: 20px;
    margin-bottom: 12px;
}

.faq-answer-content ul li,
.faq-answer-content ol li {
    margin-bottom: 6px;
}

.faq-answer-content a {
    color: #2ca6a9;
    text-decoration: underline;
    text-decoration-color: rgba(44, 166, 169, 0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s ease;
}

.faq-answer-content a:hover {
    text-decoration-color: #2ca6a9;
}

.faq-answer-content strong {
    color: #1e293b;
    font-weight: 600;
}

/* =============================================
   STYLE: DEFAULT (Cards with shadow)
   ============================================= */

.faq-style-default .faq-item {
    background: #ffffff;
    border: 1px solid #e8edf2;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-style-default .faq-item:hover {
    border-color: #d1d9e0;
}

.faq-style-default .faq-item.is-open {
    border-color: #2ca6a9;
    box-shadow: 0 8px 30px rgba(44, 166, 169, 0.1);
}

.faq-dark .faq-style-default .faq-item {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

.faq-dark .faq-style-default .faq-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.faq-dark .faq-style-default .faq-item.is-open {
    border-color: #2ca6a9;
    background: rgba(44, 166, 169, 0.06);
}

.faq-dark .faq-question-text {
    color: #e2e8f0;
}

.faq-dark .faq-icon {
    background: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
}

.faq-dark .faq-item.is-open .faq-icon {
    background: #2ca6a9;
    color: #ffffff;
}

.faq-dark .faq-answer-content {
    color: #94a3b8;
}

.faq-dark .faq-answer-content strong {
    color: #e2e8f0;
}

/* =============================================
   STYLE: BORDERED
   ============================================= */

.faq-style-bordered .faq-item {
    background: transparent;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-style-bordered .faq-item.is-open {
    border-color: #2ca6a9;
}

.faq-dark .faq-style-bordered .faq-item {
    border-color: rgba(255, 255, 255, 0.12);
}

.faq-dark .faq-style-bordered .faq-item.is-open {
    border-color: #2ca6a9;
}

/* =============================================
   STYLE: MINIMAL
   ============================================= */

.faq-style-minimal .faq-item {
    background: transparent;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #e8edf2;
    margin-bottom: 0;
}

.faq-style-minimal .faq-item:last-child {
    border-bottom: none;
}

.faq-dark .faq-style-minimal .faq-item {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 768px) {
    .faq-section {
        padding: 56px 0;
    }

    .faq-title {
        font-size: 1.75rem;
    }

    .faq-subtitle {
        font-size: 1rem;
    }

    .faq-question {
        padding: 16px 18px;
    }

    .faq-question-text {
        font-size: 0.95rem;
    }

    .faq-answer-content {
        padding: 0 18px 20px;
        font-size: 0.9rem;
    }
}

/* =============================================
   CLIENTS / PARTNERS LOGOS BLOCK
   ============================================= */

.partners-section {
    padding: 60px 0;
    overflow: hidden;
}

.partners-header {
    text-align: center;
    margin-bottom: 40px;
}

.partners-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0;
}

.partners-subtitle {
    font-size: 1rem;
    color: #64748b;
    margin-top: 8px;
    margin-bottom: 0;
}

.partners-dark .partners-title {
    color: #ffffff;
}

.partners-dark .partners-subtitle {
    color: #94a3b8;
}

/* --- Logo Item (shared) --- */
.partner-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    flex-shrink: 0;
}

.partner-logo-item img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.partner-logo-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* --- Logo Sizes --- */
.partners-size-sm .partner-logo-item img {
    max-height: 50px;
}

.partners-size-md .partner-logo-item img {
    max-height: 70px;
}

.partners-size-lg .partner-logo-item img {
    max-height: 100px;
}

/* --- Grayscale Effect --- */
.partners-grayscale .partner-logo-item img {
    filter: grayscale(100%);
    opacity: 0.6;
}

.partners-grayscale .partner-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* =============================================
   CAROUSEL / MARQUEE LAYOUT
   ============================================= */

.partners-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Fade edges */
.partners-carousel::before,
.partners-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.partners-carousel::before {
    left: 0;
    background: linear-gradient(to right, #ffffff 0%, transparent 100%);
}

.partners-carousel::after {
    right: 0;
    background: linear-gradient(to left, #ffffff 0%, transparent 100%);
}

.bg-light .partners-carousel::before,
.bg-light .partners-carousel::after {
    background: linear-gradient(to right, #f8f9fa 0%, transparent 100%);
}

.bg-light .partners-carousel::after {
    background: linear-gradient(to left, #f8f9fa 0%, transparent 100%);
}

.partners-dark .partners-carousel::before {
    background: linear-gradient(to right, #0f172a 0%, transparent 100%);
}

.partners-dark .partners-carousel::after {
    background: linear-gradient(to left, #0f172a 0%, transparent 100%);
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 24px;
    animation: partners-scroll 30s linear infinite;
    width: max-content;
}

.partners-carousel:hover .partners-track {
    animation-play-state: paused;
}

@keyframes partners-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* =============================================
   STATIC GRID LAYOUT
   ============================================= */

.partners-grid {
    display: grid;
    gap: 16px;
    align-items: center;
}

.partners-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.partners-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.partners-cols-5 {
    grid-template-columns: repeat(5, 1fr);
}

.partners-cols-6 {
    grid-template-columns: repeat(6, 1fr);
}

/* --- Responsive --- */
@media (max-width: 992px) {

    .partners-cols-5,
    .partners-cols-6 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .partners-section {
        padding: 44px 0;
    }

    .partners-cols-3,
    .partners-cols-4,
    .partners-cols-5,
    .partners-cols-6 {
        grid-template-columns: repeat(3, 1fr);
    }

    .partners-carousel::before,
    .partners-carousel::after {
        width: 40px;
    }

    .partners-track {
        gap: 16px;
        animation-duration: 20s;
    }
}

@media (max-width: 576px) {

    .partners-cols-3,
    .partners-cols-4,
    .partners-cols-5,
    .partners-cols-6 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =============================================
   CONTACT FORM BLOCK
   ============================================= */

.contact-form-section {
    position: relative;
}

.contact-form-wrapper {
    max-width: 720px;
    margin: 0 auto;
}

.contact-form-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
}

.contact-form-subtitle {
    font-size: 1.05rem;
    color: #64748b;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.contact-form-dark .contact-form-title {
    color: #ffffff;
}

.contact-form-dark .contact-form-subtitle {
    color: #94a3b8;
}

.contact-form .form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #334155;
}

.contact-form-dark .contact-form .form-label {
    color: #cbd5e1;
}

.contact-form .form-control {
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.contact-form .form-control:focus {
    border-color: #2ca6a9;
    box-shadow: 0 0 0 3px rgba(44, 166, 169, 0.15);
}

.contact-form-dark .contact-form .form-control {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.contact-form-dark .contact-form .form-control:focus {
    border-color: #2ca6a9;
    background: rgba(255, 255, 255, 0.1);
}

.contact-form-dark .contact-form .form-control::placeholder {
    color: #64748b;
}

.contact-form-submit {
    min-width: 180px;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
}

.contact-form-alert {
    max-width: 720px;
    margin: 0 auto 24px;
    border-radius: 10px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .contact-form-title {
        font-size: 1.6rem;
    }

    .contact-form-submit {
        width: 100%;
    }
}

/* =============================================
   VIDEO / MEDIA EMBED BLOCK
   ============================================= */

.video-embed-section {
    position: relative;
}

.video-embed-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
}

.video-embed-subtitle {
    font-size: 1.05rem;
    color: #64748b;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.video-embed-dark .video-embed-title {
    color: #ffffff;
}

.video-embed-dark .video-embed-subtitle {
    color: #94a3b8;
}

/* --- Width Variants --- */
.video-embed-narrow {
    max-width: 720px;
}

.video-embed-default {
    max-width: 960px;
}

.video-embed-wide {
    max-width: 100%;
}

/* --- Video Wrapper --- */
.video-embed-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.12);
    background: #000000;
}

.video-embed-wrapper iframe {
    border: none;
    width: 100%;
    height: 100%;
}

/* --- Caption --- */
.video-embed-caption {
    font-size: 0.88rem;
    color: #94a3b8;
    font-style: italic;
    line-height: 1.5;
}

.video-embed-dark .video-embed-caption {
    color: #64748b;
}

/* --- Bootstrap Ratio Utilities (in case not included) --- */
.ratio {
    position: relative;
    width: 100%;
}

.ratio::before {
    display: block;
    padding-top: var(--bs-aspect-ratio);
    content: "";
}

.ratio>* {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ratio-16x9 {
    --bs-aspect-ratio: 56.25%;
}

.ratio-4x3 {
    --bs-aspect-ratio: 75%;
}

.ratio-21x9 {
    --bs-aspect-ratio: 42.857143%;
}

.ratio-1x1 {
    --bs-aspect-ratio: 100%;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .video-embed-section {
        padding: 44px 0;
    }

    .video-embed-title {
        font-size: 1.6rem;
    }

    .video-embed-wrapper {
        border-radius: 8px;
        box-shadow: 0 4px 16px rgba(15, 23, 42, 0.1);
    }
}

/* =============================================
   MAP / LOCATION BLOCK
   ============================================= */

.map-location-section {
    position: relative;
}

.map-location-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
}

.map-location-subtitle {
    font-size: 1.05rem;
    color: #64748b;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.map-location-dark .map-location-title {
    color: #ffffff;
}

.map-location-dark .map-location-subtitle {
    color: #94a3b8;
}

/* --- Map Container --- */
.map-location-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.1);
    background: #e2e8f0;
}

.map-location-map iframe {
    display: block;
}

/* --- Side-by-Side Layout --- */
.map-layout-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* --- Map Above Layout --- */
.map-layout-above {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.map-layout-above .map-location-map {
    max-width: 960px;
    margin: 0 auto;
    width: 100%;
}

.map-layout-above .map-location-info {
    max-width: 720px;
    margin: 0 auto;
    width: 100%;
}

/* --- Map Only Layout --- */
.map-layout-only .map-location-map {
    max-width: 100%;
    border-radius: 12px;
}

/* --- Info Left Variant --- */
.map-layout-side.map-info-left .map-location-map {
    order: 2;
}

.map-layout-side.map-info-left .map-location-info {
    order: 1;
}

/* --- Contact Info Panel --- */
.map-location-info {
    padding: 8px 0;
}

.map-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.map-info-item:last-child {
    margin-bottom: 0;
}

.map-info-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(44, 166, 169, 0.1);
    color: #2ca6a9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.map-location-dark .map-info-icon {
    background: rgba(44, 166, 169, 0.15);
    color: #5eead4;
}

.map-info-label {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-bottom: 4px;
}

.map-location-dark .map-info-label {
    color: #64748b;
}

.map-info-value {
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.6;
    margin-bottom: 0;
}

.map-location-dark .map-info-value {
    color: #cbd5e1;
}

.map-info-value a {
    color: #2ca6a9;
    text-decoration: none;
    transition: color 0.2s ease;
}

.map-info-value a:hover {
    color: #248a8c;
    text-decoration: underline;
}

.map-location-dark .map-info-value a {
    color: #5eead4;
}

.map-location-dark .map-info-value a:hover {
    color: #99f6e4;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .map-layout-side {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .map-location-section {
        padding: 44px 0;
    }

    .map-location-title {
        font-size: 1.6rem;
    }

    .map-location-map {
        border-radius: 8px;
    }

    .map-info-item {
        gap: 12px;
        margin-bottom: 20px;
    }

    .map-info-icon {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
}

/* =============================================
   GALLERY / IMAGE GRID BLOCK
   ============================================= */

.gallery-section {
    position: relative;
}

.gallery-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
}

.gallery-subtitle {
    font-size: 1.05rem;
    color: #64748b;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.gallery-dark .gallery-title {
    color: #ffffff;
}

.gallery-dark .gallery-subtitle {
    color: #94a3b8;
}

/* --- Grid Layout --- */
.gallery-grid {
    display: grid;
}

.gallery-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.gallery-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.gallery-cols-5 {
    grid-template-columns: repeat(5, 1fr);
}

.gallery-cols-6 {
    grid-template-columns: repeat(6, 1fr);
}

/* --- Gap Sizes --- */
.gallery-gap-sm {
    gap: 8px;
}

.gallery-gap-md {
    gap: 16px;
}

.gallery-gap-lg {
    gap: 24px;
}

/* --- Gallery Item --- */
.gallery-item {
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.gallery-item:focus-visible {
    outline: 3px solid #2ca6a9;
    outline-offset: 2px;
}

.gallery-item-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    background: #f1f5f9;
}

.gallery-dark .gallery-item-inner {
    background: rgba(255, 255, 255, 0.05);
}

.gallery-item-inner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-item-inner img {
    transform: scale(1.05);
}

/* --- Aspect Ratios --- */
.gallery-ratio-square .gallery-item-inner {
    aspect-ratio: 1 / 1;
}

.gallery-ratio-landscape .gallery-item-inner {
    aspect-ratio: 4 / 3;
}

.gallery-ratio-portrait .gallery-item-inner {
    aspect-ratio: 3 / 4;
}

.gallery-ratio-auto .gallery-item-inner {
    aspect-ratio: auto;
}

.gallery-ratio-auto .gallery-item-inner img {
    height: auto;
}

/* --- Hover Overlay --- */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #ffffff;
    font-size: 1.5rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* --- Caption --- */
.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 14px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(4px);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   LIGHTBOX
   ============================================= */

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.gallery-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.gallery-lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-lightbox-img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.gallery-lightbox-caption {
    margin-top: 16px;
    color: #e2e8f0;
    font-size: 0.95rem;
    text-align: center;
    max-width: 600px;
    line-height: 1.5;
}

.gallery-lightbox-counter {
    margin-top: 8px;
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.gallery-lightbox-close,
.gallery-lightbox-prev,
.gallery-lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    cursor: pointer;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.2s ease;
    z-index: 10;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover {
    background: rgba(255, 255, 255, 0.25);
}

.gallery-lightbox-close {
    top: 20px;
    right: 20px;
}

.gallery-lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.gallery-lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* ═══════════════════════════════════════════
   GALLERY — Carousel Layout
   ═══════════════════════════════════════════ */
.gallery-carousel {
    position: relative;
    padding: 0 8px;
}

.gallery-carousel-viewport {
    overflow: hidden;
}

.gallery-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.gallery-carousel-item {
    flex-shrink: 0;
    box-sizing: border-box;
}

.gallery-carousel-track.gallery-ratio-square .gallery-carousel-item .gallery-item-inner {
    aspect-ratio: 1 / 1;
}

.gallery-carousel-track.gallery-ratio-landscape .gallery-carousel-item .gallery-item-inner {
    aspect-ratio: 4 / 3;
}

.gallery-carousel-track.gallery-ratio-portrait .gallery-carousel-item .gallery-item-inner {
    aspect-ratio: 3 / 4;
}

.gallery-carousel-track.gallery-ratio-auto .gallery-carousel-item .gallery-item-inner {
    aspect-ratio: auto;
}

/* Navigation arrows */
.gallery-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.gallery-carousel-nav:hover:not(:disabled) {
    background: #2ca6a9;
    color: #ffffff;
    border-color: #2ca6a9;
}

.gallery-carousel-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.gallery-carousel-prev {
    left: -12px;
}

.gallery-carousel-next {
    right: -12px;
}

.gallery-dark .gallery-carousel-nav {
    background: #1e293b;
    color: #ffffff;
    border-color: #334155;
}

.gallery-dark .gallery-carousel-nav:hover:not(:disabled) {
    background: #2ca6a9;
    border-color: #2ca6a9;
}

/* Pagination dots */
.gallery-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.gallery-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #cbd5e1;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.gallery-carousel-dot:hover {
    background: #94a3b8;
}

.gallery-carousel-dot.active {
    background: #2ca6a9;
    transform: scale(1.25);
}

.gallery-dark .gallery-carousel-dot {
    background: #475569;
}

.gallery-dark .gallery-carousel-dot.active {
    background: #2ca6a9;
}

/* Responsive */
@media (max-width: 767px) {
    .gallery-carousel-prev {
        left: 4px;
    }

    .gallery-carousel-next {
        right: 4px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gallery-carousel-track {
        transition: none;
    }
}

/* --- Responsive --- */
@media (max-width: 992px) {

    .gallery-cols-5,
    .gallery-cols-6 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 44px 0;
    }

    .gallery-title {
        font-size: 1.6rem;
    }

    .gallery-cols-3,
    .gallery-cols-4,
    .gallery-cols-5,
    .gallery-cols-6 {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-lightbox-prev {
        left: 8px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .gallery-lightbox-next {
        right: 8px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .gallery-lightbox-close {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {

    .gallery-cols-2,
    .gallery-cols-3,
    .gallery-cols-4,
    .gallery-cols-5,
    .gallery-cols-6 {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-gap-lg {
        gap: 12px;
    }
}

/* ═══════════════════════════════════════════
   TESTIMONIALS SECTION
   ═══════════════════════════════════════════ */
.testimonials-bg-white {
    background-color: #ffffff;
}

.testimonials-bg-light {
    background-color: #f8fafc;
}

.testimonials-bg-dark {
    background-color: #0f172a;
}

.testimonials-bg-dark .testimonials-title {
    color: #ffffff;
}

.testimonials-bg-dark .testimonials-subtitle {
    color: rgba(255, 255, 255, 0.75);
}

.testimonials-section .section-subtitle {
    color: #64748b;
}

/* ─── Carousel Structure ─── */
.testimonials-carousel {
    position: relative;
    padding: 0 8px;
}

.testimonials-carousel-viewport {
    overflow: hidden;
}

.testimonials-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.testimonials-carousel-item {
    flex-shrink: 0;
    padding: 8px 12px;
    box-sizing: border-box;
}

.testimonials-carousel-item .card {
    height: 100%;
}

/* ─── Navigation Arrows ─── */
.testimonials-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.testimonials-carousel-nav:hover:not(:disabled) {
    background: #2ca6a9;
    color: #ffffff;
    border-color: #2ca6a9;
}

.testimonials-carousel-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.testimonials-carousel-prev {
    left: -12px;
}

.testimonials-carousel-next {
    right: -12px;
}

.testimonials-bg-dark .testimonials-carousel-nav {
    background: #1e293b;
    color: #ffffff;
    border-color: #334155;
}

.testimonials-bg-dark .testimonials-carousel-nav:hover:not(:disabled) {
    background: #2ca6a9;
    border-color: #2ca6a9;
}

/* ─── Pagination Dots ─── */
.testimonials-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.testimonials-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #cbd5e1;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.testimonials-carousel-dot:hover {
    background: #94a3b8;
}

.testimonials-carousel-dot.active {
    background: #2ca6a9;
    transform: scale(1.25);
}

.testimonials-bg-dark .testimonials-carousel-dot {
    background: #475569;
}

.testimonials-bg-dark .testimonials-carousel-dot.active {
    background: #2ca6a9;
}

/* ─── Responsive ─── */
@media (max-width: 767px) {
    .testimonials-carousel-prev {
        left: 4px;
    }

    .testimonials-carousel-next {
        right: 4px;
    }

    .testimonials-carousel-item {
        padding: 8px 4px;
    }
}

/* ─── Accessibility ─── */
@media (prefers-reduced-motion: reduce) {
    .testimonials-carousel-track {
        transition: none;
    }
}

/* ========================================
   FAQ Stagger Animation
   ======================================== */

/* Initial state: invisible and shifted down */
.faq-animate-item {
    opacity: 0;
    transform: translateY(30px);
}

/* When the section is in viewport, animate in */
.faq-animate-item.faq-animate-visible {
    animation: faqFadeUp 0.6s ease-out forwards;
}

@keyframes faqFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Respect user's reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .faq-animate-item {
        opacity: 1;
        transform: none;
        animation: none !important;
    }
}


/* ═══════════════════════════════════════════
   SERVICES — Background Styles
   ═══════════════════════════════════════════ */
.services-bg-white {
    background-color: #ffffff;
}

.services-bg-light {
    background-color: #f8fafc;
}

.services-bg-dark {
    background-color: #0f172a;
}

/* Dark background: flip text & card colors for readability */
.services-bg-dark h2 {
    color: #ffffff;
}

.services-bg-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.75) !important;
}

.services-bg-dark .service-card {
    background-color: #1e293b;
    border-color: #334155;
}

.services-bg-dark .service-card h3 {
    color: #ffffff;
}

.services-bg-dark .service-card .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* ═══════════════════════════════════════════
   SERVICES — Icon Styles
   Base .service-icon keeps size/color/centering;
   shape classes only control radius + background.
   ═══════════════════════════════════════════ */
.service-icon.service-icon-circle,
.service-icon.service-icon-square,
.service-icon.service-icon-none {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    color: #2ca6a9;
    font-size: 1.6rem;
}

.service-icon.service-icon-circle {
    border-radius: 50%;
    background-color: rgba(44, 166, 169, 0.1);
}

.service-icon.service-icon-square {
    border-radius: 12px;
    background-color: rgba(44, 166, 169, 0.1);
}

.service-icon.service-icon-none {
    background-color: transparent;
}

.service-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* ═══════════════════════════════════════════
   STATS — Background Styles
   ═══════════════════════════════════════════ */
.stats-bg-white {
    background-color: #ffffff;
}

.stats-bg-light {
    background-color: #f8fafc;
}

.stats-bg-dark {
    background-color: #0f172a;
}

.stats-bg-dark .stat-label {
    color: rgba(255, 255, 255, 0.75);
}

.stats-bg-dark .stats-chart-label {
    color: rgba(255, 255, 255, 0.75);
}

.stats-bg-dark .stats-chart-value {
    color: #ffffff;
}

/* ═══════════════════════════════════════════
   STATS — Chart Mode
   ═══════════════════════════════════════════ */
.stats-chart-wrapper {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 24px;
    padding: 16px 0;
}

.stats-chart-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    max-width: 140px;
    height: 100%;
    position: relative;
}

.stats-chart-bar {
    width: 100%;
    max-width: 64px;
    border-radius: 6px 6px 0 0;
    transition: height 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    min-height: 4px;
}

.stats-chart-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
    text-align: center;
    white-space: nowrap;
}

.stats-chart-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748b;
    margin-top: 12px;
    text-align: center;
    line-height: 1.3;
}

/* ═══════════════════════════════════════════
   STATS — Background & Base
   ═══════════════════════════════════════════ */
.stats-bg-white {
    background-color: #ffffff;
}

.stats-bg-light {
    background-color: #f8fafc;
}

.stats-bg-dark {
    background-color: #0f172a;
}

.stats-bg-dark .stat-label,
.stats-bg-dark .stats-chart-label,
.stats-bg-dark .stats-hbar-label,
.stats-bg-dark .stats-line-label,
.stats-bg-dark .stats-doughnut-legend-label {
    color: rgba(255, 255, 255, 0.75);
}

.stats-bg-dark .stats-chart-value,
.stats-bg-dark .stats-hbar-value,
.stats-bg-dark .stats-doughnut-legend-value {
    color: #ffffff;
}

.stats-bg-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.7) !important;
}

.stats-bg-dark h2 {
    color: #ffffff;
}

/* ═══════════════════════════════════════════
   STATS — Vertical Bar Chart
   ═══════════════════════════════════════════ */
.stats-chart-wrapper {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 24px;
    padding: 16px 0;
}

.stats-chart-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    max-width: 140px;
    height: 100%;
}

.stats-chart-bar {
    width: 100%;
    max-width: 64px;
    border-radius: 6px 6px 0 0;
    transition: height 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    min-height: 4px;
}

.stats-chart-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
    text-align: center;
    white-space: nowrap;
}

.stats-chart-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748b;
    margin-top: 12px;
    text-align: center;
    line-height: 1.3;
}

/* ═══════════════════════════════════════════
   STATS — Horizontal Bar Chart
   ═══════════════════════════════════════════ */
.stats-hbar-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.stats-hbar-row {
    display: grid;
    grid-template-columns: 120px 1fr 60px;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.stats-hbar-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stats-hbar-track {
    height: 28px;
    background: #f1f5f9;
    border-radius: 14px;
    overflow: hidden;
}

.stats-bg-dark .stats-hbar-track {
    background: rgba(255, 255, 255, 0.08);
}

.stats-hbar-fill {
    height: 100%;
    border-radius: 14px;
    transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    min-width: 4px;
}

.stats-hbar-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    text-align: left;
    white-space: nowrap;
}

/* ═══════════════════════════════════════════
   STATS — Doughnut Chart
   ═══════════════════════════════════════════ */
.stats-doughnut-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.stats-doughnut-chart {
    flex-shrink: 0;
}

.stats-doughnut-segment {
    transition: opacity 0.6s ease;
}

.stats-doughnut-legend {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stats-doughnut-legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stats-doughnut-legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.stats-doughnut-legend-label {
    font-size: 0.9rem;
    color: #334155;
}

.stats-doughnut-legend-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    margin-left: auto;
}

/* ═══════════════════════════════════════════
   STATS — Line Chart
   ═══════════════════════════════════════════ */
.stats-line-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.stats-line-svg {
    display: block;
}

.stats-line-labels {
    display: flex;
    justify-content: space-between;
    padding: 12px 30px 0;
}

.stats-line-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
    text-align: center;
}

/* ═══════════════════════════════════════════
   STATS — Responsive
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
    .stats-chart-wrapper {
        gap: 12px;
    }

    .stats-chart-value {
        font-size: 0.9rem;
    }

    .stats-chart-label {
        font-size: 0.75rem;
    }

    .stats-chart-bar {
        max-width: 48px;
    }

    .stats-hbar-row {
        grid-template-columns: 80px 1fr 50px;
        gap: 8px;
    }

    .stats-hbar-label {
        font-size: 0.8rem;
    }

    .stats-doughnut-wrapper {
        flex-direction: column;
        gap: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .stats-chart-bar,
    .stats-hbar-fill {
        transition: none;
    }
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .stats-chart-wrapper {
        gap: 12px;
    }

    .stats-chart-value {
        font-size: 0.9rem;
    }

    .stats-chart-label {
        font-size: 0.75rem;
    }

    .stats-chart-bar {
        max-width: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .stats-chart-bar {
        transition: none;
    }
}

/* Features: image variant (horizontal layout) */
.service-icon.service-icon-image {
    background-color: transparent;
    border-radius: 8px;
    width: 100px;
    height: 100px;
}

.service-icon.service-icon-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: none;
}

.feature-block-image {
    width: 100%;
    height: 100%;
    max-height: 220px;
    object-fit: cover;
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 992px) {
    .about-section .row {
        flex-direction: column-reverse;
    }

    .about-image {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero .lead {
        font-size: 1.05rem;
    }

    .main-navbar .navbar-nav {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .main-navbar .nav-link::after {
        display: none;
    }

    .hero .d-flex {
        flex-direction: column;
        align-items: center;
    }

    .hero .btn {
        width: 100%;
        max-width: 260px;
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .section h2 {
        font-size: 1.9rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 6rem 0 3.5rem;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .section {
        padding: 3.5rem 0;
    }

    .brand-name {
        font-size: 0.95rem;
    }

    .brand-subtitle {
        font-size: 0.65rem;
    }
}

/* ═══════════════════════════════════════════
   FEATURES — Scroll-reveal animation
   ═══════════════════════════════════════════ */
.feat-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.feat-reveal.feat-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════
   FEATURES — Header: eyebrow + animated underline
   ═══════════════════════════════════════════ */
.features-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(44, 166, 169, 0.1);
    border: 1px solid rgba(44, 166, 169, 0.25);
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 0.75rem;
}

.features-title {
    font-size: 2.25rem;
    color: var(--dark);
    letter-spacing: -0.01em;
    line-height: 1.25;
    margin-bottom: 0.5rem;
}

.features-title-line {
    width: 56px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 0.65rem auto 1rem;
    transition: width 0.4s ease;
}

.features-header:hover .features-title-line {
    width: 90px;
}

.features-subtitle {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════
   FEATURES — Accent bar (top edge of standard cards)
   ═══════════════════════════════════════════ */
.feature-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-accent-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.35s ease;
    border-radius: 12px 12px 0 0;
}

.feature-card:hover .feature-accent-bar {
    transform: scaleX(1);
}

/* ═══════════════════════════════════════════
   FEATURES — Icon glow ring pulse
   ═══════════════════════════════════════════ */
.feature-icon-wrap {
    position: relative;
}

.feature-icon-ring {
    position: absolute;
    inset: -6px;
    border-radius: inherit;
    border: 2px solid rgba(44, 166, 169, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.feature-card:hover .feature-icon-ring {
    opacity: 1;
    transform: scale(1.08);
}

.features-dark .feature-icon-ring {
    border-color: rgba(94, 234, 212, 0.3);
}

/* ═══════════════════════════════════════════
   FEATURES — Icon glyph subtle scale
   ═══════════════════════════════════════════ */
.feature-icon-glyph {
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon-glyph {
    transform: scale(1.15);
}

/* ═══════════════════════════════════════════
   FEATURES — Card title & description polish
   ═══════════════════════════════════════════ */
.feature-card-title {
    color: var(--dark);
    line-height: 1.35;
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}

.feature-card:hover .feature-card-title {
    color: var(--primary);
}

.feature-card-desc {
    font-size: 0.93rem;
    line-height: 1.75;
    color: var(--gray);
}

/* ═══════════════════════════════════════════
   FEATURES — CTA link arrow animation
   ═══════════════════════════════════════════ */
.feature-cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.feature-cta .bi-arrow-right {
    transition: transform 0.25s ease;
}

.feature-cta:hover .bi-arrow-right {
    transform: translateX(4px);
}

/* ═══════════════════════════════════════════
   FEATURES — Top-fit image overlay shimmer
   ═══════════════════════════════════════════ */
.feature-topfit-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.feature-topfit-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(15, 23, 42, 0.55) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.feature-card-topfit:hover .feature-topfit-overlay {
    opacity: 1;
}

.feature-card-topfit:hover .feature-img-top-fit {
    transform: scale(1.04);
    transition: transform 0.5s ease;
}

.feature-img-top-fit {
    transition: transform 0.5s ease;
}

.feature-topfit-body {
    display: flex;
    flex-direction: column;
    padding-top: 1.25rem;
}

/* ═══════════════════════════════════════════
   FEATURES — Dark background overrides
   ═══════════════════════════════════════════ */
.features-dark .features-eyebrow {
    color: #5eead4;
    background: rgba(94, 234, 212, 0.1);
    border-color: rgba(94, 234, 212, 0.2);
}

.features-dark .features-title {
    color: #f1f5f9;
}

.features-dark .features-title-line {
    background: linear-gradient(90deg, #5eead4, var(--secondary));
}

.features-dark .features-subtitle {
    color: #94a3b8;
}

.features-dark .feature-card-title {
    color: #f1f5f9;
}

.features-dark .feature-card:hover .feature-card-title {
    color: #5eead4;
}

.features-dark .feature-card-desc {
    color: #94a3b8;
}

.features-dark .feature-accent-bar {
    background: linear-gradient(90deg, #5eead4, var(--secondary));
}

/* ═══════════════════════════════════════════
   FEATURES — Card Styles
   ═══════════════════════════════════════════ */
.feature-card.feature-card-shadow {
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    border: 1px solid #e8edf2;
}

.feature-card.feature-card-bordered {
    border: 2px solid #e2e8f0;
    box-shadow: none;
}

.feature-card.feature-card-flat {
    border: none;
    box-shadow: none;
    background: #f8fafc;
}

.features-dark .feature-card.feature-card-flat {
    background: rgba(255, 255, 255, 0.05);
}

.feature-card.feature-card-lift {
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    border: 1px solid #e8edf2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card.feature-card-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

/* ═══════════════════════════════════════════
   FEATURES — Hover Effects (apply on top of card style)
   ═══════════════════════════════════════════ */
.feature-card.feature-hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card.feature-hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.feature-card.feature-hover-border:hover {
    border-color: #2ca6a9 !important;
}

.feature-card.feature-hover-glow:hover {
    box-shadow: 0 0 0 3px rgba(44, 166, 169, 0.15), 0 8px 20px rgba(44, 166, 169, 0.12);
}

.feature-card.feature-hover-none:hover {
    transform: none;
    box-shadow: inherit;
}

/* ═══════════════════════════════════════════
   FEATURES — Position Layouts (flexbox based)
   ═══════════════════════════════════════════ */
.feature-card .card-body {
    display: flex;
    gap: 1rem;
}

/* Vertical layouts */
.feature-pos-top,
.feature-pos-top-left,
.feature-pos-top-right {
    flex-direction: column;
}

.feature-pos-top {
    align-items: center;
}

.feature-pos-top-left {
    align-items: flex-start;
}

.feature-pos-top-right {
    align-items: flex-end;
}

/* Horizontal layouts */
.feature-pos-left {
    flex-direction: row;
    align-items: flex-start;
}

.feature-pos-right {
    flex-direction: row-reverse;
    align-items: flex-start;
}

/* Give text room in horizontal layouts */
.feature-pos-left .feature-text,
.feature-pos-right .feature-text {
    flex: 1;
    min-width: 0;
}

/* ═══════════════════════════════════════════
   FEATURES — Media (icon / image container)
   ═══════════════════════════════════════════ */
.feature-media {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Vertical: media sits above text */
.feature-pos-top .feature-media,
.feature-pos-top-left .feature-media,
.feature-pos-top-right .feature-media {
    margin-bottom: 0.5rem;
}

/* Icon shape variants (icons only, not images) */
.feature-icon {
    color: #2ca6a9;
    background-color: rgba(44, 166, 169, 0.1);
}

.feature-icon-circle {
    border-radius: 50%;
}

.feature-icon-square {
    border-radius: 12px;
}

.feature-icon-none {
    background-color: transparent;
}

.features-dark .feature-icon {
    color: #5eead4;
    background-color: rgba(94, 234, 212, 0.12);
}

.features-dark .feature-icon-none {
    background-color: transparent;
}

.feature-icon-initial {
    font-weight: 700;
    color: #2ca6a9;
}

/* Icon sizes */
.feature-icon-sm {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
}

.feature-icon-md {
    width: 64px;
    height: 64px;
    font-size: 1.5rem;
}

.feature-icon-lg {
    width: 80px;
    height: 80px;
    font-size: 1.9rem;
}

/* Image in vertical layout: constrained inline size */
.feature-image-inline {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

/* Image in horizontal layout: fills its column nicely */
.feature-image-full {
    width: 100%;
    max-width: 220px;
    object-fit: cover;
    border-radius: 8px;
}

/* ═══════════════════════════════════════════
   FEATURES — Link Styles
   ═══════════════════════════════════════════ */
.feature-link-text {
    display: inline-block;
    color: #2ca6a9;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.feature-link-text:hover {
    color: #248a8c;
    border-bottom-color: #2ca6a9;
}

/* ═══════════════════════════════════════════
   FEATURES — Responsive
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {

    /* Stack horizontal layouts on small screens */
    .feature-pos-left,
    .feature-pos-right {
        flex-direction: column;
        align-items: flex-start;
    }

    .feature-image-full {
        max-height: 180px;
    }
}

/* ═══════════════════════════════════════════
   FEATURES — Top-Fit Image Layout
   Image spans full card width at top, rounded top corners,
   content stacked below in card-body.
   ═══════════════════════════════════════════ */
.feature-img-top-fit {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-top-left-radius: var(--radius, 6px);
    border-top-right-radius: var(--radius, 6px);
    display: block;
}

/* When top-fit is used, card-body padding below the image should stay tight */
.feature-img-top-fit+.card-body {
    padding-top: 1.25rem;
}

/* Vertical alignments inside card-body (non-top-fit) */
.service-card .card-body.text-center .service-icon {
    margin-left: auto;
    margin-right: auto;
}

.service-card .card-body.text-start .service-icon {
    margin-left: 0;
    margin-right: auto;
}

.service-card .card-body.text-end .service-icon {
    margin-left: auto;
    margin-right: 0;
}

/* ═══════════════════════════════════════════
   TAG CLOUD SECTION
   ═══════════════════════════════════════════ */
/* ═══════════════════════════════════════════
   TAG CLOUD — Color Palette (CSS Custom Properties)
   ═══════════════════════════════════════════ */
.tag-cloud-color-teal {
    --tag-color: #2ca6a9;
    --tag-color-dark: #248a8c;
    --tag-color-light: rgba(44, 166, 169, 0.12);
}

.tag-cloud-color-amber {
    --tag-color: #e5a13d;
    --tag-color-dark: #c98a32;
    --tag-color-light: rgba(229, 161, 61, 0.12);
}

.tag-cloud-color-navy {
    --tag-color: #0f172a;
    --tag-color-dark: #1e293b;
    --tag-color-light: rgba(15, 23, 42, 0.08);
}

.tag-cloud-color-blue {
    --tag-color: #1d4ed8;
    --tag-color-dark: #1e40af;
    --tag-color-light: rgba(29, 78, 216, 0.12);
}

.tag-cloud-color-green {
    --tag-color: #16a34a;
    --tag-color-dark: #15803d;
    --tag-color-light: rgba(22, 163, 74, 0.12);
}

.tag-cloud-color-red {
    --tag-color: #dc2626;
    --tag-color-dark: #b91c1c;
    --tag-color-light: rgba(220, 38, 38, 0.12);
}

.tag-cloud-color-gray {
    --tag-color: #64748b;
    --tag-color-dark: #475569;
    --tag-color-light: rgba(100, 116, 139, 0.12);
}

/* ═══════════════════════════════════════════
   TAG CLOUD — Layout & Alignment
   ═══════════════════════════════════════════ */
.tag-cloud-flex {
    display: flex;
    flex-wrap: wrap;
}

.tag-cloud-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
}

.tag-align-left {
    justify-content: flex-start;
}

.tag-align-center {
    justify-content: center;
}

.tag-align-right {
    justify-content: flex-end;
}

.tag-gap-sm {
    gap: 8px;
}

.tag-gap-md {
    gap: 12px;
}

.tag-gap-lg {
    gap: 16px;
}

/* ═══════════════════════════════════════════
   TAG CLOUD — Container Widths
   ═══════════════════════════════════════════ */
.tag-cloud-narrow {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.tag-cloud-default {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.tag-cloud-wide {
    max-width: 100%;
}

/* ═══════════════════════════════════════════
   TAG CLOUD — Button Base & Sizes
   ═══════════════════════════════════════════ */
.tag-btn {
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    border-radius: 6px;
    cursor: pointer;
}

.tag-btn-sm {
    padding: 6px 14px;
    font-size: 0.85rem;
}

.tag-btn-md {
    padding: 8px 18px;
    font-size: 0.95rem;
}

.tag-btn-lg {
    padding: 12px 24px;
    font-size: 1.05rem;
}

/* ═══════════════════════════════════════════
   TAG CLOUD — Button Styles (use color variables)
   ═══════════════════════════════════════════ */
.tag-btn-outlined {
    border: 2px solid var(--tag-color);
    color: var(--tag-color);
    background: transparent;
}

.tag-btn-filled {
    background: var(--tag-color);
    color: #ffffff;
    border: 2px solid var(--tag-color);
}

.tag-btn-pill {
    background: var(--tag-color);
    color: #ffffff;
    border: none;
    border-radius: 50px;
}

.tag-btn-minimal {
    background: var(--tag-color-light);
    color: var(--tag-color);
    border: none;
}

.tag-avatar-pill {
    border: 2px solid var(--tag-color);
    background: #ffffff;
    color: #0f172a;
}

/* ═══════════════════════════════════════════
   TAG CLOUD — Hover Effects
   ═══════════════════════════════════════════ */
/* Fill hover (default) */
.tag-hover-fill .tag-btn-outlined:hover {
    background: var(--tag-color);
    color: #ffffff;
}

.tag-hover-fill .tag-btn-minimal:hover {
    background: var(--tag-color);
    color: #ffffff;
}

.tag-hover-fill .tag-btn-filled:hover,
.tag-hover-fill .tag-btn-pill:hover {
    background: var(--tag-color-dark);
    border-color: var(--tag-color-dark);
}

.tag-avatar-pill:hover {
    /*background: var(--tag-color);
    color: #ffffff;*/
    color: #0f172a;
    border-color: var(--tag-color);
}

/* Lift hover */
.tag-hover-lift .tag-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* No hover */
.tag-hover-none .tag-btn:hover {
    transform: none;
    box-shadow: none;
}

/* ═══════════════════════════════════════════
   TAG CLOUD — Text Transform
   ═══════════════════════════════════════════ */
.tag-uppercase .tag-btn {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85em;
}

/* ═══════════════════════════════════════════
   TAG CLOUD — Dark Background Overrides
   ═══════════════════════════════════════════ */
.tag-cloud-dark h2 {
    color: #ffffff;
}

/* Navy buttons invisible on dark bg → lighten them */
.tag-cloud-dark.tag-cloud-color-navy {
    --tag-color: #94a3b8;
    --tag-color-dark: #cbd5e1;
    --tag-color-light: rgba(148, 163, 184, 0.12);
}

.tag-cloud-dark .tag-btn-minimal {
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
}

.tag-cloud-dark.tag-hover-fill .tag-btn-minimal:hover {
    background: var(--tag-color);
    color: #0f172a;
}

/* ═══════════════════════════════════════════
   TAG CLOUD — Responsive
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
    .tag-cloud-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    .tag-btn-lg {
        padding: 10px 18px;
        font-size: 0.95rem;
    }
}

/* ═══════════════════════════════════════════
   TAG CLOUD — Avatar Pill Style
   ═══════════════════════════════════════════ */
.tag-avatar-pill {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    line-height: 1;
}

.tag-avatar-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.tag-avatar-img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

/* Fallback initial when no avatar image */
.tag-avatar-initial {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2ca6a9, #248a8c);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Dark background adjustments */
.tag-cloud-dark .tag-avatar-pill {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
}

.tag-cloud-dark .tag-avatar-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #2ca6a9;
    color: #ffffff;
}

/* ═══════════════════════════════════════════
   SIMPLE CONTENT SECTION
   ═══════════════════════════════════════════ */
.simple-content-narrow {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.simple-content-default {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.simple-content-wide {
    max-width: 100%;
}

.simple-content-body {
    font-size: 1rem;
    line-height: 1.8;
    color: #475569;
}

.simple-content-body h1,
.simple-content-body h2,
.simple-content-body h3,
.simple-content-body h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: #0f172a;
}

.simple-content-body p {
    margin-bottom: 1rem;
}

.simple-content-body ul,
.simple-content-body ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.simple-content-body a {
    color: #2ca6a9;
    text-decoration: underline;
}

.simple-content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.simple-content-dark .simple-content-body {
    color: #cbd5e1;
}

.simple-content-dark .simple-content-body h1,
.simple-content-dark .simple-content-body h2,
.simple-content-dark .simple-content-body h3,
.simple-content-dark .simple-content-body h4 {
    color: #ffffff;
}

/* ═══════════════════════════════════════════
   NAVBAR — Dynamic Color Extensions
   ═══════════════════════════════════════════ */

/* Active link uses hover color */
.nav-link.nav-link-active {
    color: var(--nav-link-hover-color, #2ca6a9) !important;
}

/* Dropdown toggle arrow adapts */
.main-navbar .dropdown-toggle::after {
    color: var(--nav-link-color, #2ca6a9);
}

/* Toggler border adapts to text color */
.navbar-text-light .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

/* Language dropdown adapts for light text */
.navbar-text-light .language-menu {
    background: #1e293b;
    border-color: #334155;
}

.navbar-text-light .language-menu .dropdown-item {
    color: #e2e8f0;
}

.navbar-text-light .language-menu .dropdown-item:hover {
    background: #334155;
}

.navbar-text-light .language-menu .dropdown-item.active {
    background: #2ca6a9;
    color: #fff;
}

/* ═══════════════════════════════════════════
   HERO — Split Layout (Left text + Right image)
   ═══════════════════════════════════════════ */
.hero-split {
    background-color: var(--light);
    text-align: left;
}

.hero-split .lead {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.hero-split-image {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.12);
}

/* Mobile: stack text above image */
@media (max-width: 992px) {
    .hero-split {
        padding: 6rem 0 3rem;
    }

    .hero-split-image {
        max-height: 320px;
        margin-top: 1rem;
    }
}