body,
html {
    width: 100%;
    margin: 0;
    height: auto;

    background-color: rgb(255, 255, 255);
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

body {
    font-family: Bahnschrift Condensed;
    font-size: 18px;
	scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    box-sizing: border-box;
}

a {
   text-decoration: none; 
   color: #003459;
}

img {
    max-width: 100%;
    height: auto;
}
/*
.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.header-fixed + main {
    margin-top: 120px !important;
}

header.shrink {
    padding: 5px 0;
    transition: 0.3s ease;
}


header section*/
.header-content {
    position: relative;
    margin: 40px 10px;
    margin-top: 0;
    padding: 20px;
    margin-bottom: 0;

}

.header-top-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.left-section,
.right-section {
    display: flex;
    flex-direction: row;
    gap: 10px;
    color: "#48cae4";
    text-decoration: none;
    color: #48cae4;
}

.left-section a,
.right-section a {
    color: #48cae4;
    text-decoration: none;
    transition: 0.3s;
}

.right-section a:hover {
    color: rgb(51, 51, 110);
}

.left-section a:hover {
    color: rgb(51, 51, 110);
}

hr {
    border: none;
    height: 2px;
    /* thickness */
    background-color: #48cae4;
    /* line color */
}

.header-bottom-section {
    padding: 5px;
}

.nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.logo {
    padding: 2px;
    max-width: 100px;

}

.logotext {
    color: rgb(51, 51, 110);
    font-size: 50px;
    display: inline;
}

.navigation {
    padding-top: 20px;
    color: rgb(51, 51, 110);
    font-size: 30px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;

}

.navigation a {
    text-decoration: none;
    color: rgb(51, 51, 110);
    transition: 0.3s;
}

.navigation a:hover {
    color: #5cafc0;
}

.getstartedbnt {
    margin-top: 20px;
    width: 100%;
    background-image: linear-gradient(to right, #48cae4, #33336e);
    color: whitesmoke;
    border-radius: 30px;
    box-shadow: 2px 2px 5px black;
    transition: 0.2s ease;
    font-size: 20px;
    padding: 10px;
    cursor: pointer;
}

.getstartedbnt:hover {
    transform: scale(1.1);
    background-image: linear-gradient(to right, #2d6570, #c8c8da);
    color: black;

}

/* page 1 home page*/
.backgroundimg {
    position: absolute;
    z-index: 1;
}

.home {
    gap: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 40px 10px;
    margin-top: 0;
    padding: 20px;
    width: 100%;

}

.introheading {
    padding: 20px;
    margin-top: -50px;
    height: 80%;
    width: 50%;
	z-index:99
}

.intro {
    font-size: 40px;
    color: rgb(51, 51, 110);
}

.introcontent {
    font-size: 20px;
    color: black;
    text-decoration: none;
}


.introheading span {
    background: linear-gradient(to right, #48cae4, #33336e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: underline;

    /* choose any solid color */
}

.introimg-section {
    margin-top: 10%;
    height: 80%;
    width: 50%;
}

.learnmorebnt {

    width: 30%;
    height: 60%;
    background-image: linear-gradient(to right, #48cae4, #33336e);
    color: whitesmoke;
    border-radius: 30px;
    box-shadow: 2px 2px 5px black;
    transition: 0.2s ease;
    font-size: 20px;
    padding: 10px;
    cursor: pointer;
}

.learnmorebnt:hover {
    transform: scale(1.1);
    background-image: linear-gradient(to right, #2d6570, #c8c8da);
    color: black;
}

.introimg-section {
    margin-top: 130px;

}

.introimg-section img {
    height: 90%;
    width: 90%;
}


/*page 2*/
.Eleminating-it-chalenges {
    margin-top: 30px;
}

.eleminating-content {
    gap: 15px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 40px 10px;
    margin-top: 0;
    padding: 20px;
    width: 100%;
    align-items: start;

}

.ele-img {}

.ele-img img {

    height: 600px;
    transform: scaleX(-1);
}

.ele-content {
    padding: 10px;
    width: 50%;
}

.ele-head {
    font-size: 40px;
    color: #33336e;
}

.ele-font {
    background: linear-gradient(to bottom, #003459, #48cae4);

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

ul {
    list-style: none;
    padding-left: 28px;
}

ul li {
    position: relative;
    margin-bottom: 12px;
}

ul li::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    position: absolute;
    left: -28px;
    top: 6px;

    /* Gradient border */
    background: linear-gradient(45deg, #48cae4, #33336e, #1b3b49) border-box;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    padding: 3px;
    /* border thickness */
}

.lestgetstartedbnt {
    margin-top: 50px;
    width: 30%;
    background-image: linear-gradient(to right, #48cae4, #33336e);
    color: whitesmoke;
    border-radius: 30px;
    box-shadow: 2px 2px 5px black;
    transition: 0.2s ease;
    font-size: 20px;
    padding: 10px;
    cursor: pointer;
}

.lestgetstartedbnt:hover {
    transform: scale(1.1);
    background-image: linear-gradient(to right, #2d6570, #c8c8da);
    color: black;
}

/*page 3 why people choose us*/
.r {
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.r img {
   max-width: 80px;
}

.invisiblepg3 {
    position: absolute;
    top: 200;
    height: 100px;
    padding: 10px;
    width: 150px;
    color: #12227c;
    background-color: red;
}

/* .ele-img2 img {
    height: 100vh;
} */

/* page 4 an page 7 :service & team block*/
.service-scroller {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 20px;
    padding: 5px;
}

.service-content {
    padding: 10px;
    width: 47%;
    flex-basis: 60%;
}

.service-card {
    padding-top: 20px;
    height: 300px;
    flex: 0 0 auto;
    width: 220px;
    background: linear-gradient(135deg, #48cae4, #fefeff);
    color: white;
    border-radius: 20px;
    box-shadow: 2px 2px 5px rgb(5, 4, 4);
    text-align: center;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.service-cards {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 20px;
    scrollbar-width: none;
    /* Firefox */
}

.service-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 12px 25px rgba(17, 0, 0, 0.3);
}

.service-card img {
    width: 100%;
    height: 160px;
    /* uniform height */
    object-fit: contain;
    /* show full image */
    border-radius: 20px 20px 0 0;
}


.service-card:hover img {
    transform: scale(1.05);
    /* Slight zoom without cutting top */
}


.service-card p {
    font-weight: 700;
    font-size: 18px;
    color: #003459;
    margin: 10px 0 5px 0;
}

.service-img img {
    margin-top: 50px;
    /* reduced margin for better alignment */
    width: auto;
    border-radius: 20px;
    object-fit: cover;
}

.service-card span {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.8);
}

/* Optional overlay for a modern look */
.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.4), transparent);
    pointer-events: none;
}

.page-4 {
    background-image: linear-gradient(white, white, white, rgb(227, 249, 255));
}

.service-block {
    gap: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 40px 10px;
    margin-top: 0;
    padding: 20px;
    height: auto;
    align-items: center;
}



/* Scroll buttons */
.scroll-btn {
    background-color: rgba(0, 0, 0, 0.15);
    border: none;
    font-size: 28px;
    cursor: pointer;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 2;
    transition: background 0.3s;
}

.scroll-btn:hover {
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
}

.scroll-btn.left {
    left: -20px;
}

.scroll-btn.right {
    right: -20px;
}

/* Hidden paragraph inside card */
.more-text {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.4s ease;
    padding: 0 10px;
    font-size: 14px;
    color: black;
    text-align: center;
    font-weight: 10px;
}

/* Expanded state */
.service-card.expanded {
    height: auto !important;
    /* Increase height when open */
}

.service-card.expanded .more-text {
    max-height: 180px;
    /* Scroll area */
    overflow-y: auto;
    opacity: 1;
    margin-top: 10px;
    padding-bottom: 5px;
}

/* Read more / less button */
.toggle-btn {
    margin-top: 10px;
    background: #0077b6;
    border: none;
    color: white;
    padding: 6px 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 600;
    margin-bottom: 50px;
}

.toggle-btn:hover {
    background: #023e8a;
}

/*-----page 7 team------*/
.team-block {

    margin: 40px;
}

.team-text {
    text-align: center;
    margin-bottom: 30px;
}

.team-text .ele-head {
    font-size: 32px;
    margin-bottom: 10px;
}

.team-scroller {
    margin: 100px;
    position: relative;
    display: flex;
    align-items: center;
}

.team-cards {

    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 60px;
    padding: 20px 0;
}

.team-cards::-webkit-scrollbar {
    height: 8px;
}

.team-cards::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
}

/* Team Card */
.team-card {
    flex: 0 0 500px;
    height: 250px;
    perspective: 1000px;
}

.flip-card-inner {
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.team-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
}

/* Front */
.flip-card-front {
    background: #e9fbff;
    color: #001b2e;
    border: 2px solid rgb(4, 4, 65);
}

/* Back */
.flip-card-back {
    background: #0a4a77;
    color: #fff;
    transform: rotateY(180deg);
}

/* Scroll buttons */
.scroll-btn {
background-color: rgba(0, 0, 0, 0.15);
    border: none;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
}

.scroll-btn.left {
    left: 10px;
}

.scroll-btn.right {
    right: 20px;
}

.scroll-btn:hover {
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
}

/* Mobile */
/* Mobile */
@media (max-width: 768px) {
	.getstarted{
		display:none;
	}
	.left-section a{font-size:14px}
	.introimg-section {
		margin-top: 0;
		order: 1;
	}
	.introheading {
		margin-top: -25px;
		padding:10px;
		order: 2;
	}
    .team-card {
        flex: 0 0 100%;
        /* slightly smaller width */
        height: 200px;
        /* reduced height to maintain aspect ratio */
    }

    .team-cards {
        margin-left: 30px;
        width: 300px;
        gap: 20px;
        /* smaller gap between cards */
        padding: 10px 0;

    }

    .flip-card-front,
    .flip-card-back {
        padding: 10px;
        /* reduce padding for smaller cards */
        font-size: 14px;
        /* optional: smaller text */
    }

    .team-scroller {



        margin: 0;
        margin-left: 0;

        position: relative;
        display: flex;
        align-items: center;
    }
}


/*-----page 5 how we work---------*/
/* Hidden text box */
.hww-box {
    height: 0;
    overflow: hidden;
    transition: 0.3s ease;
}

/* Scrollable content */
.hww {
    max-height: 120px;
    /* scroll area height */
    overflow-y: auto;
    padding: 6px;
    font-size: 16px;
    color: #333;
}

/* Card default */
.card {
    margin-top: 30px;
    border-radius: 20%;
    height: 250px;
    width: 300px;
    transition: 0.3s ease;
    padding: 10px;
    position: relative;
}

/* Card hover */
.card:hover {
    box-shadow: 2px 2px 5px black;
    background-color: rgba(0, 255, 255, 0.26);
    transform: scale(1.08);
    height: 330px;
    /* increase height on hover */
}

/* Show content on hover */
.card:hover .hww-box {
    height: 130px;
    /* matches the max-height of .hww */
}



.how-we-work-block {
    text-align: center;
    margin: 40px 40px;
    margin-top: 0;
    padding: 50px;
    height: auto;
    text-align: center;
}

.Card-container {
    gap: 34px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.card {
    margin-top: 30px;
    border-radius: 20%;
    height: 250px;
    width: 400px;
    transition: 0.2s;
}

.card:hover {
    box-shadow: 2px 2px 5px black;
    background-color: rgba(0, 255, 255, 0.26);
    transform: scale(1.1);
}

.fcn {
    margin: 10px;

    text-align: left;
    font-size: 40px;
    color: rgb(185, 219, 219);
}

.fct {
    margin: 4px 0px;
    font-size: 24px;
    color: rgb(51, 51, 110);
}

.card img {
    margin-top: -50px;
}

/* ---------------- FOOTER BASE (Laptop View) ---------------- */

footer {
    width: 100%;

}
.footer-logo{
    text-align: center;
}
.footer-logo img{
   max-width: 150px;
}

.footer1 {
    background-color: #eef6ff;
    color: #12227c;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 50px;
    gap: 8%;
}
.footer-container {
    background: #eef6ff;
}
.footer2 {
    bottom: 0;
    color: white;
    position: relative;
    background-color: #003459;
    width: 100%;
    padding: 15px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.subf1,
.subf2,
.subf3,
.subf4 {
    width: 33%;
    text-align: left;
    color: #003459;
    ;
}

/* Links */
.subf2 {

    display: flex;
    flex-direction: column;
}

.subf2 a {

    text-decoration: none;
    font-size: 23px;
    transition: 0.2s;
}

.subf2 a:hover {
    color: #48cae4;
}

/* Social Icons */
.footerlogo img {
    height: 30px;
    width: 30px;
    border: 2px solid blue;
    padding: 2px;
    border-radius: 100%;
}

.footerlogo {
    width: 70%;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

/* Support & Contact text */
.footer-services {

    font-size: 23px;
    margin-top: -20px;
}


/* ---------------- TABLET VIEW (992px and below) ---------------- */

@media (max-width: 992px) {

    .footer1 {
        flex-wrap: wrap;
        height: auto;
        padding: 30px;
    }

    .subf1,
    .subf2,
    .subf3,
    .subf4 {
        width: 45%;
        /* 2 × 2 grid */
        margin-bottom: 20px;
    }

    .footerlogo {
        width: 100%;
        justify-content: flex-start;
        gap: 20px;
    }
}


/* ---------------- MOBILE VIEW (600px and below) ---------------- */

@media (max-width: 600px) {

    html,
    body {
        overflow-x: hidden !important;
        /* fixes white space on right */
    }

    .footer1 {
        flex-direction: column;
        height: auto;
        padding: 20px;
        gap: 30px;
    }

    .subf1,
    .subf2,
    .subf3,
    .subf4 {
        width: 100%;
        text-align: left;
    }

    .footerlogo {
        width: 100%;
        justify-content: flex-start;
        gap: 15px;
    }

    .footer2 {
        height: auto;
        padding: 15px;
        text-align: center;
    }
}


/* ---------------- SMALL MOBILE (450px and below) ---------------- */

@media (max-width: 450px) {

    .subf2 a {
        font-size: 18px;
    }

    .footer-services {
        font-size: 20px;
    }

    .footerlogo img {
        height: 25px;
        width: 25px;
    }
	.card:hover {
		height: auto;
	}
}


/*------Responsive-------*/

/*------header--------*/
/* ================= MOBILE RESPONSIVE HEADER ================= */

@media (max-width: 768px) {

    .header-content {
        margin: 10px;
        padding: 10px;
    }
	.innovate{text-align: center;}

    .header-top-section {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .logotext {
        font-size: 32px;
    }

    /* Hide Desktop Navigation */
    .navigation {
        display: none;
    }

    /* Get Started button smaller */
    .getstartedbnt {
        margin-top: 0;
        padding: 6px 10px;
        font-size: 16px;
        width: auto;
        height: auto;
    }

    /* BURGER MENU */
    .burger {
        display: block;
        font-size: 35px;
        cursor: pointer;
        color: #33336e;
        padding: 5px 10px;
        font-weight: bold;
    }

    /* MOBILE NAV DROPDOWN */
    .mobile-nav {
        display: none;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 10px 20px;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        margin-top: 10px;
    }

    .mobile-nav.open {
        display: flex;
    }

    .mobile-nav a {
        font-size: 20px;
        padding: 12px 0;
        color: #33336e;
        text-decoration: none;
        border-bottom: 1px solid #eee;
    }

    .mobile-nav a:last-child {
        border-bottom: none;
    }

    .mobile-nav a:hover {
        color: #48cae4;
    }
}

/* Hide burger on desktop */
@media (min-width: 769px) {
    .burger {
        display: none;
    }

    .mobile-nav {
        display: none !important;
    }
}
@media (min-width: 1280px) {
	.footer1 {	
    width: 80%;
    margin: 0px auto;

}
    .service-img {
    flex-basis: 40%;
}
  .team-text p,
  .how-we-work-text p{
     width: 65%;
    margin: 0px auto;
   }
   .footer-links div {
    margin-bottom: 15px;
	}
}
/* ================= TABLET RESPONSIVE HEADER (769px–1024px) ================= */

@media (min-width: 769px) and (max-width: 1024px) {

    .header-content {
        margin: 20px;
        padding: 15px;
    }

    .header-top-section {
        justify-content: center;
        gap: 15px;
        font-size: 18px;
    }

    .logotext {
        font-size: 36px;
    }

    /* Navigation adjusts spacing */
    .navigation {
        display: flex;
        gap: 20px;
    }

    .navigation a {
        font-size: 20px;
        padding: 8px 10px;
    }

    /* Get Started button */
    .getstartedbnt {
        font-size: 18px;
        padding: 8px 15px;
        height: auto;
        width: auto;
    }
}


/*------responsive page 1--------*/

/* ===== Keep your existing desktop/laptop styles intact ===== */

/* Media Queries for responsiveness */

/* Tablets (between 601px and 992px) */
@media (max-width: 992px) and (min-width: 601px) {
    .home {
        flex-direction: column;
        height: auto;
        justify-content: center;
        align-items: center;
    }

    .introheading,
    .introimg-section {
        width: 80%;
        /* shrink a bit */
    }

    .introheading {
        margin-top: 20px;
    }

    .introimg-section {
        margin-top: 30px;
    }

    .intro {
        font-size: 50px;
        /* smaller font for tablet */
        text-align: center;
    }

    .introcontent {
        font-size: 18px;
        text-align: center;
    }
}

/* Mobile (max 600px) */
@media (max-width: 600px) {
    .home {
        flex-direction: column;
        height: auto;
        justify-content: center;
        align-items: center;
		margin:0px;
    }

    .introheading,
    .introimg-section {
        width: 100%;
    }

    .intro {
        font-size: 35px;
        text-align: center;
    }

    .introcontent {
        font-size: 16px;
        text-align: center;
    }

    .introimg-section img {
        width: 100%;
        height: auto;
    }

    .learnmorebnt {
        width: 150px;
        height: 45px;
        font-size: 16px;
    }
}

/*----page 2-------*/
/* ===== Keep existing desktop/laptop styles intact ===== */

/* Media Queries for responsiveness */

/* Tablets (between 601px and 992px) */
@media (max-width: 992px) and (min-width: 601px) {
    .eleminating-content {
        flex-direction: column;
        align-items: center;
        height: auto;
        /* allow content to expand */
    }

    .ele-content,
    .ele-img {
        width: 80%;
    }

    .ele-content {
        margin-top: 20px;
    }

    .ele-head {
        font-size: 32px;
        text-align: center;
    }

    ul li {
        font-size: 16px;
    }

    .lestgetstartedbnt {
        width: 200px;
        height: 50px;
        font-size: 18px;
    }

    .ele-img img {
        height: auto;
        max-width: 100%;
        transform: scaleX(-1);
    }
}

/* Mobile (max 600px) */
@media (max-width: 600px) {
    .eleminating-content {
        flex-direction: column;
        align-items: center;
        margin: 20px;
        padding: 10px;
        height: auto;
    }

    .ele-content,
    .ele-img {
        width: 100%;
    }

    .ele-head {
        font-size: 26px;
        text-align: center;
    }

    .ele-content p,
    ul li {
        font-size: 14px;
    }

    .ele-img img {
        width: 100%;
        height: auto;
        transform: scaleX(-1);
    }

    .lestgetstartedbnt {
        width: 150px;
        height: 45px;
        font-size: 16px;
		margin-top: 0px;
    }
}

/*--------Page 3---------*/
/* ================================
   RESPONSIVE DESIGN
================================ */

/* Tablet (992px and below) */
@media (max-width: 992px) {

    .eleminating-content {
        flex-direction: column;
        align-items: center;
        height: auto;
        gap: 30px;
    }

    .ele-content,
    .ele-img2 {
        width: 90%;
    }

    .ele-content p {
        text-align: center;
    }

    .ele-head {
        text-align: center;
        font-size: 32px;
    }

    .r {
        flex-direction: row;
        justify-content: flex-start;
        gap: 15px;
    }

    .r img {
        height: 40px;
        width: 40px;
    }
}

/* Mobile (600px and below) */
@media (max-width: 600px) {

    .eleminating-content {
        flex-direction: column;
        align-items: center;
        margin: 0px;
        height: auto;
        gap: 30px;
    }
	.Eleminating-it-chalenges {
		margin-top: 15px;
	}
    .ele-content,
    .ele-img2 {
        width: 100%;
    }

    .ele-head {
        font-size: 26px;
        text-align: center;
    }

    .ele-content p {
        font-size: 14px;
        text-align: center;
    }

    /* R (small cards) → become vertical on mobile */
    .r {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .r img {
        height: 60px;
        width: 60px;
        margin-bottom: 10px;
    }

    .ele-img2 img {
        width: 100%;
        height: auto;
    }
	.ele-content p.ele-head {
        font-size: 24px;
	}
	.service-img {
		order: 2;
	}
}

/*------page 4 and page 7 responsive view---------*/
/* ============================================
   RESPONSIVE FOR PAGE-4 (SERVICES) + PAGE-7 (TEAM)
   ============================================ */

/* ---------- TABLET (992px and below) ---------- */
@media (max-width: 992px) {

    /* Team block */
    .service-block {
        flex-direction: column;
        /* image on top, content below */
        text-align: center;
        gap: 30px;
        margin: 20px;
    }



    .service-img img {
        width: 100%;
        height: auto;
        max-height: 400px;
        object-fit: contain;
        border-radius: 15px;
        display: block;
        margin: 0 auto;
    }


    .service-content {
        width: 100%;
        padding: 0;
    }

    /* Cards scroller fits screen width */

    .service-scroller {
        padding: 10px;
        overflow-x: auto;
        /* allow horizontal scroll if needed */
    }

    .service-card {
        width: 200px;
        height: 280px;
    }

    .service-card img {
        height: 130px;
        object-fit: contain;
        /* make sure image fits */
    }
}

/* ---------- MOBILE (600px and below) ---------- */
@media (max-width: 600px) {

    /* Team block */
    .service-block {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        margin: 10px;
        padding: 10px;
    }


    .service-img img {
        width: 100%;
        height: auto;
        max-height: 250px;
        object-fit: contain;
        border-radius: 15px;
        display: block;
        margin: 0 auto;
    }


    .service-content {
        width: 100%;
        padding: 10px;
		order:1;
    }

    /* Scroller — full width on mobile */

    .service-scroller {
        padding: 0;
        margin-top: 20px;
        overflow-x: auto;
        /* allow scroll but no extra space */
    }


    .service-cards {
        gap: 15px;
        flex-wrap: nowrap;
    }

    .service-card {
        width: 160px;
        height: 250px;
    }

    .service-card img {
        height: 110px;
    }

    /* Scroll buttons adjustments */
    .scroll-btn {
        width: 32px;
        height: 32px;
        font-size: 20px;
    }

    .scroll-btn.left {
        left: 0;
    }

    .scroll-btn.right {
        right: 0;
    }
}

/* ---------- SMALL MOBILE (450px and below) ---------- */
@media (max-width: 450px) {

    .service-card {
        width: 140px;
        height: 220px;
    }

    .service-card img {
        height: 90px;
        object-fit: contain;
    }

    .ele-head {
        font-size: 22px;
    }
}

/*----page 5 responsive-------*/
/* ---------- TABLET (992px and below) ---------- */
@media (max-width: 992px) {

    .how-we-work-block {
        margin: 20px;
        padding: 30px;
        text-align: center;
    }

    /* 2 cards per row */
    .Card-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }

    .card {
        width: 260px;
        height: auto;
        border-radius: 20%;
        padding: 20px;
        text-align: center;
    }

    .card img {
        margin-top: -20px;
        width: 120px;
        height: auto;
    }

    .fcn {
        font-size: 32px;
        text-align: center;
    }

    .fct {
        font-size: 24px;
        text-align: center;
    }
}


/* ---------- MOBILE (600px and below) ---------- */
@media (max-width: 600px) {

    .how-we-work-block {
        margin: 15px;
        padding: 20px;
        text-align: center;
    }

    /* 1 card per row */
    .Card-container {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .card {
        width: 80%;
        max-width: 300px;
        padding: 20px;
        height: auto;
        border-radius: 20%;
    }

    .card img {
        margin-top: -10px;
        width: 110px;
        height: auto;
    }

    .fcn {
        font-size: 28px;
    }

    .fct {
        font-size: 22px;
    }
}


/* ---------- SMALL MOBILE (450px and below) ---------- */
@media (max-width: 450px) {

    .card {
        width: 90%;
        max-width: 260px;
        padding: 15px;
    }

    .card img {
        width: 90px;
    }

    .fcn {
        font-size: 24px;
    }

    .fct {
        font-size: 20px;
    }
}


/*-------footer--------*/
@media (max-width: 992px) {

    .footer1 {
        height: auto;
        padding: 30px;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 30px;
    }

    .subf1,
    .subf2,
    .subf3,
    .subf4 {
        width: 45%;
        /* 2 columns */
        text-align: left;
    }

    .footer-services,
    .subf2 a {
        font-size: 20px;
    }

    .footerlogo img {
        height: 28px;
        width: 28px;
    }

    .footer2 {
        height: auto;
        padding: 15px;
        font-size: 14px;
        text-align: center;
    }
}

@media (max-width: 600px) {

    .footer1 {
        flex-direction: column;
        height: auto;
        padding: 20px;
        gap: 25px;
        text-align: center;
    }

    .subf1,
    .subf2,
    .subf3,
    .subf4 {
        width: 100%;
        /* full width */
        text-align: center;
    }

    .footerlogo {
        justify-content: center;
        gap: 20px;
        width: 100%;
    }

    .footer-services,
    .subf2 a {
        font-size: 18px;
    }

    .footer2 {
        height: auto;
        padding: 10px;
        font-size: 12px;
    }
}
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 25px;
    width: 45px;
    height: 45px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    border: none;
    font-size: 22px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

.scroll-top-btn.show {
    display: flex;
    opacity: 1;
}

.scroll-top-btn.hide {
    opacity: 0;
}
.flip-card-front img {
    width: 100px;
}