body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: "Open Sans", Sans-serif;
}

/* Hero Section */
.hero-bannerr {
    margin-top: 0;
    /* Optional: remove top margin if full height needed */
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #bb0e45 0%, #0644a6 70%);
    color: #fff;
    /* padding: 5rem 2rem; */
    padding-top: 3%;
    /* Adjust padding to avoid vertical overflow */
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Vertically center content */
    align-items: center;
    /* Horizontally center content */
}


.hero-bannerr::after {
    content: "";
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.08), transparent);
    animation: pulse 10s linear infinite;
    z-index: 0;
}

@keyframes pulse {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hero-content-home {
    position: relative;
    z-index: 1;
}

.badge-home {
    background: #000;
    padding: 0.4rem 1.2rem;
    font-size: 0.8rem;
    display: inline-block;
    text-transform: uppercase;
    border-radius: 30px;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.hero-bannerr h1 {
    font-size: 2.7rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.buttons-home {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    /* margin-top: 3rem; */
    margin-bottom: 2rem;
}

.buttons-home i {
    margin-bottom: 3px;
}

.btn-home {
    /* padding: 0.75rem 1.5rem; */
    padding: 10px 2rem;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #fff;
    color: #bb0e45;
    /* background: linear-gradient(135deg, #bb0e45, #ad0039); */
}

.btn-primary:hover {
    background: #f8f8f8;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.cards-home {
    margin-top: -9%;
    display: flex;
    gap: 30px;
    padding: 1rem 2rem;
    /* Enable horizontal scroll on small screens */
    overflow-x: auto;
    /* scroll-snap-type: x mandatory; */

}

.card-home {
    flex: 0 0 auto;
    /* don’t shrink, don’t grow, keep width */
    width: 300px;
    height: 450px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    background: #000;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    scroll-snap-align: start;
    /* snap cards to start */
}

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

.card-home img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

/* Optional: Hide scrollbar for webkit browsers */
.cards-home::-webkit-scrollbar {
    display: none;
}

/* On desktop, show normally as grid or flex wrap */
@media(min-width: 768px) {

    .cards-home {
        overflow-x: visible;
        flex-wrap: wrap;
        justify-content: center;
    }

    .card-home {
        flex: initial;
    }
}



@media (max-width: 480px) {
    /* .btn-primary {
        padding: 13px 42px !important;
    } */

    .cards-home {
        margin-top: 5%;
    }
}

@media (max-width: 768px) {
    .buttons-home {
        flex-wrap: nowrap;
    }

    .btn-home {
        font-size: smaller;
        padding: 10px 15px;
    }

    .hero-bannerr {
        margin-top: 15%;
    }

    .hero-bannerr h1 {
        font-size: 2rem;
    }

}





.practice-section {
    padding: 30px 20px;
    background-color: #ffffff;
    /* White background */
    font-family: 'Segoe UI', sans-serif;
}

.practice-section h2 {
    font-size: 26px;
    margin-bottom: 10px;
    text-align: center;
    font-weight: 750;
    color: black;
}

.practice-section .para {
    font-size: 18px;
    text-align: center;
    color: #444;
    margin-bottom: 40px;
}


.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.practice-card {
    background: #ededed;
    padding: 25px 20px;
    border: 1px solid #eee;
    /* border-left: 5px solid #e60023;  */
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.practice-number {
    font-size: 2rem;
    color: #bb0e45;
    /* Primary Red */
    font-weight: bold;
    margin-bottom: 8px;
}

.practice-heading {
    font-size: 1.2rem;
    color: black;
    margin-bottom: 10px;
    font-weight: 600;
}

.practice-card p {
    font-size: 0.95rem;
    color: #111;
    /* Tertiary Black */
    line-height: 1.6;
}



.section,
.section2 {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 5rem 2rem;
    gap: 9rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section2 {
    flex-direction: row-reverse;
    gap: 11rem;
}

.image-stack,
.image-stack2 {
    position: relative;
    width: 300px;
    height: 400px;
}

.image-stack img,
.image-stack2 img {
    position: absolute;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.image-stack img:nth-child(1) {
    width: 90%;
    z-index: 2;
    top: 0;
    left: 0;
}

.image-stack img:nth-child(2) {
    width: 70%;
    z-index: 1;
    top: 50px;
    left: 65%;
    opacity: 0.9;
}

.image-stack2 img:nth-child(1) {
    width: 70%;
    z-index: 1;
    top: 50px;
    left: -45%;
    opacity: 0.9;
}

.image-stack2 img:nth-child(2) {
    width: 90%;
    z-index: 2;
    top: 0;
    left: 0;
}

.text-content {
    max-width: 500px;
    margin-top: 50px;
}

.text-content h2 {
    font-size: 2rem;
    color: #222;
    margin-bottom: 1rem;
}

.text-content p {
    text-align: justify;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #666;
}

.btn-explore {
    padding: 0.75rem 2.5rem;
    background: linear-gradient(135deg, #bb0e45, #ad0039);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-explore:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}



/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 992px) {
    .cards-home {
        flex-wrap: nowrap;
    }

    .section,
    .section2 {
        flex-direction: column-reverse;
        align-items: center;
        gap: 3rem;
        padding: 2rem 1.5rem;
    }

    .image-stack,
    .image-stack2 {
        width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
        gap: 1rem;
        position: static;
    }

    .image-stack img,
    .image-stack2 img {
        position: static;
        width: 100%;
        height: auto;
        object-fit: cover;
        box-shadow: none;
    }

    .image-stack img:nth-child(1),
    .image-stack img:nth-child(2),
    .image-stack2 img:nth-child(1),
    .image-stack2 img:nth-child(2) {
        width: 40%;
        border-radius: 8px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

    .text-content {
        margin-top: 0;
        text-align: center;
    }

    .text-content h2 {
        font-size: 2.6rem;
    }

    .text-content {
        max-width: 730px;
    }

    .text-content p {
        font-size: 1.5rem;
        line-height: 1.5;
    }

    .btn {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }
}


@media (max-width: 576px) {


    .section,
    .section2 {
        flex-direction: column-reverse;
        align-items: center;
        gap: 3rem;
        padding: 0rem 1.5rem;
    }

    .image-stack {
        right: 20px;
    }

    .image-stack2 {
        left: 80px;
    }

    .image-stack,
    .image-stack2 {
        position: relative;
        width: 280px;
        height: 400px;

    }

    .image-stack img,
    .image-stack2 img {
        position: absolute;
        border-radius: 8px;
        object-fit: cover;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }

    .image-stack img:nth-child(1) {
        width: 80%;
        z-index: 2;
        top: 0;
        left: 0;
    }

    .image-stack img:nth-child(2) {
        width: 65%;
        z-index: 1;
        top: 40px;
        left: 50%;
        opacity: 0.9;
    }

    .image-stack2 img:nth-child(1) {
        width: 65%;
        z-index: 1;
        top: 35px;
        left: -38%;
        opacity: 0.9;
    }

    .image-stack2 img:nth-child(2) {
        width: 80%;
        z-index: 2;
        top: 0;
        left: 0;
    }

    .text-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .btn {
        padding: 0.65rem 2rem;
    }
}

/* stat-section */

.myapp-stats-section {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 6rem 5rem;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
}

.myapp-stat-box {
    text-align: center;
    margin: 1rem;
    min-width: 120px;
}

.myapp-stat-box h2 {
    font-size: 3rem;
    color: #bb0e45;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.myapp-stat-box p {
    font-size: 1rem;
    color: #555;
    margin: 0;
}

@media (max-width: 768px) {
    .myapp-stats-section {
        flex-direction: column;
        gap: 2rem;
    }

    .myapp-stat-box h2 {
        font-size: 2rem;
    }

    .myapp-stat-box p {
        font-size: 0.95rem;
    }
}

/* testimonial section */

.myapp-testimonial-section {
    /* background-color: #1e1e1e; */
    background: linear-gradient(90deg, #0644a6, #2764c5);
    color: #fff;
    padding: 2rem 2rem;
    text-align: center;
}

.myapp-testimonial-section h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: #fff;
}

.myapp-slider-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.myapp-testimonial-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.myapp-testimonial {
    min-width: 100%;
    padding: 2rem;
    box-sizing: border-box;
}

.myapp-testimonial p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #ccc;
    margin-bottom: 1rem;
}

.myapp-testimonial .myapp-author {
    font-weight: bold;
    color: #fff;
    font-size: 1rem;
}

.myapp-stars {
    color: #ffcc00;
    font-size: x-large;
    margin-bottom: 0.8rem;
}

/* Dots */
.myapp-dots {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    gap: 0.5rem;
}

.myapp-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #555;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.myapp-dot.myapp-active {
    background-color: #fff;
}

@media (max-width: 768px) {
    .myapp-testimonial p {
        font-size: 1rem;
    }

    .myapp-dot {
        width: 10px;
        height: 10px;
    }
}

/* === Consultation Banner === */
.consultation-banner {
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.consultation-overlay {
    background: url('https://i.ibb.co/5xSqFzdr/asian-businessman-sitting-car.jpg') center/cover no-repeat;
    /* background: rgba(0, 0, 0, 0.6); */
    padding: 5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1100px;
    border-radius: 6px;
    backdrop-filter: blur(4px);
}

.consultation-text h2 {
    color: #ffffff;
    font-size: 1.75rem;
    margin: 0;
    font-weight: 600;
}

.consultation-text p {
    color: #ddd;
    font-size: 0.95rem;
    margin-top: 0.4rem;
}

.consultation-button {
    /* background: linear-gradient(to right, var(--primary), var(--secondary)); */
    background: linear-gradient(135deg, #bb0e45, #ad0039);
    padding: 0.8rem 1.6rem;
    color: #ffffff;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.consultation-button:hover {
    /* opacity: 0.9; */
    transform: translateY(-4px);
}

@media (max-width: 768px) {
    .consultation-overlay {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }

    .consultation-text h2 {
        font-size: 1.4rem;
    }

    .consultation-button {
        width: 80% !important;
    }
}

@media (max-width: 1024px) {
    .hero-bannerr {
        margin-top: 15%;
    }

    .myapp-stats-section {
        padding: 3rem 3rem;
    }

    .myapp-stat-box h2 {
        font-size: 2.5rem;
    }

    .consultation-button {
        width: 42%;
        font-size: 13px;
    }

}



.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* Center-align on all screens */
    gap: 20px;
    padding: 30px;
}

.stat-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 300px;
    height: 100px;
    padding: 15px 20px;
    border: 1px solid #000;
    border-radius: 20px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    flex: 1 1 calc(25% - 40px);
    /* Four cards per row with spacing */
    box-sizing: border-box;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card img {
    height: 60px;
    width: 50px;
    margin-right: 15px;
}

.stat-info h3 {
    margin: 0;
    font-size: 22px;
    color: #003366;
    font-weight: bold;
}

.stat-info p {
    margin: 5px 0 0;
    font-size: 16px;
    color: #000;
}

/* Responsive behavior */
@media (max-width: 992px) {
    .stat-card {
        flex: 1 1 calc(50% - 40px);
        /* Two per row on tablets */
    }
}

@media (max-width: 576px) {
    .stat-card {
        flex: 1 1 100%;
        /* Full width on mobile */
    }
}

