:root {
    --primary-blue: #1678da;
    --text-light: #ffffff;
    --accent-red: #ff0000;
    --text-dim: rgba(255, 255, 255, 0.7);
    --bg-overlay: rgba(28, 28, 28, 0.84);
    --text-dark: #212529;
    --text-light-gray: #6c757d;
    --card-bg: #f3f3f3;
    --bg-dark: #1a1a1a;
    --card-dark: #2c2c2c;
    --text-dim: #a0a0a0;
    --star-color: #ffc107;
    --muted-gray: rgb(172, 172, 172);
}

.rotate-90 {
    transform: rotate(90deg);
    transition: transform 0.5s ease, margin 0.5s ease;
}

.rotate-90:hover {
    margin-top: 20px;
}

body {
    font-family: "Saira", sans-serif;
    background-color: #ffffff;
    /* Fallback background */
}

.arrow-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 1rem;
    transition: background-color 0.3s;
    transition: 0.5s ease;
}

.arrow-btn:hover {
    margin-left: 2rem;
}

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    /* background-image: url(../images/hero-bg/bg.png);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;  */
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-overlay);
    z-index: 1;
}

/* All direct children need a higher z-index to appear above the overlay */
.hero-section > * {
    position: relative;
    z-index: 2;
}

/* --- Header / Navbar --- */
.navbar {
    padding-top: 1rem;
    padding-bottom: 1rem;
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.1); */
}

.navbar-brand {
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.5rem;
}

.navbar-brand .logo-icon {
    display: inline-block;
    background-color: var(--primary-blue);
    color: var(--text-light);
    font-weight: 800;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 5px;
    margin-right: 10px;
    font-style: italic;
    transform: skew(-10deg);
}

.nav-link {
    color: var(--text-dim);
    font-weight: 500;
    margin-left: 1.5rem;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-light);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* --- Main Content --- */
.hero-content {
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.main-heading {
    font-size: 5rem;
    font-weight: 500;
    color: var(--primary-blue);
    line-height: 1;
    margin: 0;
}

.sub-heading {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.services-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark semi-transparent background similar to your image */
    background-color: rgba(20, 22, 25, 0.786);
    z-index: 1050; /* Higher than navbar */
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Class to show the overlay with a fade-in effect */
.services-overlay.show {
    display: flex;
    opacity: 1;
}

/* Styling for the centered menu content */
.services-menu {
    color: white;
}

.services-menu h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    letter-spacing: 2px;
}

.services-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-menu ul li {
    margin: 1.3rem 0;
}

.services-menu ul li a {
    color: #e0e0e0; /* Slightly dimmed white for links */
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

.services-menu ul li a:hover {
    color: #ffffff;
}

/* Styling for the circular close button */
.close-btn {
    position: absolute;
    bottom: 5vh; /* Position relative to viewport height */
    left: 50%;
    transform: translateX(-50%);
    width: 55px;
    height: 55px;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.close-btn:hover {
    background-color: white;
}

.close-btn span {
    color: white;
    font-size: 2.8rem;
    line-height: 1;
    font-weight: 300;
    /* Helps vertically center the '×' character */
    transform: translateY(-2px);
    transition: color 0.3s ease;
}

.close-btn:hover span {
    color: #141619; /* Match the dark background color */
}

/* Styling for the caret next to 'Services' */
.service-caret {
    display: none; /* Hide caret by default */
    margin-left: 4px;
    font-size: 0.9em;
    transition: opacity 0.3s;
}

/* Show the caret when the trigger link is active */
#services-trigger.active .service-caret {
    display: inline;
}

.cta-link {
    display: inline-flex;
    align-items: center;
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 3rem;
    transition: color 0.3s;
}

.cta-link .arrow-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 1rem;
    transition: background-color 0.3s;
    transition: 0.5s ease;
}

.cta-link .arrow-btn:hover {
    margin-left: 2rem;
}

.cta-link:hover {
    color: var(--primary-blue);
}

.cta-link:hover .arrow-circle {
    background-color: var(--primary-blue);
}

.description-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dim);
}

.description-text strong {
    color: var(--text-light);
    font-weight: 600;
}

/* --- Side Social Links --- */
.social-sidebar {
    position: absolute;
    right: 40px;
    bottom: 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    z-index: 10;
}

.social-sidebar .follow-text {
    transform: rotate(-90deg);
    text-orientation: mixed;
    color: var(--text-dim);
    letter-spacing: 1px;
    margin-bottom: 10px;
    margin-top: 40px;
    font-size: 16px;
}

.social-sidebar a {
    color: var(--text-light);
    font-size: 1.1rem;
    transition: color 0.3s, transform 0.3s;
}

.social-sidebar a:hover {
    color: var(--primary-blue);
    transform: scale(1.2);
}

/* --- Scroll Down Indicator --- */

@keyframes scrollPulse {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) translateY(10px);
        opacity: 0.5;
    }
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 42px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 2px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.3);
}

.scroll-indicator::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--text-light);
    animation: scrollPulse 1.6s infinite ease-in-out;
}

.scroll-indicator::after {
    content: "";
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* --- CSS for About Us Section --- */

.about-section {
    font-family: "Saira", sans-serif;

    /* Background Gradient Overlay + Image */
    background-color: #0f1624;
    /* background-image: linear-gradient(
            160deg,
            rgba(15, 22, 36, 0.684) 40%,
            rgba(23, 26, 29, 0) 100%
        ),
        url("../images/about/about-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; */

    color: rgba(255, 255, 255, 0.7);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.about-section::before {
    content: ""; /* Required for pseudo-elements to appear */
    position: absolute; /* Position it relative to the .has-overlay container */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Black color with 50% opacity */
    z-index: -1;
}
.section-title {
    color: #ffffff;
    /* Same as --text-light */
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.title-divider {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2.5rem;
}

.title-divider span {
    display: block;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
}

.title-divider span:first-child {
    width: 30px;
}

.title-divider span.center-line {
    width: 40px;
    background-color: #009dff;
    /* Same as --primary-blue */
}

.title-divider span:last-child {
    width: 30px;
}

.about-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: #ffffff;
    /* Same as --text-light */
    /* margin-bottom: 2rem; */
}

.text-highlight {
    color: #009dff;
    /* Same as --primary-blue */
    font-weight: 600;
}

.quote-mark {
    font-size: 4rem;
    color: var(--accent-red);
    display: block;
    line-height: 0.5;
    /* Pulls the following paragraph closer */
    margin-bottom: 1rem;
    margin-left: -5px;
    /* Slight adjustment to align with text */
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-text strong {
    color: #ffffff;
    /* Same as --text-light */
    font-weight: 600;
}

/* --- CSS for What We Do / Services Section --- */

.services-section {
    font-family: "Saira", sans-serif;
    background-color: #ffffff;
    color: #555555;
    padding: 100px 0 60px 0;
    /* Extra bottom padding to give space */
}

/* Section Header Styles */
.section-title-dark {
    color: #111111;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-subtitle-dark {
    font-size: 1.1rem;
    font-weight: 400;
    color: #6c757d;
    max-width: 500px;
    margin: 0 auto;
}

.title-divider-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 2rem;
}

.title-divider-center span {
    display: block;
    height: 4px;
    background-color: #cccccc;
    border-radius: 2px;
}

.title-divider-center span:first-child,
.title-divider-center span:last-child {
    width: 30px;
}

.title-divider-center span.center-line {
    width: 40px;
    background-color: var(--primary-blue, #009dff);
    /* Fallback color */
}
.title-divider-left {
    display: flex;
    align-items: left;
    justify-content: left;
    gap: 8px;
    margin-bottom: 2rem;
}
.title-divider-left span {
    display: block;
    height: 4px;
    background-color: #cccccc;
    border-radius: 2px;
}

.title-divider-left span:first-child,
.title-divider-left span:last-child {
    width: 30px;
}

.title-divider-left span.center-line {
    width: 40px;
    background-color: var(--primary-blue, #009dff);
    /* Fallback color */
}

/* Service Item Styles */
.service-item {
    margin-bottom: 80px;
}

.service-image-wrapper {
    perspective: 1000px;
    overflow: hidden;
    position: relative;
}

.parallax-inner {
    transition: transform 0.2s ease;
    transform-style: preserve-3d;
}

.parallax-inner img {
    width: 100%;
    height: auto;
    display: block;
    will-change: transform;
}

.service-image-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(15, 22, 36, 0) 0%,
        rgba(15, 22, 36, 0.7) 100%
    );
    z-index: 1;
}

.service-image-overlay-left {
    text-align: left;
    position: absolute;
    bottom: 35px;
    left: 35px;
    z-index: 2;
}

.service-image-overlay-right {
    text-align: right;
    position: absolute;
    bottom: 35px;
    right: 35px;
    z-index: 2;
}

.service-image-overlay-left h2,
.service-image-overlay-right h2 {
    color: #ffffff;
    font-weight: 700;
    font-size: 3.8rem;
    line-height: 1.1;
    margin: 0;
}

.service-content {
    padding-left: 2.5rem;
}

/* For the reversed item, adjust padding */
.row .order-lg-1 .service-content {
    padding-left: 0;
    padding-right: 2.5rem;
}

.service-content-title {
    color: #888888;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: inline-block;
    /* Makes the underline only as wide as the text */
}

.service-content-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 200px;
    /* Width of the underline */
    background: var(--primary-blue, #009dff);
}

.service-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.service-know-more {
    display: inline-flex;
    align-items: center;
    color: #333333;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s;
}

.service-know-more .arrow-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-blue, #009dff);
    border-radius: 50%;
    margin-left: 1rem;
    transition: background-color 0.3s, color 0.3s;
    color: var(--primary-blue, #009dff);
}

.service-know-more:hover {
    color: var(--primary-blue, #009dff);
}

.service-know-more:hover .arrow-circle {
    background-color: var(--primary-blue, #009dff);
    color: #ffffff;
}

/* --- CSS for Portfolio Section --- */

.portfolio-section {
    font-family: "Saira", sans-serif;
    background-color: #212121;
    padding: 120px 0;
    overflow: hidden;
    /* Important for sliders */
}

.portfolio-layout {
    display: flex;
    align-items: center;
}

/* --- Left Side: Vertical Header --- */
.portfolio-header {
    flex: 0 0 150px;
    /* Does not grow, does not shrink, base width 150px */
}

.vertical-title-wrapper {
    display: flex;
    align-items: center;
    transform: translateX(-50%);
    /* Pulls the element left */
    position: relative;
    left: 50%;
}

.vertical-title {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    color: var(--primary-blue, #009dff);
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 8px;
    margin: 0;
    padding: 0;
}

.vertical-subtitle {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-right: 20px;
    /* Becomes top margin in vertical mode */
    white-space: nowrap;
    height: 380px;
    /* Give it a fixed height */
}

/* --- Right Side: Slider --- */
.portfolio-slider-wrapper {
    flex-grow: 1;
    width: 100%;
    min-width: 0;
}

.slider-navigation {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-bottom: 2rem;
}

.portfolio-swiper-button-next,
.portfolio-swiper-button-prev {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.portfolio-swiper-button-next:hover,
.portfolio-swiper-button-prev:hover {
    color: #ffffff;
}

.portfolio-swiper {
    width: 100%;
    height: auto;
}

/* --- Swiper Slide Image --- */
.portfolio-item {
    text-align: center;
}

.portfolio-image-container {
    margin-bottom: 1.5rem;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.portfolio-image-container img {
    width: 100%;
    height: auto;
    max-height: 500px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.know-more-btn {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    font-weight: 500;
    font-size: 16px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 2;
}

.know-more-btn img {
    width: 70px;
    margin: 10px;
}

.portfolio-image-container:hover .know-more-btn {
    opacity: 1;
    transform: translateY(0);
}

/* --- Caption --- */
.portfolio-caption p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    font-weight: 500;
    text-align: left;
    margin: 0;
}

/* --- Our Clients Section (Your code, preserved) --- */
.clients-section {
    background-color: #ffffff;
    padding: 100px 0;
    position: relative;
    background-image: url("../images/bg/client-bg.png");
    /* Your image path is kept */
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.clients-header {
    text-align: center;
    margin-bottom: 60px;
}

.clients-title {
    color: black;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.clients-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: black;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.title-divider-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 1rem auto 2rem auto;
}

.title-divider-center span {
    display: block;
    height: 4px;
    background-color: #cccccc;
    border-radius: 2px;
}

.title-divider-center span:first-child,
.title-divider-center span:last-child {
    width: 30px;
}

.title-divider-center span.center-line {
    width: 40px;
    background-color: var(--primary-blue);
}

/* --- ⭐️ FINAL, CORRECTED CSS MARQUEE STYLES ⭐️ --- */

.clients-slider-wrapper {
    background-color: white;
    padding: 20px 0;
    position: relative;
    overflow: hidden;
    /* Acts as the viewport for the marquee */
}

.logo-track {
    display: flex;
    width: fit-content;
    /* Make the track wide enough for all its content */
    /* The animation that creates the smooth, looping scroll */
    animation: marquee 120s linear infinite;
    will-change: transform;
    /* Hint for GPU acceleration to prevent stutter */
}

/* Pause the animation on hover */
.clients-slider-wrapper:hover .logo-track {
    animation-play-state: paused;
}

/* The animation keyframes */
@keyframes marquee {
    from {
        transform: translateX(0);
    }

    /* ⭐️ KEY FIX: Animate to -50% of its own width. */
    /* Since the track contains two identical groups, this moves it by the exact width of one group, creating a seamless loop. */
    to {
        transform: translateX(-50%);
    }
}

.logo-item {
    display: flex;
    align-items: center;
    padding: 0 30px;
    /* Space between logos */
}

.logo-item img {
    max-height: 150px;
    width: auto;
    /* Maintain aspect ratio */
    opacity: 0.8;
    transition: opacity 0.3s ease-in-out;
}

.logo-item:hover img {
    opacity: 1;
}

/* ⭐️ KEY CHANGE: A wrapper for the entire component */
.contact-layout-wrapper {
    position: relative;
    padding-bottom: 100px;
    /* Add space at the very bottom */
}

/* ⭐️ KEY CHANGE: The top section containing ONLY the map */
.map-container {
    height: 45vh;
    /* Map takes up the top 45% of the viewport height */
    min-height: 400px;
    position: relative;
}

#contact-map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.contact-form-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 50px;
    max-width: 850px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border-bottom: 6px solid var(--primary-blue);

    /* ⭐️ KEY CHANGE: This is the magic that pulls the form up */
    position: relative;
    z-index: 2;
    /* Ensure it's on top of the map */
    margin-top: -50px;
    /* Pull the card up into the map area */
}

.contact-form-title-1 {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 3.5rem;
    line-height: 1.5;
}

/* Floating label styles are preserved as they were correct */
.form-group {
    position: relative;
    margin-bottom: 3rem;
}

.form-control-underline {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ced4da;
    padding: 10px 0;
    font-size: 1rem;
    background-color: transparent;
    position: relative;
    z-index: 1;
}

.form-control-underline:focus {
    outline: none;
    border-bottom-color: var(--primary-blue);
}

.form-control-underline + label {
    position: absolute;
    top: 10px;
    left: 0;
    color: var(--text-light-gray);
    transition: all 0.2s ease;
    pointer-events: none;
}

.form-control-underline:focus + label,
.form-control-underline:not(:placeholder-shown) + label {
    top: -15px;
    font-size: 0.8rem;
    color: var(--primary-blue);
}

textarea.form-control-underline {
    resize: vertical;
    min-height: 40px;
}

/* Button styles are preserved */
.submit-btn-wrapper {
    text-align: center;
    margin-top: 2rem;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-blue);
    color: #ffffff;
    border: none;
    padding: 14px 25px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.submit-btn:hover {
    background-color: #0b5ed7;
    transform: translateY(-2px);
}

.submit-btn .icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    margin-left: 15px;
    font-size: 0.8em;
}

/* ==============================
   FAQ Section Styles
============================== */
.faq-section {
  padding: 120px 0;
  overflow: hidden;
  background-color: #fffbfb;
}

/* ---------- Header ---------- */
.faq-header {
  margin-bottom: 4rem;
}

.faq-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.1;
}

.title-divider {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 1rem;
}

.title-divider span {
  display: block;
  height: 4px;
  background-color: #cccccc;
  border-radius: 2px;
}

.title-divider span:first-child,
.title-divider span:last-child {
  width: 15px;
}

.title-divider span.center-line {
  width: 30px;
  background-color: var(--primary-blue);
}

.faq-header-right {
  text-align: left;
}

.faq-subtitle {
  font-size: 1.5rem;
  color: var(--text-light-gray);
  margin-bottom: 1rem;
}

.faq-navigation {
  display: flex;
  justify-content: left;
}

.faq-swiper-button-prev,
.faq-swiper-button-next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--primary-blue);
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.faq-swiper {
  padding-bottom: 1rem;
}

/* ==============================
   Card Layout and Animation
============================== */
.faq-item {
  cursor: pointer;
  perspective: 1000px;
  height: 100%;
  min-height: 320px;
}

.swiper-slide {
  height: auto !important;
  overflow: visible !important;
}

/* Inner wrapper (used for positioning) */
.faq-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
}

/* Both faces (front + back) share base styles */
.faq-question-card,
.faq-answer-card {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  padding: 30px;
  backface-visibility: visible;
  transition: opacity 0.5s ease, transform 0.3s ease;
}

/* Front side (question) */
.faq-question-card {
  background-color: var(--card-bg);
  color: var(--text-dark);
  justify-content: flex-end;
  align-items: flex-start;
  opacity: 1;
  pointer-events: auto;
}

/* Back side (answer) */
.faq-answer-card {
  background-color: var(--primary-blue);
  color: #fff;
  justify-content: flex-start;
  align-items: flex-start;
  opacity: 0;
  pointer-events: none;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.4) transparent;
}

/* WebKit scrollbar styling */
.faq-answer-card::-webkit-scrollbar {
  width: 6px;
}
.faq-answer-card::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.4);
  border-radius: 4px;
}
.faq-answer-card::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.6);
}

/* ---------- Hover dissolve effect ---------- */
.faq-item:hover .faq-question-card {
  opacity: 0;
  pointer-events: none;
}
.faq-item:hover .faq-answer-card {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1.02);
}

/* ---------- Typography ---------- */
.faq-question {
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 1rem;
}

.faq-answer-question {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.faq-answer-text {
  font-size: 1.1rem;
  line-height: 1.5;
  opacity: 0.9;
}

/* ---------- Icon movement ---------- */
.faq-link img {
  transition: transform 0.3s ease;
}
.faq-item:hover .faq-link img {
  transform: translateX(5px);
}


/* The main section wrapper. overflow: hidden is crucial here. */
.testimonials-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-dark);
}

/* Background Pattern */
.testimonials-section::after {
    content: "";
    position: absolute;
    top: 0;
    right: 15%;
    width: 500px;
    height: 100%;
    background-image: url("../images/art/SVG.png");
    background-repeat: no-repeat;
    background-position: center right;
    opacity: 0.2;
    z-index: 1;
}

/* Header is inside a container for centering */
.testimonials-header {
    position: relative;
    z-index: 2;
    margin-bottom: 4rem;
}
.testimonial-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
}
.testimonial-title .quote-icon {
    color: var(--primary-blue);
    vertical-align: super;
    font-size: 0.5em;
}
.testimonial-subtitle {
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--text-light);
    margin-top: -10px;
}
.testimonial-description {
    font-size: 1.1rem;
    color: var(--text-dim);
    max-width: 450px;
    margin-top: 1rem;
}

/* Swiper container is now full-width */
.testimonials-swiper {
    width: 100%;
    position: relative;
    z-index: 2;
}

.testimonials-swiper .swiper-slide {
    transition: transform 0.4s ease, opacity 0.4s ease;
    transform: scale(0.85);
    opacity: 0.6;
    height: auto;
}
.testimonials-swiper .swiper-slide-active {
    transform: scale(1);
    opacity: 1;
}

.testimonial-card {
    padding: 20px;
    border-radius: 16px;
    max-height: 100%;
    transition: background-color 0.4s, border 0.4s;
    background-color: var(--card-dark);
    border: 2px solid transparent;
}
.swiper-slide-active .testimonial-card {
    background-color: var(--primary-blue);
    border: 2px solid rgba(255, 255, 255, 0.3);
}
.testimonial-text {
    color: black;
    padding: 20px;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1rem;
    background-color: white;
    border-radius: 8px !important;
}
.swiper-slide-active .testimonial-text {
    color: black;
    padding: 20px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}
.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
}
.author-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}
.star-rating {
    color: var(--star-color);
}

/* Navigation is back inside a container for centering */
.testimonials-navigation {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 3rem;
}
.testimonial-swiper-button-prev,
.testimonial-swiper-button-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: border-color 0.3s, color 0.3s;
}

/* Footer Section */
.footer-section {
    background-color: #111;
    padding: 80px 0 30px 0;
    position: relative;
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* Subtle background image with overlay */
.footer-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("../images/hero-bg/bg.png");
    /* Adjust path as needed */
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 1;
}

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

/* Column 1: Logo & Description */
.footer-logo {
    max-width: 200px;
    margin-bottom: 1.5rem;
}

.footer-description {
    line-height: 1.8;
    max-width: 350px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background-color: var(--primary-blue);
    color: var(--text-light);
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 1.5rem;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-download:hover {
    background-color: #0b5ed7;
    transform: translateY(-2px);
    color: var(--text-light);
}

.btn-download .icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    font-size: 0.8em;
}

/* Columns 2 & 3: Links, Contact, Socials */
.footer-title {
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-list {
    list-style: none;
    padding-left: 0;
}

.footer-list li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 15px;
}

.footer-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
}

.footer-list a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-list a:hover {
    color: var(--text-light);
}

.contact-info p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #2c2c2c;
    color: var(--text-light);
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
}

.social-icons a:hover {
    background-color: var(--primary-blue);
    transform: translateY(-3px);
}

/* Divider & Copyright */
.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 50px 0 30px 0;
}

.footer-copyright {
    text-align: center;
    font-size: 0.9rem;
}

/* About Us Hero Section Styling */
.about-hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    color: #fff;

    background-image: linear-gradient(
            rgba(28, 28, 28, 0.84),
            rgba(28, 28, 28, 0.84)
        ),
        url("../images/hero-bg/bg.png");
    background-size: cover;
    background-position: center center;

    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Scoped Navbar Styling */

/* Scoped Main Content Styling */
.about-hero-section .about-hero-content {
    flex-grow: 1;
    display: flex;
    align-items: center;
    padding-left: 3vw;
    padding-bottom: 15vh;
}

.about-hero-section .about-hero-pre-heading {
    color: var(--primary-blue);
    font-size: 3.25rem;
    font-weight: 500;
    margin-bottom: 120px;
    position: relative;
    top: 0px;
    left: -100px;
}

.about-hero-section .about-hero-line {
    display: inline-block;
    width: 300px;
    height: 2px;
    background-color: #fff;
}

.about-hero-section .about-hero-main-heading {
    font-size: 3.8rem;
    font-weight: 300;
    margin-top: 1rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.about-hero-section .about-hero-sub-heading {
    font-size: 3.8rem;
    font-weight: 600;
    color: var(--primary-blue);
    line-height: 1.1;
    letter-spacing: -1px;
}

/* Scoped CTA Styling */
.about-hero-section .about-hero-read-more-cta {
    font-size: 1.5rem;
    font-weight: 400;
    color: #f8f9fa;
}

.about-hero-section .about-hero-arrow-circle {
    width: 50px;
    height: 50px;
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-blue);
    font-size: 1.5rem;
}
.about-hero-section .about-hero-arrow-circle .bi {
    font-weight: bold !important;
}

/* Scoped Social Media Sidebar */
.about-hero-section .about-hero-social-sidebar {
    position: absolute;
    right: 3%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.about-hero-section .about-hero-follow-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 3px;
    color: var(--muted-gray);
}

.about-hero-section .about-hero-social-icons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-hero-section .about-hero-social-icons a {
    color: var(--muted-gray);
    text-decoration: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--muted-gray);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.about-hero-section .about-hero-social-icons a:hover {
    color: #fff;
    border-color: #fff;
    background-color: var(--primary-blue);
}

/* Tablet Screens */
@media (max-width: 1024px) {
    .about-hero-section .about-hero-pre-heading {
        font-size: 2.5rem;
        margin-bottom: 80px;
        left: -50px;
    }

    .about-hero-section .about-hero-main-heading,
    .about-hero-section .about-hero-sub-heading {
        font-size: 4rem;
    }

    .about-hero-section .about-hero-read-more-cta {
        font-size: 1.2rem;
    }

    .about-hero-section .about-hero-arrow-circle {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* Mobile Screens */
@media (max-width: 768px) {
    .about-hero-section {
        padding: 0 20px;
        background-attachment: scroll; /* avoid fixed background on mobile */
        text-align: center;
    }

    .about-hero-section .about-hero-pre-heading {
        font-size: 2rem;
        margin-bottom: 60px;
        left: 0;
        text-align: left;
    }

    .about-hero-section .about-hero-main-heading,
    .about-hero-section .about-hero-sub-heading {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .about-hero-section .about-hero-read-more-cta {
        font-size: 1rem;
    }

    .about-hero-section .about-hero-arrow-circle {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .about-hero-section .about-hero-social-sidebar {
        display: none; /* Hide on small screens to avoid clutter */
    }
}

/* Extra Small Screens */
@media (max-width: 480px) {
    .about-hero-section .about-hero-main-heading,
    .about-hero-section .about-hero-sub-heading {
        font-size: 2rem;
        text-align: center;
    }
}

.team-section {
    background-color: #fff;
}
.section-subtitle {
    font-size: 22px;
    color: #555;
}
.team-card {
    text-align: left;
}
.team-card img {
    height: 520px;
    object-fit: cover;
}

/* --- Portfolio Showcase Section --- */
.portfolio-section-showcase {
    position: relative;
    background-color: #ffffff;
    overflow: hidden; /* Ensures the pseudo-element doesn't spill out */
}

/* This pseudo-element adds the background art. */
.portfolio-section-showcase::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    /* You can adjust the max-width to control the art's size */
    max-width: 450px;
    /* ---- Replace with your background art image ---- */
    background-image: url("../images/art/image.png");
    background-repeat: repeat;
    background-position: center center;
    background-size: contain;
    opacity: 0.8;
    z-index: 0; /* Places it behind the content */
}

/* Make sure the content stays on top of the background art */
.portfolio-section-showcase .container {
    position: relative;
    z-index: 1;
}

.portfolio-item-unique .portfolio-image-wrapper img {
    /* The images provided already have shadows and backgrounds,
       so we just ensure they are responsive. */
    width: 100%;
    height: auto;
}

.portfolio-text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #343a40;
    padding: 15px 0;
}

.portfolio-title {
    font-weight: 400;
    font-size: 1.75rem;
}

.portfolio-subtitle {
    font-weight: 400;
    font-size: 1.25rem;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

.know-more-link {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.75rem;
    text-decoration: none;
    color: #6c757d;
    font-weight: 300;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.know-more-link:hover {
    color: #212529; /* Darker color on hover */
}

.know-more-link .arrow-circle {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    width: 40px;
    height: 40px;
    border: 1.5px solid #adb5bd;
    border-radius: 50%;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.know-more-link:hover .arrow-circle {
    border-color: #212529;
}

.know-more-link i {
    font-size: 1.25rem;
    line-height: 1;
}

/* Responsive Adjustments for Mobile */
@media (max-width: 991.98px) {
    .portfolio-text-content {
        text-align: center !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .know-more-link {
        justify-content: center !important;
    }
    .portfolio-item-unique {
        margin-bottom: 2rem !important;
        padding-bottom: 2rem !important;
        border-bottom: 1px solid #eee;
    }
    .portfolio-item-unique:last-child {
        border-bottom: none;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
}

/* --- Our Works Section --- */
.our-works-section {
    position: relative;
    background-color: #f8f9fa; /* Light grey background */
    overflow: hidden;
}

/* This pseudo-element adds the background art. */
.our-works-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    max-width: 1050px; /* Adjust this value to control the art's size */
    /* ---- Replace with your background art image ---- */
    background-image: url("../images/art/p-1.png");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    opacity: 0.9;
    z-index: 0;
}

/* Ensure content stays on top of the background art */
.our-works-section .container {
    position: relative;
    z-index: 1;
}

/* Section Title Styling */
.works-section-title {
    font-weight: 700;
    color: #343a40;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.works-title-underline {
    width: 60px;
    height: 4px;
    background-color: #1678da; /* A shade of blue */
    border-radius: 2px;
    margin: 0 auto;
}

/* Work Card Styling */
.work-card-unique {
    display: block;
    position: relative;
    border-radius: 16px;
    overflow: hidden; /* Crucial for rounded corners and image fit */
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 320px; /* Consistent height for all cards */
}

.work-card-unique:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.work-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the card without distortion */
    transition: transform 0.4s ease;
}

.work-card-unique:hover .work-card-img {
    transform: scale(1.05); /* Zoom effect on hover */
}

.work-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.1) 60%,
        rgba(0, 0, 0, 0) 100%
    );
    transition: background-color 0.3s ease;
}

.work-card-title {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px; /* Added for safety on narrow cards */
    color: #ffffff;
    font-weight: 700;
    font-size: clamp(1.5rem, 4vw, 1.75rem); /* Responsive font size */
    margin: 0;
    padding: 0;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .works-section-title {
        font-size: 2rem;
    }

    .work-card-unique {
        height: 250px; /* Slightly smaller height on mobile */
    }
}

/* --- Get a Quote Form Section --- */
.quote-form-section-expert {
    background-color: #181a1c; /* Dark background */
}

.section-main-heading {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 300;
    margin-top: 60px;
}

.form-container-card {
    background-color: #ffffff;
    border-radius: 1.5rem; /* 24px */
    padding: clamp(2rem, 8vw, 4rem);
    max-width: 1100px;
    margin: 2rem auto 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-card-title {
    color: #6c757d;
    font-weight: 400;
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

.form-card-subtitle {
    color: #343a40;
    font-weight: 600;
    font-size: clamp(1.35rem, 4vw, 1.75rem);
    margin-top: 0.25rem;
}

/* Custom Underline Form Styling */
.form-group-underline {
    position: relative;
}

.form-group-underline label {
    font-size: 0.875rem; /* 14px */
    color: #6c757d;
    font-weight: 500;
}

.form-control-underline {
    display: block;
    width: 100%;
    padding: 0.5rem 0.1rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: transparent;
    background-clip: padding-box;
    border: none;
    border-bottom: 1px solid #ced4da; /* Light grey bottom border */
    border-radius: 0;
    transition: border-color 0.2s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
/* This removes the default browser focus outline and changes border color */
.form-control-underline:focus {
    color: #212529;
    background-color: transparent;
    border-color: #1678da; /* Bootstrap primary blue */
    outline: 0;
    box-shadow: none;
}

/* Specific styling for textarea */
textarea.form-control-underline {
    resize: none; /* Prevents resizing */
}

/* Custom Submit Button */
.submit-btn-expert {
    width: 70%;
    margin: 2rem auto 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 2.5rem; /* 14px 40px */
    font-size: 1.125rem; /* 18px */
    font-weight: 600;
    color: #fff;
    background-color: #1678da;
    border: none;
    border-radius: 0.75rem; /* 12px */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-btn-expert:hover {
    background-color: #1678da; /* Darker blue on hover */
    transform: translateY(-2px);
}

/* --- Our Clients Section --- */
.our-clients-section {
    position: relative;
    background-color: #ffffff;
    overflow: hidden;
}

/* This pseudo-element adds the background art. */
.our-clients-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    max-width: 450px;
    /* ---- Replace with your background art image ---- */
    background-image: url("../images/art/p-1.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    opacity: 0.8;
    z-index: 0;
}

/* Ensure content stays on top of the background art */
.our-clients-section .container {
    position: relative;
    z-index: 1;
}

/* Section Title Styling */
.clients-section-title {
    margin-top: 70px;
    font-weight: 700;
    color: #495057; /* Slightly softer than pure black */
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.clients-title-underline {
    width: 60px;
    height: 4px;
    background-color: #1678da; /* A shade of blue */
    border-radius: 2px;
    margin: 0 auto;
}

/* Client Logo Card Styling */
.client-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff; /* Light grey background for the card */
    height: 100%;
    padding: 0.5rem;
    min-height: 280px; /* Ensures a minimum height for all cards */
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-logo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.client-logo-img {
    max-width: 100%; /* Controls the max width of the logo inside the card */
    
    object-fit: contain; /* Ensures the logo's aspect ratio is maintained */
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .clients-section-title {
        font-size: 2rem;
    }
    .client-logo-card {
        min-height: 160px;
    }
}

/* --- Contact Us Section --- */
.contact-us-final-section {
    position: relative;
    background-color: #ffffff;
    overflow: hidden;
}

/* Background Art */
.contact-us-final-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background-image: url("../images/art/p-1.png");
    background-repeat: no-repeat;
    background-position: right;
    background-size: contain;
    opacity: 0.8;
    z-index: 0;
}

/* Ensure content stays on top */
.contact-us-final-section .container {
    position: relative;
    z-index: 1;
}

/* Section Title */
.contact-section-main-title {
    font-weight: 700;
    color: #495057;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.contact-title-underline {
    width: 60px;
    height: 4px;
    background-color: #1678da;
    border-radius: 2px;
    margin: 0 auto;
}

/* Form Styling */
.contact-form-title {
    color: #1678da;
    font-weight: 700;
    font-size: 2.5rem;
    text-align: left;
    margin-bottom: 0px;
}

.contact-form-subtitle {
    color: #495057;
    font-size: 1.25rem;
}

.form-label-custom {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.form-control-custom {
    display: block;
    width: 100%;
    padding: 0.875rem 1.125rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #dee2e6;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.75rem; /* 12px */
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control-custom:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

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

.form-check-input-custom {
    width: 25px;
    height: 25px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
    position: relative;
    background-color: white;
    transition: all 0.2s ease;
}

.form-check-input-custom:checked {
    background-color: #1678da;
    border-color: #1678da;
}

.form-check-input-custom:checked::after {
    content: "";
    position: absolute;
    top: 5px;
    left: 9px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-check-label {
    font-size: 1.1rem;
    color: #444;
    font-weight: 500;
}

.submit-btn-contact-final {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    background-color: #1678da;
    border: none;
    border-radius: 0.75rem; /* 12px */
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn-contact-final:hover {
    background-color: #1678da;
}

.submit-arrow-circle-final {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

.submit-arrow-circle-final i {
    font-size: 1rem;
}

/* Right Column: Image and Details */
.contact-image-final {
    border-radius: 1rem; /* 16px */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 0.75rem; /* 12px */
    font-size: 1.25rem;
    color: #0d6efd;
}

.info-title {
    font-weight: 600;
    color: #343a40;
    margin-bottom: 0.25rem;
}

.info-details {
    margin-bottom: 0;
    color: #6c757d;
    line-height: 1.6;
}

/* Responsive Adjustments (already scoped) */
@media (max-width: 1200px) {
    .about-hero-section .about-hero-main-heading,
    .about-hero-section .about-hero-sub-heading {
        font-size: 4.5rem;
    }
}

@media (max-width: 992px) {
    .about-hero-section .about-hero-main-heading,
    .about-hero-section .about-hero-sub-heading {
        font-size: 3.5rem;
    }
    .about-hero-section .about-hero-pre-heading {
        font-size: 1.75rem;
    }
    .about-hero-section .about-hero-social-sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .about-hero-section {
        height: auto;
        min-height: 100vh;
    }
    .about-hero-section .about-hero-content {
        text-align: center;
        padding-top: 3rem;
        padding-bottom: 4rem;
        align-items: center;
    }
    .about-hero-section .about-hero-main-heading,
    .about-hero-section .about-hero-sub-heading {
        font-size: 2.8rem;
    }
    .about-hero-section .about-hero-pre-heading,
    .about-hero-section .about-hero-read-more-cta {
        justify-content: center;
    }
    .about-hero-section .about-hero-line {
        display: none;
    }
    .about-hero-section .navbar-nav {
        text-align: left;
        background-color: rgba(20, 26, 40, 0.95);
        padding: 1rem;
        border-radius: 5px;
        margin-top: 1rem;
    }
}

/* --- Responsive CSS --- */
@media (max-width: 767.98px) {
    .about-section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .about-subtitle {
        font-size: 1.25rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .service-image-overlay-left h2,
    .service-image-overlay-right h2 {
        color: #ffffff;
        font-weight: 700;
        font-size: 1.8rem;
        line-height: 1.1;
        margin: 0;
    }

    .portfolio-section {
        padding: 80px 0;
    }

    .slider-navigation {
        justify-content: center;
    }

    .clients-section {
        padding: 80px 0;
    }

    .clients-title {
        font-size: 2.5rem;
    }

    .clients-subtitle {
        font-size: 1.1rem;
    }

    .logo-item img {
        max-height: 45px;
    }

    .logo-item {
        padding: 0 25px;
    }

    .vertical-title {
        font-size: 3rem;
        letter-spacing: 4px;
    }

    .portfolio-image-container img {
        max-height: 280px;
        aspect-ratio: 16 / 9;
    }

    .contact-form-card {
        margin-top: -150px;
        padding: 30px;
    }

    .faq-section {
        padding: 80px 0;
    }

    .faq-header .col-md-7,
    .faq-header .col-md-5 {
        text-align: center;
    }

    .title-divider,
    .faq-navigation {
        justify-content: center;
    }

    .faq-header-right {
        margin-top: 2rem;
        text-align: center;
    }

    .faq-title {
        font-size: 2.2rem;
    }

    .faq-question-card {
        min-height: 200px;
    }

    .contact-us-final-section::before {
        display: none;
    }
}

/* --- Responsive Adjustments --- */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto;
        height: auto;
        padding-bottom: 100px;
        /* Add padding for content */
    }

    .hero-content .row > div {
        text-align: center;
        margin-top: 40px;
    }

    .main-heading {
        font-size: 4rem;
    }

    .sub-heading {
        font-size: 2rem;
    }

    .cta-link {
        justify-content: center;
    }

    .social-sidebar {
        display: none;
        /* Hide vertical social bar on smaller screens */
    }

    .scroll-indicator {
        display: none;
        /* Hide scroll indicator on smaller screens */
    }

    .service-content {
        padding-left: 0;
        margin-top: 30px;
    }

    .row .order-lg-1 .service-content {
        padding-right: 0;
    }

    .service-image-overlay h2 {
        font-size: 2.2rem;
    }

    .section-title-dark {
        font-size: 2.5rem;
    }

    .portfolio-layout {
        flex-direction: column;
    }

    .portfolio-header {
        flex: 0 0 auto;
        width: 100%;
        margin-bottom: 3rem;
    }

    .vertical-title-wrapper {
        transform: none;
        left: auto;
        flex-direction: column;
        text-align: center;
    }

    .vertical-title,
    .vertical-subtitle {
        writing-mode: horizontal-tb;
        transform: none;
        height: auto;
        white-space: normal;
    }

    .vertical-title {
        font-size: 3rem;
        margin-bottom: 0.5rem;
    }

    .vertical-subtitle {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* --- Responsive Adjustments Mobile --- */
@media (max-width: 575.98px) {
    .main-heading {
        font-size: 3rem;
        text-align: center;
    }

    .sub-heading {
        font-size: 1.5rem;
        text-align: center;
    }

    .vertical-title-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: none;
        /* Remove left-shift transform */
        left: auto;
        /* Reset position */
    }

    .vertical-title {
        font-size: 3rem;
        margin-bottom: 0.5rem;
        text-align: center;
        transform: rotate(0deg);
        /* Keep vertical if desired */
    }

    .vertical-subtitle {
        margin: 0 auto 1rem;
        text-align: center;
    }
}
