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

/* Performance optimizations */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-display: swap;
    text-rendering: optimizeLegibility;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* GPU acceleration for animations */
.hero-content,
.team-card,
.testimonial-card,
.nav-btn,
.color-switch,
.btn {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Optimized transitions */
.team-card,
.testimonial-card,
.btn,
.nav-btn {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================
   SCROLL PROGRESS BAR
======================================== */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 10000;
    pointer-events: none;
}

#scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    width: 0%;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

/* ========================================
   BACK TO TOP BUTTON
======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

.back-to-top:active {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* ========================================
   MOBILE UX ENHANCEMENTS
======================================== */
/* Ensure minimum touch target size (44x44px) */
@media (max-width: 768px) {
    button,
    a.btn,
    .nav-link,
    input[type="submit"],
    input[type="button"],
    .mobile-accordion-btn,
    .filter-btn {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 20px;
    }

    /* Increase tap area for small icons */
    .social-link-icon,
    .btn-icon {
        padding: 12px;
    }

    /* Better spacing between interactive elements */
    .navbar-nav .nav-item {
        margin: 8px 0;
    }

    /* Prevent text size adjustment */
    body {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    /* Improve readability */
    p, li {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }

    h1 {
        font-size: clamp(1.8rem, 5vw, 2.5rem) !important;
    }

    h2 {
        font-size: clamp(1.5rem, 4vw, 2rem) !important;
    }

    h3 {
        font-size: clamp(1.2rem, 3vw, 1.5rem) !important;
    }
}

/* Critical above-the-fold styles */
.hero-section {
    contain: layout style paint;
}

.navbar {
    contain: layout style;
}

/* Color Variables */
:root {
    --primary-color: #FF6B35;
    /* Vibrant Orange */
    --secondary-color: #F7931E;
    /* Golden Orange */
    --accent-color: #1E3A8A;
    /* Deep Blue */
    --dark-color: #1F2937;
    /* Dark Gray */
    --light-gray: #F8FAFC;
    /* Light Gray */
    --medium-gray: #64748B;
    /* Medium Gray */
    --white: #FFFFFF;
    --success-color: #10B981;
    /* Green */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-dark: linear-gradient(135deg, var(--dark-color), #374151);
    --primary-hover: #e55a2b;
    /* Darker shade for hover effects */
    --primary-light: #ff8c69;
    /* Lighter shade for accents */
    --primary-rgba: rgba(255, 107, 53, 0.3);
    /* Primary color with opacity for effects */
    --primary-rgba-light: rgba(255, 107, 53, 0.1);
    /* Light opacity */
    --primary-rgba-medium: rgba(255, 107, 53, 0.2);
    /* Medium opacity */
    --primary-rgba-strong: rgba(255, 107, 53, 0.4);
    /* Strong opacity */
}

/* ========================================
   ACCESSIBILITY - FOCUS STATES
======================================== */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.2);
}

/* Keyboard navigation focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Skip to main content link */
.skip-to-main {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    padding: 1em;
    background: var(--dark-color);
    color: white;
    text-decoration: none;
}

.skip-to-main:focus {
    left: 0;
}

/* Enhanced Nav Link Hover Effects */
.nav-link {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary-rgba-light), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background: var(--primary-rgba-light);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px var(--primary-rgba-medium);
}

/* Active nav link styling */
.nav-link.active {
    color: var(--primary-color) !important;
    background: var(--primary-rgba);
    border-left: 3px solid var(--primary-color);
}

/* Scroll Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

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

@keyframes float {

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

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

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 5px var(--primary-rgba-medium);
    }

    50% {
        box-shadow: 0 0 20px var(--primary-rgba-strong);
    }
}

/* Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease-out;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease-out;
}

.animate-scale-in {
    animation: scaleIn 0.6s ease-out;
}

.animate-slide-in-up {
    animation: slideInUp 0.8s ease-out;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

/* Scroll Reveal Classes */
/* .reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease;
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* New Animation Classes for Process Steps */
.process-bounce {
    opacity: 0;
    transform: translateY(100px) rotateX(90deg);
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.process-bounce.active {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
}

.process-slide-up {
    opacity: 0;
    transform: translateY(80px) scale(0.8);
    transition: all 0.7s ease-out;
}

.process-slide-up.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.process-flip {
    opacity: 0;
    transform: rotateY(180deg) scale(0.5);
    transition: all 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.process-flip.active {
    opacity: 1;
    transform: rotateY(0deg) scale(1);
}

.process-zoom {
    opacity: 0;
    transform: scale(0.3) rotate(45deg);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.process-zoom.active {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

*/ .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
}

.reveal-left {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s ease;
}

.reveal-right {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s ease;
}

.reveal-scale {
    opacity: 1;
    transform: scale(1);
    transition: all 0.8s ease;
}

/* Animation when scrolling into view */
.reveal.animate {
    opacity: 0;
    transform: translateY(50px);
}

.reveal.animate.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left.animate {
    opacity: 0;
    transform: translateX(-50px);
}

.reveal-left.animate.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right.animate {
    opacity: 0;
    transform: translateX(50px);
}

.reveal-right.animate.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale.animate {
    opacity: 0;
    transform: scale(0.8);
}

.reveal-scale.animate.active {
    opacity: 1;
    transform: scale(1);
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Enhanced Button Effects */
.btn,
.quote-btn,
.slider-btn,
button {
    position: relative;
    overflow: hidden;
}

body {
    font-family: Arial, sans-serif;
}

/* General Navbar styles */
.navbar {
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    /* Override Bootstrap padding */
}

/* Main Navbar */
#navbar-main {
    position: fixed;
    top: 60px;
    left: 50%;
    min-height: 100px;
    /* Changed from height to min-height */
    transform: translateX(-50%);
    background: white;
    border-radius: 50px;
    padding: 10px 20px 10px 30px;
    width: min(90%, 1200px);
    max-width: calc(100% - 40px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    box-sizing: border-box;
    /* Allow content to expand beyond navbar height */
}

@media (max-width: 768px) {
    #navbar-main {
        width: 100%;
        max-width: 100%;
        left: 0;
        transform: none;
        border-radius: 0;
        top: 0;
        padding: 10px 15px;
    }
}

/* Navbar fixed khi scroll */
#navbar-fixed {
    position: fixed;
    height: 109px;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    background: white;
    border-radius: 0;
    display: none;
    /* Initially hidden */
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    z-index: 2000;
    transform: none;
}

/* Scrolled state for main navbar */
#navbar-main.scrolled {
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    transform: none;
    border-radius: 0;
}

/* Container fluid styles */
.navbar .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-width: 0;
    /* Allow container to shrink */
    overflow: visible;
    /* Allow dropdown menus to show */
}

.navbar .container-fluid .quote {
    justify-content: flex-start !important;
}


/* Logo styles */
.navbar-brand {
    padding: 0;
    margin-right: 1rem;
    flex-shrink: 0;
    /* Prevent logo from shrinking */
}

#navbar-main .navbar-brand img {
    height: 65px;
    width: auto;
    max-width: 130px; /* Maintain aspect ratio (400:201 ≈ 2:1, so 65px height = ~130px width) */
    object-fit: contain;
    aspect-ratio: 400 / 201; /* Preserve original logo aspect ratio */
}

#navbar-fixed .navbar-brand {
    height: 100%;
    display: flex;
    align-items: center;
    border-right: 3px solid #646363ff;
    padding: 0 2rem;
}

#navbar-fixed .navbar-brand img {
    height: 80px;
    width: auto;
    max-width: 160px; /* Maintain aspect ratio (400:201 ≈ 2:1, so 80px height = ~160px width) */
    object-fit: contain;
    aspect-ratio: 400 / 201; /* Preserve original logo aspect ratio */
}

/* Social icons on fixed navbar */
#navbar-fixed .list-social {
    width: 20%;
}

#navbar-fixed .list-social-icons {
    width: 80%;
    display: flex;
    justify-content: space-evenly;
}

#navbar-fixed .list-social-icons i {
    font-size: 18px;
    color: #000;
}

/* Navigation menu */
.navbar-collapse {
    justify-content: space-between;
}

.main-menu {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-menu>li {
    position: relative;
}

.main-menu a {
    text-decoration: none;
    color: #000;
    padding: 8px 16px;
    display: block;
    transition: color 0.3s;
    white-space: nowrap;
}

.main-menu a:hover {
    color: var(--primary-color);
}

.main-menu .arrow {
    display: none;
    /* Hide old arrow */
}

/* Mega Menu Styles - Professional Design */
.mega-menu {
    position: relative;
}

.mega-menu-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 1000px;
    max-width: calc(100vw - 80px);
    background: white;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.12), 0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 0;
    margin-top: 15px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.mega-menu:hover .mega-menu-content,
.mega-menu:focus-within .mega-menu-content {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Smart positioning classes - applied by JavaScript */
.mega-menu-content.menu-align-left,
.sub-menu.menu-align-left {
    left: 0;
    transform: translateY(10px);
}

.mega-menu:hover .mega-menu-content.menu-align-left,
.mega-menu:focus-within .mega-menu-content.menu-align-left,
.has-sub:hover .sub-menu.menu-align-left,
.has-sub:focus-within .sub-menu.menu-align-left {
    transform: translateY(0);
}

.mega-menu-content.menu-align-right,
.sub-menu.menu-align-right {
    left: auto;
    right: 0;
    transform: translateY(10px);
}

.mega-menu:hover .mega-menu-content.menu-align-right,
.mega-menu:focus-within .mega-menu-content.menu-align-right,
.has-sub:hover .sub-menu.menu-align-right,
.has-sub:focus-within .sub-menu.menu-align-right {
    transform: translateY(0);
}

.mega-menu-content.menu-align-center {
    left: 50%;
    transform: translateX(-50%) translateY(10px);
}

.mega-menu:hover .mega-menu-content.menu-align-center,
.mega-menu:focus-within .mega-menu-content.menu-align-center {
    transform: translateX(-50%) translateY(0);
}

.mega-menu-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 280px;
    gap: 0;
    min-height: 400px;
}

.mega-menu-column {
    display: flex;
    flex-direction: column;
    padding: 40px 35px;
    border-right: 1px solid #f0f0f0;
}

.mega-menu-column:last-of-type {
    border-right: none;
}

.mega-menu-column-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.mega-menu-column-header-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 8px;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

.mega-menu-column-header h3 {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark-color);
}

.mega-menu-item {
    padding: 18px 0;
    border-bottom: 1px solid #f8f8f8;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

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

.mega-menu-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.25s ease;
}

.mega-menu-item:hover {
    background: linear-gradient(90deg, rgba(255, 107, 53, 0.04), transparent);
    padding-left: 12px;
    margin-left: -12px;
}

.mega-menu-item:hover::before {
    transform: scaleY(1);
}

.mega-menu-icon {
    display: none;
}

.mega-menu-text h4 {
    margin: 0 0 8px 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.3;
}

.mega-menu-text h4 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
    display: block;
}

.mega-menu-item:hover .mega-menu-text h4 a {
    color: var(--primary-color);
}

.mega-menu-text p {
    margin: 0;
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
    font-weight: 400;
}

/* Mega Menu Featured Sidebar */
.mega-menu-featured {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mega-menu-featured-header {
    margin-bottom: 25px;
}

.mega-menu-featured-header h3 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #9ca3af;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.mega-menu-featured-item {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.mega-menu-featured-item:last-child {
    margin-bottom: 0;
}

.mega-menu-featured-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.mega-menu-featured-image {
    width: 100%;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    background: #f3f4f6;
}

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

.mega-menu-featured-item:hover .mega-menu-featured-image img {
    transform: scale(1.05);
}

.mega-menu-featured-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 8px;
    line-height: 1.4;
}

.mega-menu-featured-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.25s ease;
    margin-top: 8px;
}

.mega-menu-featured-link:hover {
    gap: 10px;
}

.mega-menu-featured-link i {
    font-size: 12px;
    transition: transform 0.25s ease;
}

.mega-menu-featured-link:hover i {
    transform: translateX(3px);
}

.mega-menu-image {
    display: none;
}

/* Responsive Mega Menu */
@media (max-width: 1200px) {
    .mega-menu-content {
        width: 900px;
    }
    
    .mega-menu-wrapper {
        grid-template-columns: 1fr 1fr 240px;
    }
}

@media (max-width: 991px) {
    .mega-menu-content {
        width: 700px;
        max-width: 95vw;
    }
    
    .mega-menu-wrapper {
        grid-template-columns: 1fr 1fr;
    }
    
    .mega-menu-featured {
        display: none;
    }
    
    .mega-menu-column {
        padding: 30px 25px;
    }
}

@media (max-width: 768px) {
    .mega-menu-content {
        width: calc(100vw - 40px);
        left: 20px !important;
        right: auto !important;
        transform: translateY(10px) !important;
        border-radius: 12px;
    }
    
    .mega-menu:hover .mega-menu-content,
    .mega-menu:focus-within .mega-menu-content {
        transform: translateY(0) !important;
    }
    
    .mega-menu-wrapper {
        grid-template-columns: 1fr;
    }
    
    .mega-menu-column {
        padding: 25px 20px;
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .mega-menu-column:last-of-type {
        border-bottom: none;
    }
    
    .mega-menu-item {
        padding: 15px 0;
    }
}

.dropdown-toggle::after {
    display: inline-block;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}

.has-sub:hover>a .arrow,
.has-sub:focus-within>a .arrow {
    transform: rotate(-135deg);
}

.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    max-width: calc(100vw - 80px);
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    z-index: 9999;
    /* Increased z-index to show above all elements */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(10px);
    flex-direction: column;
    padding: 0;
    margin-top: 0;
    /* Reset margin */
    border: 1px solid rgba(0, 0, 0, .15);
    /* Bootstrap style */
}

/* Ensure parent dropdown has relative positioning */
.nav-item.dropdown.has-sub {
    position: relative;
}

.has-sub:hover>.sub-menu,
.has-sub:focus-within>.sub-menu {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.sub-menu li {
    position: relative;
    list-style: none;
    transition: all 0.3s ease;
}

.sub-menu li:hover {
    background: var(--primary-rgba-light);
}

.sub-menu a.dropdown-item {
    color: #333;
    padding: 10px 20px;
    border-bottom: 1px solid #eee;
    background: none;
    white-space: nowrap;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.sub-menu a.dropdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary-rgba-light), transparent);
    transition: left 0.4s ease;
}

.sub-menu a.dropdown-item:hover::before {
    left: 100%;
}

.sub-menu a.dropdown-item:hover {
    color: var(--primary-color) !important;
    background: var(--primary-rgba-light);
    transform: translateX(5px);
    border-left: 3px solid var(--primary-color);
    box-shadow: 0 2px 8px var(--primary-rgba-medium);
}

.sub-menu li:last-child a {
    border-bottom: none;
}

.sub-menu .arrow {
    margin-left: auto;
}

.sub-menu .has-sub>a .arrow {
    transform: rotate(45deg);
}

.sub-menu .has-sub:hover>a .arrow,
.sub-menu .has-sub:focus-within>a .arrow {
    transform: rotate(-135deg);
}

.sub-menu .has-sub>.sub-menu {
    left: 100%;
    top: 0;
    min-width: 160px;
    position: absolute;
    z-index: 9999;
}

/* Bootstrap dropdown menu styles */
.dropdown-menu {
    z-index: 9999 !important;
    position: absolute !important;
}

.dropdown-menu.sub-menu {
    z-index: 9999 !important;
}

/* Ensure dropdown menus are not clipped */
.navbar .dropdown {
    position: relative;
    /* Changed from static to relative */
}

.navbar .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: auto;
    z-index: 9999;
    display: none;
    min-width: 10rem;
    padding: 0.5rem 0;
    margin: 0;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);
}

/* Specific positioning for dropdown items */
.nav-item.dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9999;
}

/* Ensure dropdown menus can extend beyond navbar boundaries */
.navbar .navbar-collapse {
    overflow: visible;
    /* Allow dropdowns to extend beyond collapse */
}

.navbar .main-menu {
    overflow: visible;
    /* Allow dropdowns to extend beyond menu */
}

.navbar .dropdown-menu.show {
    display: block;
}

/* Fix for nested dropdowns */
.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    position: absolute;
    z-index: 9999;
}

/* Ensure submenu items have proper positioning */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    z-index: 9999;
}

.dropdown-submenu:hover .dropdown-menu {
    display: block;
}

/* Desktop-specific submenu positioning */
@media (min-width: 992px) {
    .sub-menu .has-sub>.sub-menu {
        position: absolute !important;
        left: 100% !important;
        top: 0 !important;
        z-index: 9999 !important;
    }

    .dropdown-submenu .dropdown-menu {
        position: absolute !important;
        left: 100% !important;
        top: 0 !important;
        z-index: 9999 !important;
    }
}

/* Quote and Sidebar buttons */
.quote {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    /* Allow quote section to shrink */
    flex-shrink: 1;
    /* Allow quote section to shrink */
}

#navbar-fixed .quote-btn,
#navbar-fixed .anchor-btn {
    margin-left: 1rem;
    margin-right: 100px;
}

.quote-icon svg {
    width: 60px;
    height: 60px;
}

/* Quote Button */
.quote-btn {
    display: flex;
    align-items: center;
    background: var(--gradient-primary);
    border-radius: 50px;
    padding: 0 12px 0 24px;
    height: 64px;
    font-family: "Lexend Deca", Arial, sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--white);
    text-transform: uppercase;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 15px var(--primary-rgba-medium);
    min-width: 0;
    /* Allow button to shrink */
    flex-shrink: 1;
    /* Allow button to shrink */
    overflow: hidden;
    /* Hide overflow text */
}

.quote-btn:hover {
    background: var(--gradient-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-rgba-medium);
}

.quote-text {
    letter-spacing: 0.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-shrink: 1;
}

.quote-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
}

.quote-icon i {
    color: var(--primary-color);
}

.quote-icon .fa-solid.fa-arrow-right {
    transform: rotate(-45deg);
}

/* .anchor-btn .quote-icon */

.quote-icon svg {
    display: block;
}


/* Anchor Button */
.btn-icon svg {
    width: 60px;
    height: 60px;
}

/* btn Button */
.btn {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--primary-rgba-light);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-family: "Lexend Deca", Arial, sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--primary-color);
    text-transform: uppercase;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    justify-content: space-between;
    padding: 28px 25px 28px 50px;
    backdrop-filter: blur(10px);
}

.btn:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateX(10px);
    box-shadow: 0 10px 30px var(--primary-rgba-medium);
}

.btn:hover .btn-icon {
    background: var(--white);
}

.btn:hover .btn-icon i {
    color: var(--primary-color);
}

.btn-text {
    letter-spacing: 0.5px;
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.btn-icon i {
    color: var(--white);
    transition: all 0.3s ease;
}

.btn-icon .fa-solid.fa-arrow-right {
    transform: rotate(-45deg);
}

/* .anchor-btn .btn-icon */

.btn-icon svg {
    display: block;
}

/* Slider */
.slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    left: 0;
    right: 0;
    /* Prevent any horizontal scroll */
    overflow-x: hidden;
    /* background-attachment: fixed; */
}

@media (max-width: 768px) {
    .slider {
        height: 70vh;
        min-height: 500px;
    }
}

.slides {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    margin: 0;
    padding: 0;
    left: 0;
    /* Ensure no gap between slides */
    gap: 0;
}

.slide {
    height: 100%;
    width: 100vw; /* Always 100% viewport width */
    min-width: 100vw; /* Prevent shrinking */
    max-width: 100vw; /* Prevent growing */
    position: relative;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll;
    animation: slideZoom 20s infinite alternate;
    flex-shrink: 0;
    flex-grow: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Ensure slide images fit perfectly */
.slide[data-bg] {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

@keyframes slideZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.slide.active {
    animation: slideZoom 20s infinite alternate;
}

/* Overlay for sidebar/modal - keep this */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 9998;
}

/* Remove overlay from slider - no dark overlay on slider background */
.slide .overlay {
    display: none;
}

/* Number selector */
.numbers {
    position: absolute;
    top: 50%;
    left: 40px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    z-index: 10;
    font-size: 25px !important;
}

.num-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.6);
    font-weight: bold;
    transition: color 0.3s;
}

.num-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transition: background 0.3s;
}

.num-item.active {
    color: white;
}

.num-item.active .num-dot {
    background: white;
}

.numbers::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 5px;
    width: 2px;
    background: rgba(255, 255, 255, 0.4);
    z-index: -1;
}

/* Content below slider */
.content {
    padding: 50px;
    background: #f5f5f5;
    height: 1500px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    margin-left: 16px;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 4px;
    background: #111;
    margin: 4px 0;
    border-radius: 2px;
    transition: 0.3s;
}

/* Responsive */
@media (max-width: 1280px) {
    .list-social {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .navbar {
        padding: 0.5rem 1rem;
        /* Add some padding for mobile */
    }

    #navbar-main {
        width: 100%;
        max-width: 100%;
        top: 0;
        left: 0;
        transform: none;
        border-radius: 0;
        height: auto;
        box-sizing: border-box;
    }

    .navbar-collapse {
        margin-top: 1rem;
        background-color: #fff;
        border-top: 1px solid #eee;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    /* Fix collapse animation - hide content immediately when closing */
    .navbar-collapse.collapsing .main-menu,
    .navbar-collapse.collapsing .quote {
        opacity: 0;
        transition: opacity 0.15s ease-out;
    }

    .navbar-collapse.show .main-menu,
    .navbar-collapse.show .quote {
        opacity: 1;
        transition: opacity 0.15s ease-in;
    }

    /* Alternative fix - hide content during collapse transition */
    .navbar-collapse:not(.show):not(.collapsing) .main-menu,
    .navbar-collapse:not(.show):not(.collapsing) .quote {
        display: none;
    }

    .main-menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .main-menu a {
        padding: 1rem 1.5rem;
        border-bottom: 1px solid #eee;
    }

    /* Mobile Menu - About and Services work like Projects (simple links, no dropdown) */
    
    /* Hide all dropdown/mega menu content on mobile for About and Services */
    .nav-item.dropdown.mega-menu .mega-menu-content,
    .nav-item.dropdown.mega-menu .dropdown-menu {
        display: none !important;
    }

    /* Remove dropdown arrow icon on mobile for About and Services */
    .nav-item.dropdown.mega-menu .dropdown-toggle::after {
        display: none !important;
    }

    /* Make About and Services links work like regular links (like Projects) */
    .nav-item.dropdown.mega-menu .dropdown-toggle {
        cursor: pointer;
        pointer-events: auto;
    }

    /* Keep dropdown behavior for "More" menu (not mega-menu) */
    .nav-item.dropdown:not(.mega-menu) .dropdown-toggle::after {
        display: inline-block;
        margin-left: 0.5rem;
        vertical-align: 0.255em;
        content: "";
        border-top: 0.3em solid;
        border-right: 0.3em solid transparent;
        border-bottom: 0;
        border-left: 0.3em solid transparent;
        transition: transform 0.3s ease;
    }

    .nav-item.dropdown:not(.mega-menu).show .dropdown-toggle::after {
        transform: rotate(180deg);
    }

    /* Ensure dropdown content doesn't close menu for "More" menu */
    .navbar-collapse .dropdown-menu:not(.mega-menu-content) {
        position: static !important;
        float: none !important;
        margin: 0 !important;
    }

    .sub-menu {
        position: static;
        box-shadow: none;
        border: none;
        background-color: #f8f9fa;
        display: none;
    }

    .nav-item.dropdown.show .sub-menu {
        display: block;
    }

    .sub-menu a.dropdown-item {
        padding-left: 2.5rem;
    }

    .dropdown-submenu>.dropdown-menu {
        padding-left: 1rem;
    }

    .quote,
    #navbar-fixed .list-social {
        display: none;
        /* Hide quote and social links in collapsed menu */
    }

    .navbar-toggler {
        border: none;
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }
}

/* Hide list-social on medium screens to prevent cramped icons */
@media (max-width: 1200px) {
    #navbar-fixed .list-social {
        display: none !important;
    }
}

/* Hide default menu on mobile */
@media (max-width: 900px) {
    nav {
        display: flex;
    }
}

.slider-content {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    max-width: 900px;
    /* background: rgba(255, 255, 255, 0.18); */
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    z-index: 2;
    /* backdrop-filter: blur(2px); - Removed to eliminate blur effect */
    animation: slideContentFadeIn 1s ease-out;
}

@keyframes slideContentFadeIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.slider-label {
    display: inline-block;
    background: #79797a;
    color: #fff;
    border-radius: 24px;
    padding: 8px 24px;
    font-weight: 600;
    margin-bottom: 24px;
    font-size: 18px;
}

.slider-content-inner h1 {
    font-size: 6vw;
    font-weight: 800;
    color: #fff;
    margin-bottom: 24px;
    line-height: 1.1;
    animation: slideTextSlideUp 0.8s ease-out 0.2s both;
}

@keyframes slideTextSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.slider-content-inner .outline {
    color: transparent;
    -webkit-text-stroke: 2px #fff;
    font-weight: 900;
}

.slider-content-inner p {
    font-size: 1.3vw;
    color: #fff;
    margin-bottom: 32px;
    animation: slideTextSlideUp 0.8s ease-out 0.4s both;
}

.slider-btn {
    display: inline-flex;
    align-items: center;
    background: #e3eaf7;
    color: #222;
    font-weight: 600;
    font-size: 18px;
    border-radius: 32px;
    padding: 12px 32px 12px 32px;
    border: none;
    cursor: pointer;
    gap: 12px;
    transition: all 0.3s ease;
    animation: slideTextSlideUp 0.8s ease-out 0.6s both;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slider-btn:hover {
    background: var(--primary-hover);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.slider-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}



.pattern-runner {
    width: 100%;
    max-width: 100%;
    height: 50px;
    background: url('../images/patterns/pattern-1.png') repeat-x left center;
    background-size: auto 100%;
    animation: patternBgMove 30s linear infinite;
    margin-bottom: 32px;
    opacity: 0.8;
    overflow: hidden;
}

@keyframes patternBgMove {
    0% {
        background-position-x: 0;
    }

    100% {
        background-position-x: -1920px;
        /* đúng width ảnh gốc */
    }
}

.scroll-nav {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: rgba(31, 41, 55, 0.1);
    backdrop-filter: blur(25px);
    padding: 10px 6px;
    border-radius: 30px;
    z-index: 1000;
    pointer-events: none;
    border: 1px solid var(--primary-rgba-medium);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    min-width: 56px;
    max-height: 70vh;
    overflow-y: auto;
}

.scroll-nav.show {
    opacity: 1;
    pointer-events: auto;
}

.scroll-item {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    color: var(--medium-gray);
    font-size: 14px;
    position: relative;
    overflow: visible;
    flex-shrink: 0;
}

.scroll-item i {
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

/* Background gradient for scroll items */
.scroll-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.4s ease;
    z-index: 1;
    border-radius: 50%;
    opacity: 0;
    visibility: hidden;
}

/* Tooltip for scroll items */
.scroll-item::after {
    content: attr(title);
    position: absolute;
    right: 55px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(31, 41, 55, 0.95);
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1001;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    font-weight: 500;
}

/* Tooltip arrow */
.scroll-item .tooltip-arrow {
    content: '';
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid rgba(31, 41, 55, 0.95);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1001;
}

.scroll-item:hover::after {
    opacity: 1;
}

.scroll-item:hover .tooltip-arrow {
    opacity: 1;
}

.scroll-item:hover::before,
.scroll-item.active::before {
    left: 0;
    opacity: 1;
    visibility: visible;
}

/* Hide tooltip on mobile */
@media (max-width: 768px) {
    .scroll-item::after,
    .scroll-item .tooltip-arrow {
        display: none;
    }
}

.scroll-item:hover,
.scroll-item.active {
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 8px 25px var(--primary-rgba-medium);
}

.scroll-item.active img {
    filter: brightness(1);
}

/* Responsive Scroll Nav */
@media (max-width: 768px) {
    .scroll-nav {
        position: static !important;
        transform: none !important;
        right: auto !important;
        top: auto !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 400px !important;
        margin: 20px auto !important;
        padding: 15px 20px !important;
        gap: 15px !important;
        min-width: auto !important;
        max-height: none !important;
        background: rgba(31, 41, 55, 0.9) !important;
        backdrop-filter: blur(25px) !important;
        border-radius: 50px !important;
        border: 1px solid var(--primary-rgba-medium) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
    }

    .scroll-item {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }

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

@media (max-width: 480px) {
    .scroll-nav {
        position: static !important;
        transform: none !important;
        right: auto !important;
        top: auto !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 350px !important;
        margin: 15px auto !important;
        padding: 12px 15px !important;
        gap: 12px !important;
        min-width: auto !important;
        max-height: none !important;
        background: rgba(31, 41, 55, 0.9) !important;
        backdrop-filter: blur(25px) !important;
        border-radius: 40px !important;
        border: 1px solid var(--primary-rgba-medium) !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
    }

    .scroll-item {
        width: 35px;
        height: 35px;
        flex-shrink: 0;
    }

    .scroll-item i {
        font-size: 14px;
    }
}

.scroll-item img {
    width: 16px;
    height: 16px;
    filter: brightness(0) saturate(100%) invert(37%) sepia(94%) saturate(2900%) hue-rotate(191deg) brightness(101%) contrast(101%);
}

/* Desktop scroll nav - vertical */
@media (min-width: 769px) {
    .scroll-nav {
        display: flex;
        gap: 20px;
    }
}

.scroll-item i {
    font-size: 20px;
    color: #79797a;
    transition: color 0.3s ease;
    cursor: pointer;
}

.scroll-item i:hover {
    color: var(--primary-color);
    /* khi hover đổi sang màu chủ đạo */
}

.scroll-item.active i {
    color: #fff;
    /* màu khi active */
}

.scroll-nav {
    opacity: 0;
    /* Ẩn mặc định */
    pointer-events: none;
    /* Không click được khi ẩn */
    transition: opacity 0.3s ease;
    /* Hiệu ứng mượt */
}

.scroll-nav.show {
    opacity: 1;
    pointer-events: auto;
    /* Cho phép click khi hiện */
}

/* Global responsive fixes - ensure all elements scale properly */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Đảm bảo tất cả container không vượt quá viewport */
* {
    box-sizing: border-box;
}

/* Ngăn chặn horizontal scroll cho tất cả element */
.container,
.container-fluid,
.section,
.main,
.content,
section,
main {
    max-width: 100%;
    width: 100%;
    overflow-x: hidden;
}

/* Container padding - only apply to Bootstrap containers */
.container,
.container-fluid {
    padding-left: 20px;
    padding-right: 20px;
}

/* Responsive container padding */
@media (min-width: 768px) {
    .container,
    .container-fluid {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (min-width: 1200px) {
    .container,
    .container-fluid {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (min-width: 1400px) {
    .container,
    .container-fluid {
        padding-left: 60px;
        padding-right: 60px;
    }
}

.sidebar {
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100%;
    background: #fff;
    padding: 20px;
    transition: right 0.3s ease;
    z-index: 9999;
    overflow-y: auto;
}

.sidebar.active {
    right: 0;
}

.close-btn {
    position: absolute;
    top: 60px;
    right: 45px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 45px;
    /* margin-top: 45px; */
    font-weight: 10;
    margin-right: 10px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 9998;
}

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

.btn-icon {
    padding: 20px;
    width: 50px;
    height: 50px;
    background-color: #000;
    border: none;
    border-radius: 50%;
    display: grid;
    grid-template-columns: repeat(2, auto);
    grid-template-rows: repeat(2, auto);
    gap: 6px;
    place-content: center;
    cursor: pointer;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}

/* 4 chấm trắng */
.btn-icon span {
    width: 5px;
    height: 5px;
    background-color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.btn-icon:hover span:nth-child(1) {
    transform: translate(12px, 12px);
}

.btn-icon:hover span:nth-child(2) {
    transform: translate(-12px, 12px);
}

.btn-icon:hover span:nth-child(3) {
    transform: translate(12px, -12px);
}

.btn-icon:hover span:nth-child(4) {
    transform: translate(-12px, -12px);
}

.navbar-menu-list {
    width: 50%;
}



/* services */
.services {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    /* position: relative; */
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)),
        url('../images/projects/apartment-building-1026488_640.jpg');

}

.service-content {
    margin: 0px 40px;
    /* padding: 100px 0px 0px 0px; */
    display: flex;
    position: relative;
    padding: 30px 40px;
}

.service-left {
    width: 60%;
    padding-left: 80px;
    /* padding: 30px 0px 0px 115px; */
}

.service-left .service-left-list {
    width: 88%;
    min-width: 200px !important;
}

.service-right .service-right-preview {
    position: relative;
    display: inline-block;
    overflow: hidden;
    width: 90%;
    height: 80%;
    max-height: 700px;
    border-radius: 50px;
}

.service-right .service-right-preview img {
    /* position: absolute; */
    width: 100%;
    height: auto;
    /* border-radius: 50px; */
    object-fit: cover;
    /* max-height: 80%; */
}

.service-right {
    width: 40%;
    /* position: relative; */
    /* height: 700px; */
    /* top: 230px; */
    margin-top: 230px;
}

.service-right-details {
    /* position: absolute; */
    /* bottom: 0px; */
    color: #fff;
    margin-top: 5px;
}

.service-right-details span {
    position: relative;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    /* số dòng tối đa */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.service-right-details .title {
    font-weight: 600;
    text-transform: capitalize;
    position: relative;
    line-height: 42px;
    font-size: 32px;
    font-family: "Lexend Deca", sans-serif;
    margin-bottom: 20px;
}

.service-left-title {
    width: 90%;
    padding-bottom: 50px;
}

/* service-left-content  */
.service-left-description {
    margin-top: 15px;
    color: #fff;
    text-transform: capitalize;
    line-height: 70px;
    font-size: 55px;
    font-weight: 800;
}

.service-left-list .btn-icon {
    position: absolute;
    right: 8px;
    display: flex;
    width: 60px;
    height: 60px;
}

.service-left-list .btn-icon i {
    font-size: 30px;
}

.service-left-list .btn {
    margin-bottom: 10px;
    /* background: #79797a99; */
    background: rgba(121, 121, 122, 0.4);
    transition: all 0.3s ease;
}

.service-left-list .btn:hover {
    background: var(--primary-hover);
}

.service-left-list .btn:hover i {
    transform: rotate(0deg);
}

.service-left-list .btn.active {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    transform: translateX(5px);
}

.service-left-list .btn.active i {
    transform: rotate(0deg);
    /* color: #fff; */
    color: var(--primary-color);
}

.service-left-content {
    color: #fff;
    font-weight: 900;
}



.service-right .btn-icon {
    position: absolute;
    right: 8px;
    display: flex;
    width: 60px;
    height: 60px;
}

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

.service-right .btn {
    background: rgba(121, 121, 122, 0.6);
    width: 300px;
    position: absolute;
    bottom: 30px;
    right: 20px;
    display: none !important; /* Hide Get Quote buttons in Our Services section */
}

.service-right .btn:hover {
    background: var(--primary-hover);
}

.service-right .btn:hover i {
    transform: rotate(0deg);
}

/* Contact Button Hover Effects - Consistent with other buttons */
.contact-btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.contact-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.4);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    border-color: rgba(255, 255, 255, 0.3);
}

.contact-btn:hover::before {
    left: 100%;
}

.contact-btn:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

/* Phone Shake Animation - Stronger */
@keyframes phoneShake {

    0%,
    100% {
        transform: rotate(0deg) translateX(0);
    }

    5% {
        transform: rotate(-8deg) translateX(-2px);
    }

    10% {
        transform: rotate(8deg) translateX(2px);
    }

    15% {
        transform: rotate(-6deg) translateX(-1px);
    }

    20% {
        transform: rotate(6deg) translateX(1px);
    }

    25% {
        transform: rotate(-4deg) translateX(-0.5px);
    }

    30% {
        transform: rotate(4deg) translateX(0.5px);
    }

    35% {
        transform: rotate(-2deg) translateX(-0.2px);
    }

    40% {
        transform: rotate(2deg) translateX(0.2px);
    }

    45% {
        transform: rotate(-1deg) translateX(-0.1px);
    }

    50% {
        transform: rotate(1deg) translateX(0.1px);
    }

    55% {
        transform: rotate(-0.5deg) translateX(-0.05px);
    }

    60% {
        transform: rotate(0.5deg) translateX(0.05px);
    }

    65% {
        transform: rotate(-0.2deg) translateX(-0.02px);
    }

    70% {
        transform: rotate(0.2deg) translateX(0.02px);
    }

    75% {
        transform: rotate(-0.1deg) translateX(-0.01px);
    }

    80% {
        transform: rotate(0.1deg) translateX(0.01px);
    }

    85% {
        transform: rotate(-0.05deg) translateX(-0.005px);
    }

    90% {
        transform: rotate(0.05deg) translateX(0.005px);
    }

    95% {
        transform: rotate(0deg) translateX(0);
    }
}

.hidden {
    display: none;
}

.team-section {
    text-align: center;
    max-width: 1200px;
    margin: auto;
}

.team-section h4 {
    font-size: 14px;
    color: #777;
    margin-bottom: 5px;
}

.team-section h2 {
    font-size: 32px;
    margin: 10px 0;
}

.team-section p {
    font-size: 16px;
    color: #555;
    margin-bottom: 40px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.team-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: #fff;
    transition: transform 0.3s;
}

.team-card:hover {
    transform: translateY(-8px);
}

.team-card img {
    width: 100%;
    height: auto;
    display: block;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
}

.overlay h3 {
    margin: 0;
    font-size: 18px;
}

.overlay span {
    font-size: 14px;
    color: #ccc;
}

.call-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}

.call-icon:hover {
    background: var(--primary-color);
}

.social {
    margin-top: 8px;
    opacity: 0;
    transition: 0.3s;
}

.social a {
    display: inline-block;
    margin: 0 5px;
    font-size: 14px;
    color: white;
    text-decoration: none;
}

.team-card:hover .social {
    opacity: 1;
}

/* CSS Footer */
.footer {
    background-color: #111;
    color: #fff;
    font-family: 'Arial', sans-serif;
    position: relative;
    /* padding: 60px 40px 20px; */
    overflow: hidden;
    height: 105vh;
    background-image: url('../images/projects/apartment-building-1026488_640.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.footer-logo {
    height: 140px;
    width: auto;
    max-width: 280px; /* Maintain aspect ratio (400:201 ≈ 2:1, so 140px height = ~280px width) */
    object-fit: contain;
    aspect-ratio: 400 / 201; /* Preserve original logo aspect ratio */
    filter: brightness(7);
    transition: filter 0.3s;
    margin-bottom: 30px;
}

.footer-note {
    margin-left: 25px;
    margin-bottom: 30px;
}

.footer a {
    color: #fff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer-top {
    background-color: rgba(38, 37, 36, 0.9);
    height: 60vh;
}

/* Footer-top height for 1024px width */
@media (width: 1024px) {
    /* .footer-top {
        height: 66vh;
    } */

    .footer-center {
        width: 37% !important;
        gap: 30px !important;
        margin-right: 15px !important;
    }

    .scroll-nav.show {
        gap: 5px;
    }

    .color-switch {
        margin-bottom: 25px !important;
        margin-right: 4px;
    }

    #scrollToTopBtn {
        right: 27px !important;
    }
}

.footer-content {
    display: flex;
    /* justify-content: space-between; */
    flex-wrap: wrap;
    /* gap: 40px; */
    padding: 80px 0 100px 0;
    margin: 0px 85px 0 85px;
}

.footer-left {
    /* max-width: 250px; */
    width: 30%;
}

.footer .list-social-icons {
    margin-left: 25px;
    display: flex;
}

.footer .list-social-icons span {
    padding: 8px;
    border: 3px solid #fff;
    border-radius: 50%;
    margin-right: 20px;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-left-content {
    width: 90%;
}

.footer-left .logo {
    width: 100px;
    margin-bottom: 15px;
}

.footer-center {
    display: flex;
    justify-content: center;
    gap: 60px;
    width: 30%;
}

.footer-center .footer-column ul li i {
    font-size: 13px;
    margin-right: 10px;
}

.white-bar {
    width: 30%;
    height: 3px;
    background-color: #fff;
    margin-bottom: 30px;
}

.footer-column h4 {
    margin-bottom: 10px;
    font-family: "Instrument Sans", Sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 34px;
    color: #FFFFFF;
}

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

.footer-column li {
    margin-bottom: 12px;
}

.footer-right {
    /* max-width: 200px; */
    width: 30%;
}

.footer-right .contact-number {
    font-weight: bold;
    color: #d4af37;
    font-size: 25px;
    margin-bottom: 30px;
}

.footer-right .socials a {
    margin-right: 10px;
}

.footer-right .socials {
    display: flex;
}

/* Footer map container */
.footer-right .map-container {
    margin-top: 20px;
}

.footer-right .map-container iframe {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.footer-right .map-container iframe:hover {
    transform: scale(1.02);
}

.map-label {
    margin-top: 10px;
    font-size: 14px;
    color: #d4af37;
    font-weight: 600;
    text-align: center;
}

.footer-right .contact-email {
    margin-bottom: 20px;
}

.footer-bottom {
    /* margin-top: 60px; */
    text-align: center;
    position: relative;
    background-color: #272625A3;
    height: 39vh;
}

.copyright {
    z-index: 2;
    position: relative;
    padding: 30px;
    text-align: center;
    border: 2px solid #888684a3;
    border-left: 0;
    border-right: 0;
    background-color: rgba(38, 37, 36, 0.9);
    height: 6vh;

}

.footer-bottom .footer-logo-text {
    color: rgba(255, 255, 255, 0.4);
    top: 50%;
    z-index: 1;
    pointer-events: none;
    font-size: 230px;
    white-space: nowrap;
    overflow: hidden;
    font-weight: 600;
    text-transform: none;
}

/* Responsive font-size for footer logo text */
@media (max-width: 1400px) {
    .footer-bottom .footer-logo-text {
        font-size: 180px;
    }
}

@media (max-width: 1200px) {
    .footer-bottom .footer-logo-text {
        font-size: 150px;
    }
}

@media (max-width: 992px) {
    .footer-bottom .footer-logo-text {
        font-size: 120px;
    }
}

@media (max-width: 768px) {
    .footer-bottom .footer-logo-text {
        font-size: 90px;
    }
}

@media (max-width: 576px) {
    .footer-bottom .footer-logo-text {
        font-size: 60px;
    }
}

@media (max-width: 480px) {
    .footer-bottom .footer-logo-text {
        font-size: 45px;
    }
    
    /* Footer logo responsive for extra small mobile */
    .footer-logo {
        height: 70px;
        max-width: 140px; /* Maintain aspect ratio */
        margin-bottom: 20px;
    }
}

@media (max-width: 360px) {
    .footer-bottom .footer-logo-text {
        font-size: 35px;
    }
}

/* Ensure social icons maintain proper size at all breakpoints */
@media (max-width: 1200px) {
    .footer .list-social-icons span {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
        flex-shrink: 0 !important;
    }
}

@media (max-width: 768px) {
    .footer .list-social-icons span {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
        flex-shrink: 0 !important;
    }
    
    /* Footer logo responsive for mobile */
    .footer-logo {
        height: 100px;
        max-width: 200px; /* Maintain aspect ratio */
    }
}

@media (max-width: 576px) {
    .footer .list-social-icons span {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
        flex-shrink: 0 !important;
    }
    
    /* Footer logo responsive for small mobile */
    .footer-logo {
        height: 80px;
        max-width: 160px; /* Maintain aspect ratio */
    }
}

/* Mobile Accordion for Services */
@media (max-width: 768px) {
    .mobile-accordion-btn {
        position: relative;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .mobile-service-content {
        display: none !important;
        padding: 0;
        margin-top: 15px;
        margin-bottom: 20px;
    }

    .mobile-service-content.active {
        display: block !important;
        animation: fadeInDown 0.4s ease-out;
    }

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

    .mobile-service-image {
        margin-bottom: 0;
    }

    .mobile-service-image img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 12px 12px 0 0;
    }

    .mobile-service-details {
        background: rgba(255, 255, 255, 0.95);
        padding: 20px;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(255, 107, 53, 0.2);
        border-top: 3px solid var(--primary-color);
    }

    .mobile-service-details h3 {
        color: var(--primary-color);
        font-size: 1.3rem;
        font-weight: 700;
        margin-bottom: 12px;
        text-transform: capitalize;
    }

    .mobile-service-details p {
        color: #333;
        line-height: 1.7;
        margin-bottom: 0;
        font-size: 0.95rem;
    }

    .mobile-service-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 20px;
        background: var(--gradient-primary);
        color: white;
        border-radius: 25px;
        font-weight: 500;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .mobile-service-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    /* Hide desktop service-right on mobile */
    .service-right {
        display: none;
    }

    /* Disable ALL hover effects on mobile for service buttons */
    .service-left-list .btn:hover,
    .service-left-list .btn:active,
    .service-left-list .btn:focus {
        background: rgba(121, 121, 122, 0.4) !important;
        transform: none !important;
        box-shadow: none !important;
    }

    /* Keep active state styling on mobile */
    .service-left-list .btn.active {
        background: var(--primary-color) !important;
        color: #fff !important;
        box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3) !important;
        transform: translateX(5px) !important;
    }

    /* Disable hover effects on button icons */
    .service-left-list .btn:hover i,
    .service-left-list .btn:active i,
    .service-left-list .btn:focus i {
        transform: rotate(-45deg) !important;
    }

    /* Mobile: Arrow rotates horizontal when active */
    .service-left-list .btn.active i {
        transform: rotate(0deg) !important;
        color: var(--primary-color) !important;
        transition: transform 0.3s ease !important;
    }

    /* Mobile: Default arrow state */
    .service-left-list .btn i {
        transition: transform 0.3s ease !important;
    }

    /* Mobile: Services title optimization */
    .service-left-title {
        width: 100% !important;
        padding-bottom: 20px !important;
    }

    .service-left-description {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
        margin-top: 10px !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    .service-left-content {
        font-size: 0.85rem !important;
    }

    /* Mobile: Make buttons wider and adjust proportions */
    .service-left-list {
        width: 100% !important;
    }

    .service-left-list .btn {
        width: 100% !important;
        min-width: 100% !important;
        padding: 12px 15px !important;
        padding-right: 60px !important;
        min-height: 50px !important;
        height: auto !important;
        font-size: 0.95rem !important;
    }

    .service-left-list .btn-text {
        text-align: left;
        line-height: 1.4;
    }

    .service-left-list .btn-icon {
        width: 45px !important;
        height: 45px !important;
        right: 5px !important;
    }

    .service-left-list .btn-icon i {
        font-size: 20px !important;
    }

    /* Ensure buttons remain clickable */
    .service-left-list .btn {
        pointer-events: auto !important;
        cursor: pointer !important;
    }

    /* Hide Get Quote buttons in mobile services section */
    .mobile-service-btn {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .mobile-service-content {
        display: none !important;
    }
}

#scrollToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 25px;
    width: 40px;
    height: 40px;
    background-color: #333;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    /* Ẩn ban đầu */
    z-index: 999;
}

#scrollToTopBtn:hover {
    background-color: var(--primary-color);
}

#preloader {
    position: fixed;
    inset: 0;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease-out;
}

#preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

.logo-wrapper {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.preloader-logo {
    width: 400px;
    display: block;
    filter: brightness(7);
}

.shine {
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.6) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
    animation: shineAnim 2s infinite;
}

@keyframes shineAnim {
    0% {
        left: -75%;
    }

    100% {
        left: 125%;
    }
}

.project-stats-section {
    --bg: #111;
    --card: #1e1e1f;
    --muted: #9aa0a6;
    --accent: var(--primary-color);
    --hero-img: url('../images/patterns/pattern-2.webp');
    background: var(--bg);
    color: #fff;
    padding: 60px 20px;
    font-family: "Arial", sans-serif;
}

@media (min-width: 768px) {
    .project-stats-section {
        padding: 80px 40px;
    }
}

@media (min-width: 1200px) {
    .project-stats-section {
        padding: 100px 60px;
    }
}

.project-stats-section .header {
    max-width: 1100px;
    margin: 0 auto 40px;
    text-align: center;
}

.project-stats-section .header h1 {
    font-size: 36px;
    margin-bottom: 12px;
    font-weight: 800;
}

.project-stats-section .header p {
    color: var(--muted);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.project-stats-section .main {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding: 15px 20px 0;
}

/* Left grid */
.project-stats-section .stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.project-stats-section .stat-card {
    background: var(--card);
    padding: 25px 30px 30px 30px;
    border-radius: 20px;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--primary-rgba-medium);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-stats-section .stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.05;
    transition: left 0.5s ease;
}

.project-stats-section .stat-card:hover::before {
    left: 0;
}

.project-stats-section .stat-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px var(--primary-rgba-medium);
}

.project-stats-section .stat-icon i {
    font-size: 60px;
    /* color: var(--medium-gray); */
    color: #fff;
    transition: all 0.4s ease;
}

.project-stats-section .stat-card:hover .stat-icon i {
    /* color: var(--primary-color); */
    color: #fff;
    text-shadow: 0 0 15px var(--primary-rgba-strong);
    transform: scale(1.3);
}

.project-stats-section .stat-icon {
    opacity: 0.25;
    font-size: 75px;
    margin-bottom: 15px;
    /* display: flex;
    align-items: center;
    justify-content: center; */
    /* height: 80px; */
    /* chiều cao khung chứa */
    margin-bottom: 15px;
    /* filter: brightness(0.6); */
}


.project-stats-section .stat-number {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-rgba-strong);
    transition: all 0.3s ease;
}

.project-stats-section .stat-number.animate-glow {
    animation: numberGlow 2s ease-in-out infinite;
}

@keyframes numberGlow {

    0%,
    100% {
        text-shadow: 0 0 10px var(--primary-rgba-strong);
        color: var(--primary-color);
    }

    50% {
        text-shadow: 0 0 20px var(--primary-rgba-strong), 0 0 30px var(--primary-rgba-strong);
        color: var(--secondary-color);
    }
}

/* Remove glow from stat cards */
.project-stats-section .stat-card.animate-glow {
    animation: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.project-stats-section .stat-label {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    /* color: var(--muted); */
    color: #fff;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
    display: inline-block;
}

/* Right card */
.project-stats-section .hero-card {
    background-image:
        linear-gradient(90deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.35)),
        var(--hero-img);
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-stats-section .hero-card h2 {
    margin-bottom: 12px;
    font-size: 24px;
    font-weight: 800;
}

.project-stats-section .hero-card p {
    color: var(--muted);
    line-height: 1.6;
    font-size: 14px;
    margin-bottom: 12px;
}

.project-stats-section .hero-card .highlight {
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.project-stats-section .contact-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
}

.project-stats-section .phone-bubble {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    max-width: 60px;
    max-height: 60px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    animation: phoneShake 2s ease-in-out infinite;
    transition: all 0.3s ease;
    justify-content: center;
    flex-shrink: 0;
}

.project-stats-section .contact-info {
    font-weight: 700;
}

.project-stats-section .contact-info small {
    display: block;
    color: var(--muted);
    font-weight: 400;
    font-size: 12px;
}

@media(max-width: 900px) {
    .project-stats-section .main {
        grid-template-columns: 1fr;
        transform: translateX(-30px);
    }
}

@media(max-width: 500px) {
    .project-stats-section .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive styles for Project Stats Section */
@media (max-width: 991.98px) {
    .project-stats-section .main {
        transform: translateX(-2px);
        flex-direction: column;
        gap: 2rem;
    }

    .project-stats-section .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .project-stats-section .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-stats-section .header h1 {
        font-size: 2rem;
    }
}

/* <div class="team-member"  id="team-member">
<div class="team-member-main"> */
/* Team Section */
.team-member {
    background: linear-gradient(135deg, #1f2937 0%, #374151 50%, #4b5563 100%);
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.3;
    z-index: 1;
}

.team-member-main {
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 20px;
    position: relative;
    z-index: 2;
}


/* Team List */

/* Team Item */
.team-member-item {
    position: relative;
    border-radius: 15px;
    width: fit-content;
    /* overflow: hidden; */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    /* margin: 0 25px; */
    height: 490px;
    background-color: #fff;
}

.team-member-item:hover {
    transform: translateY(-6px);
}

.team-member-item img {
    width: auto;
    /* height: 600px; */
    height: 410px;
    display: block;
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
    object-fit: contain;
}

/* Overlay text */
.team-member-item h3,
.team-member-item p {
    position: absolute;
    left: 20px;
    right: 20px;
    margin: 0;
    /* color: #fff; */
    text-align: left;
}

.team-member-item h3 {
    bottom: 42px;
    font-size: 32px;
    font-weight: bold;
}

.team-member-item p {
    bottom: 12px;
    font-size: 24px;
    font-weight: 500;
    /* color: #ddd; */
}


/* Background gradient dưới cùng */
/* .team-member-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 35%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
} */




.team-member-item:hover {
    transform: translateY(-4px);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, .1),
        0 16px 32px rgba(0, 0, 0, .12);
}

.why-choose-us {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

/* MEP SVG Background */
.mep-svg-background {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 60%;
    opacity: 0.25;
    z-index: 0;
}

/* MEP Icons Brightness Enhancement - Much Stronger for Better Visibility */
.mep-svg .mechanical-systems,
.mep-svg .electrical-systems,
.mep-svg .plumbing-systems {
    filter: brightness(4) contrast(2.5) saturate(2.2);
}

.mep-svg .pulse-circle,
.mep-svg .rotating-gear,
.mep-svg .pulse-rect,
.mep-svg .electric-lines,
.mep-svg .pipe-flow,
.mep-svg .water-drop {
    filter: brightness(5) contrast(3) saturate(2.8) drop-shadow(0 0 20px rgb(0, 0, 0)) drop-shadow(0 0 40px rgba(0, 0, 0, 0.8));
}

/* Make text labels much brighter */
.mep-svg text {
    filter: brightness(3.5) contrast(2.2) drop-shadow(0 0 15px rgba(0, 0, 0, 0.9));
    font-weight: bold !important;
}

.mep-svg {
    width: 100%;
    height: 100%;
}

/* Modern Features Layout */
.features-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    align-items: stretch;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary-rgba-light), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px var(--primary-rgba-medium);
    border-color: var(--primary-color);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.feature-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px var(--primary-rgba-medium);
}

.feature-svg {
    width: 50px;
    height: 50px;
}

.card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    text-align: center;
}

.card-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
    flex: 1;
}

.card-stats {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-rgba-strong);
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    /* color: #fff; */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
    display: inline-block;
}

/* Specific card styles */
.mechanical-card {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05), rgba(255, 255, 255, 0.95));
}

.electrical-card {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.05), rgba(255, 255, 255, 0.95));
}

.plumbing-card {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.05), rgba(255, 255, 255, 0.95));
}

.experience-card {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.05), rgba(255, 255, 255, 0.95));
}

.why-choose-us .features {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 cột */
    gap: 50px;
    max-width: 1150px;
    margin: 0 auto;
}

.feature-box {
    background: var(--white);
    border-radius: 20px;
    padding: 35px 30px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--primary-rgba-medium);
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-box:hover::before {
    transform: scaleX(1);
}

.feature-box:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px var(--primary-rgba-medium);
    border-color: var(--primary-color);
}

.feature-box .icon {
    font-size: 50px;
    margin-bottom: 20px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.feature-box:hover .icon {
    transform: scale(1.1);
    color: var(--secondary-color);
}

.feature-box h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark-color);
    font-weight: 700;
}

.feature-box p {
    font-size: 15px;
    margin-bottom: 25px;
    color: var(--medium-gray);
    line-height: 1.6;
}

.feature-box button {
    background: var(--gradient-primary);
    border: none;
    color: var(--white);
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-box button:hover {
    background: var(--gradient-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--primary-rgba-medium);
}

.marquee {
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-rgba-light), rgba(247, 147, 30, 0.1));
    white-space: nowrap;
    width: 100%;
    max-width: 100%;
}

.marquee-inner {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 25s linear infinite;
}

.marquee span {
    display: inline-block;
    font-size: 100px;
    font-weight: bold;
    letter-spacing: 15px;
    color: var(--primary-color);
    padding-right: 50px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    /* khoảng cách giữa chuỗi 1 và 2 */
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.testimonials {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .testimonials {
        padding: 100px 40px;
    }
}

@media (min-width: 1200px) {
    .testimonials {
        padding: 100px 60px;
    }
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="quotes" width="100" height="100" patternUnits="userSpaceOnUse"><text x="50" y="50" font-family="serif" font-size="60" fill="%23FF6B35" opacity="0.05" text-anchor="middle">"</text></pattern></defs><rect width="100" height="100" fill="url(%23quotes)"/></svg>') repeat;
    opacity: 0.3;
    z-index: 1;
}

.testimonials .container {
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    padding: 0 20px;
}

.why-choose-us .section-header {
    margin-bottom: 0px;
    margin-top: 45px;
}

.team-member .section-header .subtitle {
    font-weight: 600;
    font-size: 0.9rem;
    /* color: var(--primary-color); */
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
    /* background: var(--gradient-primary); */
    background: #fff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    display: block;
}

.section-header .subtitle {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
    /* color:#fff; */
    letter-spacing: 1px;
    text-transform: uppercase;
    background: var(--gradient-primary);
    /* background: #fff; */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    display: block;
}

.team-member .section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    /* color: var(--dark-color); */
    color: #fff;
    margin: 15px 0 25px 0;
    line-height: 1.2;
}

.section-header h2 {
    color: #1a202c; /* Improved contrast - dark color instead of var(--primary-color) */
    /* color: #fff; */
}

.section-header p {
    font-size: 1.1rem;
    color: #4a5568; /* Improved contrast from var(--medium-gray) */
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.testimonial-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.testimonial-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
    border: 2px solid var(--primary-rgba-medium);
    border-radius: 25px;
    padding: 30px;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px var(--primary-rgba-light),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    margin: 0 20px;
    max-width: 1000px;
    width: 100%;
}

.testimonial-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 25px 25px 0 0;
}

.testimonial-container::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid var(--primary-rgba-medium);
    border-radius: 15px;
    pointer-events: none;
}

.testimonial-container:hover {
    transform: translateY(-5px);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 0 0 1px var(--primary-rgba-light),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: var(--primary-rgba-medium);
}

.testimonial-container:hover::before {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.nav-btn {
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 20px;
    color: var(--white);
    margin: 0 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--primary-rgba-medium);
}

.nav-btn:hover:not(.disabled) {
    transform: scale(1.1);
    box-shadow: 0 8px 25px var(--primary-rgba-medium);
}

.nav-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: var(--medium-gray);
    box-shadow: none;
}

.testimonial-list {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 20px;
    padding: 20px 0;
    width: 100%;
    max-width: 1100px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
    position: relative;
}

.testimonial-list::-webkit-scrollbar {
    height: 6px;
}

.testimonial-list::-webkit-scrollbar-track {
    background: transparent;
}

.testimonial-list::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.testimonial-list::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}


.scroll-container {
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #555 #222;
}

.scroll-container::-webkit-scrollbar {
    height: 2px;
}

.scroll-container::-webkit-scrollbar-track {
    background: #222;
}

.scroll-container::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 10px;
}

.scroll-container::-webkit-scrollbar-button {
    display: none;
}

/* Credentials Section */
.credentials-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
    padding: 100px 20px !important;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .credentials-section {
        padding: 100px 40px !important;
    }
}

@media (min-width: 1200px) {
    .credentials-section {
        padding: 100px 60px !important;
    }
}

.credentials-section .section-header {
    color: white;
    margin-bottom: 80px;
}

.credentials-section .subtitle {
    /* color: var(--primary-color); */
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.credentials-section h2 {
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    margin: 20px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.credentials-section p {
    color: white;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Credentials SVG Container */
.credentials-svg-container {
    position: absolute;
    top: -30px;
    left: 0;
    width: 100%;
    height: 50%;
    opacity: 0.15;
    z-index: 0;
}

.credentials-svg {
    width: 100%;
    height: 100%;
}

/* Modern Credentials Layout */
.credentials-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 30px;
    position: relative;
    z-index: 10;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.credential-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.credential-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary-rgba-light), transparent);
    transition: left 0.6s ease;
}

.credential-item:hover::before {
    left: 100%;
}

.credential-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px var(--primary-rgba-medium);
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
}

.cred-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.credential-item:hover .cred-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px var(--primary-rgba-medium);
}

.cred-svg {
    width: 50px;
    height: 50px;
}

.cred-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cred-content p {
    color: #e8e8e8;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.cred-badge {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.badge-text {
    background: var(--gradient-primary);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px var(--primary-rgba-medium);
}

/* Specific credential item styles */
.pe-license {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 255, 255, 0.1));
}

.stamp-auth {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(255, 255, 255, 0.1));
}

.code-expert {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.1), rgba(255, 255, 255, 0.1));
}

.track-record {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.1), rgba(255, 255, 255, 0.1));
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        padding: 0 20px;
        align-items: stretch;
    }

    .credentials-modern {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 25px;
        padding: 0 20px;
    }

    .main-menu {
        gap: 8px;
    }

    /* #navbar-main {
        width: 900px;
    } */

    .navbar-brand {
        margin-right: 8px;
    }
}

/* Fix for 1025px to 1068px - keep same layout as 1024px */
@media (min-width: 1025px) and (max-width: 1068px) {
    #navbar-main {
        width: min(90%, 900px);
        max-width: calc(100vw - 40px);
        padding: 10px 15px 10px 20px;
        box-sizing: border-box;
    }

    #navbar-main .navbar-nav {
        flex-wrap: nowrap;
        gap: 5px;
    }

    #navbar-main .navbar-nav .nav-item {
        margin: 0 2px;
    }

    #navbar-main .navbar-nav .nav-link {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    #navbar-main .quote-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
        height: 64px;
        min-width: auto;
    }

    #navbar-main .quote-text {
        font-size: 0.85rem;
    }

    .main-menu {
        gap: 8px;
    }

    .navbar-brand {
        margin-right: 8px;
    }
}

.slider-content-inner p {
    font-size: 2vw;
}

@media (max-width: 768px) {

    .features-modern {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
        padding: 0 15px;
        align-items: stretch;
    }

    .feature-card {
        padding: 20px;
    }

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

    .stat-number {
        font-size: 1.5rem;
    }

    .credentials-modern {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 20px;
        padding: 0 15px;
    }

    .credential-item {
        padding: 20px;
    }

    .cred-content h3 {
        font-size: 1.2rem;
    }

    .credentials-section h2 {
        font-size: 2rem;
    }

    .mep-svg-background {
        top: -30px;
        height: 40%;
        opacity: 0.15;
    }

    .mep-svg .mechanical-systems,
    .mep-svg .electrical-systems,
    .mep-svg .plumbing-systems {
        filter: brightness(4.5) contrast(2.8) saturate(2.5);
    }

    .mep-svg .pulse-circle,
    .mep-svg .rotating-gear,
    .mep-svg .pulse-rect,
    .mep-svg .electric-lines,
    .mep-svg .pipe-flow,
    .mep-svg .water-drop {
        filter: brightness(5.5) contrast(3.5) saturate(3.2) drop-shadow(0 0 25px rgba(0, 123, 255, 1)) drop-shadow(0 0 50px rgba(0, 123, 255, 0.8));
    }

    .credentials-svg-container {
        top: -20px;
        height: 35%;
        opacity: 0.08;
    }
}

@media (max-width: 480px) {
    .why-choose-us {
        padding: 60px 0;
    }

    .credentials-section {
        padding: 60px 0 !important;
    }

    .features-modern,
    .credentials-modern {
        padding: 0 10px;
    }

    .feature-card,
    .credential-item {
        padding: 15px;
    }

    .card-icon,
    .cred-icon {
        width: 60px;
        height: 60px;
    }

    .feature-svg,
    .cred-svg {
        width: 40px;
        height: 40px;
    }

    .mep-svg-background {
        top: -20px;
        height: 30%;
        opacity: 0.12;
    }

    .mep-svg .mechanical-systems,
    .mep-svg .electrical-systems,
    .mep-svg .plumbing-systems {
        filter: brightness(5) contrast(3.2) saturate(3);
    }

    .mep-svg .pulse-circle,
    .mep-svg .rotating-gear,
    .mep-svg .pulse-rect,
    .mep-svg .electric-lines,
    .mep-svg .pipe-flow,
    .mep-svg .water-drop {
        filter: brightness(6) contrast(4) saturate(3.8) drop-shadow(0 0 30px rgba(0, 123, 255, 1)) drop-shadow(0 0 60px rgba(0, 123, 255, 0.9));
    }

    .credentials-svg-container {
        top: -15px;
        height: 25%;
        opacity: 0.05;
    }

    .credentials-modern {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 15px;
        padding: 0 10px;
    }
}

.credentials-section .section-header {
    margin-bottom: 60px;
}

.credentials-section .subtitle {
    font-weight: 600;
    font-size: 0.9rem;
    /* color: var(--primary-color); */
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.credentials-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    /* color: var(--dark-color); */
    color: #fff;
    margin: 15px 0;
}

.credentials-section p {
    /* color: #666; */
    color: #fff;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.credential-card {
    background: var(--white);
    padding: 45px 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--primary-rgba);
    position: relative;
    overflow: hidden;
}

.credential-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.credential-card:hover::before {
    transform: scaleX(1);
}

.credential-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px var(--primary-rgba-medium);
    border-color: var(--primary-color);
}

.credential-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px var(--primary-rgba-medium);
}

.credential-card:hover .credential-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 15px 35px var(--primary-rgba-medium);
}

.credential-icon i {
    font-size: 2.2rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.credential-card:hover .credential-icon i {
    transform: scale(1.1);
}

.credential-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 18px;
    transition: color 0.3s ease;
}

.credential-card:hover h3 {
    color: var(--primary-color);
}

.credential-card p {
    color: var(--medium-gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive styles for Why Choose Us Section */
@media (max-width: 991.98px) {
    .why-choose-us .features {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Responsive styles for Credentials Section */
@media (max-width: 768px) {
    .credentials-section h2 {
        font-size: 2rem;
    }

    .credentials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .credential-card {
        padding: 30px 20px;
    }
}

/* Enhanced Mobile Responsive Design */
@media (max-width: 991.98px) {
    .slider-content {
        width: 70vw;
        padding: 35px 25px;
    }

    .slider-content-inner h1 {
        font-size: clamp(2rem, 4vw, 3rem);
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .slider-content-inner p {
        font-size: 1.1rem;
        line-height: 1.4;
        margin-bottom: 24px;
    }

    .slider-content .subtitle {
        font-size: 16px;
        padding: 7px 20px;
        margin-bottom: 18px;
    }

    .project-stats-section .main {
        grid-template-columns: 1fr;
        gap: 2rem;
        transform: none;
        margin: 0 auto;
        max-width: 100%;
        padding: 0 20px;
    }

    .project-stats-section .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-choose-us .features {
        grid-template-columns: repeat(2, 1fr);
    }

    .credentials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .team-member-list {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .team-member-item {
        width: 100%;
        max-width: 400px;
    }

    /* Mobile: Team card optimization */
    .team-card {
        max-width: 100%;
    }

    .team-image-wrapper {
        height: 320px !important;
    }

    .team-image-wrapper img {
        object-fit: cover !important;
        object-position: top !important;
    }

    .team-overlay-info h3 {
        font-size: 1.3rem !important;
    }

    .team-overlay-info p {
        font-size: 0.9rem !important;
    }

    .team-info {
        padding: 20px 15px !important;
        max-height: 50% !important;
    }

    .team-info h3 {
        font-size: 1.2rem !important;
        margin-bottom: 8px !important;
    }

    .team-info .role {
        font-size: 0.85rem !important;
        margin-bottom: 10px !important;
    }

    .team-info p {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
        margin-bottom: 10px !important;
    }

    .team-info ul {
        font-size: 0.85rem !important;
    }

    .team-info ul li {
        margin-bottom: 6px !important;
    }

    .team-skills {
        font-size: 1px !important;
    }

    .team-social a {
        width: 40px !important;
        height: 40px !important;
        font-size: 16px !important;
    }

    .service-content {
        flex-direction: column;
        margin: 0 20px;
    }

    .service-left {
        width: 100%;
        padding-left: 0;
        margin-bottom: 40px;
    }

    .service-right {
        width: 100%;
        margin-top: 0;
    }

    .contact-section .contact-container {
        flex-direction: column;
    }

    .contact-image {
        order: 2;
    }

    .contact-form {
        order: 1;
    }
}

@media (max-width: 767.98px) {
    /* SLIDER - GIẢM CHIỀU CAO CHO MOBILE */
    .slider {
        height: 60vh !important; /* Giảm từ 100vh xuống 60vh */
        min-height: 500px;
        max-height: 650px;
    }

    .slide {
        height: 100%;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }

    .slide img {
        object-fit: cover;
        object-position: center;
        height: 100%;
        width: 100%;
    }
    
    /* Ensure slide background images fit perfectly on mobile */
    .slide[data-bg] {
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }

    /* ẨN NUMBER NAVIGATION TRÊN MOBILE */
    .numbers {
        display: none !important;
    }

    .slider-content {
        width: 90vw;
        padding: 25px 20px;
        top: 50%;
        transform: translate(-50%, -50%);
        left: 50%;
    }

    /* TĂNG SIZE TEXT "Your Trusted Engineering Partner" */
    .slider-content-inner h1 {
        font-size: clamp(1.8rem, 7vw, 2.5rem) !important; /* Tăng từ 1.5rem */
        line-height: 1.25;
        margin-bottom: 18px;
        font-weight: 800;
    }

    .slider-content-inner p {
        font-size: 1rem !important; /* Tăng từ 0.9rem */
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .slider-content .subtitle {
        font-size: 15px;
        padding: 7px 18px;
        margin-bottom: 16px;
    }

    .slider-btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .project-stats-section .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Mobile project-stats-section positioning */
    .project-stats-section {
        transform: none;
        margin-left: 0;
        text-align: center;
    }
    
    .project-stats-section .main {
        margin: 0 auto;
        max-width: 100%;
        padding: 0 20px;
    }

    /* Mobile phone-bubble fixes */
    .project-stats-section .phone-bubble {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        min-height: 60px !important;
        max-width: 60px !important;
        max-height: 60px !important;
        flex-shrink: 0 !important;
    }

    /* Mobile contact-row - remove flex to allow natural stacking */
    .project-stats-section .contact-row {
        display: block !important;
        gap: 0 !important;
    }

    .project-stats-section .contact-row .phone-bubble {
        margin-bottom: 15px;
    }

    .why-choose-us .features {
        grid-template-columns: 1fr;
    }

    .credentials-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    /* PROJECTS GRID - UNIFORM HEIGHT CHO ĐẸP */
    .projects-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 15px;
    }

    .project-card {
        height: 220px !important; /* Fixed height, đẹp và đồng đều */
        grid-row: span 1 !important;
        grid-column: span 1 !important;
        border-radius: 12px;
    }

    /* Remove masonry styles */
    .project-card:nth-child(1),
    .project-card:nth-child(2),
    .project-card:nth-child(3),
    .project-card:nth-child(4),
    .project-card:nth-child(5),
    .project-card:nth-child(6),
    .project-card:nth-child(7),
    .project-card:nth-child(8),
    .project-card:nth-child(9) {
        grid-row: span 1 !important;
        grid-column: span 1 !important;
        height: 220px !important;
    }

    .project-card img {
        object-fit: cover;
        object-position: center;
    }

    .project-card-overlay {
        padding: 20px;
    }

    .project-card .project-title {
        font-size: 1.2rem;
    }

    .project-card .project-category {
        font-size: 0.75rem;
        padding: 3px 10px;
    }

    /* Hide filters on mobile */
    .project-filters {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }

    .project-card {
        height: 280px;
    }

    .project-card .project-title {
        font-size: 1.4rem;
    }

    .testimonial-list {
        width: 100%;
        padding: 0 20px;
    }

    .testimonial-card {
        width: 100%;
        flex: 0 0 100%;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    /* Remove fixed height on mobile to prevent content overlap */
    .footer {
        height: auto !important;
        min-height: auto !important;
    }

    .footer-top {
        height: auto !important;
        min-height: auto !important;
    }

    .footer-bottom {
        height: auto !important;
        min-height: auto !important;
        padding: 40px 20px;
    }

    .footer-left,
    .footer-center,
    .footer-right {
        width: 100%;
    }

    .footer-center {
        flex-direction: column;
        gap: 40px;
    }

    /* Mobile footer-column improvements */
    .footer-column {
        width: 100%;
        margin-bottom: 30px;
    }

    .footer-column h4 {
        font-size: 18px;
        margin-bottom: 15px;
        color: #d4af37;
    }

    .footer-column ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px 20px;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footer-column li {
        margin-bottom: 0;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .footer-column li i {
        font-size: 8px;
        color: #d4af37;
        flex-shrink: 0;
    }

    .footer-column li a {
        color: #fff;
        text-decoration: none;
        font-size: 14px;
        transition: color 0.3s ease;
        line-height: 1.4;
    }

    .footer-column li a:hover {
        color: #d4af37;
    }

    /* Map responsive styles */
    .map-container {
        margin-top: 20px;
        width: 100%;
    }

    /* Footer map on mobile */
    .footer-right .map-container iframe {
        width: 100%;
        height: 180px;
    }
    
    /* Service areas map on mobile */
    .service-areas-map .map-container iframe {
        width: 100%;
        height: 100%;
    }

    /* Ensure social icons maintain their size on mobile */
    .footer .list-social-icons {
        justify-content: center;
        flex-wrap: nowrap;
    }

    .footer .list-social-icons span {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
        flex-shrink: 0 !important;
    }

    .marquee span {
        font-size: 60px;
        letter-spacing: 8px;
    }

    .scroll-nav {
        right: 10px;
        padding: 15px 5px;
    }

    .scroll-item {
        width: 25px;
        height: 25px;
    }

    .scroll-item i {
        font-size: 12px;
    }
}

@media (max-width: 575.98px) {
    .slider-content {
        width: 90vw;
        padding: 25px 15px;
        top: 50%;
    }

    .slider-content-inner h1 {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
        line-height: 1.4;
        margin-bottom: 12px;
    }

    .slider-content-inner p {
        font-size: 0.85rem;
        line-height: 1.6;
        margin-bottom: 16px;
    }

    .slider-content .subtitle {
        font-size: 12px;
        padding: 5px 12px;
        margin-bottom: 12px;
    }

    .project-stats-section .header h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
        margin: 10px 0 20px 0;
    }

    .section-header {
        margin-bottom: 60px;
        padding: 0 15px;
    }

    .team-member .section-header .subtitle {
        color: var(--primary-color);
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }

    .team-member .section-header h2 {
        color: white;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

    .team-member .section-header p {
        color: rgba(255, 255, 255, 0.9);
    }

    .team-member-main .section-header h2 {
        font-size: 2rem;
    }

    .credential-card {
        padding: 25px 15px;
    }

    .credential-icon {
        width: 60px;
        height: 60px;
    }

    .credential-icon i {
        font-size: 1.5rem;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .contact-section .form-row {
        flex-direction: column;
        gap: 10px;
    }

    .navbar {
        padding: 0.5rem 1rem;
    }

    #navbar-main {
        width: 100%;
        top: 0;
        left: 0;
        transform: none;
        border-radius: 0;
        height: auto;
        padding: 10px 20px;
    }

    .main-menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .main-menu a {
        padding: 1rem 1.5rem;
        border-bottom: 1px solid #eee;
    }

    .sub-menu {
        position: static;
        box-shadow: none;
        border: none;
        background-color: #f8f9fa;
    }

    .sub-menu a.dropdown-item {
        padding-left: 2.5rem;
    }

    .quote,
    #navbar-fixed .list-social {
        display: none;
    }
}


.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 500px;
    min-width: 500px;
    flex-shrink: 0;
    text-align: left;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.testimonial-card.active {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px var(--primary-rgba-medium);
    border-color: var(--primary-color);
}

.testimonial-card.active::before {
    transform: scaleX(1);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-card p {
    font-size: 16px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Testimonial Quote Highlight */
.testimonial-quote {
    font-size: 1.1rem !important;
    font-style: italic !important;
    color: var(--dark-color) !important;
    line-height: 1.6 !important;
    margin: 15px 0 !important;
    padding: 0 !important;
    background: linear-gradient(135deg, var(--primary-rgba), rgba(247, 147, 30, 0.05)) !important;
    border-left: 4px solid var(--primary-color) !important;
    border-radius: 0 15px 15px 0 !important;
    position: relative !important;
    font-weight: 500 !important;
    min-height: 120px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.1) !important;
    display: flex !important;
    align-items: center !important;
    padding-left: 60px !important;
    /* Space for opening quote */
    padding-right: 60px !important;
    /* Space for closing quote */
}

.testimonial-quote-content {
    padding: 25px 0 !important;
    /* Only top/bottom padding */
    width: 100% !important;
    box-sizing: border-box !important;
}


.testimonial-quote::before {
    content: '"';
    font-size: 5rem;
    color: var(--primary-color);
    position: absolute;
    top: 15px;
    left: 10px;
    font-family: 'Georgia', 'Times New Roman', serif;
    opacity: 0.4;
    line-height: 1;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(255, 107, 53, 0.2);
    z-index: 2;
    pointer-events: none;
}

.testimonial-quote::after {
    content: '"';
    font-size: 5rem;
    color: var(--primary-color);
    position: absolute;
    bottom: -45px;
    right: 50px;
    font-family: 'Georgia', 'Times New Roman', serif;
    opacity: 0.4;
    line-height: 1;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(255, 107, 53, 0.2);
    z-index: 2;
    pointer-events: none;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.client-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.client-info h3 {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
}

.client-info span {
    font-size: 14px;
    color: #888;
}

.rating {
    text-align: right;
    font-size: 14px;
    color: #444;
}

.rating span {
    display: block;
    font-size: 12px;
    color: #888;
}

/* Contact Section */
.contact-section .contact-title {
    /* text-align: center;
        margin-bottom: 20px;
        font-size: 1.5rem; */
    color: #fff;
}

.contact-section {
    display: flex;
    justify-content: center;
    padding: 70px 20px 110px 20px;
}

@media (min-width: 768px) {
    .contact-section {
        padding: 80px 40px 120px 40px;
    }
}

@media (min-width: 1200px) {
    .contact-section {
        padding: 100px 60px 140px 60px;
    }
}

.contact-section .contact-container {
    display: flex;
    max-width: 1100px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    background: #111;
    margin-top: 20px;
}

/* Left image */
.contact-image {
    flex: 1;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Right form */
.contact-form {
    flex: 1;
    padding: 40px;
    background: #161616;
}

.contact-form h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.contact-section form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-section .form-row {
    display: flex;
    gap: 15px;
}

.contact-section input,
select,
textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: #262626;
    color: #fff;
    font-size: 1rem;
}

.contact-section textarea {
    resize: none;
    height: 100px;
}

.contact-section .contact-form button {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px var(--primary-rgba-medium);
}

.contact-section .contact-form button:hover {
    background: var(--gradient-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-rgba-medium);
}

/* Sidebar Styles */
.sidebar-inner {
    padding-top: 45px;
    padding-left: 25px;
}

.sidebar-logo {
    height: 120px;
    width: auto;
    max-width: 240px; /* Maintain aspect ratio (400:201 ≈ 2:1, so 120px height = ~240px width) */
    object-fit: contain;
    aspect-ratio: 400 / 201; /* Preserve original logo aspect ratio */
    margin-bottom: 20px;
}

.sidebar-text {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

.free-consulting-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    margin: 20px 0 30px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--primary-rgba-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

.free-consulting-btn:hover {
    background: var(--gradient-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-rgba-medium);
}

.free-consulting-icon {
    margin-left: 8px;
    background: black;
    color: white;
    border-radius: 50%;
    padding: 10px;
}

.contact-info-title {
    margin-top: 20px;
    padding-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-color);
}

.contact-info-item {
    font-size: 13px;
    color: #333;
    margin-bottom: 18px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

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

.contact-info-icon {
    color: #000;
    flex-shrink: 0;
    font-size: 14px;
    width: 16px;
    text-align: center;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.contact-info-item > *:not(.contact-info-icon) {
    flex: 1;
    min-width: 0;
}

.social-links-title {
    margin-top: 40px;
}

.social-links {
    display: flex;
    gap: 10px;
    padding-top: 10px;
}

.social-link-icon {
    border: 1px solid #000;
    color: #000;
    padding: 8px;
    border-radius: 50%;
}

.quote {
    display: flex;
    align-items: center;
}

#navbar-main .anchor-btn {
    margin-right: 20px;
}

#navbar-fixed .anchor-btn {
    margin-right: 20px;
}

.footer-address {
    margin-bottom: 10px;
}

/* Responsive styles for Why Choose Us Section */
@media (max-width: 991.98px) {
    .why-choose-us .features {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Our Process Section */
.our-process {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.our-process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23FF6B35" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23F7931E" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="%23FF6B35" opacity="0.05"/><circle cx="10" cy="60" r="1" fill="%23F7931E" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.4;
    z-index: 1;
}

.our-process .container {
    position: relative;
    z-index: 2;
}

.our-process .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.our-process .subtitle {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
    letter-spacing: 1px;
    text-transform: uppercase;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.our-process h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-top: 15px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.process-step {
    padding: 30px 20px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.process-step:hover::before {
    transform: scaleX(1);
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--primary-rgba-medium);
    border-color: var(--primary-color);
}

.step-icon-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid var(--white);
    box-shadow: 0 10px 30px var(--primary-rgba-medium);
    transition: all 0.4s ease;
}

.step-icon-wrapper:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px var(--primary-rgba-medium);
    background: var(--gradient-primary);
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--primary-color);
    color: var(--white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.step-icon-wrapper i {
    font-size: 40px;
    color: var(--white);
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.process-step:hover .step-icon-wrapper i {
    transform: scale(1.1);
    color: var(--white);
}

.process-step h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.process-step:hover h4 {
    color: var(--primary-color);
}

.process-step p {
    color: var(--medium-gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    /* VERTICAL TIMELINE FOR PROCESS STEPS - FIX ICON POSITION */
    .process-steps {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 50px;
        padding: 30px 10px 30px 20px; /* Giảm padding left */
        grid-template-columns: unset;
    }

    /* Vertical line connector - DỜ VỀ BÊN TRÁI */
    .process-steps::before {
        content: '';
        position: absolute;
        left: 25px; /* Từ 30px → 35px */
        top: 80px;
        bottom: 80px;
        width: 3px;
        background: linear-gradient(to bottom, 
            var(--primary-color) 0%, 
            var(--secondary-color) 50%,
            var(--primary-color) 100%);
        border-radius: 2px;
        box-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
    }

    .process-step {
        position: relative;
        padding: 20px 15px 20px 95px; /* Giảm padding để icon có chỗ */
        border-radius: 0 20px 20px 0;
        background: linear-gradient(135deg, 
            rgba(255, 255, 255, 0.98), 
            rgba(248, 250, 252, 0.98));
        border: 2px solid transparent;
        border-left: 0;
        box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.08);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        margin-left: 5px; /* Thêm margin để tránh tràn ra ngoài */
    }

    .process-step::before {
        display: none;
    }

    .process-step:hover {
        transform: translateX(8px);
        border-color: rgba(255, 107, 53, 0.3);
        box-shadow: 6px 6px 25px var(--primary-rgba-medium);
    }

    /* ICON WRAPPER - ĐIỀU CHỈNH VỊ TRÍ */
    .step-icon-wrapper {
        position: absolute;
        left: 5px; /* Đẩy xa hơn để không bị che */
        top: 50%;
        transform: translateY(-50%);
        width: 60px; /* Giảm size để vừa vặn */
        height: 60px;
        margin: 0;
        z-index: 2;
    }

    .step-number {
        top: -6px;
        right: -6px;
        width: 22px;
        height: 22px;
        font-size: 11px;
    }

    .step-icon-wrapper i {
        font-size: 26px; /* Giảm icon size */
    }

    .process-step h4 {
        font-size: 1.1rem;
        margin-bottom: 10px;
        padding-right: 5px;
    }

    .process-step p {
        font-size: 0.88rem;
        line-height: 1.5;
        padding-right: 5px;
    }

    /* Pulse animation for icons on scroll */
    .process-step.active .step-icon-wrapper {
        animation: pulse 2s ease-in-out infinite;
    }

    @keyframes pulse {
        0%, 100% {
            box-shadow: 0 10px 30px var(--primary-rgba-medium);
        }
        50% {
            box-shadow: 0 15px 45px var(--primary-rgba-medium),
                        0 0 0 10px rgba(255, 107, 53, 0.1);
        }
    }

    .our-process h2 {
        font-size: 2rem;
    }

    .testimonial-container {
        margin: 0 10px;
        padding: 20px;
        border-radius: 20px;
    }

    .testimonial-container::after {
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
        border-radius: 10px;
    }

    /* Mobile testimonial improvements */
    .testimonials {
        padding: 60px 10px;
    }

    .testimonial-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .testimonial-list {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 15px;
        padding: 20px 15px !important;
        max-width: 100%;
        position: relative;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }

    .testimonial-card {
        width: calc(100vw - 50px) !important;
        min-width: calc(100vw - 50px) !important;
        max-width: calc(100vw - 50px) !important;
        flex: 0 0 calc(100vw - 50px) !important;
        padding: 20px 15px !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        border-radius: 15px !important;
        box-sizing: border-box !important;
        scroll-snap-align: center !important;
    }

    .testimonial-card p {
        font-size: 14px !important;
        line-height: 1.6 !important;
        margin-bottom: 12px !important;
    }

    .testimonial-quote {
        min-height: auto !important;
        max-height: none !important;
        height: auto !important;
        padding: 15px 10px 10px 35px !important;
        margin: 0 0 15px 0 !important;
        position: relative;
        display: block !important;
        overflow: visible !important;
    }

    .testimonial-quote-content {
        padding: 0 !important;
        margin: 0 !important;
        width: 100%;
        box-sizing: border-box;
        overflow: visible !important;
        height: auto !important;
    }

    .testimonial-quote-content p {
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        word-wrap: break-word !important;
        word-break: break-word !important;
        height: auto !important;
        max-height: none !important;
    }

    .testimonial-quote::before {
        content: '"';
        font-size: 2.5rem !important;
        color: var(--primary-color);
        font-family: 'Georgia', 'Times New Roman', serif;
        opacity: 0.3;
        font-weight: bold;
        position: absolute;
        left: 5px !important;
        top: 10px !important;
        z-index: 2;
        pointer-events: none;
    }

    .testimonial-quote-content::after {
        content: '';
        display: inline;
        font-size: 2rem;
        color: var(--primary-color);
        font-family: 'Georgia', 'Times New Roman', serif;
        opacity: 0.3;
        font-weight: bold;
        text-shadow: 0 2px 4px rgba(255, 107, 53, 0.2);
        margin-left: 3px;
    }

    .testimonial-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding-top: 15px;
    }

    .client-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .client-avatar {
        width: 50px;
        height: 50px;
    }

    .client-details h4 {
        font-size: 16px;
        margin-bottom: 2px;
    }

    .client-details p {
        font-size: 14px;
        margin: 0;
    }

    /* Mobile testimonial navigation */
    .testimonial-wrapper {
        position: relative;
    }

    .nav-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        background: var(--gradient-primary);
        border: none;
        border-radius: 50%;
        width: 45px;
        height: 45px;
        min-width: 45px;
        min-height: 45px;
        max-width: 45px;
        max-height: 45px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        color: white;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
        flex-shrink: 0;
        box-sizing: border-box;
    }

    .nav-btn.prev {
        left: 10px;
    }

    .nav-btn.next {
        right: 10px;
    }

    .nav-btn:hover:not(.disabled) {
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }

    .nav-btn.disabled {
        opacity: 0.5;
        cursor: not-allowed;
        background: #ccc;
    }

}

@media (max-width: 480px) {
    .process-steps {
        grid-template-columns: 1fr;
    }

    .step-icon-wrapper {
        width: 80px;
        height: 80px;
    }

    .step-icon-wrapper i {
        font-size: 30px;
    }

    /* Extra small mobile testimonial improvements */
    .testimonials {
        padding: 40px 5px;
    }

    .testimonial-card {
        padding: 20px 15px;
        border-radius: 15px;
    }

    .testimonial-card p {
        font-size: 14px;
        line-height: 1.6;
    }

    .testimonial-quote {
        font-size: 0.9rem !important;
        padding-left: 40px !important;
        padding-right: 40px !important;
        margin: 8px 0 !important;
        min-height: 80px !important;
    }

    .testimonial-quote::before {
        font-size: 2.5rem !important;
        left: 8px !important;
        top: 10px !important;
    }

    .testimonial-quote-content::after {
        font-size: 2rem !important;
        margin-left: 2px !important;
    }

    .client-avatar {
        width: 45px;
        height: 45px;
    }

    /* Fix nav-btn for extra small mobile */
    .nav-btn {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
        font-size: 16px !important;
    }

    .nav-btn.prev {
        left: 5px !important;
    }

    .nav-btn.next {
        right: 5px !important;
    }

    .client-details h4 {
        font-size: 15px;
    }

    .client-details p {
        font-size: 13px;
    }

    /* Extra small mobile footer fixes */
    .footer {
        height: auto !important;
        min-height: auto !important;
    }

    .footer-top {
        height: auto !important;
        min-height: auto !important;
    }

    .footer-bottom {
        height: auto !important;
        min-height: auto !important;
        padding: 30px 15px;
    }

    .footer-content {
        padding: 40px 0 60px 0;
        margin: 0 20px;
    }

    /* Extra small mobile project-stats-section positioning */
    .project-stats-section {
        transform: none;
        margin-left: 0;
        text-align: center;
    }
    
    .project-stats-section .main {
        margin: 0 auto;
        max-width: 100%;
        padding: 0 15px;
    }

    /* Extra small mobile phone-bubble fixes */
    .project-stats-section .phone-bubble {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        min-height: 60px !important;
        max-width: 60px !important;
        max-height: 60px !important;
        flex-shrink: 0 !important;
    }

    /* Extra small mobile contact-row - remove flex to allow natural stacking */
    .project-stats-section .contact-row {
        display: block !important;
        gap: 0 !important;
    }

    .project-stats-section .contact-row .phone-bubble {
        margin-bottom: 12px;
    }
}



/* Removed duplicate CSS - already defined above */

/* ========== SECTORS WE SERVE SECTION ========== */
.sectors-we-serve {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #e9ecef;
}

.sectors-we-serve::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="%23e9ecef"/></svg>') repeat;
    opacity: 0.5;
    z-index: 0;
}

.sectors-we-serve .container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

@media (min-width: 1200px) {
    .sectors-we-serve .container {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (min-width: 1400px) {
    .sectors-we-serve .container {
        padding-left: 60px;
        padding-right: 60px;
    }
}

.sectors-we-serve .section-header h2 {
    max-width: 900px;
    margin: 0 auto 20px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.3;
}

.sectors-we-serve .section-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
    color: #6c757d;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 60px auto;
    max-width: 1100px;
    padding: 0 20px;
}

.sector-card {
    position: relative;
    background: white;
    border-radius: 14px;
    padding: 22px 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    width: 100%;
    height: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.sector-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gradient-primary), var(--gradient-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.sector-card:hover::before {
    transform: scaleX(1);
}

.sector-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.sector-number {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 38px;
    font-weight: 800;
    color: #f0f0f0;
    line-height: 1;
    transition: all 0.4s ease;
}

.sector-card:hover .sector-number {
    color: rgba(255, 107, 107, 0.2);
    transform: scale(1.2);
}

.sector-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gradient-primary), var(--gradient-secondary));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.sector-card:hover .sector-icon {
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 8px 24px rgba(255, 107, 107, 0.3);
}

.sector-icon i {
    font-size: 26px;
    color: white;
}

.sector-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sector-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #2c3e50;
    transition: all 0.3s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.sector-card:hover .sector-content h3 {
    color: var(--primary-color);
}

.sector-content p {
    font-size: 13.5px;
    color: #6c757d;
    margin: 0 0 14px 0;
    line-height: 1.5;
    min-height: 40px;
}

.sector-features {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: auto;
}

.sector-features span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: #495057;
    font-weight: 500;
    transition: all 0.3s ease;
}

.sector-features span i {
    color: var(--primary-color);
    font-size: 10px;
}

.sector-card:hover .sector-features span {
    transform: translateX(4px);
    color: #2c3e50;
}

.sector-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gradient-primary), var(--gradient-secondary));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    pointer-events: none;
}

.sector-card:hover .sector-overlay {
    opacity: 0.03;
}

/* Sector Icon Variants - Brand Consistent Colors */
.sector-card:nth-child(1) .sector-icon {
    background: linear-gradient(135deg, #FF6B6B, #FF4757);
}

.sector-card:nth-child(2) .sector-icon {
    background: linear-gradient(135deg, #FF8E53, #FF6348);
}

.sector-card:nth-child(3) .sector-icon {
    background: linear-gradient(135deg, #FF7979, #FF5252);
}

.sector-card:nth-child(4) .sector-icon {
    background: linear-gradient(135deg, #FFA502, #FF6348);
}

.sector-card:nth-child(5) .sector-icon {
    background: linear-gradient(135deg, #FF6B9D, #FF4757);
}

.sector-card:nth-child(6) .sector-icon {
    background: linear-gradient(135deg, #FF9FF3, #FF6B9D);
}

.sector-card:nth-child(7) .sector-icon {
    background: linear-gradient(135deg, #FFA07A, #FF8C69);
}

.sector-card:nth-child(8) .sector-icon {
    background: linear-gradient(135deg, #FF6348, #FF4757);
}

/* Sectors CTA */
.sectors-cta {
    background: linear-gradient(135deg, var(--gradient-primary), var(--gradient-secondary));
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}

.sectors-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.sectors-cta-content {
    position: relative;
    z-index: 1;
}

.sectors-cta h3 {
    font-size: 36px;
    font-weight: 800;
    color: white;
    margin: 0 0 15px 0;
}

.sectors-cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 30px 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.sectors-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.sectors-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: #f8f9fa;
}

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

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

/* Responsive Design */
@media (max-width: 1400px) {
    .sectors-we-serve .container {
        padding-left: 60px;
        padding-right: 60px;
    }
    
    .sectors-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 950px;
        gap: 20px;
    }
}

@media (max-width: 1200px) {
    .sectors-we-serve .container {
        padding-left: 40px;
        padding-right: 40px;
    }
    
    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    .sectors-we-serve {
        padding: 60px 0;
    }
    
    .sectors-we-serve .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin: 40px auto;
        max-width: 100%;
        padding: 0 10px;
    }
    
    .sector-card {
        padding: 20px 15px;
        min-height: 260px;
    }
    
    .sector-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 12px;
    }
    
    .sector-icon i {
        font-size: 22px;
    }
    
    .sector-number {
        font-size: 28px;
        top: 12px;
        right: 12px;
    }
    
    .sector-content h3 {
        font-size: 16px;
        min-height: 38px;
        margin-bottom: 6px;
    }
    
    .sector-content p {
        font-size: 12px;
        min-height: 36px;
        margin-bottom: 10px;
    }
    
    .sector-features {
        gap: 5px;
    }
    
    .sector-features span {
        font-size: 11px;
    }
    
    .sector-features span i {
        font-size: 9px;
    }
    
    .sectors-cta {
        padding: 40px 30px;
        border-radius: 16px;
    }
    
    .sectors-cta h3 {
        font-size: 28px;
    }
    
    .sectors-cta p {
        font-size: 16px;
    }
    
    .sectors-cta-btn {
        padding: 16px 32px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .sectors-grid {
        gap: 12px;
    }
    
    .sector-card {
        padding: 18px 12px;
        min-height: 240px;
    }
    
    .sector-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 10px;
    }
    
    .sector-icon i {
        font-size: 20px;
    }
    
    .sector-number {
        font-size: 24px;
    }
    
    .sector-content h3 {
        font-size: 14px;
        min-height: 34px;
    }
    
    .sector-content p {
        font-size: 11px;
        min-height: 33px;
    }
    
    .sector-features span {
        font-size: 10px;
    }
    
    .sector-features span i {
        font-size: 8px;
    }
}

/* ========== END SECTORS WE SERVE SECTION ========== */


/* Featured Projects Section */
.featured-projects {
    background-color: #f9f9f9;
    padding: 100px 0;
}

/* Project Filter Buttons */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.filter-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.filter-btn:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.2);
}

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

.filter-btn.active {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 8px 20px var(--primary-rgba-medium);
}

.filter-btn.active i {
    animation: bounce 0.5s ease;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Project card hidden state for filtering */
.project-card.filter-hidden {
    display: none;
}

.project-card.filter-show {
    animation: fadeInUp 0.5s ease;
}

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

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    height: 300px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px var(--primary-rgba-medium);
    border-color: var(--primary-color);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover img {
    transform: scale(1.15);
}

.project-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            var(--primary-color) 0%,
            var(--primary-color) 50%,
            rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-card-overlay {
    opacity: 1;
}

.project-card-content {
    color: var(--white);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.project-card:hover .project-card-content {
    transform: translateY(0);
    opacity: 1;
}

.project-card .project-category {
    font-weight: 600;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 10px;
}

.project-card .project-title {
    font-size: 1.6rem;
    color: var(--white);
    margin: 10px 0;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.project-card .project-link-icon {
    color: var(--white);
    font-size: 1.8rem;
    position: absolute;
    right: 30px;
    top: 0px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.project-card .project-link-icon:hover {
    color: var(--primary-color);
    background: var(--white);
    transform: scale(1.1);
}

/* Mobile: Always show project info on images */
@media (max-width: 768px) {
    .featured-projects {
        padding: 60px 0;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .project-card {
        height: 280px;
        border-radius: 12px;
    }

    /* Always show overlay on mobile - no hover needed */
    .project-card-overlay {
        opacity: 1 !important;
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.5) 50%,
            rgba(0, 0, 0, 0.2) 80%,
            transparent 100%
        );
        padding: 20px;
    }

    /* Always show content on mobile */
    .project-card-content {
        transform: translateY(0) !important;
        opacity: 1 !important;
    }

    /* Category tag - top left corner */
    .project-card .project-category {
        position: absolute;
        top: 15px;
        left: 15px;
        margin-bottom: 0;
        background: rgba(255, 107, 53, 0.95);
        backdrop-filter: blur(10px);
        font-size: 0.75rem;
        padding: 6px 12px;
        border-radius: 20px;
        font-weight: 700;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        z-index: 2;
    }

    /* Title - bottom of card */
    .project-card .project-title {
        font-size: 1.3rem;
        margin: 0;
        line-height: 1.3;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    }

    /* Icon - smaller and positioned better */
    .project-card .project-link-icon {
        font-size: 1.4rem;
        width: 40px;
        height: 40px;
        right: 15px;
        top: 15px;
        background: rgba(255, 255, 255, 0.25);
        backdrop-filter: blur(10px);
    }

    /* Adjust content positioning */
    .project-card-content {
        position: relative;
        padding-top: 50px; /* Space for category tag */
    }

    /* Filter buttons - smaller on mobile */
    .project-filters {
        gap: 10px;
        margin: 30px 0;
        padding: 0 15px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .filter-btn i {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .project-card {
        height: 250px;
    }

    .project-card .project-title {
        font-size: 1.15rem;
    }

    .project-card .project-category {
        font-size: 0.7rem;
        padding: 5px 10px;
        top: 12px;
        left: 12px;
    }

    .project-card-overlay {
        padding: 15px;
    }

    .project-card .project-link-icon {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
        right: 12px;
        top: 12px;
    }

    .project-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-btn {
        width: 100%;
        justify-content: center;
    }
}

.sidebar-inner p {
    margin-bottom: 5px;
}

/* New Team Member Styles */
.team-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 60px;
}

/* Single team member layout - centered and optimized */
.team-showcase-single {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.team-showcase-single .team-card {
    width: 100%;
    max-width: 600px;
}

.team-card {
    background: transparent;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.team-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

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

.team-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.4s ease;
}

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

.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4), transparent);
    padding: 25px 20px 20px;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 5;
}

.team-card:hover .team-overlay {
    opacity: 1;
    transform: translateY(0);
}

.team-overlay-info {
    color: white;
    text-align: center;
    margin-bottom: 15px;
}

.team-overlay-info h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.team-overlay-info .team-role {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.team-social {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.team-social a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

.team-social a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.team-social a:nth-child(1):hover {
    background: #0077b5; /* LinkedIn color */
    border-color: #0077b5;
}

.team-social a:nth-child(2):hover {
    background: #ea4335; /* Gmail/Email color */
    border-color: #ea4335;
}

.team-social a:nth-child(3):hover {
    background: #34a853; /* Phone/Green color */
    border-color: #34a853;
}

.team-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-primary);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.team-info {
    padding: 30px;
    background: white;
    border-radius: 0 0 20px 20px;
    position: relative;
    z-index: 1;
}

.team-info h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.team-role {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.team-description {
    font-size: 14px;
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.team-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.skill-tag {
    background: var(--gradient-primary);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Team Stats - Removed duplicate, using new definition below */

/* Responsive Team Styles */
@media (max-width: 768px) {
    .team-showcase {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .team-image-wrapper {
        width: 100%;
        height: 450px;
    }

    .team-info {
        padding: 20px;
        position: static;
        opacity: 1;
        transform: none;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 0 0 20px 20px;
        margin-top: 0;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal.closing {
    opacity: 0;
}

.modal-content {
    background-color: var(--white);
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: calc(100vh - 40px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(-50px) scale(0.9);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal.closing .modal-content {
    transform: translateY(-50px) scale(0.9);
    opacity: 0;
}

.modal-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px 20px 0 0;
    position: relative;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.close {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    user-select: none;
    position: absolute;
    top: 20px;
    right: 20px;
}

.close:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1) rotate(90deg);
}

.close:active {
    transform: scale(0.95) rotate(90deg);
}

.modal-body {
    padding: 40px;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(100vh - 180px);
    flex: 1;
}

.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 20px;
    align-items: start;
}

.form-group {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
}

.form-group:last-child {
    margin-bottom: 0;
}

/* Full width form groups (like textarea) */
.form-group.full-width {
    grid-column: 1 / -1;
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    /* margin-bottom: 8px; */
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
    box-sizing: border-box;
    font-family: inherit;
    color: var(--dark-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-rgba-light);
    transform: translateY(-1px);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #cbd5e1;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    width: 100%;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 18px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--primary-rgba-medium);
}

.contact-info {
    display: grid;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-rgba-light), rgba(247, 147, 30, 0.05));
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 40px;
    text-align: center;
}

.contact-item h3 {
    margin: 0 0 5px 0;
    color: var(--dark-color);
    font-size: 1.1rem;
}

.contact-item p {
    margin: 0;
    color: var(--medium-gray);
    line-height: 1.5;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        margin: 10px auto;
        width: 95%;
        max-height: calc(100vh - 20px);
        border-radius: 15px;
    }

    .modal-header {
        padding: 15px 20px;
        flex-shrink: 0;
    }

    .modal-header h2 {
        font-size: 1.3rem;
        margin: 0;
    }

    .close {
        width: 35px;
        height: 35px;
        font-size: 24px;
    }

    .modal-body {
        padding: 20px 15px;
        max-height: calc(100vh - 120px);
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 12px;
    }

    .form-group {
        margin-bottom: 12px;
    }

    .form-group label {
        font-size: 0.85rem;
        margin-bottom: 5px;
        font-weight: 600;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 14px !important;
        font-size: 0.9rem !important;
        border-radius: 8px;
    }

    .form-group textarea {
        min-height: 80px !important;
        max-height: 120px;
    }

    .form-group.full-width {
        margin-bottom: 15px;
    }

    .submit-btn {
        padding: 12px 25px !important;
        font-size: 0.95rem !important;
        margin-top: 10px;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 15px;
    }

    .contact-item i {
        font-size: 1.2rem;
    }

    .contact-item h4 {
        font-size: 0.95rem;
        margin: 5px 0;
    }

    .contact-item p {
        font-size: 0.85rem;
    }
}


@media (max-width: 991px) {
    .navbar-main .navbar-collapse {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 15px;
        margin-top: 10px;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .navbar-main .navbar-nav {
        flex-direction: column;
        width: 100%;
        margin-top: 0;
    }

    .navbar-main .navbar-nav .nav-item {
        margin: 5px 0;
        text-align: center;
    }

    .navbar-main .navbar-nav .nav-link {
        padding: 12px 20px;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .navbar-main .navbar-nav .nav-link:hover {
        background: var(--primary-rgba);
        color: var(--primary-color);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px var(--primary-rgba-medium);
        border-left: 3px solid var(--primary-color);
    }

    .navbar-main .quote {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 20px;
    }

    .navbar-main .quote-btn {
        width: 100%;
        justify-content: center;
        height: 50px;
        font-size: 14px;
        padding: 0 20px;
        margin: 0;
    }

    .navbar-main .quote-text {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .navbar-main .quote-btn {
        height: 45px;
        font-size: 13px;
        padding: 0 15px;
        gap: 8px;
    }

    .navbar-main .quote-text {
        font-size: 13px;
        letter-spacing: 0.3px;
    }

    .navbar-main .quote-icon {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .navbar-main .quote-btn {
        height: 40px;
        font-size: 12px;
        padding: 0 12px;
        gap: 6px;
        border-radius: 40px;
    }

    .navbar-main .quote-text {
        font-size: 12px;
        letter-spacing: 0.2px;
    }

    .navbar-main .quote-icon {
        font-size: 11px;
    }
}

/* ===========================================
🎨 DESKTOP EFFECTS - PREMIUM ANIMATIONS
=========================================== */

/* Hero Section - Typing Animation */
.typing-animation {
    overflow: hidden;
    border-right: 2px solid var(--primary-color);
    white-space: nowrap;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: var(--primary-color);
    }
}

/* Hero Section - Particle Background */
.particle-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
    width: 4px;
    height: 4px;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    width: 6px;
    height: 6px;
    left: 20%;
    animation-delay: 1s;
}

.particle:nth-child(3) {
    width: 3px;
    height: 3px;
    left: 30%;
    animation-delay: 2s;
}

.particle:nth-child(4) {
    width: 5px;
    height: 5px;
    left: 40%;
    animation-delay: 3s;
}

.particle:nth-child(5) {
    width: 7px;
    height: 7px;
    left: 50%;
    animation-delay: 4s;
}

.particle:nth-child(6) {
    width: 4px;
    height: 4px;
    left: 60%;
    animation-delay: 5s;
}

.particle:nth-child(7) {
    width: 6px;
    height: 6px;
    left: 70%;
    animation-delay: 6s;
}

.particle:nth-child(8) {
    width: 3px;
    height: 3px;
    left: 80%;
    animation-delay: 7s;
}

.particle:nth-child(9) {
    width: 5px;
    height: 5px;
    left: 90%;
    animation-delay: 8s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Hero Section - Gradient Text Animation */
.gradient-text {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

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

/* Stats Section - Counter Animation */
.counter-animation {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--primary-rgba-strong);
}

.counter-animation.animate {
    animation: counter-pulse 0.5s ease-out;
}

@keyframes counter-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

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

/* Stats Section - Progress Bars */
.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progress-shine 2s infinite;
}

@keyframes progress-shine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Services Section - Card Flip Animation */
.service-card {
    perspective: 1000px;
    height: 300px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.service-card:hover .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.service-card-back {
    transform: rotateY(180deg);
    background: var(--gradient-primary);
    color: white;
}

/* Services Section - Magnetic Effect */
.magnetic-card {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.magnetic-card:hover {
    transform: translate3d(var(--mouse-x, 0), var(--mouse-y, 0), 0) scale(1.05);
}

/* Team Section - 3D Card Rotation */
.team-card-3d {
    perspective: 1000px;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card-3d:hover {
    transform: rotateY(10deg) rotateX(5deg) scale(1.05);
}

.team-image-3d {
    transform: translateZ(50px);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card-3d:hover .team-image-3d {
    transform: translateZ(80px) scale(1.1);
}

/* Team Section - Hover Zoom Effect */
.team-image-zoom {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.team-image-zoom:hover img {
    transform: scale(1.2);
}

.team-image-zoom img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Projects Section - Image Overlay Slide */
.project-overlay-slide {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.project-overlay-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.project-overlay-slide:hover::before {
    left: 100%;
}

/* Projects Section - Hover Tilt Effect */
.project-card-tilt {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.project-card-tilt:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(5deg) scale(1.02);
}

/* Navigation - Menu Glow Effect */
.nav-item-glow {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.nav-item-glow:hover::before {
    opacity: 0.1;
}

.nav-item-glow:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-rgba-strong);
    transform: translateY(-2px);
}

/* Navigation - Active Indicator */
.nav-active-indicator {
    position: relative;
}

.nav-active-indicator::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-active-indicator.active::after {
    width: 100%;
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 10000;
    transition: width 0.1s ease;
}

/* Cursor Trail Effect */
.cursor-trail {
    position: fixed;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, var(--primary-rgba-medium), transparent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
}

/* Enhanced Hover Effects */
.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.hover-glow {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-glow:hover {
    box-shadow: 0 0 30px var(--primary-rgba-strong);
}

/* Text Reveal Animation */
.text-reveal {
    overflow: hidden;
}

.text-reveal span {
    display: inline-block;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.text-reveal.revealed span {
    transform: translateY(0);
}

/* Staggered Animation */
.stagger-item {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.stagger-item:nth-child(1) {
    transition-delay: 0.1s;
}

.stagger-item:nth-child(2) {
    transition-delay: 0.2s;
}

.stagger-item:nth-child(3) {
    transition-delay: 0.3s;
}

.stagger-item:nth-child(4) {
    transition-delay: 0.4s;
}

.stagger-item:nth-child(5) {
    transition-delay: 0.5s;
}

/* Services Image - Cố định kích thước để tránh ngắn dài không đều */
.service-right-preview {
    width: 100% !important;
    height: 400px !important;
    min-height: 400px !important;
    max-height: 400px !important;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-right-preview img {
    width: 100% !important;
    height: 100% !important;
    min-height: 400px !important;
    max-height: 400px !important;
    object-fit: cover !important;
    object-position: center;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.service-right-preview:hover img {
    transform: scale(1.05);
}

/* Technical Blueprint Backgrounds */
.project-stats-section {
    position: relative;
    overflow: hidden;
}

.project-stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        /* Grid lines */
        linear-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.1) 1px, transparent 1px),
        /* Technical symbols */
        radial-gradient(circle at 20% 20%, rgba(0, 0, 0, 0.05) 2px, transparent 2px),
        radial-gradient(circle at 80% 80%, rgba(0, 0, 0, 0.05) 2px, transparent 2px),
        /* Construction lines */
        linear-gradient(45deg, transparent 48%, rgba(0, 0, 0, 0.03) 49%, rgba(0, 0, 0, 0.03) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(0, 0, 0, 0.03) 49%, rgba(0, 0, 0, 0.03) 51%, transparent 52%);
    background-size: 50px 50px, 50px 50px, 100px 100px, 100px 100px, 80px 80px, 80px 80px;
    background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
    animation: blueprintMove 30s linear infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes blueprintMove {
    0% {
        transform: translate(0, 0);
    }

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

/* Services Section Blueprint */
.services {
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        /* Technical drawing lines */
        linear-gradient(rgba(0, 0, 0, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.08) 1px, transparent 1px),
        /* Construction symbols */
        radial-gradient(circle at 10% 10%, rgba(0, 0, 0, 0.06) 3px, transparent 3px),
        radial-gradient(circle at 90% 90%, rgba(0, 0, 0, 0.06) 3px, transparent 3px),
        radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
    background-size: 40px 40px, 40px 40px, 200px 200px, 200px 200px, 300px 300px;
    background-position: 0 0, 0 0, 0 0, 0 0, 0 0;
    animation: blueprintMove 25s linear infinite reverse;
    z-index: 1;
    pointer-events: none;
}

/* Credentials Section Blueprint */
.credentials {
    position: relative;
    overflow: hidden;
}

.credentials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        /* Engineering grid */
        linear-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.06) 1px, transparent 1px),
        /* Technical annotations */
        linear-gradient(30deg, transparent 48%, rgba(0, 0, 0, 0.04) 49%, rgba(0, 0, 0, 0.04) 51%, transparent 52%),
        linear-gradient(-30deg, transparent 48%, rgba(0, 0, 0, 0.04) 49%, rgba(0, 0, 0, 0.04) 51%, transparent 52%);
    background-size: 60px 60px, 60px 60px, 120px 120px, 120px 120px;
    background-position: 0 0, 0 0, 0 0, 0 0;
    animation: blueprintMove 35s linear infinite;
    z-index: 1;
    pointer-events: none;
}

/* Team Section Blueprint */
.team {
    position: relative;
    overflow: hidden;
}

/* Team Section Text Visibility - Bright Colors */
.team h2 {
    color: #ffffff !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
    background: rgba(0, 0, 0, 0.7);
    padding: 1.5rem 2.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 3;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.team p {
    color: #ffffff !important;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.9);
    background: rgba(0, 0, 0, 0.6);
    padding: 1.2rem 2.2rem;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 3;
    margin-top: 1.5rem;
    font-weight: 500;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Alternative Bright Colors - Uncomment to use */
/*
.team h2 {
color: #f0f8ff !important; // Alice Blue
text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
}

.team p {
color: #f0f8ff !important; // Alice Blue
text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.9);
}

.team h2 {
color: #e6f3ff !important; // Light Blue
text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
}

.team p {
color: #e6f3ff !important; // Light Blue
text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.9);
}

.team h2 {
color: #fff8dc !important; // Cornsilk
text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
}

.team p {
color: #fff8dc !important; // Cornsilk
text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.9);
}
*/

.team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        /* Architectural lines */
        linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px),
        /* Construction details */
        radial-gradient(circle at 25% 25%, rgba(0, 0, 0, 0.04) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(0, 0, 0, 0.04) 2px, transparent 2px);
    background-size: 70px 70px, 70px 70px, 150px 150px, 150px 150px;
    background-position: 0 0, 0 0, 0 0, 0 0;
    animation: blueprintMove 40s linear infinite reverse;
    z-index: 1;
    pointer-events: none;
}

/* Projects Section Blueprint */
.projects {
    position: relative;
    overflow: hidden;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        /* Project grid */
        linear-gradient(rgba(0, 0, 0, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.07) 1px, transparent 1px),
        /* Technical measurements */
        linear-gradient(45deg, transparent 48%, rgba(0, 0, 0, 0.03) 49%, rgba(0, 0, 0, 0.03) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(0, 0, 0, 0.03) 49%, rgba(0, 0, 0, 0.03) 51%, transparent 52%);
    background-size: 45px 45px, 45px 45px, 90px 90px, 90px 90px;
    background-position: 0 0, 0 0, 0 0, 0 0;
    animation: blueprintMove 20s linear infinite;
    z-index: 1;
    pointer-events: none;
}

/* Credentials Layout - Design đẹp và chuyên nghiệp */
.credentials-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: 1fr 1fr !important;
    gap: 2.5rem !important;
    align-items: stretch !important;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.credential-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 200px;
    position: relative;
    overflow: hidden;
}

.credential-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-rgba-light), rgba(247, 147, 30, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.credential-card:hover::before {
    opacity: 1;
}

.credential-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-rgba-medium);
}

.credential-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 25px var(--primary-rgba-medium);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.credential-card:hover .credential-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 35px var(--primary-rgba-medium);
}

.credential-card h3 {
    color: #1a1a1a !important;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    text-shadow: none;
}

.credential-card p {
    color: #333333 !important;
    font-size: 1rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
    text-shadow: none;
    opacity: 1;
}

/* Mobile Blueprint Optimizations */
@media (max-width: 768px) {

    /* Team text mobile optimization */
    .team h2 {
        padding: 1rem 1.5rem;
        font-size: 1.4rem;
        border-radius: 12px;
    }

    .team p {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
        border-radius: 10px;
    }

    /* Reduce blueprint intensity on mobile */
    .project-stats-section::before,
    .services::before,
    .credentials::before,
    .team::before,
    .projects::before {
        background-size: 30px 30px, 30px 30px, 60px 60px, 60px 60px, 50px 50px, 50px 50px;
        animation-duration: 20s;
    }

    /* Lighter blueprint patterns for mobile */
    .project-stats-section::before {
        background-image:
            linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
            linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
        background-size: 40px 40px, 40px 40px;
    }

    .services::before {
        background-image:
            linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
            linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
        background-size: 35px 35px, 35px 35px;
    }

    .credentials::before {
        background-image:
            linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
            linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
        background-size: 45px 45px, 45px 45px;
    }

    .team::before {
        background-image:
            linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
            linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
        background-size: 50px 50px, 50px 50px;
    }

    .projects::before {
        background-image:
            linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
            linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
        background-size: 35px 35px, 35px 35px;
    }

    /* Credentials Layout */
    .credentials-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
        gap: 2rem !important;
        max-width: 100%;
    }

    .credential-card {
        min-height: auto;
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }

    .credential-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .credential-card h3 {
        font-size: 1.2rem;
    }

    .credential-card p {
        font-size: 0.95rem;
    }

    /* ẨN SCROLL TO TOP BUTTON TRÊN MOBILE */
    #scrollToTopBtn {
        display: none !important;
    }

    .quote {
        justify-content: center;
    }

    /* ẨN SCROLL NAVIGATION TRÊN MOBILE */
    .scroll-nav {
        display: none !important;
    }

    .scroll-nav.show {
        display: none !important;
    }

    .scroll-item {
        display: none !important;
    }

}

/* Force override for container-fluid quote */
.navbar .container-fluid .quote {
    justify-content: flex-start !important;
}

/* Project Detail Page Styles */
.project-detail-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
}

.breadcrumb {
    margin-bottom: 40px;
    font-size: 14px;
    color: #64748b;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-color-dark);
}

.project-detail-content {
    margin-bottom: 60px;
}

.project-detail-main {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.project-detail-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

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

.project-detail-image:hover img {
    transform: scale(1.05);
}

.project-detail-info {
    padding: 40px;
}

.project-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    line-height: 1.2;
}

.project-detail-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.project-category {
    background: var(--gradient-primary);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.project-year {
    background: #e2e8f0;
    color: #64748b;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.project-detail-description h3,
.project-detail-features h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
    margin-top: 40px;
}

.project-detail-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 0;
}

.project-detail-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-detail-features li {
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    padding-left: 30px;
    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
}

.project-detail-features li:last-child {
    border-bottom: none;
}

.project-detail-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 12px;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 16px;
}

.project-detail-sidebar {
    position: sticky;
    top: 120px;
}

.project-detail-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.project-detail-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.project-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

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

.project-detail-item strong {
    color: #1e293b;
    font-weight: 600;
    min-width: 80px;
}

.project-detail-item span {
    color: #64748b;
    text-align: right;
    flex: 1;
}

.related-projects {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-project-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 12px;
    text-decoration: none;
    color: #475569;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.related-project-item:hover {
    background: #f8fafc;
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.related-project-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.related-project-item span {
    font-weight: 500;
    font-size: 14px;
}

.back-to-projects {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
}

.back-to-projects .btn {
    padding: 12px 24px;
    border-radius: 50px;
}

/* ========================================
   PRODUCT DETAIL PAGE STYLES
   ======================================== */

/* Breadcrumb */
.product-breadcrumb {
    background: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

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

.breadcrumb-nav a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: var(--primary-hover);
}

.breadcrumb-separator {
    color: #6c757d;
}

.current-page {
    color: #6c757d;
    font-weight: 500;
}

/* Product Hero Section */
.product-hero {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.product-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.product-badge {
    margin-bottom: 20px;
}

.badge-text {
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-title {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.product-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 30px;
    line-height: 1.6;
}

.product-features {
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1rem;
    color: #495057;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.product-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* Product Image Gallery */
.product-image-gallery {
    position: relative;
}

.main-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.product-main-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-image:hover .product-main-img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-image:hover .image-overlay {
    opacity: 1;
}

.zoom-btn {
    background: white;
    color: var(--primary-color);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.thumbnail-gallery {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail.active {
    border-color: var(--primary-color);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Details Section */
.product-details {
    padding: 80px 0;
    background: white;
}

.product-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.tab-navigation {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #e9ecef;
    flex-wrap: wrap;
}

.tab-btn {
    background: none;
    border: none;
    padding: 15px 25px;
    font-size: 1rem;
    font-weight: 600;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    margin: 0 5px;
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-content {
    min-height: 400px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

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

/* Overview Content */
.overview-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.overview-content p {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 40px;
}

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

.overview-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

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

.overview-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.overview-icon i {
    font-size: 1.5rem;
    color: white;
}

.overview-text h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.overview-text p {
    color: #6c757d;
    margin: 0;
    font-size: 0.95rem;
}

/* Services Content */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.service-card p {
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.service-card ul li {
    padding: 8px 0;
    color: #495057;
    position: relative;
    padding-left: 20px;
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Project Detail Process Content - Using new classes to avoid conflicts */
.project-detail-process-steps {
    max-width: 800px;
    margin: 0 auto;
}

.project-detail-process-step {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.project-detail-process-step:hover {
    background: #e9ecef;
    transform: translateX(10px);
}

.project-detail-step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.step-content p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* Portfolio Content */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.portfolio-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.portfolio-btn {
    background: white;
    color: var(--primary-color);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.portfolio-info {
    padding: 25px;
}

.portfolio-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.portfolio-info p {
    color: #6c757d;
    margin-bottom: 15px;
    line-height: 1.6;
}

.project-type {
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Screen reader only class for accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* FAQ Content */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 200px;
}

.faq-answer p {
    color: #4a5568; /* Improved contrast from #6c757d */
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.product-cta {
    background: var(--gradient-primary);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-actions .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta-actions .btn-primary:hover {
    background: #f8f9fa;
}

.cta-actions .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-actions .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* Modals */
.image-modal, .portfolio-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.image-modal-content, .portfolio-modal-content {
    position: relative;
    margin: 5% auto;
    max-width: 90%;
    max-height: 90%;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.image-modal-content {
    max-width: 80%;
    max-height: 80%;
}

.image-modal-content img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
}

.portfolio-modal-content {
    max-width: 1000px;
}

.portfolio-modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.portfolio-modal-image {
    height: 400px;
    overflow: hidden;
}

.portfolio-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-modal-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.portfolio-modal-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.portfolio-modal-info p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 30px;
}

.portfolio-modal-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

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

.detail-item strong {
    color: #2c3e50;
    font-weight: 600;
}

.detail-item span {
    color: var(--primary-color);
    font-weight: 500;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    font-weight: bold;
    color: white;
    cursor: pointer;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-title {
        font-size: 2.2rem;
    }
    
    .product-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-primary, .btn-secondary {
        justify-content: center;
    }
    
    .tab-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .tab-btn {
        text-align: center;
        border-bottom: none;
        border-left: 3px solid transparent;
    }
    
    .tab-btn.active {
        border-left-color: var(--primary-color);
        border-bottom: none;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .project-detail-process-step {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .portfolio-modal-body {
        grid-template-columns: 1fr;
    }
    
    .portfolio-modal-info {
        padding: 30px 20px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}

/* ========================================
   PROJECT DETAIL PAGE STYLES
   ======================================== */

/* Project Detail Specific Styles */
.project-detail-page {
    min-height: 100vh;
}

/* Project Detail Hero Section */
.project-detail-hero {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-detail-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.project-detail-hero .hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-detail-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.85), rgba(55, 65, 81, 0.85));
}

.project-detail-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    margin-top: 100px;
}

.project-detail-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Project Detail Main Content */
.project-detail-main {
    background: #f8fafc;
    padding: 80px 0;
}

.project-info-section {
    margin-bottom: 60px;
}

.project-info-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.project-info-left {
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.project-info-right {
    position: relative;
}

.project-badge {
    margin-bottom: 20px;
}

.badge-text {
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-subtitle {
    font-size: 1.3rem;
    color: #6c757d;
    margin-bottom: 30px;
    line-height: 1.6;
}

.project-features {
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1rem;
    color: #495057;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.project-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* Project Image Gallery */
.project-image-gallery {
    position: relative;
}

.main-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.project-main-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-image:hover .project-main-img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-image:hover .image-overlay {
    opacity: 1;
}

.zoom-btn {
    background: white;
    color: var(--primary-color);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* Scroll to Top Button */
#scrollToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
}

#scrollToTopBtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

#scrollToTopBtn i {
    font-size: 18px;
}

@media (max-width: 768px) {
    #scrollToTopBtn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    #scrollToTopBtn i {
        font-size: 16px;
    }
}

/* Features Content */
.features-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
}

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

.feature-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.feature-card .feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.feature-card .feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.feature-card p {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

.features-list {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    margin-top: 30px;
}

.features-list h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

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

.features-list ul li {
    padding: 8px 0;
    color: #495057;
    position: relative;
    padding-left: 25px;
    border-bottom: 1px solid #e9ecef;
}

.features-list ul li:last-child {
    border-bottom: none;
}

.features-list ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Details Content */
.details-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
}

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

.detail-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.detail-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.detail-card .detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f4;
}

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

.detail-card .detail-item strong {
    color: #2c3e50;
    font-weight: 600;
    font-size: 0.95rem;
}

.detail-card .detail-item span {
    color: var(--primary-color);
    font-weight: 500;
    text-align: right;
}

.services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.service-tag {
    background: var(--gradient-primary);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 30px;
}

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

.timeline-marker {
    position: absolute;
    left: -22px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.timeline-content p {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* Gallery Content */
.gallery-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
}

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

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-btn {
    background: white;
    color: var(--primary-color);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* Responsive Design for Project Detail */
@media (max-width: 768px) {
    .project-detail-hero {
        height: 300px;
    }
    
    .project-detail-hero .hero-title {
        font-size: 2.2rem;
    }
    
    .project-detail-hero .hero-content {
        margin-top: 80px;
    }
    
    .project-detail-main {
        padding: 50px 0;
    }
    
    .project-info-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .project-info-left {
        padding: 30px 20px;
    }
    
    .project-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-primary, .btn-secondary {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline {
        padding-left: 20px;
    }
    
    .timeline::before {
        left: 10px;
    }
    
    .timeline-item {
        padding-left: 25px;
    }
    
    .timeline-marker {
        left: -17px;
    }
    
    .services-list {
        justify-content: center;
    }
    
    .service-tag {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

/* ========================================
   WORK WITH US PAGE STYLES
   ======================================== */

/* Color Picker Container */
.color-picker-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.color-picker-container .simple-color-picker {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.color-picker-container .simple-color-picker:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .color-picker-container {
        top: 15px;
        right: 15px;
        padding: 8px;
    }
    
    .color-picker-container .simple-color-picker {
        width: 35px;
        height: 35px;
    }
}

/* Hero Section */
.work-with-us-hero {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.85), rgba(55, 65, 81, 0.85));
}

.work-with-us-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    margin-top: 100px;
}

.work-with-us-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1rem;
}

.breadcrumb-nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-nav a:hover {
    color: var(--primary-color);
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-current {
    color: var(--primary-color);
    font-weight: 600;
}

/* Main Content */
.work-with-us-main {
    background: #f8fafc;
    padding: 80px 0;
    overflow: visible;
    width: 100%;
    max-width: 100%;
}

.work-with-us-main .container {
    overflow: visible;
    width: 100%;
    max-width: 100%;
}

.contact-content-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    margin-bottom: 60px;
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

/* Contact Form Section */
.contact-form-section {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.form-header {
    margin-bottom: 40px;
}

.form-dotted-line {
    width: 60px;
    height: 2px;
    background: repeating-linear-gradient(
        to right,
        var(--primary-color) 0,
        var(--primary-color) 5px,
        transparent 5px,
        transparent 10px
    );
    margin-bottom: 15px;
}

.form-subtitle {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.form-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark-color);
    line-height: 1.3;
}

.work-with-us-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.work-with-us-form .form-group {
    display: flex;
    flex-direction: column;
}

.work-with-us-form input,
.work-with-us-form select,
.work-with-us-form textarea {
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    color: var(--dark-color);
    transition: all 0.3s ease;
    background: #f8fafc;
}

.work-with-us-form input:focus,
.work-with-us-form select:focus,
.work-with-us-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

.work-with-us-form textarea {
    resize: vertical;
    min-height: 120px;
}

.work-with-us-form .submit-btn {
    background: var(--gradient-primary);
    color: white;
    padding: 16px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.work-with-us-form .submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.4);
}

.work-with-us-form .submit-btn i {
    transition: transform 0.3s ease;
}

.work-with-us-form .submit-btn:hover i {
    transform: translateX(5px);
}

/* Contact Information Section - Work with Us Page */
.work-with-us-main .contact-info-section {
    background: var(--gradient-primary);
    padding: 50px 40px;
    border-radius: 20px;
    color: white;
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.3);
    width: 100%;
    min-width: 0;
    overflow: visible;
    position: relative;
    z-index: 1;
}

.work-with-us-main .contact-info-section .contact-info-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: white;
}

.work-with-us-main .contact-info-section .contact-info-description {
    opacity: 0.9;
    margin-bottom: 40px;
    font-size: 1rem;
    line-height: 1.6;
    color: white;
}

.work-with-us-main .contact-info-section .contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.work-with-us-main .contact-info-section .contact-info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.work-with-us-main .contact-info-section .contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    color: white;
}

.work-with-us-main .contact-info-section .contact-details {
    color: white;
}

.work-with-us-main .contact-info-section .contact-details h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.work-with-us-main .contact-info-section .contact-details p {
    opacity: 0.9;
    margin: 5px 0;
    line-height: 1.6;
    color: white;
}

/* General contact-info styles for other pages */
.contact-info-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.contact-info-description {
    opacity: 0.9;
    margin-bottom: 40px;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-details p {
    opacity: 0.9;
    margin: 5px 0;
    line-height: 1.6;
}

/* Map Section */
.map-section {
    margin-bottom: 60px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.map-section iframe {
    border-radius: 20px;
}

/* Marquee Banner */
/* Marquee Banner */
.marquee {
    background: var(--dark-color);
    padding: 20px 0;
    overflow: hidden;
    margin-bottom: 60px;
}

.marquee-inner {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    will-change: transform;
    /* Faster animation: 6s for a quicker marquee */
    animation: marquee-scroll 30s linear infinite;
    white-space: nowrap;
}

.marquee-inner span {
    color: white;
    font-size: 60px; /* large on desktop */
    font-weight: 700;
    letter-spacing: 2px;
    padding-right: 80px;
    display: inline-block;
    line-height: 1;
    white-space: nowrap;
}

/* Responsive sizes */
@media (max-width: 991.98px) {
    .marquee-inner span { font-size: 20px; }
}

@media (max-width: 767.98px) {
    .marquee-inner span { font-size: 14px; }
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .marquee-inner { animation: none; }
}

/* Partners Section */
.partners-section {
    padding: 60px 0;
    background: white;
}

.partners-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 50px;
    text-transform: capitalize;
}

.partners-logos {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    align-items: center;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    transition: all 0.3s ease;
    min-height: 120px;
}

.partner-logo:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.15);
}

.logo-placeholder {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.4;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .contact-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .work-with-us-main .contact-info-section {
        padding: 40px 30px;
    }

    .partners-logos {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .work-with-us-hero {
        height: 300px;
    }

    .work-with-us-hero .hero-title {
        font-size: 2.2rem;
    }

    .breadcrumb-nav {
        font-size: 0.9rem;
    }

    .work-with-us-main {
        padding: 50px 0;
    }

    .contact-form-section {
        padding: 30px 20px;
    }

    .form-title {
        font-size: 1.6rem;
    }

    .work-with-us-form .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 15px;
    }

    .work-with-us-form input,
    .work-with-us-form select,
    .work-with-us-form textarea {
        padding: 14px 16px;
        font-size: 0.95rem;
    }

    .work-with-us-form textarea {
        min-height: 100px;
    }

    .work-with-us-form .submit-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 30px;
    }

    .work-with-us-main .contact-info-section {
        padding: 30px 25px;
    }

    .contact-info-title {
        font-size: 1.5rem;
    }

    .contact-info-description {
        font-size: 0.95rem;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .contact-details h4 {
        font-size: 1.1rem;
    }

    .contact-details p {
        font-size: 0.9rem;
    }

    .partners-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .partners-title {
        font-size: 1.5rem;
    }

    .marquee-inner span {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .work-with-us-hero .hero-title {
        font-size: 1.8rem;
    }

    .contact-form-section {
        padding: 25px 15px;
    }

    .form-title {
        font-size: 1.4rem;
    }

    .partners-logos {
        grid-template-columns: 1fr;
    }
}

.back-to-projects .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .project-detail-section {
        padding: 100px 0 60px;
    }

    .project-detail-title {
        font-size: 2rem;
    }

    .project-detail-info {
        padding: 30px 20px;
    }

    .project-detail-meta {
        flex-direction: column;
        gap: 10px;
    }

    .project-detail-sidebar {
        position: static;
        margin-top: 30px;
    }

    .back-to-projects {
        position: static;
        text-align: center;
        margin-top: 40px;
    }

    .project-detail-image {
        height: 250px;
    }
}

/* Footer fixes for 768px and 820px */
@media (max-width: 820px) and (min-width: 768px) {
    .footer-content {
        flex-direction: column !important;
        text-align: center !important;
        gap: 30px !important;
        padding: 30px 20px !important;
    }

    .footer-left,
    .footer-center,
    .footer-right {
        width: 100% !important;
        max-width: none !important;
    }
    
    /* Footer logo responsive for tablet */
    .footer-logo {
        height: 120px;
        max-width: 240px; /* Maintain aspect ratio */
    }

    .footer-center {
        flex-direction: column !important;
        gap: 30px !important;
        margin-right: 0 !important;
    }

    .footer-column {
        width: 100% !important;
        margin-bottom: 20px !important;
    }

    .footer-column ul {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px 20px !important;
        justify-items: start !important;
    }

    .footer-top {
        height: auto !important;
        min-height: auto !important;
        padding: 20px 0 !important;
    }

    .footer {
        height: auto !important;
        min-height: auto !important;
    }
}

/* Nav-btn responsive fixes */
/* Tablet - 769px to 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-btn {
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
        min-height: 50px !important;
        max-width: 50px !important;
        max-height: 50px !important;
        font-size: 20px !important;
    }

    .nav-btn.prev {
        left: 15px !important;
    }

    .nav-btn.next {
        right: 15px !important;
    }
}

/* Optimized Color-switch responsive styles */
@media (min-width: 1200px) {
    .color-switch {
        width: 55px !important;
        height: 55px !important;
    }
}

@media (min-width: 1025px) and (max-width: 1199px) {
    .color-switch {
        width: 50px !important;
        height: 50px !important;
        margin-bottom: 20px !important;
        margin-right: 6px !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .color-switch {
        width: 45px !important;
        height: 45px !important;
        margin-bottom: 25px !important;
        margin-right: 4px !important;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .color-switch {
        width: 40px !important;
        height: 40px !important;
        margin-bottom: 30px !important;
        margin-right: 2px !important;
    }
}

@media (max-width: 480px) {
    .color-switch {
        width: 35px !important;
        height: 35px !important;
        margin-bottom: 35px !important;
        margin-right: 0 !important;
    }
}

/* ========================================
   NEW SECTIONS - About Us, Service Areas, Trust Indicators, CTA
======================================== */

/* About Us Section */
.about-us-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.about-us-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .about-us-content {
        padding: 0 40px;
    }
}

@media (min-width: 1200px) {
    .about-us-content {
        padding: 0 60px;
    }
}

.about-us-text .section-header {
    margin-bottom: 30px;
}

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

.about-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--medium-gray);
    margin-bottom: 20px;
}

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

.about-feature-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.about-feature-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-top: 5px;
    flex-shrink: 0;
}

.about-feature-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.about-feature-item p {
    font-size: 0.95rem;
    color: var(--medium-gray);
    margin: 0;
}

.about-us-image {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about-image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.about-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 40px 30px 30px;
}

.about-stats-overlay {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.about-stat {
    text-align: center;
    color: white;
}

.about-stat h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.about-stat p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
}

/* Service Areas Section */
.service-areas-section {
    padding: 100px 0;
    background: white;
}

.service-areas-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .service-areas-content {
        padding: 0 40px;
    }
}

@media (min-width: 1200px) {
    .service-areas-content {
        padding: 0 60px;
    }
}

.service-areas-list h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 30px;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.area-item {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.area-item:hover {
    background: white;
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.1);
}

.area-item i {
    font-size: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.area-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.area-item p {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin: 0;
}

.service-areas-note {
    padding: 20px;
    background: rgba(255, 107, 53, 0.05);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
}

.service-areas-note p {
    margin: 0;
    color: var(--dark-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-areas-note i {
    color: var(--primary-color);
    margin-right: 8px;
}

.service-areas-map {
    position: sticky;
    top: 100px;
}

/* Map container for Service Areas Section */
.service-areas-map .map-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    height: 500px;
}

/* Map container for Footer - smaller height */
.footer-right .map-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    height: 200px;
    margin-top: 20px;
}

/* General map container (for other sections) */
.map-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none; /* Hide placeholder - iframe will show the map */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    z-index: 1;
    pointer-events: none;
}

.map-placeholder i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.map-placeholder p {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 5px 0;
}

.map-coordinates {
    font-size: 0.9rem;
    color: var(--medium-gray);
}

/* Iframe styles for Service Areas map */
.service-areas-map .map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    z-index: 10; /* Higher z-index to ensure it's above placeholder */
    background: #f8fafc; /* Fallback background while loading */
}

/* Iframe styles for Footer map */
.footer-right .map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    z-index: 2;
}

/* General iframe styles (for other sections) */
.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 2;
}

/* Trust Indicators Section */
.trust-indicators-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark-color) 0%, #374151 100%);
    color: white;
}

.trust-indicators-section .section-header h2,
.trust-indicators-section .section-header .subtitle {
    color: white;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .trust-grid {
        padding: 0 40px;
    }
}

@media (min-width: 1200px) {
    .trust-grid {
        padding: 0 60px;
    }
}

.trust-item {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.trust-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(255, 107, 53, 0.2);
}

.trust-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: 50%;
    font-size: 32px;
    color: white;
    transition: all 0.3s ease;
}

.trust-item:hover .trust-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

.trust-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.trust-item p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 1; /* Improved contrast - removed opacity */
    color: rgba(255, 255, 255, 1); /* Ensure full white for better contrast */
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .cta-content {
        padding: 0 40px;
    }
}

@media (min-width: 1200px) {
    .cta-content {
        padding: 0 60px;
    }
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.cta-buttons .btn-primary {
    background: white;
    color: #1a202c; /* Improved contrast - dark color instead of var(--primary-color) */
    font-weight: 700; /* Make text bolder for better visibility */
}

.cta-buttons .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-buttons .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive Styles for New Sections */
@media (max-width: 991px) {
    .about-us-content,
    .service-areas-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
    }
    
    .service-areas-map {
        position: static;
    }
    
    .service-areas-map .map-container {
        height: 400px;
    }
    
    .footer-right .map-container {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .about-us-section,
    .service-areas-section,
    .trust-indicators-section,
    .cta-section {
        padding: 60px 0;
    }
    
    .about-image-wrapper img {
        height: 350px;
    }
    
    .about-stats-overlay {
        flex-direction: column;
        gap: 15px;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   PAGE HERO SECTION (For all pages)
   ======================================== */
.page-hero {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 60px;
}

.page-hero .hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    width: 100%;
}

.page-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.page-main {
    padding: 40px 0 100px;
}

/* Service Features List */
.service-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    color: var(--medium-gray);
}

.service-features li i {
    color: var(--primary-color);
    font-size: 14px;
}

/* Contact Info Section - Other Pages (not work-with-us) */
/* This rule only applies when NOT inside work-with-us-main */
main:not(.work-with-us-main) .contact-info-section,
.page-contact .contact-info-section,
.page-about .contact-info-section {
    padding: 80px 0;
    background: #f8fafc;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-info-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Contact Info Icon for Contact Page Cards */
.contact-info-card .contact-info-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: 50%;
    color: white;
    font-size: 32px;
}

.contact-info-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.contact-info-card p {
    color: var(--medium-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact-info-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-info-card a:hover {
    color: var(--secondary-color);
}

/* Map Section */
.map-section {
    padding: 60px 0;
}

.map-section .map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Team Stats */
.team-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
    padding: 0 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* When there are 4 items, show 4 columns */
.team-stats.team-stats-4 {
    grid-template-columns: repeat(4, 1fr);
}

.team-stats .stat-item {
    text-align: center;
    padding: 35px 25px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.team-stats .stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.team-stats .stat-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: 50%;
    color: white;
    font-size: 28px;
    flex-shrink: 0;
}

.team-stats .stat-content {
    width: 100%;
}

.team-stats .stat-content h4 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.2;
}

.team-stats .stat-content p {
    color: var(--medium-gray);
    font-size: 0.95rem;
    margin: 0;
    font-weight: 500;
}

/* Responsive Page Hero */
@media (max-width: 768px) {
    .page-hero {
        height: 300px;
    }
    
    .page-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .team-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 15px;
    }
    
    .team-stats.team-stats-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-stats .stat-item {
        padding: 25px 15px;
    }
    
    .team-stats .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .team-stats .stat-content h4 {
        font-size: 2rem;
    }
    
    .page-main {
        padding: 20px 0 60px;
    }
}

@media (max-width: 480px) {
    .team-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .team-stats .stat-item {
        padding: 20px 15px;
    }
    
    .team-stats .stat-content h4 {
        font-size: 1.8rem;
    }
}