/* --- General Setup & Variables --- */
:root {
    --primary-blue: #005a9c;
    --primary-orange: #f58220;
    --white: #ffffff;
    --dark-text: #333;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn {
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.coloured_heading{
    color:#f58220;
}





/* Basic reset */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: Arial, sans-serif;
    }
    a {
        text-decoration: none;
        color: inherit;
    }

    /* ===== Top Bar ===== */
    .top-bar {
        background: #005a9c;
        color: #fff;
        font-size: 14px;
        padding: 5px 0;
    }
    .top-bar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 15px;
    }
    .top-bar .contact-info a {
        color: #fff;
        margin-right: 10px;
        font-size: 16px;
    }
    .top-bar .phone-number {
        margin-left: 5px;
    }
    .top-bar .tagline {
        font-weight: bold;
    }
    /* UPDATED: Request a Call button style */
    .top-bar .btn-request-call {
        background: #fff;
        color: #007BFF;
        padding: 8px 12px;
        border-radius: 4px;
        font-weight: bold;
        transition: 0.3s;
        border: 1px solid #fff;
    }
    .top-bar .btn-request-call:hover {
        background: #f0f0f0;
    }


    /* ===== Main Navigation ===== */
    .main-nav {
        background: #ff6f00;
        padding: 10px 0;
    }
    .main-nav .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 15px;
    }
    .logo img {
	height: 60px;
	vertical-align: middle;
	padding: 5px;
	background: #fff;
	border-radius: 10px;
}
    
    nav.navigation {
        flex: 1;
        margin-left: 30px;
        position: relative;
    }
    nav ul.nav-links {
        list-style: none;
        display: flex;
        gap: 15px;
    }
    nav ul.nav-links li {
        position: relative;
    }
    /* UPDATED: Main nav link styles */
    nav ul.nav-links > li > a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px;
	color: #fff;
	transition: 0.3s;
	text-underline-offset: 5px;
	font-size: 14px;
}
.sub-dropdown {
	list-style-type: none;
}
.dropdown-menu li {
	list-style-type: none;
}
    nav ul.nav-links > li > a:hover {
        background: none;
        color: #f1f1f1;
    }

    /* UPDATED: Dropdown styles */
    .dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: #ff6f00; /* Orange background */
        min-width: 300px;
        border-radius: 0 0 4px 4px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
        z-index: 1000;
        flex-direction: column;
        padding: 5px 0;
    }
    .dropdown-menu li a {
        padding: 12px 20px;
        font-weight: normal;
        color: #fff; /* White text */
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .dropdown-menu li a:hover {
        background: #e06200; /* Darker orange on hover */
    }
    .sub-dropdown .dropdown-menu {
        top: 0;
        left: 100%;
        border-radius: 4px;
    }
    .dropdown-menu.show {
        display: block !important;
    }
    
    /* Desktop hover functionality */
    @media (min-width: 993px) {
        nav ul.nav-links li.dropdown:hover > .dropdown-menu {
            display: flex;
        }
        nav ul.nav-links li.sub-dropdown:hover > .dropdown-menu {
            display: flex;
        }
    }

    /* Nav right */
    .nav-right {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .btn-pay img {
	height: 40px;
	vertical-align: middle;
	padding: 5px;
	background: #fff;
	border-radius: 8px;
}
    .hamburger-menu, .close-menu-btn {
        display: none;
        background: none;
        border: none;
        font-size: 22px;
        color: #fff;
        cursor: pointer;
    }

    /* ===== Mobile ===== */
    @media(max-width: 992px) {
        .top-bar .tagline {
            display: none;
        }
        nav ul.nav-links {
            position: fixed;
            left: -280px;
            top: 0;
            height: 100%;
            width: 280px;
            background: #ff6f00;
            flex-direction: column;
            gap: 0;
            padding-top: 50px;
            transition: left 0.3s ease;
            overflow-y: auto;
            z-index: 1001;
        }
        nav ul.nav-links.active { left: 0; }
        nav ul.nav-links li a {
            padding: 15px 20px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
        /* Mobile main links still have underline */
         nav ul.nav-links > li > a {
            
            text-underline-offset: 5px;
         }

        /* Mobile dropdowns */
        .dropdown-menu {
            position: static;
            background: #e06200; /* Lighter orange for mobile submenus */
            box-shadow: none;
            border-radius: 0;
            min-width: 100%;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease-out;
            padding: 0;
        }
        .dropdown-menu.show { max-height: 1500px; }
        /* Remove underline from mobile dropdown items */
        .dropdown-menu li a {
            text-decoration: none;
        }
        .sub-dropdown .dropdown-menu a {
            padding-left: 40px;
            background-color: #ff6f00;
        }
        .hamburger-menu { display: block; }
        .close-menu-btn {
	display: block;
	position: absolute;
	top: -40px;
	right: 20px;
	font-size: 30px;
	z-index: 1002;
}
        nav ul.nav-links li.dropdown:hover > .dropdown-menu,
        nav ul.nav-links li.sub-dropdown:hover > .dropdown-menu {
            display: none;
        }
.container .tagline {
  display: block;
  order: 3;
}
.top-bar .container {
  flex-wrap: wrap;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px;
  padding: 5px 0px;
}
    }








/* --- ================================== --- */
/* ---        HERO BANNER SECTION         --- */
/* --- ================================== --- */
.hero-section {
    position: relative;
    height: 80vh; /* 85% of the viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden; /* Important for the Ken Burns effect */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: kenburns-slideshow 24s linear infinite;
}

/* Stagger the animation for each slide */
.hero-background .slide:nth-child(2) {
    animation-delay: 8s;
}
.hero-background .slide:nth-child(3) {
    animation-delay: 16s;
}

/* Dark overlay for better text contrast */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    flex-direction: column;
    max-width: 1000px;
}

/* Entrance animation for title */
.hero-title {
    font-size: 3.0rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out 0.5s both;
    line-height: 70px;
}

/* Entrance animation for subtitle */
.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 10px;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.hero-tagline {
	margin-bottom: 20px;
    margin-top: 10px;
}

.btn-primary {
    background-color: var(--primary-orange);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    animation: fadeInUp 1s ease-out 1.1s both;
}

.btn-primary:hover {
    background-color: #e0741c;
    transform: translateY(-3px);
}


/* --- Keyframes for Ken Burns & Text Animations --- */
@keyframes kenburns-slideshow {
    0% {
        opacity: 0;
        transform: scale(1.05) rotate(1deg);
    }
    4% {
        opacity: 1;
    }
    33% {
        opacity: 1;
        transform: scale(1.15) rotate(-1deg);
    }
    37% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* --- ================================== --- */
/* ---      QUICK ENQUIRY POPUP           --- */
/* --- ================================== --- */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2000; /* Ensure it's on top of everything */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Hidden state */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.popup-overlay.active {
    /* Visible state */
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 500px;
    position: relative;
    
    /* Animation for the content */
    transform: scale(0.9);
    transition: transform 0.4s ease;
}

.popup-overlay.active .popup-content {
    transform: scale(1);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 30px;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: var(--dark-text);
}

.popup-content h3 {
    font-size: 28px;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 10px;
    text-align: center;
}

.popup-content p {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

/* Re-using form styles from CTA section */
.popup-content .form-group {
    margin-bottom: 20px;
}
.popup-content .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
}
.popup-content .form-group input {
    width: 100%;
    padding: 14px 18px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.popup-content .form-group input:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(245, 130, 32, 0.15);
}
.popup-content .btn-submit {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    background-color: var(--primary-orange);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.popup-content .btn-submit:hover {
    background-color: #e0741c;
    transform: translateY(-3px);
}

/* --- ================================== --- */
/* ---    LOGO CAROUSEL (CSS MARQUEE)     --- */
/* --- ================================== --- */
.logo-carousel-section {
    padding: 80px 0;
    background-color: var(--white);
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.logo-carousel-section .container {
    flex-direction: column;
}

.logo-carousel-section .section-title {
    font-size: 30px;
    text-align: center;
    margin-bottom: 40px;
    color:#000;
	font-weight: 700;
	line-height: 1.2;
}

.marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-content {
    display: flex;
    width: fit-content; /* Let the content define the width */
    animation: marquee-scroll 25s linear infinite;
}

.logo-item {
    padding: 0 30px; /* Space between logos */
    flex-shrink: 0;
}

.logo-item img {
    max-height: 100px;
    width: auto;
}

/* Keyframes for the scrolling animation */
@keyframes marquee-scroll {
    from {
        transform: translateX(0%);
    }
    to {
        /* Move the content left by half its width (the length of one set of logos) */
        transform: translateX(-50%);
    }
}



/* --- ================================== --- */
/* ---   GENERAL ENTRANCE ANIMATION       --- */
/* --- ================================== --- */

/* Initial state for any element that will animate on scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* The state after the element becomes visible */
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
    }
    .hero-title {
	font-size: 2.0rem;
	line-height: 40px;
}
    .hero-subtitle {
        font-size: 1rem;
    }
}



/* --- ================================== --- */
/* ---     TWO COLUMN FEATURE SECTION     --- */
/* --- ================================== --- */
.feature-section {
    padding: 60px 0;
    background-color: var(--white);
    overflow: hidden; /* Prevents image overflow on smaller screens */
}

.feature-section .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* --- Image Column --- */
.feature-images {
    flex: 1; /* Takes up half the space */
    position: relative;
    min-width: 300px; /* Prevents images from getting too small */
    height: 500px; /* Fixed height for the container */
}

.feature-images img {
    position: absolute;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    transition: transform 0.3s ease;
}

.feature-images img:hover {
    transform: scale(1.03);
}

.feature-img-1 {
    width: 55%;
    height: 70%;
    top: 0;
    left: 0;
    z-index: 2;
}

.feature-img-2 {
    width: 60%;
    height: 70%;
    bottom: 0;
    right: 0;
    z-index: 1;
}

/* --- Content Column --- */
.feature-content {
    flex: 1; /* Takes up the other half of the space */
    padding-left: 20px;
}

.section-heading {
    font-size: 2.0rem;
    font-weight: 700;
    color: var(--dark-text);
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-text {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
}


/* --- Responsive Adjustments (Corrected) --- */
@media (max-width: 992px) {
    .feature-section .container {
        flex-direction: column; /* Stack columns on smaller screens */
        
    }

    .feature-images {
        margin-bottom: 40px;
        height: auto; /* Let height be determined by the content */
        min-height: 250px; /* Ensure space is reserved */
        width: 100%;
        max-width: 400px; /* Constrain width for a better look */
        margin-left: auto;
        margin-right: auto;
    }

    /* Change positioning strategy for mobile */
    .feature-images img {
        position: relative; /* Change from absolute */
    }

    .feature-img-1 {
        width: 70%;
        height: auto;
        /* Reset absolute positioning properties */
        top: auto;
        left: auto;
        z-index: 1;
    }

    .feature-img-2 {
        width: 70%;
        height: auto;
        /* Reset absolute positioning properties */
        bottom: auto;
        right: auto;
        z-index: 2;
        /* Use negative margin for a robust overlap */
        margin-top: -30%;
        margin-left: 50%; /* Push to the right */
    }

    .feature-content {
        padding-left: 0;
    }
}

@media (max-width: 576px) {
    .section-heading {
        font-size: 2rem;
    }
    .feature-images {
        min-height: 200px;
    }
    .feature-img-2 {
	margin-top: -20%;
	margin-left: 110px;
}
}


/* --- ================================== --- */
/* --- WHY CHOOSE US (FINAL CORRECTED DESIGN) --- */
/* --- ================================== --- */
.choose-us-final {
    padding: 60px 0;
    background-color: #fcf6ef; /* Light grey background to make cards pop */
}

.choose-us-final .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.choose-us-final .section-header {
    margin-bottom: 70px; /* More space for the floating numbers */
}

.choose-us-final .main-title {
    font-size: 38px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 10px;
}

.choose-us-final .subtitle {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.choose-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    width: 100%;
    max-width: 1400px;
}

.reason-card {
    background-color: none;
    border-radius: 12px;
    padding: 40px 30px 0; /* No bottom padding, the <p> will handle it */
    position: relative; /* Crucial for positioning the number */
    
    
    /* Animation: Initial State (Hidden) */
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
/* Staggered animation for each card */
.choose-us-final.is-visible .reason-card:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.choose-us-final.is-visible .reason-card:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.choose-us-final.is-visible .reason-card:nth-child(3) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.choose-us-final.is-visible .reason-card:nth-child(4) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }


.number-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%); /* Perfectly centers and floats it */
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    border: 4px solid; /* Color will be inherited */
    margin: 0 auto 30px; /* Center horizontally and add space below */
}

.reason-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    min-height: 45px; /* Ensures headings are aligned if they wrap to two lines */
    color: #fff;
	padding: 10px 20px;
	border-radius: 30px;
	margin: 0px -30px 20px -30px;
}

.reason-card p {
    color: var(--white);
    font-size: 15px;
    line-height: 1.7;
    padding: 25px;
    /* This makes the block fill the bottom of the card */
    margin: 0 -30px; 
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
	height: 180px;
	border-radius: 30px;
}
@media only screen and (max-width:1024px){
    .reason-card p {
	height: 150px;
}
}

/* --- Specific Card Colors --- */
.reason-purple .number-circle { background-color: #8e44ad; }
.reason-purple .icon-circle { border-color: #8e44ad; color: #8e44ad; }
.reason-purple h3 {
	background-color: #8e44ad;
}
.reason-purple p { background-color: #8e44ad; }

.reason-orange .number-circle { background-color: #e67e22; }
.reason-orange .icon-circle { border-color: #e67e22; color: #e67e22; }
.reason-orange h3 { background-color: #e67e22; }
.reason-orange p { background-color: #e67e22; }

.reason-teal .number-circle { background-color: #16a085; } /* Darker teal for better contrast */
.reason-teal .icon-circle { border-color: #16a085; color: #16a085; }
.reason-teal h3 { background-color: #16a085; }
.reason-teal p { background-color: #16a085; }

.reason-green .number-circle { background-color: #27ae60; } /* Darker green */
.reason-green .icon-circle { border-color: #27ae60; color: #27ae60; }
.reason-green h3 { background-color: #27ae60; }
.reason-green p { background-color: #27ae60; }


/* --- ================================== --- */
/* ---      EXPERT SERVICES SECTION       --- */
/* --- ================================== --- */
.expert-services-section {
    padding: 60px 0;
    background-color: var(--white);
    overflow: hidden;
}

.expert-services-section .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* --- Left Image Column --- */
.services-image-column {
    flex: 1;
    position: relative;
    height: 550px; /* Define a height for the container */
    min-width: 40%;
}

.services-image-column img {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    object-fit: cover;
    position: absolute;
    transition: transform 0.4s ease;
}

.services-image-column img:hover {
    transform: scale(1.03);
}

.image-primary {
    width: 55%;
    height: 70%;
    top: 0;
    left: 0;
    z-index: 2;
}

.image-secondary {
    width: 65%;
    height: 70%;
    bottom: 0;
    right: 0;
    z-index: 1;
}

/* --- Right Content Column --- */
.services-content-column {
    flex: 1.2; /* Give slightly more space to the content */
}

.services-content-column .section-title {
    font-size: 2.0rem;
    font-weight: 700;
    color: var(--dark-text);
    line-height: 1.3;
    margin-bottom: 20px;
}

.services-content-column .section-description {
    font-size: 17px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
}

.icon-box-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.icon-box {
    display: flex;
    align-items: flex-start; /* Aligns icon with the top of the text */
    gap: 20px;
    /* Animation: Initial State (Hidden) */
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
/* Staggered animation for each icon box */
.expert-services-section.is-visible .icon-box:nth-child(1) { transition-delay: 0.2s; opacity: 1; transform: translateX(0); }
.expert-services-section.is-visible .icon-box:nth-child(2) { transition-delay: 0.4s; opacity: 1; transform: translateX(0); }
.expert-services-section.is-visible .icon-box:nth-child(3) { transition-delay: 0.6s; opacity: 1; transform: translateX(0); }

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    flex-shrink: 0; /* Prevents the icon from shrinking */
}

.icon-box-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 8px;
}

.icon-box-content p {
    font-size: 15px;
    color: #777;
    line-height: 1.6;
}

/* Icon Background Colors */
.icon-bg-blue { background: linear-gradient(45deg, #3785f7, #00d4ff); }
.icon-bg-orange { background: linear-gradient(45deg, #ff7e5f, #feb47b); }
.icon-bg-teal { background: linear-gradient(45deg, #16a085, #3dd2b1); }

/* --- Responsive Adjustments --- */
/* --- Responsive Adjustments for Images (Corrected) --- */
@media (max-width: 992px) {
    .expert-services-section .container {
	gap: 20px;
	flex-direction: column;
}
    .services-image-column {
        width: 100%;
        max-width: 500px;
        /* Let height be determined by the images inside */
        height: auto; 
        min-height: 400px; /* Ensure it has some height */
        
        display: block; /* Change from flex to block */
    }

    .services-image-column img {
        /* Change from absolute to relative for predictable flow */
        position: relative; 
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .image-primary {
        width: 90%;
        height: 400px; /* Maintain aspect ratio */
        /* Reset properties from desktop view */
        top: auto; 
        left: auto;
        transform: none; 
        z-index: 1;
        margin: 0 auto; /* Center the primary image */
    }

    .image-secondary {
        width: 55%;
        height: auto;
        /* Reset properties from desktop view */
        bottom: auto;
        right: auto;
        transform: rotate(5deg); /* Keep a slight rotation */
        z-index: 2;
        border: 3px solid var(--white);
        /* Use negative margin to pull the image up and create an overlap */
        margin-top: -35%; 
        margin-left: auto; /* Push to the right */
        margin-right: 5%;
    }
}

@media (max-width: 576px) {
    .services-image-column {
        min-height: 300px;
        
    }
    .image-secondary {
        width: 60%;
        margin-top: -40%;
        margin-right: 2%;
    }
}


/* --- ================================== --- */
/* --- SERVICES CAROUSEL (IMPROVED UI)  --- */
/* --- ================================== --- */
.services-carousel-section {
    padding: 60px 0;
    background-color: #f2f7fb; /* A more neutral, modern background */
    position: relative;
}

.services-carousel-section .container {
    flex-direction: column;
    position: relative;
}

.services-carousel-section .section-title {
    font-size: 2.0rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 50px;
    text-align: center;
}

.services-swiper {
    width: 100%;
    padding: 20px 0 60px; /* Add padding for shadow and pagination */
}

.service-card {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(100, 100, 150, 0.08); /* Softer blueish shadow */
    text-align: center;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Add a container for the image to apply the overlay */
.card-image-container {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Subtle zoom effect on the image on card hover */
.service-card:hover .card-image {
    transform: scale(1.05);
}

.card-content {
    padding: 30px;
}

.card-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 15px;
}

.card-content p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    min-height: 70px;
}

.btn-card {
    background: var(--primary-orange); /* Match your theme's orange */
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-card:hover {
    background-color: #e0741c; /* A darker orange on hover */
    transform: scale(1.05);
}

/* --- Improved Swiper Navigation & Pagination Styles --- */
.services-carousel-section .swiper-button-prev,
.services-carousel-section .swiper-button-next {
    color: var(--dark-text);
    transform: translateY(-20px); /* Move arrows up slightly */
    transition: color 0.3s ease;
}
.services-carousel-section .swiper-button-prev:hover,
.services-carousel-section .swiper-button-next:hover {
    color: var(--primary-orange);
}

.services-carousel-section .swiper-button-prev::after,
.services-carousel-section .swiper-button-next::after {
    font-size: 24px;
    font-weight: 900;
}

.services-carousel-section .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    opacity: 1;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.services-carousel-section .swiper-pagination-bullet-active {
    background-color: var(--primary-orange);
    transform: scale(1.2);
}

.swiper-button-prev {
  background: #f58220;
  padding: 0px 22px;
  border-radius: 100px;
  margin-left: -45px;
  top: 350px;
}
.swiper-button-next {
  background: #f58220;
  padding: 0px 22px;
  border-radius: 100px;
  margin-right: -45px;
  top: 350px;
}
.swiper-button-prev::after {
  font-size: 16px !important;
  color: #fff;
}
.swiper-button-next::after {
  font-size: 16px !important;
  color: #fff;
}
@media only screen and (max-width:1024px){
.swiper-button-next {
	margin-right: 0px;
}
.swiper-button-prev {
	margin-left: 0px;
}
}


/* --- ================================== --- */
/* ---     SERVICE COVERS SECTION         --- */
/* --- ================================== --- */
.service-covers-section {
    padding: 60px 0;
    background-color: var(--white);
}

#service-covers .main-title {
	font-size: 2.0rem;
}

.service-covers-section .container {
    flex-direction: column;
}

.service-covers-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.tabs-container {
    display: flex;
    gap: 40px;
    width: 100%;
}

/* --- Tab Navigation (Left Side) --- */
.tab-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 0 0 35%; /* Navigation takes up 35% of the width */
}

.tab-link {
    padding: 20px;
    font-size: 17px;
    font-weight: 600;
    color: #555;
    background-color: #f9f9fa;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}

.tab-link i {
    color: #999;
    transition: color 0.3s ease;
}

.tab-link:hover {
    background-color: #f0f0f5;
    color: var(--dark-text);
}

.tab-link.active {
    background-color: var(--primary-orange);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(245, 130, 32, 0.3);
}

.tab-link.active i {
    color: var(--white);
}

/* --- Tab Content (Right Side) --- */
.tab-content {
    flex: 1; /* Content takes up the remaining space */
}

.tab-pane {
    display: none; /* Hide all panes by default */
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block; /* Show only the active pane */
}

.tab-pane img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
}

.tab-pane h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 15px;
}

.tab-pane p {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
}

/* --- Fade In Animation --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .tabs-container {
        flex-direction: column; /* Stack nav and content */
    }
}


/* --- ================================== --- */
/* ---  COUNTERUP SECTION (FINAL LAYOUT)  --- */
/* --- ================================== --- */
.counter-up-section {
    padding: 60px 0;
    background-color: #f2f7fb;
}

/* Main flex container for the two columns */
.counter-up-section .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* --- Left Column: Intro (Made smaller) --- */
.counter-intro {
    flex: 1 1 30%; /* CHANGED: Reduced basis to 30% to make it smaller */
    min-width: 300px;
}

.counter-intro .section-title {
    font-size: 30px;
    font-weight: 700;
    color: var(--dark-text);
    line-height: 1.3;
    margin-bottom: 20px;
}

.counter-intro .section-description {
    font-size: 17px;
    color: #666;
    line-height: 1.8;
}

/* --- Right Column: Grid of Boxes (Single Row) --- */
.counter-grid {
    flex: 1 1 65%; /* CHANGED: Increased basis to take more space */
    display: flex;
    /* REMOVED: flex-wrap is gone, so boxes stay in one row */
    gap: 20px; /* Reduced gap to fit boxes better */
}

.counter-box {
    flex: 1; /* CHANGED: Each box takes up equal space in the row */
    color: var(--white);
    padding: 30px 15px; /* Adjusted padding */
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.counter-box:hover {
    transform: translateY(-10px);
}

.counter-icon {
    font-size: 32px; /* Adjusted size */
    margin-bottom: 15px;
}

.counter-number {
    font-size: 38px; /* Adjusted size */
    font-weight: 700;
    margin-bottom: 8px;
}

.counter-label {
    font-size: 15px; /* Adjusted size */
    font-weight: 600;
    opacity: 0.9;
}

/* --- Box Colors --- */
.box-blue { background: linear-gradient(45deg, #2980b9, #3498db); }
.box-green { background: linear-gradient(45deg, #27ae60, #2ecc71); }
.box-orange { background: linear-gradient(45deg, #f39c12, #f1c40f); }
.box-purple { background: linear-gradient(45deg, #8e44ad, #9b59b6); }

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .counter-up-section .container {
        flex-direction: column; /* Stack columns on smaller screens */
        text-align: center;
    }
    
    .counter-grid {
        width: 100%;
        /* ADDED: Re-introduce flex-wrap for tablet view */
        flex-wrap: wrap; 
    }
    
    .counter-box {
         /* Allows for a 2x2 grid on tablet */
        flex: 1 1 200px;
    }
}

@media (max-width: 576px) {
    .counter-grid {
        flex-direction: column; /* Stack boxes vertically on very small screens */
    }
    .counter-intro .section-title {
        font-size: 34px;
    }
}


/* --- ================================== --- */
/* ---     FAQ SECTION (IMPROVED UI)      --- */
/* --- ================================== --- */
.faq-section {
    padding: 60px 0;
    background-color: #fff; /* Lighter background to make cards pop */
}

#faq .main-title {
	font-size: 2.0rem;
	padding-bottom: 10px;
}

.faq-section .container {
    flex-direction: column;
}

.faq-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns on desktop */
    gap: 25px;
    width: 100%;
}

.faq-item {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05); /* Softer, more modern shadow */
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    color: var(--dark-text);
    text-align: left;
    background: none;
    border: none;
    border-radius: 12px; /* Ensure radius is consistent */
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question i {
    font-size: 16px;
    color: var(--primary-orange);
    transition: transform 0.4s ease, color 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
}

.faq-answer p {
    padding: 0 25px 0;
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    border-top: 1px solid #f0f0f0; /* Subtle separator line */
}

/* --- Active State (Toggled by JS) --- */
.faq-item.active .faq-question {
    background-color: var(--primary-orange); /* Vibrant orange background */
    color: var(--white); /* White text for contrast */
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
    color: var(--white); /* White icon */
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-item.active .faq-answer p {
    padding: 25px; /* Apply full padding when expanded */
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .faq-container {
        grid-template-columns: 1fr;
    }
}


/* --- ================================== --- */
/* ---         REVIEWS SECTION            --- */
/* --- ================================== --- */
.reviews-section {
    padding: 60px 0;
    background-color: #fcf6ef;
}

.counter-icon img {
	width: 40%;
	margin-bottom: -30px;
	margin-top: -10px;
}
@media only screen and (max-width:768px){
    .counter-icon img {
	width: 20%;
}
}

#reviews .main-title {
	font-size: 2.0rem;
	padding-bottom: 10px;
}

.reviews-section .container {
    flex-direction: column;
}

.reviews-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.reviews-swiper {
    width: 100%;
    padding: 20px 0 60px; /* Space for shadow and pagination */
}

.review-card {
    background-color: #fff; /* Light grey background for the card */
    border-radius: 12px;
    padding: 35px;
    height: 100%; /* Ensures all cards in view are the same height */
    display: flex;
    flex-direction: column;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.review-header .fa-quote-left {
    font-size: 36px;
    color: var(--primary-orange);
    opacity: 0.3;
}

.star-rating .fas, .star-rating .far, .star-rating .fas-star-half-alt {
    color: #f39c12; /* Star color */
    font-size: 16px;
    margin-left: 2px;
}

.review-text {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    font-style: italic;
    flex-grow: 1; /* Allows this element to take up available space */
    margin-bottom: 25px;
}

.customer-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto; /* Pushes to the bottom */
}

.customer-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.customer-details h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--dark-text);
    margin: 0;
}

.customer-details span {
    font-size: 14px;
    color: #777;
}

/* --- Swiper Styles for Reviews --- */
.reviews-section .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    opacity: 1;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.reviews-section .swiper-pagination-bullet-active {
    background-color: var(--primary-orange);
    transform: scale(1.2);
}


/* --- ================================== --- */
/* ---        CTA & FORM SECTION          --- */
/* --- ================================== --- */
.cta-section {
    padding: 60px 0;
    background-color: #f2f7fb; /* Light background for the section */
}

.cta-section .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* --- Left Column: Info --- */
.cta-info {
    flex: 1;
}

.cta-info .section-title {
    font-size: 2.0rem;
    font-weight: 700;
    color: var(--dark-text);
    line-height: 1.3;
    margin-bottom: 20px;
}

.cta-info .section-description {
    font-size: 17px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
}

.cta-image-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.cta-image-container img {
    width: 100%;
    height: 470px;
    object-fit: cover;
    display: block;
}

/* --- Right Column: Form --- */
.cta-form {
    flex: 1;
}

.cta-form form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.cta-form h3 {
    font-size: 28px;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(245, 130, 32, 0.15);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    background-color: var(--primary-orange);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-submit:hover {
    background-color: #e0741c;
    transform: translateY(-3px);
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .cta-section .container {
        flex-direction: column;
    }
}

@media only screen and (max-width:1024px){
    .cta-form {
	width: 90%;
}
}

/* Floating Buttons */
.floating-buttons {
            position: fixed;
            bottom: 0;
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: #444;
            z-index: 1000;
        }

        .floating-buttons a {
            flex: 1;
            text-align: center;
            padding: 10px 0;
            color: #fff;
            text-decoration: none;
            font-size: 16px;
            font-weight: bold;
            transition: background 0.3s ease;
        }

        .floating-buttons a:nth-child(1) {
            background: #25d366;
        }

        .floating-buttons a:nth-child(1):hover {
            background: #20b357;
        }

        .floating-buttons a:nth-child(2) {
            background: #007bff;
        }

        .floating-buttons a:nth-child(2):hover {
            background: #0056b3;
        }




/* --- ================================== --- */
/* --- FOOTER SECTION (NEW GRID LAYOUT) --- */
/* --- ================================== --- */
.site-footer {
    background-color: #1a1a2e; /* Dark blue/purple background */
    color: #a9a9d0; /* Light, soft text color */
    padding: 60px 0 0; /* Remove bottom padding */
    font-size: 14px;
    border-top: 1px solid #eee;
}

.site-footer a {
    color: #a9a9d0;
    text-decoration: none;
    transition: color 0.3s ease;
}
.site-footer a:hover {
    color: var(--primary-orange);
}

.site-footer .container {
    max-width: 1500px;
}

/* --- Combined Footer Grid --- */
/* This will contain both the initial widgets and the link lists */
.footer-top, .footer-links-grid {
    display: grid;
    /* Create a responsive grid that adjusts columns */
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); 
    gap: 30px;
    padding-bottom: 40px;
}

/* Remove the border between the two sections */
.footer-top {
    border-bottom: none;
}
.footer-links-grid {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}


.footer-widget .widget-title, .links-column h5 {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: capitalize;
}

.footer-logo img {
    max-height: 50px;
    margin-bottom: 15px;
    background-color: white;
    padding: 5px;
    border-radius: 4px;
}

.footer-widget p {
    margin-bottom: 10px;
    line-height: 1.7;
}

.social-icons {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}
.social-icons a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 14px;
}
.social-icons a:hover {
    background-color: var(--primary-orange);
    color: var(--white);
}

.links-widget ul, .links-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.links-widget li, .links-column li {
    margin-bottom: 10px;
}
.links-column a {
    text-transform: capitalize;
}


.newsletter-form {
    display: flex;
    margin-top: 15px;
}
.newsletter-form input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px 0 0 5px;
    color: var(--white);
    outline: none;
}
.newsletter-form button {
    padding: 10px 15px;
    border: none;
    background-color: var(--primary-orange);
    color: var(--white);
    font-weight: 600;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}


/* --- Sub-Footer --- */
.sub-footer {
	background-color: #111122;
	padding: 25px 0 60px 0px;
	text-align: center;
	color: #a9a9d0;
}
.sub-footer p {
    margin: 0;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  width: 100%;
}
.footer-top {
	display: grid;
	grid-template-columns: repeat(4,1fr);
}
#footer .container {
	display: flex;
	flex-direction: column;
}

@media only screen and (max-width:1024px){
    .footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
}
.footer-top {
	display: grid;
	grid-template-columns: repeat(2,1fr);
}
#footer .container {
	display: flex;
	flex-direction: column;
}
}

@media only screen and (max-width:768px){
    .footer-links-grid {
  display: grid;
  grid-template-columns: repeat(1,1fr);
}
.footer-top {
	display: grid;
	grid-template-columns: repeat(1,1fr);
}
#footer .container {
	display: flex;
	flex-direction: column;
}
}