/*Input Your Custom CSS Here*/
.feature_icon i {
    position: absolute;
    left: -10px;
    right: 0;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    margin: 0px auto;
    font-size: 26px;
    color: #ffffff;
    z-index: 10;
}
/* Custom About Us Styles */
.mission-item,
.vision-item {
    padding: 40px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    height: 100%;
}

.mission-icon i {
    font-size: 50px;
    color: #8b2323;
    /* Your brand color */
    margin-bottom: 20px;
    display: inline-block;
}

.mission-item ul {
    list-style: none;
    padding: 0;
}

.mission-item ul li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 15px;
}

.mission-item ul li::before {
    content: "\ee62";
    /* Icofont tick */
    font-family: IcoFont;
    position: absolute;
    left: 0;
    color: #8b2323;
}

.value-card {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-bottom: 3px solid #8b2323;
    transition: 0.3s;
    margin-bottom: 30px;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.value-icon i {
    font-size: 80px;
    color: #8b2323;
    margin-bottom: 15px;
    display: block;
}



/* Clients Page Custom Styles */
.client-logo-box {
    background: #fff;
    border: 1px solid #eee;
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 30px;
    transition: 0.4s;
    border-radius: 8px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.client-logo-box h3 {
    font-size: 18px;
    color: #333;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.client-logo-box:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #8b2323;
    /* Your Brand Color */
    transform: translateY(-5px);
}

.client-logo-box h3:hover {
    color: #8b2323;
}

/* Extracted Inline Styles */
.footer-logo img {
    width: 50% !important;
}

.slide-bg-1 {
    background-image: url(img/slider/1.jpg) !important;
}

.slide-bg-2 {
    background-image: url(img/slider/2.jpg) !important;
}

.slide-bg-3 {
    background-image: url(img/slider/3.jpg) !important;
}

.client-logo-box-custom {
    padding: 30px 15px !important;
    border: 1px solid #eee !important;
    margin-bottom: 30px !important;
    text-align: center !important;
    border-radius: 5px !important;
    min-height: 100px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
}

.client-logo-box-custom h3 {
    font-size: 16px !important;
    margin: 0 !important;
    color: #1a2b4c !important;
    font-weight: 700 !important;
}

.service-tips-overlay p {
    color: white !important;
    font-size: 12px !important;
    padding: 0 15px !important;
}

.why-choose-icon i {
    font-size: 30px !important;
    color: white !important;
    padding: 15px !important;
}

/* About Us page - Mission & Vision and Values sections */
.mission-vision-sec {
    padding-top: 50px;
    padding-bottom: 30px;
}

.mission-item h2,
.vision-item h2,
.core-values-sec h2 {
    color: #1a2b4c;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 32px;
}

.mission-item h2 span,
.vision-item h2 span,
.core-values-sec h2 span {
    color: #7b1f29;
}

.mission-item ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.mission-item ul li {
    position: relative;
    padding-left: 30px !important;
    margin-bottom: 20px !important;
    color: #666;
    font-size: 16px;
    line-height: 1.7;
}

.mission-item ul li::before {
    content: "\ea7c" !important;
    font-family: "IcoFont" !important;
    position: absolute;
    left: 0;
    top: 2px;
    color: #7b1f29 !important;
    font-size: 16px !important;
    display: inline-block !important;
}

.vision-item p {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.vision-img-box {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-image: url('img/slider/1.png');
    background-size: cover;
    background-position: center;
}

.vision-img-box::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 35%;
    background-color: #7b1f29;
    clip-path: polygon(100% 0, 100% 100%, 20% 100%, 0 50%, 20% 0);
}

.values-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.value-card {
    border: 2px solid #7b1f29;
    border-radius: 12px;
    padding: 30px 15px;
    text-align: center;
    background: #fff;
    flex: 1 1 0;
    min-width: 180px;
    transition: 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.value-card .value-icon {
    font-size: 80px;
    color: #7b1f29;
    margin-bottom: 20px;
    text-align: center;
    display: block;
}

.value-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a2b4c;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 0;
}

.core-values-sec {
    background-color: #fff;
    padding-bottom: 70px;
}

.client-logo-box-custom img {
    max-width: 100% !important;
    max-height: 60px !important;
    object-fit: contain !important;
}


/* Projects Page Grouped Layout */
.project-group-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 40px 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    width: 100%;
    transition: all 0.3s ease;
}

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

.project-client-group {
    margin-bottom: 35px;
}

.project-client-group:last-child {
    margin-bottom: 0;
}

.project-client-logo {
    max-height: 40px;
    max-width: 150px;
    object-fit: contain;
    margin-bottom: 15px;
    display: block;
}

.project-client-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a2b4c;
    margin-bottom: 15px;
    border-left: 4px solid #7b1f29;
    padding-left: 10px;
    line-height: 1.2;
}

.project-item-box {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 6px;
    padding: 12px 18px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.project-item-box i {
    color: #7b1f29;
    margin-right: 12px;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.project-item-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(106, 29, 32, 0.12);
    border-color: rgba(106, 29, 32, 0.25);
    color: #6a1d20;
    text-decoration: none;
}

.project-item-box:hover i {
    transform: scale(1.2);
}

/* Active Menu Item Animated Border */
.main-menu ul li.active a {
    color: #6a1d20 !important;
}

.main-menu ul li a::before {
    content: "" !important;
    position: absolute !important;
    bottom: 30px !important;
    left: 16px !important;
    right: 16px !important;
    height: 3px !important;
    background-color: #6a1d20 !important;
    transform: scaleX(0) !important;
    transition: transform 0.3s ease-in-out !important;
    transform-origin: left !important;
}

.main-menu ul li.active a::before,
.main-menu ul li a:hover::before {
    transform: scaleX(1) !important;
}

/* Sidebar Active Category Override */
.widget-category ul li.active a {
    background: #6a1d20 !important;
    color: #fff !important;
}

.widget-category ul li.active a::before {
    color: #fff !important;
}

/* Force Landscape Aspect Ratio on Service Images */
.why-choose-thumb {
    height: 220px !important;
    overflow: hidden !important;
    position: relative !important;
}

.why-choose-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

.page-details-thumb {
    height: 380px !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    margin-bottom: 30px !important;
}

.page-details-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

.page-details-col {
    height: 200px !important;
    overflow: hidden !important;
    border-radius: 6px !important;
}

.page-details-col img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* Individual Service Page Header Backgrounds */
.elv-hd-bg {
    background-image: url("img/elv_hd.jpg") !important;
}
.network-hd-bg {
    background-image: url("img/network_hd.jpg") !important;
}
.repair-hd-bg {
    background-image: url("img/repair_hd.jpg") !important;
}
.amc-hd-bg {
    background-image: url("img/amc_hd.jpg") !important;
}
.automation-hd-bg {
    background-image: url("img/automation_hd.jpg") !important;
}
.systems-hd-bg {
    background-image: url("img/systems_hd.jpg") !important;
}
.projects-hd-bg {
    background-image: url("img/projects_hd.jpg") !important;
}

.about-hd-bg {
    background-image: url("img/about_hd.jpg") !important;
}

.services-hd-bg {
    background-image: url("img/services_hd.jpg") !important;
}
.contact-hd-bg {
    background-image: url("img/contact_hd.jpg") !important;
}
.clients-hd-bg {
    background-image: url("img/clients_hd.jpg") !important;
}
