/********** MAOKA - Modern CSS **********/
:root {
    --primary: #6222CC;
    --primary-dark: #4a1a9e;
    --secondary: #22d3ee;
    --secondary-dark: #06b6d4;
    --bg-main: #070014;
    --bg-section: #0b021d;
    --bg-card: rgba(255, 255, 255, 0.06);
    --bg-card-strong: rgba(255, 255, 255, 0.10);
    --text-main: #ffffff;
    --text-heading: #ffffff;
    --text-body: #e5e7eb;
    --text-muted: #cbd5e1;
    --text-soft: #94a3b8;
    --accent-primary: #8b5cf6;
    --accent-cyan: #22d3ee;
    --accent-mint: #5eead4;
    --accent-blue: #38bdf8;
    --border-soft: rgba(255, 255, 255, 0.12);
    --border-glow: rgba(34, 211, 238, 0.35);
    --light: #F6F4F9;
    --dark: #04000B;
    --success: #10B981;
    --info: #3B82F6;
    --gradient-primary: linear-gradient(135deg, #6222CC 0%, #8B5CF6 100%);
    --gradient-secondary: linear-gradient(135deg, #22d3ee 0%, #8B5CF6 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);
    --font-body: 'Heebo', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --font-heading: 'Jost', 'Heebo', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}


/*** Global Styles ***/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    color: var(--text-body);
    background: #FFFFFF;
    overflow-x: hidden;
    line-height: 1.7;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.3;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

input, select, textarea, button {
    font-family: var(--font-body);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

.container-xxl {
    max-width: 1400px;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.back-to-top:hover {
    background: var(--secondary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}


/*** Typography ***/
h1, h2, .fw-bold {
    font-weight: 700 !important;
}

h3, h4, .fw-semi-bold {
    font-weight: 600 !important;
}

h5, h6, .fw-medium {
    font-weight: 500 !important;
}


/*** Buttons ***/
.btn {
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-primary {
    background: var(--gradient-primary);
    color: #FFFFFF !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #4a1a9e 0%, #7c3aed 100%);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--text-main) !important;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 100%);
}

.btn-light {
    background: #FFFFFF;
    color: var(--primary) !important;
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: #FFFFFF;
}

.btn-square {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.btn-square:hover {
    transform: scale(1.1);
}

.btn-sm-square {
    width: 35px;
    height: 35px;
}

.btn-lg-square {
    width: 55px;
    height: 55px;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f067";
    font-family: "Font Awesome 6 Free";
    font-size: 10px;
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 20px;
    padding: 35px 0;
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 500;
    color: var(--light) !important;
    outline: none;
    transition: all 0.3s ease;
}

.navbar-light .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 25px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover::after,
.navbar-light .navbar-nav .nav-link.active::after {
    width: 100%;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: rgba(255,255,255,.86) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--secondary) !important;
}

.navbar-light .navbar-brand h1 {
    display: inline-block;
    color: var(--secondary) !important;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 32px;
    letter-spacing: 1.5px;
    line-height: 1;
    margin: 0;
    padding: 10px 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 10px 24px rgba(42, 12, 98, 0.35);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
    transition: all 0.3s ease;
}

.navbar-light .navbar-brand h1.text-primary {
    color: var(--secondary) !important;
}

.sticky-top.navbar-light .navbar-brand h1 {
    color: var(--secondary) !important;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: 1px solid rgba(98, 34, 204, 0.2);
    box-shadow: 0 8px 20px rgba(58, 20, 120, 0.28);
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

/* Language Selector */
.language-selector .dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: 12px;
    padding: 8px 0;
    min-width: 160px;
}

.language-selector .dropdown-item {
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.language-selector .dropdown-item:hover {
    background: var(--light);
    color: var(--primary);
    padding-left: 25px;
}

.navbar-phone-btn {
    white-space: nowrap;
    border: 2px solid rgba(255, 255, 255, 0.2);
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: var(--shadow-md);
}

.navbar-phone-btn i {
    font-size: 14px;
}

.navbar-light .navbar-phone-btn {
    background: #FFFFFF;
    color: var(--primary) !important;
}

.navbar-light .navbar-phone-btn:hover {
    background: var(--secondary);
    color: var(--bg-main) !important;
    border-color: transparent;
}

.sticky-top.navbar-light .navbar-phone-btn {
    background: #FFFFFF;
    color: var(--primary) !important;
    border-color: rgba(98, 34, 204, 0.12);
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 12px 0;
        margin-left: 0;
        color: rgba(255,255,255,.86) !important;
    }

    .navbar-light .navbar-nav .nav-link::after {
        display: none;
    }

    .navbar-light .navbar-brand h1 {
        color: var(--secondary) !important;
        font-size: 28px;
        padding: 9px 14px;
        border-radius: 14px;
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
    
    .language-selector {
        margin-top: 15px;
    }

    /* Keep language dropdown fully inside mobile viewport */
    .language-selector .dropdown-menu {
        min-width: 150px;
        max-width: calc(100vw - 32px);
        overflow-x: hidden;
    }

    /* Override Bootstrap/Popper end alignment on small screens */
    .language-selector .dropdown-menu.dropdown-menu-end,
    .language-selector .dropdown-menu-end[data-bs-popper] {
        left: 0 !important;
        right: auto !important;
        inset: auto auto auto 0 !important;
        transform: translate3d(0, 0, 0) !important;
        margin-top: 8px;
    }

    .language-selector .dropdown-item {
        white-space: normal;
    }
}

@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, .1);
        z-index: 999;
    }

    .sticky-top.navbar-light {
        position: fixed;
        background: #FFFFFF;
        box-shadow: var(--shadow-md);
    }

    .sticky-top.navbar-light .navbar-brand h1 {
        color: var(--secondary) !important;
    }

    .navbar-light .navbar-nav .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-radius: 12px;
        box-shadow: var(--shadow-lg);
    }

    .navbar-light .navbar-nav .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        opacity: 1;
    }

    .navbar-light .btn {
        color: var(--text-main);
        background: #FFFFFF;
    }

    .sticky-top.navbar-light .btn {
        color: var(--text-main);
        background: var(--secondary);
    }
}


/*** Hero Header ***/
.hero-header {
    margin-bottom: 6rem;
    padding: 12rem 0 8rem 0;
    background:
        radial-gradient(circle at 10% 10%, rgba(98, 34, 204, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 90% 10%, rgba(251, 165, 4, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(98, 34, 204, 0.08) 0%, transparent 70%),
        linear-gradient(180deg, var(--primary) 0%, #4a1a9e 100%);
    position: relative;
    overflow: hidden;
}

.hero-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-header h1 {
    font-size: 3rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    line-height: 1.2;
}

.hero-header p {
    font-size: 1.1rem;
    opacity: 0.95;
}

@media (max-width: 768px) {
    .hero-header {
        padding: 10rem 0 6rem 0;
    }
    
    .hero-header h1 {
        font-size: 2rem;
    }
    
    .hero-header p {
        font-size: 1rem;
    }
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
}

.section-title span:first-child,
.section-title span:last-child {
    position: relative;
    display: inline-block;
    margin-right: 30px;
    width: 40px;
    height: 3px;
    border-radius: 2px;
}

.section-title span:last-child {
    margin-right: 0;
    margin-left: 30px;
}

.section-title span:first-child::after,
.section-title span:last-child::after {
    position: absolute;
    content: "";
    width: 20px;
    height: 3px;
    top: 0;
    right: -25px;
    opacity: 0.5;
}

.section-title span:last-child::after {
    right: auto;
    left: -25px;
}

.section-title.text-primary span:first-child,
.section-title.text-primary span:last-child,
.section-title.text-primary span:first-child::after,
.section-title.text-primary span:last-child::after {
    background: var(--primary);
}

.section-title.text-secondary span:first-child,
.section-title.text-secondary span:last-child,
.section-title.text-secondary span:first-child::after,
.section-title.text-secondary span:last-child::after {
    background: var(--secondary);
}

.section-title.text-white span:first-child,
.section-title.text-white span:last-child,
.section-title.text-white span:first-child::after,
.section-title.text-white span:last-child::after {
    background: #FFFFFF;
}


/*** Features ***/
.feature-item {
    background: var(--light);
    border-radius: 20px;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    height: 100%;
    padding: 40px 30px !important;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
    background: #FFFFFF;
}

.feature-item .icon-box {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    border-radius: 20px;
    transition: all 0.4s ease;
}

.feature-item:hover .icon-box {
    background: var(--gradient-primary);
    transform: scale(1.1) rotate(5deg);
}

.feature-item .icon-box i {
    transition: all 0.4s ease;
}

.feature-item:hover .icon-box i {
    color: #FFFFFF !important;
}

.feature-item h5 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-heading);
}

.feature-item p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0;
}


/*** About ***/
.skill {
    margin-bottom: 25px;
}

.skill .progress {
    height: 8px;
    border-radius: 10px;
    background: var(--light);
    overflow: visible;
}

.skill .progress-bar {
    background: var(--gradient-primary);
    border-radius: 10px;
    width: 0;
    transition: width 1.5s ease;
    position: relative;
}

.skill .progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 10px;
    height: 100%;
    background: rgba(255,255,255,0.3);
    border-radius: 10px;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(1000%); }
}


/*** Facts ***/
.fact {
    margin: 6rem 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(98, 34, 204, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(251, 165, 4, 0.15) 0%, transparent 40%),
        linear-gradient(135deg, var(--primary) 0%, #4a1a9e 100%);
    position: relative;
    overflow: hidden;
}

.fact::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    animation: rotate 60s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.fact .fact-item {
    position: relative;
    z-index: 1;
}

.fact i {
    transition: all 0.4s ease;
}

.fact-item:hover i {
    transform: scale(1.2) rotate(10deg);
    color: var(--secondary) !important;
}


/*** Services ***/
.service-item {
    position: relative;
    padding: 50px 30px;
    background: var(--light);
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.service-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(98, 34, 204, 0.2);
    background: #FFFFFF;
}

.service-item .service-icon {
    margin: 0 auto 25px auto;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--gradient-primary);
    border-radius: 25px;
    font-size: 32px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(98, 34, 204, 0.3);
}

.service-item:hover .service-icon {
    background: var(--gradient-secondary);
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 10px 30px rgba(251, 165, 4, 0.4);
}

.service-item h5 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    color: var(--text-heading);
}

.service-item p {
    color: var(--text-muted);
    margin-bottom: 20px;
    transition: all 0.3s ease;
    flex-grow: 1;
    line-height: 1.7;
}

.service-item a.btn {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 50%;
    transition: all 0.4s ease;
    z-index: 1;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.service-item:hover a.btn {
    bottom: 15px;
    background: var(--primary);
    color: #FFFFFF;
}

.service-item a.btn:hover {
    background: var(--secondary);
    color: var(--bg-main);
}


/*** Portfolio ***/
#portfolio-flters {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

#portfolio-flters li {
    padding: 14px 28px;
    font-weight: 600;
    color: var(--text-body);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 30px;
    background: var(--light);
    border: 2px solid transparent;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 5px 20px rgba(98, 34, 204, 0.4);
    transform: translateY(-3px);
}

.portfolio-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    background: #FFFFFF;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.portfolio-item .portfolio-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-item:hover img {
    transform: scale(1.15);
}

.portfolio-item .portfolio-overlay {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(98, 34, 204, 0.95) 0%, rgba(139, 92, 246, 0.95) 100%);
    transition: all 0.4s ease;
    opacity: 0;
    visibility: hidden;
}

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

.portfolio-item .portfolio-overlay .btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    color: var(--primary);
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translateY(20px);
}

.portfolio-item:hover .portfolio-overlay .btn {
    transform: translateY(0);
}

.portfolio-item .portfolio-overlay .btn:hover {
    background: var(--secondary);
    color: var(--text-main);
}

.portfolio-item .bg-light {
    padding: 25px;
    background: #FFFFFF !important;
    border-top: 3px solid var(--primary);
}

.portfolio-item .bg-light p {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px !important;
}

.portfolio-item .bg-light h5 {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 0;
}


/*** Testimonials ***/
.testimonial-carousel {
    position: relative;
}

.testimonial-carousel .testimonial-item {
    padding: 0 20px 30px 20px;
}

.testimonial-carousel .testimonial-text {
    background: var(--light);
    border-radius: 25px;
    padding: 40px 30px;
    position: relative;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.testimonial-carousel .testimonial-item:hover .testimonial-text {
    background: #FFFFFF;
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.testimonial-carousel .testimonial-text::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 80px;
    color: var(--primary);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-carousel .testimonial-item img {
    border: 4px solid var(--primary);
    padding: 5px;
    background: #FFFFFF;
    border-radius: 50%;
}

.testimonial-carousel .owl-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 15px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 50%;
    font-size: 22px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    background: var(--gradient-primary);
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}


/*** Newsletter / CTA ***/
.newsletter,
.container-xxl.bg-primary.newsletter {
    margin: 6rem 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(98, 34, 204, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(251, 165, 4, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, var(--primary) 0%, #4a1a9e 100%);
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='2' fill='%23ffffff' fill-opacity='0.1'/%3E%3C/svg%3E") repeat;
    background-size: 50px 50px;
}

.newsletter .section-title.text-white span:first-child,
.newsletter .section-title.text-white span:last-child,
.newsletter .section-title.text-white span:first-child::after,
.newsletter .section-title.text-white span:last-child::after {
    background: #FFFFFF;
}


/*** Contact Form ***/
.form-control,
.form-select {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(98, 34, 204, 0.1);
    outline: none;
}

.form-floating label {
    color: #999;
}

.form-control:focus + label,
.form-control:not(:placeholder-shown) + label,
.form-select:focus + label,
.form-select:not([value=""]):valid + label {
    color: var(--primary);
}


/*** Footer ***/
.footer {
    margin-top: 6rem;
    padding-top: 5rem;
    background:
        radial-gradient(circle at 50% 0%, rgba(98, 34, 204, 0.3) 0%, transparent 50%),
        linear-gradient(180deg, var(--primary) 0%, #3a1478 100%);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.footer .btn.btn-social {
    margin-right: 8px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 2px solid rgba(255, 255, 255, .15);
    border-radius: 50%;
    transition: all 0.3s ease;
    background: transparent;
}

.footer .btn.btn-social:hover {
    color: #FFFFFF;
    background: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-5px) scale(1.1);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 12px;
    padding: 8px 0;
    text-align: left;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: all 0.3s ease;
    background: none !important;
    border: none;
}

.footer .btn.btn-link:hover {
    color: var(--secondary);
    padding-left: 10px;
}

.footer .btn.btn-link::before {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 10px;
    margin-right: 12px;
    color: var(--secondary);
}

.footer h4 {
    font-weight: 700;
    margin-bottom: 25px;
    color: #FFFFFF;
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.15);
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--secondary);
}


/*** Animations ***/
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(98, 34, 204, 0.3); }
    50% { box-shadow: 0 0 40px rgba(98, 34, 204, 0.6); }
}

.wow {
    visibility: hidden;
}

.animated {
    animation-duration: 1s;
}

@keyframes slideInDown {
    from {
        transform: translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}


/*** Responsive ***/
@media (max-width: 768px) {
    .g-5,
    .gx-5 {
        --bs-gutter-x: 1.5rem;
    }

    .hero-header h1 {
        font-size: 28px;
    }
    
    .hero-header p {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 12px;
    }
    
    .service-item {
        padding: 35px 20px;
    }
    
    .fact h1 {
        font-size: 32px;
    }

    .hero-zone-card {
        padding: 14px;
    }

    .hero-zone-card li {
        font-size: 14px;
    }

    .process-step-card {
        min-height: auto;
    }
}


/*** Utility Classes ***/
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-custom {
    box-shadow: var(--shadow-lg);
}

.rounded-custom {
    border-radius: 20px;
}

.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.icon-circle {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #FFFFFF;
}

/* Language flag icons */
.flag-icon {
    font-size: 18px;
    margin-right: 5px;
}

/* Contact info cards */
.contact-info-card {
    background: #FFFFFF;
    border-radius: 15px;
    padding: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}


/* ============ Service Detail Page Styles ============ */

/* Common service detail page classes */
.service-detail {
    padding: 60px 0;
}

.service-detail h2 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 25px;
}

.service-detail h3 {
    color: var(--text-heading);
    font-weight: 600;
    margin-top: 35px;
    margin-bottom: 20px;
}

.service-detail p {
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-detail ul {
    margin-bottom: 25px;
    padding-left: 25px;
}

.service-detail ul li {
    margin-bottom: 12px;
    color: var(--text-body);
}

.highlight-box {
    background: var(--light);
    border-left: 4px solid var(--primary);
    padding: 30px;
    margin: 35px 0;
    border-radius: 0 15px 15px 0;
}

.highlight-box h4 {
    color: var(--primary);
    margin-bottom: 15px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.benefit-item {
    background: #FFFFFF;
    border: 2px solid var(--light);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(98, 34, 204, 0.15);
    transform: translateY(-5px);
}

.benefit-item i {
    color: var(--primary);
    font-size: 42px;
    margin-bottom: 20px;
}

.benefit-item h4 {
    color: var(--text-heading);
    margin-bottom: 12px;
}

.cta-box {
    background: var(--gradient-primary);
    color: #FFFFFF;
    padding: 60px;
    border-radius: 25px;
    text-align: center;
    margin: 50px 0;
}

.cta-box h2 {
    color: #FFFFFF;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 18px;
}

.faq-item {
    background: #FFFFFF;
    border: 2px solid var(--light);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 20px;
}

.faq-item h4 {
    color: var(--primary);
    margin-bottom: 15px;
}

.process-steps {
    margin: 40px 0;
}

.process-steps .process-step {
    display: flex;
    margin-bottom: 30px;
}

.process-step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
    margin-right: 20px;
}

.process-step-content h4 {
    margin-bottom: 10px;
    color: var(--primary);
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.service-list-item {
    background: #FFFFFF;
    border: 2px solid var(--light);
    border-radius: 15px;
    padding: 25px;
}

.service-list-item i {
    color: var(--primary);
    font-size: 28px;
    margin-bottom: 15px;
}

.service-list-item h4 {
    color: var(--text-heading);
    margin-bottom: 12px;
}

.service-list-item p {
    color: var(--text-muted);
    font-size: 15px;
    margin: 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.service-grid-item {
    background: #FFFFFF;
    border: 2px solid var(--light);
    border-radius: 15px;
    padding: 30px;
}

.service-grid-item i {
    color: var(--primary);
    font-size: 32px;
    margin-bottom: 15px;
}

.service-grid-item h4 {
    color: var(--text-heading);
    margin-bottom: 12px;
}

.service-grid-item p {
    color: var(--text-muted);
    margin: 0;
}

.price-info {
    background: var(--light);
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
}

/* Shared service cards */
.prep-service-box,
.electrical-service-box,
.finishing-service-box,
.painting-service-box,
.glass-service-box,
.handyman-service-box,
.repair-service-box {
    background: #FFFFFF;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid var(--light);
}

.prep-service-box:hover,
.electrical-service-box:hover,
.finishing-service-box:hover,
.painting-service-box:hover,
.glass-service-box:hover,
.handyman-service-box:hover,
.repair-service-box:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(98, 34, 204, 0.15);
    transform: translateY(-5px);
}

.prep-icon,
.electrical-icon,
.finishing-icon,
.painting-icon,
.glass-icon,
.handyman-icon,
.repair-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.prep-icon i,
.electrical-icon i,
.finishing-icon i,
.painting-icon i,
.glass-icon i,
.handyman-icon i,
.repair-icon i {
    color: #FFFFFF;
    font-size: 32px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list li i {
    color: var(--success);
}

/* Service car prep */
.pricing-table {
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.pricing-header {
    background: var(--gradient-primary);
    color: #FFFFFF;
    padding: 30px;
    text-align: center;
}

.pricing-body {
    padding: 30px;
}

.pricing-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-body ul li {
    padding: 12px 0;
    border-bottom: 1px solid var(--light);
}

.pricing-body ul li:last-child {
    border-bottom: none;
}

.pricing-body ul li i {
    color: var(--success);
    margin-right: 10px;
}

.pricing-table .price-amount {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
}

/* Service design */
.design-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.design-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.design-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.design-item:hover img {
    transform: scale(1.1);
}

.design-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px;
    color: #FFFFFF;
}

.material-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--light);
    height: 100%;
}

.material-card:hover {
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(98, 34, 204, 0.15);
    transform: translateY(-5px);
}

.material-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px auto;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.material-icon i {
    color: #FFFFFF;
    font-size: 40px;
}

.row.g-4.justify-content-center .col-lg-8 > .process-step {
    position: relative;
    padding-left: 80px;
    margin-bottom: 40px;
}

.row.g-4.justify-content-center .col-lg-8 > .process-step .process-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 24px;
    font-weight: 700;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: #FFFFFF;
}

/* Service electrical */
.safety-badge {
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    color: #FFFFFF;
    padding: 15px 25px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    margin: 10px 5px;
}

/* Service finishing */
.warranty-badge {
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    color: #FFFFFF;
    padding: 20px 30px;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    font-size: 18px;
    margin: 15px 5px;
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

.warranty-badge i {
    font-size: 24px;
}

.material-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.material-item {
    text-align: center;
    padding: 20px;
    background: #F8F9FA;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.material-item:hover {
    background: var(--primary);
    color: #FFFFFF;
    transform: translateY(-3px);
}

.material-item i {
    font-size: 32px;
    margin-bottom: 10px;
    color: var(--primary);
}

.material-item:hover i {
    color: #FFFFFF;
}

/* Service painting */
.color-palette {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 0;
}

.color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid #FFFFFF;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.quality-badge {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-block;
    font-weight: 600;
    margin: 5px;
}

/* Service glass */
.glass-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.glass-type-item {
    background: linear-gradient(135deg, rgba(98, 34, 204, 0.1) 0%, rgba(251, 165, 4, 0.1) 100%);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.glass-type-item:hover {
    background: var(--gradient-primary);
    transform: scale(1.05);
}

.glass-type-item:hover h5,
.glass-type-item:hover p,
.glass-type-item:hover i {
    color: #FFFFFF;
}

.glass-type-item i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.glass-type-item h5 {
    color: var(--text-heading);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.glass-type-item p {
    color: var(--text-muted);
    margin: 0;
    font-size: 14px;
    transition: color 0.3s ease;
}

/* Service handyman */
.quick-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.quick-service-item {
    background: linear-gradient(135deg, rgba(98, 34, 204, 0.08) 0%, rgba(251, 165, 4, 0.08) 100%);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(98, 34, 204, 0.1);
}

.quick-service-item:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px);
    border-color: transparent;
}

.quick-service-item:hover h6,
.quick-service-item:hover i {
    color: #FFFFFF;
}

.quick-service-item i {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.quick-service-item h6 {
    color: var(--text-heading);
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.emergency-banner {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: #FFFFFF;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    margin: 40px 0;
}

.emergency-banner i {
    font-size: 48px;
    margin-bottom: 15px;
    animation: pulse 2s infinite;
}

.pricing-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    border: 2px solid var(--light);
    transition: all 0.3s ease;
    height: 100%;
}

.pricing-card:hover {
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(98, 34, 204, 0.15);
}

.pricing-card.featured {
    background: var(--gradient-primary);
    color: #FFFFFF;
    border-color: transparent;
}

.pricing-card.featured .price-amount,
.pricing-card.featured h5,
.pricing-card.featured li {
    color: #FFFFFF;
}

.pricing-card.featured .feature-list li i {
    color: #FFFFFF;
}

.pricing-card .price-amount {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
    margin: 15px 0;
}

.pricing-card .price-amount span {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-card.featured .price-amount span {
    color: rgba(255, 255, 255, 0.8);
}

/* Service mini repair */
.repair-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.repair-category {
    background: linear-gradient(135deg, rgba(98, 34, 204, 0.08) 0%, rgba(251, 165, 4, 0.08) 100%);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(98, 34, 204, 0.1);
}

.repair-category:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px);
    border-color: transparent;
}

.repair-category:hover h5,
.repair-category:hover p,
.repair-category:hover i {
    color: #FFFFFF;
}

.repair-category i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.repair-category h5 {
    color: var(--text-heading);
    margin-bottom: 10px;
    font-size: 18px;
    transition: color 0.3s ease;
}

.repair-category p {
    color: var(--text-muted);
    margin: 0;
    font-size: 14px;
    transition: color 0.3s ease;
}

.urgent-banner {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: #FFFFFF;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    margin: 30px 0;
}

.urgent-banner i {
    font-size: 36px;
    margin-bottom: 10px;
}

.pricing-table-modern {
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.pricing-table-modern thead {
    background: var(--gradient-primary);
    color: #FFFFFF;
}

.pricing-table-modern th {
    padding: 20px;
    font-weight: 600;
    text-align: left;
}

.pricing-table-modern td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--light);
}

.pricing-table-modern tr:hover {
    background: rgba(98, 34, 204, 0.05);
}

.pricing-table-modern tr:last-child td {
    border-bottom: none;
}

.price-badge {
    display: inline-block;
    background: var(--success);
    color: #FFFFFF;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}


/* ============ Index Page Styles ============ */

.ai-badge {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #FFFFFF;
    padding: 8px 20px;
    border-radius: 30px;
    display: inline-block;
    font-weight: 600;
    margin-bottom: 20px;
    animation: ai-badge-pulse 2s infinite;
}

.hero-zone-grid {
    max-width: 700px;
}

.hero-zone-card {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    padding: 16px 18px;
    backdrop-filter: blur(8px);
}

.zone-label {
    color: var(--secondary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-zone-card ul {
    list-style: none;
    padding-left: 0;
}

.hero-zone-card li {
    color: #FFFFFF;
    font-size: 15px;
    margin-bottom: 6px;
    position: relative;
    padding-left: 18px;
}

.hero-zone-card li::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--secondary);
    position: absolute;
    left: 0;
    top: 10px;
}

.hero-zone-card li:last-child {
    margin-bottom: 0;
}

.service-item h5,
.tech-feature h4,
.process-step-card h5,
.contact-info-card h5 {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.service-scope-pill {
    display: inline-block;
    margin: 0 auto 12px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(98, 34, 204, 0.1);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ai-feature {
    min-height: 100%;
}

@keyframes ai-badge-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(98, 34, 204, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(98, 34, 204, 0); }
}

.tech-feature {
    background: #FFFFFF;
    border: 2px solid var(--light);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.tech-feature:hover {
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(98, 34, 204, 0.15);
    transform: translateY(-5px);
}

.tech-feature i {
    font-size: 40px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.tech-feature h4 {
    color: var(--text-heading);
    margin-bottom: 12px;
    font-weight: 600;
}

.tech-feature p {
    color: var(--text-muted);
    margin: 0;
    line-height: 1.7;
}

.innovation-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    margin: 60px 0;
}

.innovation-section h2 {
    color: #FFFFFF;
}

.innovation-section p {
    color: rgba(255, 255, 255, 0.9);
}

.stats-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.stat-modern {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.stat-modern h3 {
    font-size: 48px;
    color: var(--secondary);
    margin: 0;
    font-weight: 800;
}

.stat-modern p {
    color: rgba(255, 255, 255, 0.9);
    margin: 10px 0 0 0;
    font-weight: 600;
}

.comparison-table {
    width: 100%;
    margin: 40px 0;
    border-collapse: collapse;
}

.comparison-table th {
    background: var(--primary);
    color: #FFFFFF;
    padding: 20px;
    text-align: left;
}

.comparison-table td {
    padding: 20px;
    border-bottom: 1px solid var(--light);
}

.comparison-table tr:hover {
    background: var(--light);
}

.process-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 18px;
}

.process-step-card {
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 18px;
    padding: 24px 18px;
    min-height: 210px;
    position: relative;
}

.process-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--bg-main);
    font-weight: 700;
    margin-bottom: 14px;
}

.process-step-card h5 {
    color: #FFFFFF;
    margin-bottom: 8px;
}

.process-step-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    font-size: 15px;
}

.check {
    color: var(--success);
    font-weight: bold;
}

.cross {
    color: #EF4444;
    font-weight: bold;
}

.navbar-light .navbar-brand h1.brand-badge {
    color: var(--secondary) !important;
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: 1.2px;
    margin: 0;
    padding: 10px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 8px 22px rgba(42, 12, 98, 0.34);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
}

.sticky-top.navbar-light .navbar-brand h1.brand-badge {
    color: var(--secondary) !important;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-brand h1.brand-badge {
        font-size: 28px;
        padding: 9px 14px;
    }
}


/* ============ About Page Styles ============ */

.about-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 100px 0;
    margin-bottom: 60px;
}

.mission-box {
    background: var(--light);
    border-radius: 25px;
    padding: 50px;
    margin: 50px 0;
    text-align: center;
}

.mission-box h3 {
    color: var(--primary);
    font-size: 32px;
    margin-bottom: 20px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.team-member {
    text-align: center;
    padding: 30px;
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.team-member .avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient-primary);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #FFFFFF;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 50px 0;
}

.value-item {
    background: #FFFFFF;
    border: 2px solid var(--light);
    border-radius: 20px;
    padding: 35px;
    transition: all 0.3s ease;
}

.value-item:hover {
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(98, 34, 204, 0.15);
    transform: translateY(-5px);
}

.value-item i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.timeline {
    position: relative;
    padding: 50px 0;
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.timeline-year {
    min-width: 120px;
    font-weight: 700;
    color: var(--primary);
    font-size: 20px;
}

.timeline-content {
    flex: 1;
    padding-left: 30px;
    border-left: 3px solid var(--primary);
}

.timeline-content h4 {
    color: var(--text-heading);
    margin-bottom: 10px;
}

/* ============ Skip Navigation ============ */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: #fff;
    padding: 8px 16px;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
    color: #fff;
}

/* ============ Global Keyboard Focus Visibility ============ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible,
.navbar-toggler:focus-visible,
.dropdown-toggle:focus-visible {
    outline: 3px solid var(--secondary);
    outline-offset: 2px;
}

@media (max-width: 430px) {
    .hero-header {
        padding: 8rem 0 4.5rem 0;
        margin-bottom: 3rem;
    }

    .hero-header h1 {
        font-size: 1.65rem;
        line-height: 1.25;
    }

    .hero-header img {
        height: 280px !important;
    }

    .hero-header .btn,
    .newsletter .btn {
        width: 100%;
        max-width: 100%;
    }

    .hero-header .btn.me-3 {
        margin-right: 0 !important;
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 360px) {
    .navbar-light .navbar-nav .nav-link {
        font-size: 15px;
    }

    .hero-header h1 {
        font-size: 1.5rem;
    }

    .hero-header p {
        font-size: 0.95rem;
    }
}


/* MAOKA AI PLATFORM REDESIGN */
:root {
  --primary: #8b5cf6;
  --secondary: #22d3ee;
  --dark: #090018;
  --bg-main: #070014;
  --bg-section: #0b021d;
  --bg-card: rgba(255, 255, 255, 0.06);
  --bg-card-strong: rgba(255, 255, 255, 0.10);
  --text-main: #ffffff;
  --text-heading: #ffffff;
  --text-body: #e5e7eb;
  --text-muted: #cbd5e1;
  --text-soft: #94a3b8;
  --accent-primary: #8b5cf6;
  --accent-cyan: #22d3ee;
  --accent-mint: #5eead4;
  --accent-blue: #38bdf8;
  --border-soft: rgba(255, 255, 255, 0.12);
  --border-glow: rgba(34, 211, 238, 0.35);
  --ai-deep: #12002f;
  --ai-card: rgba(255,255,255,.06);
  --ai-border: rgba(255,255,255,.14);
  --ai-muted: #a1a1aa;
}
body { background: #090018; }
.container-xxl.bg-white { background: linear-gradient(180deg,#090018 0%,#12002f 28%,#180047 56%,#090018 100%) !important; color: #e5e7eb; }
.navbar { background: rgba(9,0,24,.72) !important; backdrop-filter: blur(18px); border-bottom: 1px solid rgba(255,255,255,.12); }
.navbar-light .navbar-nav .nav-link { color: rgba(255,255,255,.82) !important; }
.navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link:hover { color: #22d3ee !important; text-shadow: 0 0 18px rgba(34,211,238,.55); }
.btn-secondary, .btn-primary { border: 1px solid rgba(34,211,238,.45) !important; background: linear-gradient(135deg,#8b5cf6,#06b6d4) !important; color: #fff !important; box-shadow: 0 12px 36px rgba(34,211,238,.22); }
.btn-light { background: rgba(255,255,255,.09) !important; color: #fff !important; border: 1px solid rgba(255,255,255,.18) !important; }
.text-secondary, .section-title { color: #22d3ee !important; }
.bg-primary, .hero-header, .newsletter { background: radial-gradient(circle at 20% 20%,rgba(124,58,237,.42),transparent 32%), radial-gradient(circle at 80% 25%,rgba(34,211,238,.26),transparent 34%), linear-gradient(135deg,#090018,#12002f 46%,#180047) !important; }
.bg-light { background: rgba(255,255,255,.035) !important; }
.text-muted { color: #a1a1aa !important; }
.service-item, .tech-feature, .hero-zone-card, .ai-assistant-card, .ai-service-card, .ai-contact-form {
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  box-shadow: 0 24px 70px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
  color: #e5e7eb !important;
}
.service-item p, .tech-feature p, .ai-service-card span, .ai-assistant-card p { color: #d6d3e8 !important; }
.service-icon, .tech-feature i, .ai-assistant-card i, .ai-service-card i { color: #22d3ee !important; filter: drop-shadow(0 0 14px rgba(34,211,238,.45)); }
.ai-hero { position: relative; overflow: hidden; padding: 165px 0 95px; min-height: 720px; display: flex; align-items: center; }
.ai-subhero { min-height: 520px; }
.ai-grid-bg, .hero-header::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(34,211,238,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(139,92,246,.16) 1px, transparent 1px);
  background-size: 54px 54px; mask-image: radial-gradient(circle at center, black, transparent 78%);
  animation: aiGridMove 18s linear infinite;
}
@keyframes aiGridMove { from { background-position: 0 0; } to { background-position: 108px 54px; } }
.ai-badge { display: inline-flex; color: #22d3ee; border: 1px solid rgba(34,211,238,.35); background: rgba(34,211,238,.08); border-radius: 999px; padding: .45rem .8rem; letter-spacing: .08em; font-weight: 700; }
.hero-header h1, .ai-hero h1 { font-size: clamp(2.3rem, 4.5vw, 5.5rem); line-height: 1.02; color: #fff; }
.ai-hero-lead { font-size: 1.18rem; color: #dbeafe; max-width: 780px; }
.ai-dashboard-visual { position: relative; min-height: 420px; border: 1px solid rgba(255,255,255,.14); border-radius: 24px; background: radial-gradient(circle at 50% 50%,rgba(34,211,238,.2),transparent 32%), rgba(255,255,255,.05); box-shadow: 0 0 60px rgba(34,211,238,.24); overflow: hidden; }
.ai-dashboard-orbit { position: absolute; inset: 55px; border: 1px solid rgba(34,211,238,.42); border-radius: 50%; animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ai-dashboard-core { position: absolute; inset: 50%; transform: translate(-50%,-50%); width: 160px; height: 160px; border-radius: 50%; display: grid; place-items: center; text-align: center; color: #fff; background: linear-gradient(135deg,#7c3aed,#06b6d4); box-shadow: 0 0 48px rgba(34,211,238,.52); font-weight: 800; }
.ai-dashboard-card { position: absolute; padding: 1rem; border-radius: 16px; background: rgba(9,0,24,.78); border: 1px solid rgba(255,255,255,.14); color: #fff; min-width: 150px; }
.ai-dashboard-card span { color: #22d3ee; display: block; font-size: .82rem; }
.card-a { top: 42px; left: 32px; } .card-b { right: 32px; top: 145px; } .card-c { left: 58px; bottom: 48px; }
.ai-assistant-card, .ai-service-card { padding: 1.6rem; border-radius: 18px; text-decoration: none; transition: transform .25s ease, border-color .25s ease; }
.ai-assistant-card:hover, .ai-service-card:hover { transform: translateY(-6px); border-color: rgba(34,211,238,.48) !important; }
.ai-modal-content { background: #100025 !important; color: #fff; border: 1px solid rgba(34,211,238,.28); }
.ai-result { background: rgba(34,211,238,.08); border: 1px solid rgba(34,211,238,.24); border-radius: 16px; padding: 1rem; }
.ai-orb-panel { min-height: 280px; display: grid; place-items: center; text-align: center; border-radius: 28px; background: radial-gradient(circle,rgba(34,211,238,.22),rgba(255,255,255,.06)); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 0 70px rgba(34,211,238,.22); }
.ai-orb-panel span { font-size: 4rem; font-weight: 800; color: #22d3ee; }
.form-control, .form-select { background: rgba(255,255,255,.08) !important; color: #fff !important; border-color: rgba(255,255,255,.18) !important; }
.form-control::placeholder { color: rgba(255,255,255,.55); }
@media (max-width: 991px) { .ai-hero { min-height: auto; padding: 120px 0 70px; } .ai-dashboard-visual { min-height: 340px; } .navbar-collapse { background: rgba(9,0,24,.96); padding: 1rem; border-radius: 16px; margin-top: 1rem; } }

/* MAOKA COLOR CONTRAST FIX */
body {
  color: var(--text-body);
}

.container-xxl.bg-white,
.ai-platform-page,
.ai-section,
.hero-header,
.newsletter,
.innovation-section,
.process-section,
footer.footer {
  color: var(--text-body);
}

.container-xxl.bg-white h1,
.container-xxl.bg-white h2,
.container-xxl.bg-white h3,
.container-xxl.bg-white h4,
.container-xxl.bg-white h5,
.container-xxl.bg-white h6,
.container-xxl.bg-white .h1,
.container-xxl.bg-white .h2,
.container-xxl.bg-white .h3,
.container-xxl.bg-white .h4,
.container-xxl.bg-white .h5,
.container-xxl.bg-white .h6,
.ai-modal-content h1,
.ai-modal-content h2,
.ai-modal-content h3,
.ai-modal-content h4,
.ai-modal-content h5,
.ai-modal-content h6 {
  color: var(--text-heading);
}

.container-xxl.bg-white p,
.container-xxl.bg-white li,
.container-xxl.bg-white span:not(.flag-icon):not(.process-index):not(.badge),
.container-xxl.bg-white small,
.container-xxl.bg-white label,
.ai-modal-content p,
.ai-modal-content li,
.ai-modal-content label,
.ai-modal-content small {
  color: var(--text-body);
}

.text-muted,
.section-subtitle,
.muted,
.description,
.card-description,
.service-description,
.footer-text,
.ai-description,
.service-item .mb-3,
.tech-feature p,
.process-step-card p,
.stat-modern p,
.footer p,
.footer a,
.ai-service-card span,
.ai-assistant-card p {
  color: var(--text-muted) !important;
}

.section-label,
.eyebrow,
.kicker,
.accent-text,
.section-title,
.service-scope-pill,
.zone-label,
.ai-badge,
.badge.bg-warning,
.badge.text-dark {
  color: var(--accent-cyan) !important;
}

.service-item .h5,
.service-item h5,
.service-item h4,
.tech-feature .h4,
.tech-feature h4,
.ai-assistant-card .h5,
.ai-service-card .h5,
.process-step-card .h5,
.process-step-card h5,
.stat-modern .h3,
.stat-modern h3 {
  color: var(--text-heading) !important;
}

.badge.bg-warning,
.bg-warning {
  background: rgba(34, 211, 238, 0.12) !important;
  border: 1px solid var(--border-glow);
}

.ai-status-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--accent-cyan) !important;
  background: rgba(34, 211, 238, 0.12) !important;
  border: 1px solid var(--border-glow);
  border-radius: 999px;
  padding: .35rem .65rem;
}

.text-dark,
.text-black {
  color: var(--text-body) !important;
}

.btn-light .text-dark,
.btn-light .text-black,
.btn-light,
.navbar-phone-btn {
  color: var(--text-heading) !important;
}

.btn-secondary,
.btn-primary {
  color: var(--text-main) !important;
}

.btn-outline-primary {
  color: var(--accent-cyan);
  border-color: var(--border-glow);
}

.btn-outline-primary:hover {
  color: var(--text-main);
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-cyan));
}

.form-label,
.form-check-label,
.ai-contact-form label {
  color: var(--text-body) !important;
}

.form-control,
.form-select,
.ai-contact-form .form-control,
.ai-contact-form .form-select,
.ai-modal-content .form-control {
  color: var(--text-main) !important;
  background-color: rgba(255,255,255,.08) !important;
  border-color: var(--border-soft) !important;
}

.form-control::placeholder,
textarea::placeholder,
input::placeholder {
  color: var(--text-soft) !important;
  opacity: 1;
}

.form-select option {
  color: #0b021d;
  background: #ffffff;
}

.ai-dashboard-card strong,
.ai-dashboard-core,
.ai-dashboard-core small {
  color: var(--text-main);
}

.ai-dashboard-card span,
.ai-orb-panel small {
  color: var(--accent-cyan);
}

.footer .btn.btn-link {
  color: var(--text-muted) !important;
}

.footer .btn.btn-link:hover,
.footer a:hover {
  color: var(--accent-mint) !important;
}

.navbar-light .navbar-nav .nav-link,
.sticky-top.navbar-light .navbar-nav .nav-link {
  color: rgba(255,255,255,.86) !important;
}

.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link:hover,
.sticky-top.navbar-light .navbar-nav .nav-link.active,
.sticky-top.navbar-light .navbar-nav .nav-link:hover {
  color: var(--accent-cyan) !important;
}

/* Final dark-surface readability pass: keep legacy Bootstrap sections dark and readable. */
.container-xxl.bg-white .feature-item,
.container-xxl.bg-white .service-item,
.container-xxl.bg-white .quick-service-item,
.container-xxl.bg-white .portfolio-item,
.container-xxl.bg-white .testimonial-item,
.container-xxl.bg-white .team-item,
.container-xxl.bg-white .accordion-item,
.container-xxl.bg-white .card,
.container-xxl.bg-white .bg-white,
.container-xxl.bg-white .bg-light {
  background-color: var(--bg-card) !important;
  color: var(--text-body) !important;
  border-color: var(--border-soft) !important;
}

.container-xxl.bg-white .feature-item h1,
.container-xxl.bg-white .feature-item h2,
.container-xxl.bg-white .feature-item h3,
.container-xxl.bg-white .feature-item h4,
.container-xxl.bg-white .feature-item h5,
.container-xxl.bg-white .feature-item h6,
.container-xxl.bg-white .service-item h1,
.container-xxl.bg-white .service-item h2,
.container-xxl.bg-white .service-item h3,
.container-xxl.bg-white .service-item h4,
.container-xxl.bg-white .service-item h5,
.container-xxl.bg-white .service-item h6,
.container-xxl.bg-white .quick-service-item h1,
.container-xxl.bg-white .quick-service-item h2,
.container-xxl.bg-white .quick-service-item h3,
.container-xxl.bg-white .quick-service-item h4,
.container-xxl.bg-white .quick-service-item h5,
.container-xxl.bg-white .quick-service-item h6,
.container-xxl.bg-white .portfolio-item h1,
.container-xxl.bg-white .portfolio-item h2,
.container-xxl.bg-white .portfolio-item h3,
.container-xxl.bg-white .portfolio-item h4,
.container-xxl.bg-white .portfolio-item h5,
.container-xxl.bg-white .portfolio-item h6,
.container-xxl.bg-white .testimonial-item h1,
.container-xxl.bg-white .testimonial-item h2,
.container-xxl.bg-white .testimonial-item h3,
.container-xxl.bg-white .testimonial-item h4,
.container-xxl.bg-white .testimonial-item h5,
.container-xxl.bg-white .testimonial-item h6,
.container-xxl.bg-white .team-item h1,
.container-xxl.bg-white .team-item h2,
.container-xxl.bg-white .team-item h3,
.container-xxl.bg-white .team-item h4,
.container-xxl.bg-white .team-item h5,
.container-xxl.bg-white .team-item h6,
.container-xxl.bg-white .accordion-button,
.container-xxl.bg-white .accordion-header,
.container-xxl.bg-white .card-title,
.container-xxl.bg-white .modal-title,
.container-xxl.bg-white .title,
.container-xxl.bg-white .text-dark,
.container-xxl.bg-white .text-black {
  color: var(--text-heading) !important;
}

.container-xxl.bg-white .feature-item p,
.container-xxl.bg-white .feature-item li,
.container-xxl.bg-white .feature-item span,
.container-xxl.bg-white .service-item p,
.container-xxl.bg-white .service-item li,
.container-xxl.bg-white .service-item span,
.container-xxl.bg-white .quick-service-item p,
.container-xxl.bg-white .quick-service-item li,
.container-xxl.bg-white .quick-service-item span,
.container-xxl.bg-white .portfolio-item p,
.container-xxl.bg-white .portfolio-item li,
.container-xxl.bg-white .portfolio-item span,
.container-xxl.bg-white .testimonial-item p,
.container-xxl.bg-white .testimonial-item li,
.container-xxl.bg-white .testimonial-item span,
.container-xxl.bg-white .team-item p,
.container-xxl.bg-white .team-item li,
.container-xxl.bg-white .team-item span,
.container-xxl.bg-white .accordion-body,
.container-xxl.bg-white .card-text,
.container-xxl.bg-white .lead {
  color: var(--text-body) !important;
}

.container-xxl.bg-white .text-muted,
.container-xxl.bg-white .small,
.container-xxl.bg-white small,
.container-xxl.bg-white .subtitle,
.container-xxl.bg-white .caption {
  color: var(--text-muted) !important;
}

.container-xxl.bg-white a:not(.btn):not(.nav-link):not(.dropdown-item) {
  color: var(--accent-cyan) !important;
}

.container-xxl.bg-white a:not(.btn):not(.nav-link):not(.dropdown-item):hover {
  color: var(--accent-mint) !important;
}

.container-xxl.bg-white .accordion-button,
.container-xxl.bg-white .accordion-button:not(.collapsed),
.container-xxl.bg-white .accordion-body {
  background: rgba(255,255,255,.06) !important;
}

.container-xxl.bg-white .accordion-button::after {
  filter: invert(1) brightness(1.4);
}

.container-xxl.bg-white #portfolio-flters li,
.container-xxl.bg-white .filter-button,
.container-xxl.bg-white .nav-pills .nav-link {
  color: var(--text-body) !important;
  background: rgba(255,255,255,.06) !important;
  border-color: var(--border-soft) !important;
}

.container-xxl.bg-white #portfolio-flters li:hover,
.container-xxl.bg-white #portfolio-flters li.active,
.container-xxl.bg-white .filter-button:hover,
.container-xxl.bg-white .filter-button.active,
.container-xxl.bg-white .nav-pills .nav-link:hover,
.container-xxl.bg-white .nav-pills .nav-link.active {
  color: var(--text-main) !important;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-cyan)) !important;
}

.navbar-light .btn,
.sticky-top.navbar-light .btn,
.container-xxl.bg-white .btn {
  color: var(--text-main) !important;
}

.navbar-light .btn.btn-light,
.sticky-top.navbar-light .btn.btn-light,
.container-xxl.bg-white .btn.btn-light {
  background: rgba(255,255,255,.10) !important;
  color: var(--text-main) !important;
  border-color: var(--border-soft) !important;
}

.container-xxl.bg-white .btn-link {
  color: var(--accent-cyan) !important;
}

.container-xxl.bg-white table,
.container-xxl.bg-white th,
.container-xxl.bg-white td {
  color: var(--text-body) !important;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-right: 14px;
}

.language-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
}

.language-switcher a:hover,
.language-switcher a.active {
  color: var(--accent-cyan);
  border-bottom-color: var(--accent-cyan);
}

@media (min-width: 992px) {
  .navbar-light .navbar-nav .nav-link {
    margin-left: 16px;
    font-size: 15px;
  }
}

@media (max-width: 991px) {
  .language-switcher {
    width: 100%;
    justify-content: flex-start;
    gap: 14px;
    margin: 10px 0 0;
    padding-top: 10px;
    border-top: 1px solid var(--border-soft);
  }

  .language-switcher a {
    padding: 8px 0;
  }
}

/* Homepage dark contrast fix for sections without bg-white wrapper. */
:root {
  --bs-body-color: var(--text-body);
  --bs-heading-color: var(--text-heading);
}

main,
main .container-xxl,
main .container,
main section {
  color: var(--text-body);
}

main h1,
main h2,
main h3,
main h4,
main h5,
main h6,
main .h1,
main .h2,
main .h3,
main .h4,
main .h5,
main .h6 {
  color: var(--text-heading) !important;
  -webkit-text-fill-color: currentColor;
}

main p:not(.section-title):not(.service-scope-pill):not(.ai-badge),
main li,
main dd,
main label,
main small {
  color: var(--text-body) !important;
}

main .text-muted,
main .lead,
main .description,
main .card-description,
main .service-description {
  color: var(--text-muted) !important;
}

main .section-title,
main .section-title span,
main .service-scope-pill,
main .ai-badge,
main .eyebrow,
main .kicker {
  color: var(--accent-cyan) !important;
}

#ai-assistants,
#homepage-faq,
#ai-assistants .ai-assistant-card,
#homepage-faq .col-md-6,
.ai-section,
.tech-feature,
.ai-feature,
.stat-modern {
  color: var(--text-body) !important;
}

#ai-assistants h2,
#ai-assistants .h5,
#homepage-faq h2,
#homepage-faq .h5,
.tech-feature .h4,
.ai-feature .h4,
.stat-modern .h3 {
  color: var(--text-heading) !important;
}

#ai-assistants p:not(.section-title):not(.h5),
#homepage-faq p:not(.section-title):not(.h5),
.tech-feature p:not(.h4),
.ai-feature p:not(.h4),
.stat-modern p:not(.h3) {
  color: var(--text-muted) !important;
}
