/* Nav bar begins */

/* Basic navbar layout */
.custom-navbar {
    width: 100%;
    background: #000;
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
}

.custom-navbar .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    box-sizing: border-box;
    position: relative;
}

.custom-navbar .nav-logo img {
    height: 36px;
    display: block;
}

.custom-navbar .nav-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.custom-navbar .nav-link {
    color: #fff;
    text-decoration: none;
    padding: 0.4rem 0.6rem;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
}

.custom-navbar .nav-toggle {
    display: none;
    background: none;
    border: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.custom-navbar .bar {
    width: 26px;
    height: 3px;
    background: #fff;
    margin: 4px 0;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
    display: block;
}

/* hide the close button by default; only show it on small screens when the drawer is open */
.custom-navbar .nav-close {
    display: none;
}

/* ensure content isn't hidden under fixed navbar */
/* body {
    padding-top: 64px;
} */

/* Mobile / tablet behaviour */
@media (max-width: 900px) {
    .custom-navbar .nav-toggle {
        display: flex;
    }

    /* make the nav-links an off-canvas drawer */
    .custom-navbar .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 260px;
        max-width: 80vw;
        background: #111;
        transform: translateX(100%);
        transition: transform 0.28s ease;
        flex-direction: column;
        padding-top: 80px;
        /* leave room for logo / toggle */
        gap: 0;
        box-shadow: -8px 0 24px rgba(0, 0, 0, 0.35);
        z-index: 1040;
    }

    .custom-navbar .nav-links.open {
        transform: translateX(0);
    }

    .custom-navbar .nav-link {
        padding: 14px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        width: 100%;
    }

    .custom-navbar .nav-close {
        position: absolute;
        top: 12px;
        right: 12px;
        background: transparent;
        color: #fff;
        border: none;
        font-size: 28px;
        line-height: 1;
        width: 40px;
        height: 40px;
        display: none;
        /* hidden by default; shown only at small widths when open */
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 1050;
    }

    .custom-navbar .nav-close:focus {
        outline: 2px solid rgba(255, 255, 255, 0.2);
        border-radius: 6px;
    }

    /* make sure mobile drawer has visible background and readable links */
    .custom-navbar .nav-links {
        background: #111;
    }

    .custom-navbar .nav-links .nav-link {
        color: #fff;
    }

    /* hamburger -> X animation */
    .custom-navbar .nav-toggle.open .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .custom-navbar .nav-toggle.open .bar:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .custom-navbar .nav-toggle.open .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* lock body scroll while mobile nav is open */
.no-scroll {
    overflow: hidden;
}

/* Show close button only on very small screens when drawer is open */
@media (max-width: 600px) {

    /* show close only when the drawer is open */
    .custom-navbar .nav-links.open .nav-close {
        display: inline-flex;
    }
}

/* nav bar end with media query */

/* hero section start */
/* .services-section p {
    color: #111 !important;
} */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #fff;
}

.slider {
    position: relative;
    max-width: 100%;
    height: 600px;
    overflow: hidden;
}

.slides {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: rotate(45deg);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    background-size: cover;
    background-position: center;
    color: white;
    pointer-events: none;
    /* prevent interaction on hidden slides */
}

.slide.active {
    opacity: 1;
    transform: rotate(0deg);
    position: relative;
    pointer-events: auto;
}

/* Full overlay covering entire slide */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    /* semi-transparent black */
    z-index: 1;
}

/* Content container on top of overlay */
.content1 {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 40px 50px;
    margin-left: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.slide h1 {
    font-size: 3.5rem;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.slide h2 {
    font-size: 2rem;
    margin: 0 0 20px 0;
    font-weight: 600;
}

.slide p {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 30px;
    color: #ddd;
}

.slide button {
    background-color: #ff4a17;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    color: white;
    cursor: pointer;
    border-radius: 30px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    width: max-content;
    align-self: flex-start;
}

.slide button:hover {
    background-color: #e03e0f;
}

/* Navigation Arrows */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: white;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    cursor: pointer;
    user-select: none;
    transition: background 0.3s ease;
    z-index: 10;
}

.nav-arrow:hover {
    background: rgba(0, 0, 0, 0.6);
}

.nav-arrow.prev {
    left: 20px;
}

.nav-arrow.next {
    right: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .slide h1 {
        font-size: 2.5rem;
    }

    .slide h2 {
        font-size: 1.5rem;
    }

    .slide p {
        font-size: 1rem;
    }

    .content {
        /* max-width: 90%; */
        margin-left: auto;
        margin-right: auto;
        padding: 30px 20px;
        text-align: center;
        align-items: center;
    }

    .slide button {
        align-self: center;
    }
}

/* hero section done */

/* about start */
/* Extracted spiral styles (from css/home.css & about.css) */
.spiral-area {
    min-height: 350px;
    height: 100%;
    background: radial-gradient(circle at center, #062e3f, #d3e4ee, #194e82);
    border-radius: 1.5rem;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spiral-wrapper {
    width: 100%;
    height: 100%;
    min-height: 250px;
    max-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spiral-svg text {
    fill: white;
    font-weight: 500;
    font-size: 22px;
    filter: drop-shadow(0 0 8px #b7db5d) drop-shadow(0 0 15px #eade71);
    user-select: none;
    letter-spacing: 0.06em;
    animation: subtleGlow 3s ease-in-out infinite alternate;
}

@keyframes subtleGlow {
    0% {
        filter: drop-shadow(0 0 5px #cbe277) drop-shadow(0 0 10px #c2e496);
    }

    100% {
        filter: drop-shadow(0 0 10px #e0f447) drop-shadow(0 0 20px #ff99dd);
    }
}

.controls {
    display: flex;
    gap: 12px;
}

.controls button {
    background: linear-gradient(135deg, #3489ba, #93c1ef);
    border: none;
    border-radius: 30px;
    padding: 8px 16px;
    color: white;
    font-weight: 600;
    cursor: pointer;
}

/* Responsive fallback */
@media (max-width:600px) {
    .spiral-area {
        min-height: 250px;
        border-radius: 1rem;
    }

    .spiral-svg text {
        font-size: 16px;
    }
}

/* Force the section's row to use flex layout and respond to screen size */
.container-fluid.blog .row.g-5 {
    display: flex !important;
    gap: 1rem;
    align-items: stretch;
}

.container-fluid.blog .col-lg-6 {
    flex: 1 1 50% !important;
}

/* Always use row direction */
.container-fluid.blog .row.g-5 {
    flex-direction: row !important;
}

/* Make text column flexible and responsive */
.container-fluid.blog .col-lg-6 {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    box-sizing: border-box;
}

.container-fluid.blog .col-lg-6 h4 {
    font-size: clamp(0.95rem, 1.6vw, 1.1rem);
    margin: 0;
}

.container-fluid.blog .col-lg-6 h2 {
    /* slightly smaller minimum and maximum to scale down on small screens */
    font-size: clamp(1rem, 2.4vw, 1.8rem);
    margin: 0.25rem 0;
    line-height: 1.15;
}

.container-fluid.blog .col-lg-6 p {
    /* reduce paragraph size a bit on narrow viewports */
    font-size: clamp(0.85rem, 1.6vw, 1rem);
    line-height: 1.45;
    margin: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

.container-fluid.blog .col-lg-6 .btn {
    align-self: flex-start;
    white-space: nowrap;
    font-size: clamp(0.85rem, 1.6vw, 1rem);
}

/* Make spiral svg text responsive */
.spiral-svg text {
    font-size: clamp(14px, 1.8vw, 22px);
}

/* Reduce the H2 in this text column by 20% (set to 80%) only on small/mobile viewports */
@media (max-width: 600px) {
    .container-fluid.blog .col-lg-6 h2 {
        font-size: 80% !important;
    }
}

/* about end */
/* services */
.services-section {
    max-width: 100vw;
    margin: auto;
    padding: 60px 20px;
    display: flex;
    gap: 40px;
    align-items: stretch;
}

/* Pills */
.pills {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
}

.pill {
    font-size: 18px;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    transition: color 0.3s ease;
}

.pill.active {
    color: #0073e6;
}

/* Cards container */
.cards {
    flex: 1;
    display: flex;
    gap: 20px;
    height: 400px;
}

/* Card base */
.card {
    flex: 1;
    background: #020c2564;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    transition: color 0.4s ease;
}

.card-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #222;
}

.card-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
}

/* Expanded card */
.card.active {
    flex: 3;
    background: linear-gradient(135deg, #0073e6, #00c6ff) !important;
    color: #fff;
    border: 1px solid white;
}

.card.active img {
    opacity: 0.15;
}

.card.active .card-title,
.card.active .card-desc {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .services-section {
        flex-direction: column;
    }

    .pills {
        flex-direction: row;
        justify-content: center;
        margin-bottom: 20px;
    }

    .cards {
        flex-direction: column;
        height: auto;
    }

    .card {
        flex: none;
        height: 250px;
    }

    .card.active {
        height: 300px;
        background-color: #0073e6 !important;
    }
}

/* service end */

/* number counter  */
.stats-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 50px auto;
    max-width: 900px;
}

.stat-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #222;
    /* dark circle background */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-align: center;
    color: white;
    cursor: pointer;
}

.stat-circle h2,
.stat-circle p {
    margin: 0;
    transition: all 0.4s ease;
}

.stat-circle h2 {
    /* responsive font-size and center alignment */
    font-size: clamp(1.6rem, 3.5vw, 2rem);
    font-weight: bold;
    line-height: 1;
    display: block;
    text-align: center;
    width: 100%;
    min-height: 2.4rem;
    /* keeps numbers vertically aligned */
}

.stat-circle p {
    font-size: 0.9rem;
    margin-top: 5px;
    text-align: center;
}

/* Hover effect */
.stat-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 25px rgba(255, 215, 0, 0.6);
}

.stat-circle:hover h2,
.stat-circle:hover p {
    background: linear-gradient(90deg, #FFD700, #FFA500);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* number counter end */


/* logo container */
.brand-carousel {
    overflow: hidden;

    padding: 20px 0;
}

.brand-track {
    display: flex;
    width: calc(200%);

    animation: scroll 20s linear infinite;
}

.brand-item {
    flex: 0 0 auto;
    width: 150px;
    margin: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-item img {
    max-width: 100%;
    max-height: 80px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* logo container end */

/* Contact section styles to match provided screenshot */
.container-fluid.contact {
    background: rgb(17 24 39 / var(--tw-bg-opacity, 1));
    color: #fff;
    padding-top: 60px;
    padding-bottom: 60px;
}

.container-fluid.contact .container {
    max-width: 1200px;
}

/* Top intro title sizing ("Get In Touch With Us") — match screenshot */
.container-fluid.contact .text-center .display-5 {
    /* responsive, caps at ~4.6rem on large screens (≈74px) */
    font-size: clamp(2.6rem, 4.8vw, 4.6rem);
    font-weight: 800;
    line-height: 1.02;
    margin-bottom: 8px;
}

.container-fluid.contact .text-center p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
}

.container-fluid.contact .card1 {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    background: transparent;
    padding: 0;
}

.container-fluid.contact .left {
    flex: 0 0 55%;
}

.container-fluid.contact .headline {
    color: #fff;
    font-weight: 700;
    font-size: 4rem;
    line-height: 1.02;
    margin: 0 0 18px 0;
}

.container-fluid.contact .subtext,
.container-fluid.contact .info {
    color: rgba(255, 255, 255, 0.85);
}

.container-fluid.contact .right {
    flex: 0 0 40%;
}

.container-fluid.contact .input {
    width: 100%;
    background: #111;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 14px;
    padding: 18px 22px;
    margin-bottom: 18px;
    box-sizing: border-box;
    font-size: 1rem;
}

.container-fluid.contact textarea.input {
    min-height: 140px;
}

.container-fluid.contact .helper {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-top: 8px;
}

.container-fluid.contact .actions {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.container-fluid.contact .btn {
    background: #f0f6ff;
    color: #1b4068;
    border: none;
    padding: 8px 22px;
    border-radius: 18px;
    cursor: pointer;
    font-weight: 600;
}

/* Remove hover/transition effects in contact area */
.container-fluid.contact :where(*):hover {
    transform: none !important;
    box-shadow: none !important;
    background: inherit !important;
    color: inherit !important;
    opacity: 1 !important;
}

@media (max-width: 900px) {
    .container-fluid.contact .card1 {
        flex-direction: column;
        gap: 20px;

        .container-fluid.contact .info-item i {
            color: #fff;
            margin-right: 8px;
            width: 18px;
        }

        .container-fluid.contact .info-item {
            margin: 8px 0;
            color: rgba(255, 255, 255, 0.9);
        }
    }

    .container-fluid.contact .left,
    .container-fluid.contact .right {
        flex: 1 1 100%;
    }

    .container-fluid.contact .headline {
        font-size: 2.6rem;
    }
}

/* Footer responsive fixes: override inline fixed height and force stacking when needed */
.footer {
    /* allow footer to grow with content instead of fixed 400px inline style */
    height: auto !important;
    min-height: 180px;
    padding: 40px 0 !important;
    box-sizing: border-box;
}

.footer .content {
    /* prefer flex layout, but allow inline/grid fallbacks to be overridden */
    display: flex !important;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem !important;
    background: #bbf2ff;
}

.footer-flex-areas {
    display: flex !important;
    flex-direction: row;
    gap: 1rem;
    width: 100%;
    flex-wrap: wrap;
    align-items: flex-start;
}

.footer-flex-areas .footer-col {
    flex: 1 1 260px;
    min-width: 220px;
}

/* Stack columns on narrower screens so nothing overflows */
@media (max-width: 900px) {
    .footer-flex-areas {
        flex-direction: column !important;
    }

    .footer .content {
        padding: 1.5rem !important;
    }
}

body {

    /* display: grid; */

    /* grid-template-rows: 1fr 10rem auto;

                grid-template-areas: "main" "." "footer"; */

    overflow-x: hidden;

    /* background: #bbf2ff; */

    box-sizing: border-box;

    min-height: 100vh;



    .footer {

        z-index: 1;

        --footer-background: #bbf2ff;

        /* width: 100vw; */

        left: 0;

        right: 0;

        display: grid;

        position: relative;

        grid-area: footer;

        min-height: 12rem;

        .bubbles {

            width: 100%;

            position: absolute;

            top: 0;

            left: 0;

            right: 0;

            height: 1rem;

            /* background: #353f4f; */
            background: #bbf2ff;

            filter: url("#blob");

            .bubble {

                position: absolute;

                left: var(--position, 50%);

                /* background: #353f4f; */
                background: #bbf2ff;
                /* #C8E9E9 */

                border-radius: 100%;

                animation: bubble-size var(--time, 4s) ease-in infinite var(--delay, 0s),

                    bubble-move var(--time, 4s) ease-in infinite var(--delay, 0s);

                transform: translate(-50%, 100%);

            }

        }

        .content {

            z-index: 2;

            display: grid;

            grid-template-columns: 1fr auto;

            /* grid-gap: 4rem; */

            padding: 2rem;

            /* background: #353f4f; */
            background: #bbf2ff;

            a,
            p {

                color: black;

                text-decoration: none;

            }

            b {

                color: white;

            }

            p {

                margin: 0;

                font-size: .75rem;

            }

            >div {

                display: flex;

                flex-direction: column;

                justify-content: center;



                .image {

                    align-self: center;

                    width: 5.3rem;

                    height: 2rem;

                    /* margin:0.25rem 0; */

                    background-size: cover;

                    background-position: center;

                }

            }

        }

    }

}



@keyframes bubble-size {

    0%,
    75% {

        width: var(--size, 4rem);

        height: var(--size, 4rem);

    }

    100% {

        width: 0rem;

        height: 0rem;

    }

}

@keyframes bubble-move {

    0% {

        bottom: -4rem;

    }

    100% {

        bottom: var(--distance, 10rem);

    }

}