/* ===========================
   Table of Content
   ===========================
   1. Global Reset
   2. Navbar (Desktop)
   3. Dropdown Menu
   4. Offcanvas Menu (Mobile)
   5. Responsive Styles
=========================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


/* 1. Global Reset */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-style: normal;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 12px;
}

a {
    text-decoration: none;
}

body,
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.main_wraP {
    overflow: hidden;
}

/* Top Header */
.top-header {
    background: #A62037;
    color: #ffffff;
    font-weight: 500;
    font-size: 15px;
    font-weight: 500;
}


/* INNER LAYOUT */
.top-header-inner {
    max-width: 1000px;
    margin: auto;
    display: flex;
    padding: 5px;
    justify-content: space-between;
    align-items: center;
}

/* LEFT SIDE */
.top-header-left {
    width: 35%;
    display: flex;
    flex-direction: column;
}

.top-header-left .contact-line {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}

.top-header-left i {
    color: #ffffff;
    font-weight: 500;
    font-size: 13px;
}

/* RIGHT SIDE */
.top-header-right {
    width: 60%;
    overflow: hidden;
    text-align: right;
}

.top-header-right marquee {
    color: #ffffff;
    font-weight: 500;
    white-space: nowrap;
    font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .top-header-inner {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    @media (max-width: 991px) {
        .top-header-left {
            opacity: 0;
            visibility: hidden;
            height: 0;
            overflow: hidden;
        }
    }

    .top-header-left,
    .top-header-right {
        width: 100%;
        align-items: center;
        text-align: center;
    }
}


/* Top Header Exit*/


/* Navbar Start */
.navbar {
    width: 100%;
    height: 80px;
    transition: all 0.3s ease;
    z-index: 1050;
    background: #fff !important;
    font-weight: 500;
}

/* Fixed style when scrolling */
.navbar.fixed {
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.247);
    background-color: #fff;
}

/* Nav Container Wrapper - max width 1000px */
.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
}

/* Nav Links */
.navbar-nav {
    display: flex;
    /* align-items: center; */
}

/* Add vertical dividers between links */
/* .navbar-nav .nav-item:not(:last-child) {
    border-right: 2px solid #000000;
    margin-right: 15px;
    padding-right: 15px;
} */

.navbar-nav .nav-link {
    color: #CD3436 !important;
    font-size: 14px;
    font-weight: 700;
    transition: 0.3s;
}

.navbar-nav .nav-link:hover {
    color: #000000 !important;
}

/* ===== BUTTONS ===== */
.navbar-btns .btn {
    border-radius: 30px;
    padding: 6px 18px;
    font-size: 14px;
    font-weight: 700;
}

.btn-outline-primary {
    border: 2px solid #CD3436;
    color: #CD3436;
}

.btn-outline-primary:hover {
    background-color: #ECE8DC;
    border: 1px solid #ECE8DC;
    color: #000000;
}

/* ===== OFFCANVAS ===== */
.offcanvas-start {
    width: 280px;
}

.offcanvas-contact {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 10px;
    background-color: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.offcanvas-contact p {
    margin-bottom: 8px;
    font-size: 15px;
    color: #000000;
}

.offcanvas-contact i.bi {
    font-size: 16px;
    margin-right: 5px;
}

/* Responsive dropdown fix */
@media (max-width: 992px) {
    .navbar-btns {
        justify-content: center;
        width: 100%;
        margin-top: 15px;
    }




    .navbar-btns .btn {
        width: 100%;
        text-align: center;
        padding: 10px 0;
        font-size: 16px;
        border-radius: 10px;
    }
}

/* ===== Escape Essence Dropdown ===== */
.Mecad-Consultancy {
    position: relative;
}

.Mecad-Consultancy-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 270px;
    background: rgba(255, 255, 250, 0.95);
    backdrop-filter: blur(6px);
    border-radius: 12px;
    padding: 8px 0;
    list-style: none;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.699);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.35s ease;
    z-index: 999;
}

/* Menu items */
.Mecad-Consultancy-menu li a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #000000;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.25s ease;
    border-radius: 6px;
}

.Mecad-Consultancy-menu li a:hover {
    background: #ECE8DC;
    color: #CD3436;
    transform: translateX(6px);
    font-weight: 500;
}

/* Desktop hover */
@media (hover: hover) {
    .Mecad-Consultancy:hover .Mecad-Consultancy-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* Mobile click mode */
.Mecad-Consultancy.open .Mecad-Consultancy-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    position: static;
    box-shadow: none;
}

/* Navbar End */



/* hero-carousel-section  */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
}

/* Slides */
.hc-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hc-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Overlay */
.hc-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.705);
}

/* Content */
.hc-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.hc-content h1 {
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    max-width: 900px;
    line-height: 1.3;
    animation: fadeUp 1.2s ease;
}

/* Arrows */
.hc-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    z-index: 3;
}

.hc-prev {
    left: 30px;
}

.hc-next {
    right: 30px;
}

/* Dots */
.hc-dots {
    position: absolute;
    bottom: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 3;
}

.hc-dot {
    width: 35px;
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
}

.hc-dot.active {
    background: #fff;
}

/* Animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-carousel {
        height: 50vh;
    }

    .hc-content h1 {
        font-size: 26px;
    }

    .hc-arrow {
        font-size: 30px;
    }
}

/* hero-carousel-section EXIT */


/* About Us Section */
.about-modern {
    padding: 80px 20px;
    background: linear-gradient(180deg, #f9f9f9, #f2f6fb);
    font-family: Arial, sans-serif;
}

.about-wrap {
    max-width: 1200px;
    margin: auto;
}

/* ---------- Heading ---------- */
.about-heading {
    text-align: center;
    margin-bottom: 40px;
}

.about-heading h2 {
    font-size: 38px;
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

/* .about-heading h2::after {
    content: "";
    width: 60px;
    height: 3px;
    background: #ff4c60;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
} */

/* ---------- Content Layout ---------- */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

/* ---------- Image Section ---------- */
.about-image {
    padding: 20px;
    flex: 1;
}

/* .image-bg {
    position: relative;
    background: #013f72; 
    padding: 18px 0px 0px 18px;
    transition: transform 0.4s ease;
} */

.image-white-bg {
    border-radius: 10px;
    box-shadow: -7px -7px 0px 0px #C9241F;
    background: #ffffff;
    padding: 22px;
    overflow: hidden;
    transition: all 0.4s ease;
}

/* IMAGE */
.image-white-bg img {
    border-radius: 10px;
    width: 100%;
    height: 400px;
    object-fit: contain;
    display: block;
    transition: transform 0.5s ease;
}

/* HOVER EFFECT */
.about-image:hover .image-white-bg img {
    transform: scale(1.08);
}

.about-image:hover .image-white-bg {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.about-image:hover .image-bg {
    transform: translateY(-6px);
}

/* ---------- Text Section ---------- */
.about-text {
    flex: 1;
}

.about-text p {
    font-size: 14px;
    text-align: left;
    line-height: 1.85;
    color: #000;
    margin-bottom: 18px;
}

/* ---------- Button ---------- */
.about-btn-wrapper {
    margin-top: 25px;
}

.about-btn {
    display: inline-block;
    padding: 12px 34px;
    background: linear-gradient(135deg, #ff4c60, #e43a4d);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.about-btn:hover {
    background: linear-gradient(135deg, #e43a4d, #c92e3f);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 76, 96, 0.4);
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {

    .about-content {
        flex-direction: column;
    }

    .about-text {
        text-align: center;
    }

    .about-btn-wrapper {
        text-align: center;
    }

    .image-white-bg img {
        height: auto;
    }
}

/* About Us Section End*/









/* Customer Counter Section */
.customer-counter-section {
    background: #fdf6f0;
}

.customer-counter-section .counter-box {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    height: 140px;
}

.customer-counter-section .counter-box:hover {
    transform: translateY(-6px);
}

.customer-counter-section h2 {
    font-size: 40px;
    font-weight: 700;
    color: #02688e;
    margin-bottom: 8px;
}

.customer-counter-section p {
    margin: 0;
    font-size: 16px;
    color: #555;
}

@media (max-width: 576px) {
    .customer-counter-section h2 {
        font-size: 32px;
    }
}

/* Counter Section End */





/* Breadcrumb V2 */
.custom-breadcrumb-v2 {
    position: relative;
    background-image: url("./image/breadcrump.webp");
    /* change image */
    background-size: fill;
    background-position: center;
    background-repeat: no-repeat;
    padding: 90px 15px;
    color: #fff;
    overflow: hidden;
}

.custom-breadcrumb-v2 .breadcrumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.856),
            rgba(0, 0, 0, 0.596));
    z-index: 1;
}

.custom-breadcrumb-v2 .breadcrumb-inner {
    position: relative;
    z-index: 2;
    max-width: 1140px;
    margin: auto;
    text-align: center;
}

.custom-breadcrumb-v2 .page-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.custom-breadcrumb-v2 .breadcrumb-list {
    list-style: none;
    padding: 10px 22px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    border-radius: 50px;
    font-size: 15px;
}

.custom-breadcrumb-v2 .breadcrumb-list li {
    color: #fff;
}

.custom-breadcrumb-v2 .breadcrumb-list a {
    color: #F87B43;
    text-decoration: none;
    font-weight: 600;
}

.custom-breadcrumb-v2 .breadcrumb-list a:hover {
    text-decoration: underline;
}

.custom-breadcrumb-v2 .breadcrumb-list .separator {
    opacity: 0.7;
}

.custom-breadcrumb-v2 .breadcrumb-list .active {
    font-weight: 600;
    color: #ffffff;
}

/* Tablet */
@media (max-width: 768px) {
    .custom-breadcrumb-v2 {
        padding: 70px 15px;
    }

    .custom-breadcrumb-v2 .page-title {
        font-size: 30px;
    }

    .custom-breadcrumb-v2 .breadcrumb-list {
        font-size: 14px;
        padding: 8px 18px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .custom-breadcrumb-v2 .page-title {
        font-size: 24px;
    }

    .custom-breadcrumb-v2 .breadcrumb-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }
}

/* Breadcrumb V2 End */






/* mv-section */
.mv-section {
    padding: 70px 20px;
    background: #ffffff;
}

.mv-wrap {
    max-width: 1100px;
    margin: auto;
    display: flex;
    gap: 40px;
}

/* ---------- Card ---------- */
.mv-card {
    flex: 1;
    background: #f9f9f9;
    padding: 40px 30px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

/* ---------- Icon ---------- */
.mv-icon {
    width: 70px;
    height: 70px;
    background: #013f72;
    color: #ffffff;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
    transition: all 0.4s ease;
}

/* Icon Hover Effect */
.mv-card:hover .mv-icon {
    background: #FF0000;
    transform: rotate(10deg) scale(1.1);
    /* box-shadow: 0 10px 25px rgba(255, 76, 96, 0.5); */
}

.mv-icon i {
    transition: transform 0.4s ease;
}

.mv-card:hover .mv-icon i {
    transform: scale(1.05);
}

/* ---------- Heading ---------- */
.mv-card h3 {
    font-size: 26px;
    margin-bottom: 15px;
    color: #013f72;
    position: relative;
}

.mv-card h3::after {
    content: "";
    width: 50px;
    height: 3px;
    background: #ff4c60;
    display: block;
    margin: 10px auto 0;
}

/* ---------- Text ---------- */
.mv-card p {
    font-size: 15px;
    line-height: 1.8;
    color: #000000;
    margin-top: 20px;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {

    .mv-wrap {
        flex-direction: column;
    }

    .mv-card {
        padding: 35px 25px;
    }
}

/* mv-section-End */


/* CMA & Project Report Services Section */
.cma-dpr-section {
    padding: 70px 20px;
    background: #ffffff;
    font-family: 'Inter', sans-serif;
}

.cma-dpr-main-container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

.cma-dpr-title {
    text-align: center;
    font-size: 38px;
    color: #A62037;
    font-weight: 700;
    margin-bottom: 20px;
}

.cma-dpr-subtitle {
    color: #000000;
    font-size: 34px;
    font-weight: 600;
    margin: 40px 0 15px;
    text-align: center;
}

.cma-dpr-small-heading {
    font-size: 28px;
    margin-top: 25px;
}

.cma-dpr-text {
    font-size: 14px;
    line-height: 1.7;
    font-weight: 500;
    color: #000;
    margin-bottom: 15px;
}

/* Image */
.cma-dpr-image img {
    width: 90%;
    border-radius: 12px;
    transition: transform 0.4s ease;
}

.cma-dpr-right img {
    width: 100%;
    border-radius: 12px;
    transition: transform 0.4s ease;
}

.cma-dpr-image img:hover,
.cma-dpr-right img:hover {
    transform: scale(1.03);
}

.cma-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    margin: 25px 0;
}

.cma-list div {
    padding: 14px 18px;
    font-size: 16px;
    color: #A62037;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: default;
}

.cma-list div:hover {

    transform: translateX(6px);
}

/* Responsive */
@media (max-width: 768px) {
    .cma-list {
        grid-template-columns: 1fr;
    }
}


/* Lists */
.cma-dpr-list {
    display: grid;
    gap: 12px;
    margin: 20px 0;
}

.cma-dpr-list.two-col {
    grid-template-columns: repeat(2, 1fr);
}

.cma-dpr-list.single-col {
    grid-template-columns: 1fr;
}

.cma-dpr-list span {
    color: #A62037;
    font-size: 15px;
}

.cma-dpr-list div {
    background: #f8f8f8;
    padding: 12px 15px;
    /* border-left: 4px solid #1e88e5; */
    transition: all 0.3s ease;
}

.cma-dpr-list div:hover {
    /* background: #e3f2fd; */
    transform: translateX(5px);
}

/* Highlight Box */
.cma-dpr-highlight {
    background: #F9FAFC;
    border-left: 6px solid #A62037;
    padding: 18px;
    margin-top: 30px;
    transition: 0.3s;
}

.cma-dpr-highlight:hover {
    background: #f6f9ff;
}

/* Wrapper for entire section */
.cma-dpr-split-wrapper {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

/* Heading centered on top */
.cma-dpr-split-title {
    text-align: center;
    font-size: 34px;
    font-weight: 600;
    margin-bottom: 40px;
}

/* Split content: list left, image right */
.cma-dpr-split-content {
    display: flex;
    gap: 40px;
    align-items: stretch;
    /* ensures left and right equal height */
}

.cma-dpr-left,
.cma-dpr-right {
    flex: 1;
}

/* List styling: 2 per row */
.cma-dpr-list.two-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.cma-dpr-list.two-col div {
    background: #f8f9fa;
    font-size: 16px;
    padding: 12px 15px;
    border-left: 4px solid #A62037;
    transition: all 0.3s ease;
}

.cma-dpr-list.two-col div:hover {
    background: #e3f2fd;
    transform: translateX(5px);
}

/* Image styling */
.cma-dpr-right img {
    width: 100%;
    height: 100%;
    /* matches left side height */
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.4s ease;
}

.cma-dpr-right img:hover {
    transform: scale(1.03);
}

/* Responsive: Stack on mobile */
@media (max-width: 768px) {
    .cma-dpr-split-content {
        flex-direction: column;
    }

    .cma-dpr-list.two-col {
        grid-template-columns: 1fr;
    }

    .cma-dpr-split-title {
        font-size: 1.6rem;
    }
}


.gov-funding-section {
    padding: 80px 20px;
    background: #f9fafc;
    font-family: Arial, sans-serif;
}

/* Top Layout */
.gov-top-row {
    max-width: 1100px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.gov-left,
.gov-right {
    flex: 1;
}

.gov-left img {
    width: 100%;
    height: 400px;
    border-radius: 12px;
}

.gov-right h2 {
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 15px;
}

.gov-right p {
    color: #000;
    font-size: 14px;
    line-height: 1.7;
}

/* Cards Grid */
.gov-card-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* Card */
.gov-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.gov-card img {
    width: 100%;
    height: 170px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.gov-card h3 {
    color: #A62037;
    font-size: 18px;
    margin-bottom: 10px;
}

.bullet-red {
    color: #A62037;
    font-weight: 600;
}


.gov-card p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Hover Effect */
.gov-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Consult Box */
.consult-box {
    margin-top: 60px;
    text-align: center;
}

.consult-box a {
    display: inline-block;
    padding: 14px 40px;
    border: 2px solid #0d6efd;
    color: #0d6efd;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
}

.consult-box a:hover {
    background: #0d6efd;
    color: #fff;
}

/* Responsive */
@media(max-width:992px) {
    .gov-top-row {
        flex-direction: column;
    }

    .gov-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:576px) {
    .gov-card-grid {
        grid-template-columns: 1fr;
    }

    .gov-card h3 {
        color: #A62037;
        font-size: 17px;
        margin-bottom: 17px;
        font-weight: 600;
        /* text-align: center; */
    }

    .gov-right h2 {
        font-size: 22px;
    }

    .gov-right p {
        font-size: 12px;
    }

    .gov-left img {
        width: 100%;
        height: 350px;
        border-radius: 12px;
    }
}





/* CTA */
.cma-dpr-cta {
    max-width: 900px;
    margin: 70px auto 0;
    text-align: center;
    background: #A62037;
    color: #fff;
    padding: 40px 25px;
    border-radius: 14px;
}

.cma-dpr-cta h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .cma-dpr-list.two-col {
        grid-template-columns: 1fr;
    }

    .cma-dpr-title {
        font-size: 2.1rem;
    }
}

/* CMA & Project Report Services Section End */


/* Consultation CTA Section */
.cta-consult-section {
    width: 100%;
    background-color: #A62037;
    /* background: linear-gradient(90deg, #0e2a47, #123a5f); */
    padding: 40px 20px;
}

.cta-consult-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cta-consult-text {
    color: #ffffff;
    font-size: 28px;
    font-weight: 600;
    margin: 0;
}

.cta-consult-btn {
    background: #ffffff;
    color: #0e2a47;
    padding: 14px 34px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cta-consult-btn:hover {
    background: #f2f2f2;
    transform: translateY(-2px);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .cta-consult-container {
        flex-direction: column;
        text-align: center;
    }

    .cta-consult-text {
        font-size: 22px;
    }

    .cta-consult-btn {
        margin-top: 10px;
    }
}

/* Consultation CTA Section End */


/* Services Section */
.bc-section-wrapper {
    font-family: 'Inter', sans-serif;
    padding: 60px 20px;
    background-color: #f0f0f0;
}

.bc-main-heading {
    text-align: center;
    font-size: 38px;
    color: #000000;
    margin-bottom: 50px;
    font-weight: 700;
}

/* Grid container for cards */
.bc-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 cards per row on desktop */
    gap: 30px;
    justify-items: center;
    /* center each card */
}

/* Card styling */
.bc-card {
    background: #fff;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    overflow: hidden;
    border-radius: 8px;
}

.bc-card:hover {
    transform: translateY(-10px);
}

.bc-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.bc-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bc-card:hover .bc-image-wrapper img {
    transform: scale(1.1);
}

.bc-plus-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #002147;
    color: white;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    border-radius: 50%;
    transition: background 0.3s;
}

.bc-plus-icon:hover {
    background: #004080;
}

.bc-content {
    padding: 20px 20px;
    border-left: 5px solid #A62037;
}

.bc-title {
    margin: 0;
    height: 50px;
    font-size: 22px;
    color: #000000;
    font-weight: 600;
}

.bc-subtitle {
    margin: 10px 0 20px 0;
    font-size: 0.9rem;
    color: #000000;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.bc-know-more {
    text-decoration: none;
    background: #A62037;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.3s;
}

.bc-know-more:hover {
    background: #6d1120;
    color: #fff;
}

.bc-view-more-container {
    text-align: center;
    margin-top: 50px;
}

.bc-view-more-btn {
    text-decoration: none;
    background: transparent;
    border: 2px solid #A62037;
    color: #A62037;
    padding: 12px 35px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.bc-view-more-btn:hover {
    background: #A62037;
    color: white;
}

/* ====== Responsive ====== */
@media (max-width: 1024px) {
    .bc-cards-container {
        grid-template-columns: repeat(2, 1fr);
        /* 2 cards per row on tablet */
    }
}

@media (max-width: 768px) {
    .bc-cards-container {
        grid-template-columns: 1fr;
        /* 1 card per row on mobile */
    }
}

/* Services Section-End */




.page-heading {
    margin-top: 60px;
    text-align: center;
    font-size: 36px;
    padding: 20px;
    font-weight: 700;
    /* margin-bottom: 20px; */
    color: #000000;
}

@media (max-width: 992px) {
    .page-heading {
        font-size: 30px;
    }

    .page-heading {
        font-size: 24px;
    }
}

/* ===============================
   PROJECT BASED LOAN SERVICES
================================ */

.project-loan-section {
    padding: 20px 20px;
    background: #ffffff;
}

.project-loan-container {
    max-width: 1100px;
    margin: auto;
}

.project-loan-title {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #111;
}

/* FLEX WRAPPER FOR LIST + IMAGE */
.project-loan-flex {
    display: flex;
    gap: 30px;
    align-items: stretch;
    /* remove this */
    margin-top: 20px;
    flex-wrap: wrap;
    align-items: flex-start;
    /* optional, aligns top edges */
}


/* LEFT CONTENT */
.project-loan-content {
    border-left: 5px solid #A62037;
    background: #f9fafc;
    padding: 35px 40px;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* PARAGRAPH */
.project-loan-content p {
    font-size: 14px;
    line-height: 1.8;
    color: #000000;
    margin-bottom: 25px;
}

/* SUBTITLE */
.project-loan-subtitle {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 18px;
    color: #A62037;
}

/* LIST */
.project-loan-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.project-loan-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.7;
    color: #000000;
}

.project-loan-list li::before {
    content: "➢";
    position: absolute;
    left: 0;
    top: 0;
    color: #A62037;
    font-size: 15px;
}

/* RIGHT IMAGE */
.project-loan-image {
    flex: 1;
    border-radius: 14px;
    overflow: hidden;
    height: auto;
    /* content-wise height */
}

.project-loan-image img {
    width: 100%;
    height: 300px;
    object-fit: fill;
    border-radius: 14px;
    transition: transform 0.4s;
}

.project-loan-image:hover img {
    transform: scale(1.05);
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 992px) {
    .project-loan-flex {
        flex-direction: column;
    }

    .project-loan-image img {
        width: 100%;
        height: 350px;
    }
}

@media (max-width: 768px) {
    .project-loan-content {
        padding: 25px 22px;
    }

    .project-loan-title {
        font-size: 26px;
    }

    .project-loan-image img {
        width: 100%;
        height: 350px;
    }
}




/* ===============================
   FINANCIAL SERVICES SECTION
================================ */

.financial-services-section {
    padding: 30px 20px;
    background: #ffffff;
}

/* CONTAINER */
.financial-services-container {
    max-width: 1100px;
    margin: auto;
}

/* FLEX WRAPPER */
.financial-services-flex {
    display: flex;
    gap: 30px;
    /* margin-top: 20px; */
    flex-wrap: wrap;
    align-items: stretch;
}

.financial-services-reverse {
    flex-direction: row;
}

/* ===============================
   CONTENT
================================ */

.financial-services-content {
    flex: 1;
    border-left: 5px solid #A62037;
    background: #f9fafc;
    padding: 35px 40px;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.financial-services-content-heading {
    font-size: 26px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 18px;
}

.financial-services-content-heading {
    position: relative;
    display: inline-block;
}

/* underline */
.financial-services-content-heading::after {
    content: "";
    width: 100px;
    height: 3px;
    background: #A62037;
    display: block;
    margin-top: 8px;
    border-radius: 2px;
    transition: all 0.4s ease;
}

/* hover effect */
.financial-services-content-heading:hover::after {
    width: 150px;
    background: #A62037;
}




.financial-services-image,
.financial-services-list {
    flex: 0 0 50%;
    max-width: 50%;
}


/* IMAGE CONTAINER – AUTO HEIGHT */
.financial-services-image {
    flex: 0 0 50%;
    max-width: 50%;
    border-radius: 14px;
    overflow: hidden;
    display: block;
    /* REMOVE flex stretch */
}

/* IMAGE AUTO HEIGHT */
.financial-services-image img {
    width: 100%;
    height: auto;
    /* KEY CHANGE */
    object-fit: cover;
    border-radius: 14px;
    transition: transform 0.4s ease;
}


.financial-services-content p {
    font-size: 14px;
    line-height: 1.8;
    color: #000;
    margin-bottom: 25px;
}

.financial-services-subtitle {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 18px;
    color: #A62037;
}

/* ===============================
   LIST
================================ */

.financial-services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.financial-services-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.7;
    color: #000;
}

.financial-services-list li::before {
    content: "➢";
    position: absolute;
    left: 0;
    top: 0;
    color: #A62037;
}

.loan-type {
    font-weight: 600;
    color: #A62037;
}

/* ===============================
   IMAGE
================================ */

.financial-services-image {
    flex: 1;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
}

.financial-services-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 14px;
    transition: transform 0.4s ease;
}

.financial-services-image:hover img {
    transform: scale(1.05);
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 992px) {
    .financial-services-flex {
        flex-direction: column;
    }

    .financial-services-image {
        order: 2;
    }

    .financial-services-content {
        order: 1;
    }

    .financial-services-image,
    .financial-services-list {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .financial-services-content {
        padding: 25px 22px;
    }

    .financial-services-content-heading {
        font-size: 20px;
    }
}




/* Apply for loan button */
.apply-loan-wrapper {
    margin-top: 40px;
    text-align: center;
}

.apply-loan-box {
    margin-top: 20px;
    display: inline-block;
    padding: 14px 34px;
    margin-bottom: 20px;
    background: #A62037;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.apply-loan-box:hover {
    background: #7d1628;
    transform: translateY(-3px);
}




/* wcu-section  */
.wcu-section {
    font-family: 'Poppins', sans-serif;
    padding: 80px 20px;
    background-color: #ffffff;
    overflow: hidden;
}

.wcu-container {
    max-width: 1000px;
    /* updated max-width */
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    /* ensures both sides same height */
    gap: 50px;
}

/* LEFT CONTENT */
.wcu-content {
    flex: 1;
    /* equal width */
    display: flex;
    flex-direction: column;
}

.wcu-heading {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #111;
    text-align: center;
}

.wcu-feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wcu-feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.wcu-icon-box {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    color: #A62037;
    font-size: 20px;
    flex-shrink: 0;
}

.wcu-text h3 {
    margin: 0;
    font-size: 18px;
    color: #111;
}

.wcu-text p {
    margin: 5px 0 0 0;
    color: #000000;
    font-size: 15px;
}

/* RIGHT IMAGE SIDE */
.wcu-image-side {
    flex: 1;
    /* equal width */
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 20px;
}

.wcu-blue-bg {
    position: absolute;
    top: -40px;
    right: -100px;
    width: 100%;
    height: 110%;
    background-color: #A62037;
    z-index: 1;
    border-radius: 0 0 0 20px;
}

.wcu-image-container {
    position: relative;
    z-index: 2;
    background: white;
    padding: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    flex: 1;
    /* fill height same as left side */
}

.wcu-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

/* Floating Stats Badge */
.wcu-stats-badge {
    position: absolute;
    top: -30px;
    left: 300px;
    background: white;
    padding: 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.wcu-progress-circle {
    width: 55px;
    height: 55px;
    border: 4px solid #f0f0f0;
    border-top: 4px solid #A62037;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.wcu-badge-text h4 {
    margin: 0;
    font-size: 16px;
}

.wcu-badge-text p {
    margin: 3px 0 0 0;
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

.wcu-search-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

/* ===============================
   RESPONSIVE
================================= */
@media (max-width: 992px) {
    .wcu-container {
        flex-direction: column;
        text-align: center;
    }



    .wcu-feature-item {
        flex-direction: row;
        gap: 10px;
    }

    .wcu-blue-bg {
        right: 0;
        width: 100%;
    }

    .wcu-stats-badge {
        left: 50%;
        transform: translateX(-50%);
        top: -30px;
        animation: none;
    }

    @keyframes float {

        0%,
        100% {
            transform: translateY(0);
        }

        50% {
            transform: translateY(-10px);
        }
    }
}

@media (max-width: 480px) {
    .wcu-heading {
        font-size: 30px;
    }

    .wcu-stats-badge {
        width: 90%;
        left: 5%;
        transform: none;
    }

    @keyframes float {

        0%,
        100% {
            transform: translateY(0);
        }

        50% {
            transform: translateY(-10px);
        }
    }
}

/* wcu-section-End  */







/* Contact Section */
#mecad-contact-section {
    font-family: 'Segoe UI', Roboto, sans-serif;
    padding: 60px 20px;
    background-color: #fcfcfc;
    color: #333;
}

#mecad-contact-section * {
    box-sizing: border-box;
}

#mecad-contact-section .mc-container {
    max-width: 1100px;
    margin: 0 auto;
}

#mecad-contact-section .mc-header {
    text-align: center;
    margin-bottom: 40px;
}

#mecad-contact-section .mc-header h1 {
    font-size: 2.2rem;
    margin-bottom: 5px;
    font-weight: 800;
}

#mecad-contact-section .mc-card-wrapper {
    display: flex;
    flex-wrap: wrap;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    overflow: hidden;
}

#mecad-contact-section .mc-info-panel {
    background-color: #7a1a25;
    /* Custom Dark Red from Image */
    color: white;
    flex: 1;
    min-width: 320px;
    padding: 40px;
}

#mecad-contact-section .mc-form-panel {
    background: white;
    flex: 1.5;
    min-width: 320px;
    padding: 20px;
}

#mecad-contact-section .mc-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

#mecad-contact-section .mc-icon-circle {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    font-size: 1.2rem;
}

#mecad-contact-section .mc-info-item small {
    opacity: 0.8;
    font-size: 0.8rem;
    display: block;
}

#mecad-contact-section .mc-info-item p {
    margin: 0;
    font-weight: 500;
}

#mecad-contact-section .mc-divider {
    border: 0;
    border-top: 1px solid rgb(255 255 255);
    margin: 30px 0;
}

#mecad-contact-section .mc-input-group {
    margin-bottom: 20px;
}

#mecad-contact-section label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #7a1a25;
    font-size: 0.9rem;
}

#mecad-contact-section input,
#mecad-contact-section textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
}

#mecad-contact-section #mcSubmitBtn {
    width: 100%;
    padding: 15px;
    background: #7a1a25;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

#mecad-contact-section #mcSubmitBtn:hover {
    background: #5a121b;
}

/* Popup Styles */
.mc-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.mc-popup-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
}

.mc-popup-content img {
    width: 100px;
    margin-bottom: 20px;
}

.mc-popup-content button {
    background: #7a1a25;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    cursor: pointer;
}

/* contact-section-End */







/* Apply For Loan */
.loan-apply-section {
    display: flex;
    justify-content: center;
    padding: 50px 15px;
    background: #f5f7fb;
    /* light background */
}

.loan-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 35px 30px;
    border-radius: 15px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

/* FORM TITLE */
.form-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #111;
    margin-bottom: 30px;
}

/* FORM GROUP */
.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 14px;
    margin-bottom: 20px;
    border-radius: 10px;
    border: 1px solid #ccc;
    outline: none;
    font-size: 14px;
    background: #fff;
    transition: all 0.3s ease;
}

.form-group textarea {
    resize: none;
    height: 80px;
}

/* FOCUS STYLE */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #0a6cff;
    box-shadow: 0 0 0 3px rgba(10, 108, 255, 0.15);
}

/* LABEL */
.form-group label {
    position: absolute;
    left: 14px;
    top: 0PX !important;
    transform: translateY(-50%);
    background: #fff;
    padding: 0 5px;
    color: #000000 !important;
    font-size: 14px !important;
    font-weight: 500;
    pointer-events: none;
    transition: 0.3s ease;
}

/* LABEL FLOAT UP */
.form-group input:focus+label,
.form-group select:focus+label,
.form-group textarea:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group select:not([value=""])+label,
.form-group textarea:not(:placeholder-shown)+label {
    top: -8px;
    font-size: 11px;
    color: #0a6cff;
}

/* APPLY BUTTON */
.apply-btn {
    width: 100%;
    background: linear-gradient(135deg, #A62037, #A62037);
    border: none;
    padding: 15px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.apply-btn:hover {
    transform: translateY(-2px);
}

/* ===============================
   POPUP MODAL
================================ */

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-box {
    background: #fff;
    padding: 30px;
    text-align: center;
    border-radius: 12px;
    max-width: 360px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    animation: popup 0.4s ease;
}

.popup-gif img {
    width: 90px;
    height: auto;
    margin-bottom: 15px;
}

.popup-box h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
    color: #111;
}

.popup-box p {
    font-size: 14px;
    color: #000000;
    line-height: 1.5;
}

.popup-box button {
    margin-top: 20px;
    padding: 10px 25px;
    border: none;
    background: #0a6cff;
    color: #fff;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.popup-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(10, 108, 255, 0.35);
}

/* POPUP ANIMATION */
@keyframes popup {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===============================
   RESPONSIVE
================================ */
@media(max-width: 480px) {
    .loan-form {
        padding: 25px 20px;
    }

    .form-title {
        font-size: 24px;
    }
}

/* Apply For Loan-End */







.footer {
    position: relative;
    background: #000000 url('./image/footer-background.jpg') no-repeat center center;
    background-size: cover;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    padding-top: 50px;
    overflow: hidden;
}

/* Black overlay */
.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.836);
    z-index: 0;
}

.footer>* {
    position: relative;
    z-index: 1;
}



.footer-container {
    max-width: 1330px;
    margin: auto;
    padding: 0 20px;
}

/* Footer Rows */
.footer-top {
    display: flex;
    /* flex-wrap: wrap; */
    gap: 30px;
    justify-content: space-between;
}

.first-row .footer-column {
    flex: 1 1 30%;
    min-width: 220px;

}

.second-row {
    margin-top: 30px;
}


.footer-social {
    padding: 15px 20px;
    border-radius: 10px;
    display: inline-flex;
    gap: 12px;
    margin-top: 15px;
}

/* Social icon links */
.footer-social a {
    width: 38px;
    height: 38px;
    background: #ffffff;
    color: #002147;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
    transition: all 0.3s ease;
}

/* Hover effect */
.footer-social a:hover {
    background: #A62037;
    /* highlight on hover */
    color: #ffffff;
    transform: translateY(-4px);
}


/* About Column */
.footer-column.about-column .footer-logo {
    width: 80px;
    height: 80px;
    /* make it square for background effect */
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 10px;
    background: #ffffff;
    /* yellow background */
    object-fit: contain;
    /* ensures logo scales nicely */
    display: inline-block;
}


.footer-column.about-column .about-text {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Footer Column Titles */
.footer-column h4 {
    font-size: 16px;
    font-weight: bold;
    color: #A62037;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

.footer-column h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 40px;
    background-color: #A62037;
    border-radius: 2px;
    transition: width 0.35s ease, background-color 0.35s ease;
}

/* Hover effect */
.footer-column h4:hover::after {
    width: 70px;
    background-color: #A62037;
}




/* Quick Links & Contact Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-links li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: #A62037;
}

/* Services Grid (Second Row) */
.footer-links.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    width: 100%;
}

/* Contact Column */
.contact-column .contact-details {
    font-size: 13px;
    line-height: 1.6;
}

.contact-column .contact-us-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 18px;
    background: #A62037;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: background 0.3s;
}

.contact-column .contact-us-btn:hover {
    background: #ffffff;
    color: #A62037;
}

/* Footer Bottom */
.footer-bottom {
    background: #000000;
    text-align: center;
    padding: 15px 20px;
    border-top: 2px solid;
    margin-top: 40px;
    color: #ffffff;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-top {
        flex-direction: column;
        align-items: left;
        text-align: left;
    }

    .first-row .footer-column {
        flex: 1 1 45%;
        text-align: center;
    }

    .footer-links.footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .footer-top {
        flex-direction: column;
        align-items: left;
        text-align: left;
    }

    .footer-column h4 {
        text-align: left;
    }

    .footer-links {
        text-align: left;
    }

    .first-row .footer-column {
        flex: 1 1 100%;
        text-align: left;
    }

    .footer-links.footer-links-grid {
        grid-template-columns: 1fr;
    }

    .footer-column.about-column .about-text {
        text-align: left;
    }
}

/* ===============================
   FLOAT BUTTONS
================================= */
.call-float,
.whatsapp-float {
    position: fixed;
    right: 0;
    width: 48px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    text-decoration: none;
    z-index: 999;
    border-radius: 12px 0 0 12px;
    overflow: hidden;
    transition: all 0.35s ease;
}

.call-float {
    bottom: 170px;
    background: #0a58ca;
    box-shadow: -4px 8px 20px rgba(0, 0, 0, 0.25);
}

.whatsapp-float {
    bottom: 250px;
    background: #25d366;
    box-shadow: -4px 8px 20px rgba(0, 0, 0, 0.25);
}

.call-float::before,
.whatsapp-float::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: translateX(-100%);
    animation: shimmer 4.5s ease-in-out infinite;
}

.call-float:hover::before,
.whatsapp-float:hover::before {
    animation-play-state: paused;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.call-float i,
.whatsapp-float i {
    position: relative;
    z-index: 2;
    animation: iconTilt 3.8s ease-in-out infinite;
}

.call-float:hover i,
.whatsapp-float:hover i {
    animation-play-state: paused;
}

@keyframes iconTilt {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(10deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.call-float::after,
.whatsapp-float::after {
    content: attr(data-label);
    position: absolute;
    right: 48px;
    padding: 10px 14px;
    white-space: nowrap;
    border-radius: 12px 0 0 12px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.35s ease;
    font-size: 0.85rem;
    color: #fff;
}

.call-float::after {
    background: #0a58ca;
}

.whatsapp-float::after {
    background: #25d366;
}

.call-float:hover::after,
.whatsapp-float:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* ===============================
   BACK TO TOP BUTTON
================================= */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 30px;
    width: 60px;
    height: 60px;
    background: #00008B;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    text-decoration: none;
    z-index: 999;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.back-to-top i {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.back-to-top:hover i {
    transform: translateY(-3px) rotate(-15deg);
}

.back-to-top::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid #00f2fe;
    animation: pulseBorder 2s ease-in-out infinite;
}

@keyframes pulseBorder {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 0.4;
    }
}

.back-to-top:hover {
    transform: scale(1.1);
}

/* ===============================
   RESPONSIVE FOOTER
================================= */
@media (max-width: 992px) {
    .footer-top {
        justify-content: center;
        text-align: center;
    }

    .footer-column {
        flex: 1 1 45%;
        margin-bottom: 25px;
    }
}

@media (max-width: 600px) {
    .footer-top {
        flex-direction: column;
        align-items: left;
        text-align: left;
    }

    .footer-column {
        flex: 1 1 100%;
    }
}