*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
    /* background: #867070; */
}

body{
    background: #5b5a57;
}
.contaninar{
    /*background: #fbf3d3;*/
    padding: 20px;
    border-radius: 20px;
    margin-top: 70px;
    display: flex;
    justify-content: center; /* horizontal center */
    align-items: center;  
    position: relative;
}

/* Outer soft background */
.login-wrapper{
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Main container */
.login-box{
    background: #fbf3d3;
    width: 100%;
    max-width: 1200px;
    padding: 40px 50px;
    border-radius: 18px;
    border: 2px solid #7a3b2e;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Title */
.login-box h2{
    text-align: center;
    font-size: 34px;
    margin-bottom: 35px;
    color: #000;
}

/* Input + button row */
.form-row{
    display: flex;
    gap: 25px;
    align-items: center;
    justify-content: center;
}

/* Inputs */
.form-row input{
    color: black;
    flex: 1;
    padding: 18px 24px;
    border-radius: 50px;
    border: none;
    outline: none;
    font-size: 18px;
    background: #fff;
    box-shadow: 0 5px 10px rgba(0,0,0,0.15);
}

/* Button */
.form-row button{
    padding: 18px 45px;
    border-radius: 50px;
    border: none;
    background: #6f3a2c;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.form-row button:hover{
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    background: red;
}

/* Footer */
.form-footer{
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 16px;
}

.form-footer p{
    color: #000;
}

.form-footer a{
    text-decoration: none;
    color: #ff8c00;
    font-weight: 600;
}

.form-footer .forgot{
    color: #6f3a2c;
}

/* Responsive */
@media(max-width: 768px){
    .login-box h2{
        font-size: 26px;
    }

    .form-row{
        flex-direction: column;
    }

    .form-row button{
        width: 100%;
    }

    .form-footer{
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}
/* Social title */
.social-title{
    text-align: center;
    margin: 30px 0 20px;
    font-weight: 500;
    color: #555;
}

/* Social container */
.social-login{
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 25px;
}

/* Base social button */
.social-btn{
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    border-radius: 50px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Logo */
.social-btn img{
    width: 22px;
    height: 22px;
}

/* Hover effect */
.social-btn:hover{
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

/* Google */
.social-btn.google{
    color: #444;
}

/* Facebook */
.social-btn.facebook{
    color: #1877f2;
}

/* Responsive */
@media(max-width: 768px){
    .social-login{
        flex-direction: column;
    }

    .social-btn{
        justify-content: center;
        width: 100%;
    }
}

.feature-heading{
    text-align: center;
    margin-bottom: 45px;
}

#card-container , #card-container-service {
    padding-right: 40px;
    width: 100%;
    max-width: 1300px;
    display: block;
    margin: auto;
    overflow: hidden; /* hide extra cards */
    position: relative;
    transition: all 0.3s ease;
}

.service-card-h:hover{
    scale:1.05;
    box-shadow:0 4px 12px rgb(1 1 1);
}

.card-track , .card-track-service {
    display: flex;
    gap: 20px;
    padding:14px;
    transition: transform 0.5s ease;
}
@media (max-width: 1000px) {
    .card-track {
        /*display: block;*/
    }
    .service-card-h,.feature-card-h{
        flex: 0 0 auto;          
        width: 100%;             
        max-width: 100%;
    }
    #card-container , #card-container-service{
        padding-right: 0px;
    }
}

.hero-m{
    position: absolute;
    top: 60px;
    left: 50px;
    border: 50px solid red;
    border-radius: 50%;
    z-index: 4;
}

.sub_contani{
    padding: 20px;
    width: 1150px;
    background: #f7ead0;
    border-radius: 20px;
}
.hero-bg-image{
    height: 892px;
    position: absolute;
    width: 100vw;
}


.scroll-container {
    width: 70vw;               /* 1/2 of PC screen */
    overflow: hidden;
    background: #f4f4f4;
    padding: 14px 0;
    margin: auto;
    position: relative;
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(8px);
    border-radius: 18px;
}

.scroll-track {
    display: flex;
    width: max-content;
    animation: infinite-scroll 14s linear infinite;
}

.scroll-track button {
    margin: 0 10px;
    padding: 10px 22px;
    border-radius: 30px;
    border: none;
    color: #fff;
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
}

/* infinite movement */
@keyframes infinite-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-40%);
    }
}

/* edge blur fade */
.scroll-container::before,
.scroll-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 70px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.scroll-container::before {
    left: 0;
    background: linear-gradient(
        to right,
        rgba(255,255,255,1),
        rgba(255,255,255,0)
    );
}

.scroll-container::after {
    right: 0;
    background: linear-gradient(
        to left,
        rgba(255,255,255,1),
        rgba(255,255,255,0)
    );
}


/* base social button */
.scroll-track button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 30px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;

    background: linear-gradient(
        45deg,
        #F58529,
        #DD2A7B,
        #8134AF,
        #515BD4
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.scroll-track button:hover {
    -webkit-text-fill-color: #DD2A7B; /* restore text color */
    color: #DD2A7B;
}


.nav-scroll-wrapper {
    overflow: hidden;
    /*padding: 15px 0;*/
    width: 777px; /* custom width for track */
    background: transparent;
    /*border: 1px solid #ccc;*/
    
    position: relative;
    /*top: 10px;*/
    left: 200px;
}

@media(max-width: 991px){
    .nav-scroll-wrapper{
        left:0;
    }
}
.footer-ul-xx{
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    display: flex;
    flex-wrap: wrap;
}


.nav-scroll-track {
    display: flex;
    width: max-content;
    animation: scroll-left_nav 20s linear infinite;
}
.nav-scroll-content{
    font-weight: 900;
    font-size: xx-large;
}

.nav-scroll-btn {
    margin: 0 10px;
    padding: 10px 22px;
    border-radius: 30px;
    border: none;
    background: #2563eb;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}

@keyframes scroll-left_nav {
    0%{
        transform: translateX(100%);
    }
    50% {
        transform: translateX(0);
    }
    100%{
        transform: translateX(-100%);
    }
}

/* The base state of the card */
#m_card {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); /* Smooth, high-end easing */
    border: 1px solid #e5e7eb;
    background: #ffffff;
    will-change: transform, box-shadow; /* Optimizes browser performance */
}

/* The hover state */

.m_title:hover{
    color:green;
    scale:1.05;
}


.green{
    color: green;
}










@media(max-width: 576px){
    .sub_contani{
        margin-left: 50px;
        margin-right: 50px;
    }
    .footer-ul-xx{
        flex-direction: row;
    }
    .nav-scroll-wrapper{
        top: -219px;
    }
}
