.elementor-30304 .elementor-element.elementor-element-88e0b5a{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}/* Start custom CSS */:root {
        --purple: #743874;
        --purple-dark: #5a2a5a;
        --orange: #FF7800;
        --orange-dark: #e66a00;
        --white: #ffffff;
        --dark-bg: #1d2327;
        --light-gray: #f8f9fa;
        --text-dark: #333333;
        --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        --section-spacing: 100px;
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    html {
        scroll-behavior: smooth;
    }

    img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: var(--transition);
    }

    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }

    .section-padding {
        padding: var(--section-spacing) 8%;
    }

    .text-center {
        text-align: center;
    }

    .heading-purple {
        color: var(--purple);
        margin-bottom: 15px;
    }

    .subheading {
        color: var(--orange);
        font-weight: 700;
        letter-spacing: 1px;
        text-transform: uppercase;
        font-size: 0.9rem;
        display: block;
        margin-bottom: 10px;
    }

    /* --- HEADER & TOP BAR --- */
    #site-header {
        position: sticky;
        top: 0;
        z-index: 9999;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }

    /* TOP BAR */
    .top-bar {
        background-color: var(--orange);
        color: var(--white);
        padding: 8px 5%;
        font-size: 13px;
        font-weight: 600;
    }

    .top-bar-content {
        display: flex;
        justify-content: space-between;
        /* 3 hướng: Trái - Giữa - Phải */
        align-items: center; 
        margin: 0 auto;
        width: 100%;
    }

    .top-item {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    /* NAVBAR */
    .navbar {
        background: var(--white);
        padding: 10px 5%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #eee;
    }

    /* LOGO HEADER FIX */
    .site-logo img {
        height: auto;
        max-height: 75px;
        width: auto;
        object-fit: contain;
    }

    .nav-links {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        align-items: center;
    }

    .nav-link {
        color: var(--purple);
        text-decoration: none;
        padding: 10px 15px;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        transition: var(--transition);
        border-radius: 4px;
        display: inline-block;
        cursor: pointer;
    }

    .nav-link:hover {
        background: var(--light-gray);
        color: var(--orange);
    }

    /* Dropdown Menu CSS */
    .dropdown {
        position: relative;
        display: inline-block;
    }

    .dropdown-content {
        display: none;
        position: absolute;
        background-color: #fff;
        min-width: 220px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
        z-index: 10000;
        border-radius: 4px;
        top: 100%;
        left: 0;
        overflow: hidden;
        border-top: 3px solid var(--orange);
    }

    .dropdown-content a {
        color: var(--text-dark);
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        font-size: 13px;
        font-weight: 600;
        text-transform: uppercase;
        border-bottom: 1px solid #f5f5f5;
    }

    .dropdown-content a:hover {
        background-color: var(--light-gray);
        color: var(--purple);
        padding-left: 20px;
        transition: 0.2s;
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }
 
    .hero-container {
        position: relative;
    }

    .hero {
        min-height: 85vh;
        background: linear-gradient(rgba(116, 56, 116, 0.6), rgba(60, 28, 60, 0.1)),
            url('https://bes-electrical.co.uk/wp-content/uploads/2022/12/Untitled-design-15-scaled.jpg');
        background-size: cover;
        background-position: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        color: var(--white);
        padding: 0 20px 150px 20px;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 5vw, 4rem);
        margin-bottom: 30px;
        font-weight: 800;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

    .custom-shape-divider-bottom {
        position: absolute;
        bottom: -1px; 
        left: 0;
        width: 100%;
        overflow: hidden;
        line-height: 0;
        z-index: 5;
    }

    .custom-shape-divider-bottom svg {
        position: relative;
        display: block;
        width: 100%; 
        height: 100px; 
    }

    .custom-shape-divider-bottom .shape-fill {
        fill: #ffffff; 
    }

    /* Buttons */
    .btn-main {
        padding: 15px 40px;
        background: var(--white);
        color: var(--purple);
        text-decoration: none;
        font-weight: 700;
        border-radius: 50px;
        transition: var(--transition);
        border: 2px solid var(--white);
        display: inline-flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .btn-main:hover {
        background: var(--orange);
        border-color: var(--orange);
        color: var(--white);
        transform: translateY(-3px);
        box-shadow: 0 15px 30px rgba(255, 120, 0, 0.3);
    }

    .btn-purple {
        background: var(--purple);
        color: white;
        border-color: var(--purple);
    }

    .btn-purple:hover {
        background: var(--purple-dark);
        border-color: var(--purple-dark);
    }
 
    .btn-map {
        display: inline-block;
        margin-top: 20px;
        padding: 10px 25px;
        border: 2px solid var(--purple);
        color: var(--purple);
        border-radius: 30px;
        text-decoration: none;
        font-weight: 700;
        transition: var(--transition);
        font-size: 14px;
    }

    .btn-map:hover {
        background: var(--purple);
        color: white;
        box-shadow: 0 5px 15px rgba(116, 56, 116, 0.2);
    }

    /* --- OVERLAP BOX --- */
    .overlap-container {
        position: relative;
        z-index: 10;
        margin-top: -160px;
        /* Đẩy lên cao */
        padding: 0 8%;
        margin-bottom: var(--section-spacing);
    }

    .application-steps-box {
        background: #fff;
        padding: 60px 40px;
        border-radius: 20px;
        text-align: center;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    }

    .steps-container {
        display: flex;
        justify-content: center;
        gap: 40px;
        margin-top: 40px;
        flex-wrap: wrap;
    }

    .step-item {
        flex: 1;
        min-width: 250px;
        position: relative;
        padding: 20px;
    }

    @media (min-width: 768px) {
        .step-item:first-child::after {
            content: '';
            position: absolute;
            top: 30%;
            right: -20px;
            width: 40px;
            height: 2px;
            background: repeating-linear-gradient(to right, var(--orange) 0, var(--orange) 5px, transparent 5px, transparent 10px);
        }
    }

    .step-icon-box {
        width: 80px;
        height: 80px;
        background: var(--light-gray);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 25px;
        transition: var(--transition);
    }

    .step-item:hover .step-icon-box {
        background: var(--purple);
        color: var(--white);
        transform: rotateY(180deg);
    }

    .step-icon-box i {
        font-size: 32px;
        color: var(--purple);
        transition: var(--transition);
    }

    .step-item:hover .step-icon-box i {
        color: var(--white);
        transform: rotateY(-180deg);
    }

    .step-title {
        font-size: 1.3rem;
        font-weight: 700;
        color: var(--purple);
        margin-bottom: 10px;
    }

    .step-desc {
        color: #666;
        font-size: 1rem;
        line-height: 1.6;
    }

    /* --- SERVICES --- */
    .grid-3 {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }

    .card {
        background: #fff;
        border-radius: 15px;
        overflow: hidden;
        border: none;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        transition: var(--transition);
    }

    .card:hover {
        transform: translateY(-10px);
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    }

    .card-img-wrapper {
        overflow: hidden;
        height: 220px;
    }

    .card-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--transition);
    }

    .card:hover .card-img {
        transform: scale(1.1);
    }

    .card-body {
        padding: 30px;
    }

    .card-body h3 {
        color: var(--purple);
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 1.4rem;
    }

    .card-body i.main-icon {
        color: var(--orange);
        background: rgba(255, 120, 0, 0.1);
        padding: 10px;
        border-radius: 50%;
    }

    .card-body ul {
        list-style: none;
        color: #666;
        font-size: 15px;
    }

    .card-body li {
        margin-bottom: 10px;
        display: flex;
        align-items: flex-start;
        gap: 10px;
    }

    .card-body li i {
        color: var(--orange);
        margin-top: 3px;
    }

    /* --- FAQ --- */
    .faq-section {
        background: var(--light-gray);
    }

    .faq-container {
        max-width: 800px;
        margin: 40px auto 0;
    }

    details {
        background: #fff;
        margin-bottom: 15px;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        border: none;
    }

    details[open] {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    summary {
        padding: 20px;
        font-weight: 700;
        color: var(--purple);
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: var(--transition);
    }

    summary::-webkit-details-marker {
        display: none;
    }

    summary:hover {
        background: #f4eff4;
    }

    summary::after {
        content: "\f078";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        color: var(--orange);
        transition: transform 0.3s;
    }

    details[open] summary::after {
        transform: rotate(180deg);
    }

    details p {
        padding: 0 20px 20px;
        color: #555;
        line-height: 1.6;
        border-top: 1px solid #eee;
        padding-top: 20px;
    }

    /* --- TESTIMONIAL --- */
    .testimonial-section {
        background: var(--purple);
        color: white;
        padding: 120px 8%;
        text-align: center;
        position: relative;
        z-index: 1;
        transform: skewY(-3deg);
        margin: 50px 0;
    }

    .testimonial-content {
        transform: skewY(3deg);
        max-width: 700px;
        margin: 0 auto;
    }

    .quote-icon {
        font-size: 50px;
        color: rgba(255, 255, 255, 0.3);
        margin-bottom: 20px;
    }

    .testimonial-text {
        font-size: 1.8rem;
        font-style: italic;
        line-height: 1.4;
        font-weight: 300;
    }

    .testimonial-author {
        margin-top: 20px;
        font-weight: 700;
        font-size: 1.1rem;
        color: var(--orange);
    }

    /* --- BRANCHES --- */
    .branch-card {
        border-top: 4px solid var(--purple);
        background: #fff;
        padding: 40px 30px;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        position: relative;
        transition: var(--transition);
    }

    .branch-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    }

    .branch-card h4 {
        color: var(--purple);
        margin-bottom: 20px;
        font-size: 24px;
    }

    .branch-info p {
        font-size: 15px;
        color: #555;
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .branch-info i {
        color: var(--purple);
        width: 20px;
        text-align: center;
    }

    /* --- PARTNERS --- */
    .partners-section {
        padding: 60px 8%;
        background: #fff;
        text-align: center;
        overflow: hidden;
    }

    /* SINGLE GRID SYSTEM FOR BOTH MOBILE & DESKTOP */
    .partners-grid-responsive {
        display: grid;
        /* MOBILE DEFAULT: 2 Cột (2x2 Grid) */
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        align-items: center;
        justify-items: center;
        max-width: 500px;
        /* Giới hạn width trên mobile cho đẹp */
        margin: 40px auto 0;
    }

    .partner-logo {
        max-width: 100%;
        height: 55px;
        /* Chiều cao cố định */
        width: auto;
        transition: var(--transition);
        object-fit: contain;
    }

    .partner-logo:hover {
        filter: grayscale(0%);
        opacity: 1;
        transform: scale(1.05);
    }

    /* DESKTOP OVERRIDE: 4 Cột (1 Dòng) */
    @media (min-width: 768px) {
        .partners-grid-responsive {
            grid-template-columns: repeat(4, 1fr);
            /* 4 Cột = 1 Dòng */
            max-width: 1100px;
            gap: 50px;
        }

        .partner-logo {
            height: 60px;
        }
    }

    /* --- FOOTER --- */
    #site-footer {
        background: #1a1a1a;
        color: #bbb;
        padding: 80px 8% 30px;
        position: relative;
    }

    .footer-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 50px;
    }

    .footer-col h4 {
        color: var(--white);
        margin-bottom: 25px;
        text-transform: uppercase;
        font-size: 17px;
        letter-spacing: 0.5px;
    }

    .footer-col a {
        color: #888;
        text-decoration: none;
        display: block;
        margin-bottom: 12px;
        transition: 0.3s;
        font-size: 15px;
    }

    .footer-col a:hover {
        color: var(--orange);
        padding-left: 8px;
    }

    .social-box {
        margin-top: 25px;
        display: flex;
        gap: 15px;
    }

    .social-box a {
        background: #333;
        width: 45px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        font-size: 18px;
        color: #fff;
        text-decoration: none;
        transition: var(--transition);
    }

    .social-box a:hover {
        background: var(--orange);
        transform: rotate(360deg);
    }

    .bottom-bar {
        border-top: 1px solid #333;
        margin-top: 60px;
        padding-top: 30px;
        display: flex;
        justify-content: space-between;
        font-size: 13px;
        color: #666;
        flex-wrap: wrap;
        gap: 20px;
    }

    /* --- MODAL (POPUP) --- */
    .modal {
        display: none;
        position: fixed;
        z-index: 10001;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(5px);
        align-items: center;
        justify-content: center;
    }

    .modal-content {
        background-color: #fefefe;
        margin: auto;
        padding: 40px;
        border: 1px solid #888;
        width: 90%;
        max-width: 500px;
        border-radius: 15px;
        text-align: center;
        position: relative;
        animation: slideDown 0.4s ease;
    }

    @keyframes slideDown {
        from {
            top: -50px;
            opacity: 0;
        }

        to {
            top: 0;
            opacity: 1;
        }
    }

    .close {
        color: #aaa;
        float: right;
        font-size: 28px;
        font-weight: bold;
        position: absolute;
        right: 20px;
        top: 10px;
        cursor: pointer;
    }

    .close:hover {
        color: var(--purple);
    }

    .modal h3 {
        color: var(--purple);
        margin-bottom: 30px;
    }

    .modal-btn-group {
        display: flex;
        gap: 20px;
        flex-direction: column;
    }

    .btn-branch {
        padding: 15px;
        background: var(--light-gray);
        color: var(--purple);
        text-decoration: none;
        border-radius: 8px;
        font-weight: bold;
        border: 2px solid var(--purple);
        transition: var(--transition);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .btn-branch:hover {
        background: var(--purple);
        color: white;
    }

    /* --- MOBILE RESPONSIVE --- */
    @media (max-width: 768px) {
        .nav-links {
            display: none;
        }

        /* Top Bar Mobile: Center align */
        .top-bar {
            font-size: 11px;
            padding: 5px;
        }

        .top-bar-content {
            justify-content: center;
            gap: 10px;
            flex-wrap: wrap;
        }

        .hero {
            min-height: 50vh;
            padding-bottom: 60px;
        }

        .custom-shape-divider-bottom {
            display: none;
        }

        .overlap-container {
            margin-top: 0;
            padding-top: 20px;
        }

        .application-steps-box {
            padding: 40px 20px;
        }

        .steps-container {
            gap: 30px;
        }

        .testimonial-text {
            font-size: 1.4rem;
        }

        .footer-col {
            text-align: center;
        }

        .footer-col a:hover {
            padding-left: 0;
            color: var(--orange);
        }

        .social-box {
            justify-content: center;
        }

        .bottom-bar {
            flex-direction: column;
            text-align: center;
        }
    }

    /* --- MOBILE MENU CSS IMPRESSIVE (FIXED) --- */
    .hamburger-menu {
        display: none;
        /* Ẩn trên desktop */
        flex-direction: column;
        justify-content: space-between;
        width: 26px;
        height: 20px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 10001;
        padding: 0;
    }

    .hamburger-menu .bar {
        width: 100%;
        height: 3px;
        background-color: var(--purple);
        border-radius: 3px;
        transition: 0.3s;
    }

    /* Hiệu ứng hamburger thành dấu X */
    .mobile-nav-wrapper.active+.hamburger-menu .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-nav-wrapper.active+.hamburger-menu .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-nav-wrapper.active+.hamburger-menu .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Overlay làm mờ nền sau */
    .mobile-nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        z-index: 10000;
        opacity: 0;
        visibility: hidden;
        transition: 0.3s ease;
    }

    .mobile-nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Wrapper Menu Trượt */
    .mobile-nav-wrapper {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: #fff;
        z-index: 10002;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        display: flex;
        flex-direction: column;
    }

    .mobile-nav-wrapper.active {
        transform: translateX(0);
    }

    /* Header bên trong Mobile Menu */
    .mobile-nav-header {
        padding: 20px;
        border-bottom: 1px solid #eee;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .close-mobile-menu {
        background: none;
        border: none;
        font-size: 24px;
        color: #888;
        cursor: pointer;
    }

    .mobile-nav-items {
        padding: 20px;
        overflow-y: auto;
    }

    /* --- FIX ĐỒNG BỘ FONT CHỮ --- */
    .m-link,
    .m-accordion-head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 15px 0;

        color: var(--text-dark);
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-size: 15px;
        font-weight: 700;
        text-transform: uppercase;
        text-decoration: none;
        line-height: 1.2;
        border-bottom: 1px solid #f0f0f0;
        cursor: pointer;
        background: transparent;
    }

    .m-accordion-head i {
        font-size: 14px;
        color: #999;
        transition: transform 0.3s;
    }

    /* Hover Effect */
    .m-link:hover,
    .m-accordion-head.active {
        color: var(--orange);
        padding-left: 8px;
        transition: all 0.3s ease;
    }

    .m-accordion-head.active i {
        transform: rotate(180deg);
        color: var(--orange);
    }

    /* Dropdown Body Mobile */
    .m-accordion-body {
        display: none;
        padding-left: 0;
        background: #fafafa;
        border-bottom: 1px solid #f0f0f0;
    }

    .m-accordion-body a {
        display: block;
        padding: 12px 0 12px 20px;
        color: #555;
        font-size: 14px;
        font-weight: 600;
        text-transform: none;
        text-decoration: none;
        border-top: 1px dashed #eee;
    }

    .m-accordion-body a:hover {
        color: var(--purple);
        background: #f4f4f4;
    }

    /* RESPONSIVE TRIGGER */
    @media (max-width: 768px) {
        .hamburger-menu {
            display: flex;
        }

        .nav-links {
            display: none;
        }
    }/* End custom CSS */