* {
    margin: 0;
    padding: 0;
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


header {
    background-color: black;

}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
}



.logo .headerlogo {
    margin-left: 12px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 5px 15px rgb(0, 0, 0.06);
    z-index: 999;
    position: sticky;
    top: 0;
    background: black;
    /* ya jo bhi background hai */
}

nav ul {
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}

nav ul li {
    list-style: none;
    padding: 0 23px;
    position: relative;
}

nav ul li a {
    color: white;
    /* agar dark bg hai to white, warna adjust kar lena */
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    position: relative;
    transition: all 0.4s ease;
    /* smooth hover */
    display: inline-block;
    transform: scale(1);
    /* starting point */
}

/* Hover + Active State */
nav ul li a:hover,
nav ul li a.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    transform: scale(1.12);
    /* ← Yeh text ko perfectly bada karega */
}

/* Underline Effect - Smooth aur Centered */
nav ul li a::after {
    content: "";
    position: absolute;
    bottom: -8px;
    /* nav ke bahar thoda neeche */
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
    transition: width 0.4s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 50%;
    /* ya 70% bhi kar sakte ho taste ke hisab se */
}

.search {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 20%;
}

.search input {
    display: flex;
    justify-content: center;
    margin: 8px;
    background-color: white;
    border-radius: 7px;
    height: 30px;
    width: 10rem;

}

#icon {
    color: white;
    display: flex;
    justify-content: center;
    padding: 12px;

    cursor: pointer;

}

#mobile {
    display: none;
    align-items: center;
}

#backbtn {
    display: none;
}

.hero {
    background-image: url(/img/card1.webp);
    height: 90vh;
    width: 100%;
    background-color: rgb(242, 243, 245);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top 60% right 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;

}

.hero div {
    padding: 60px;
}

.hero b {
    background: linear-gradient(135deg, #667eea, #764ba2);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    display: inline-block;
}

.hero h4 {
    margin-bottom: 15px;

}

.hero h1 {
    margin-bottom: 15px;
}


.hero button {
    margin-top: 40px;
    background-color: black;
    color: white;
    border-radius: 8px;
    padding: 14px 20px;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
}



#cardlist div {
    width: 130px;
    text-align: center;
    padding: 25px 15px;
    box-shadow: 20px 20px 34px rgb(0, 0, 0.03);
    border: 1px solid;
    border-radius: 4px;
    margin: 15px 0;
}

#cardlist {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;

}

.sectionpad {
    padding: 40px 80px;
}

.sectionpad .tagline2 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
}

#cardlist .featurebox:hover,
.featurebox img {
    box-shadow: 10px 10px 54px rgb(70, 62, 221, 0.1);
    color: white;
}

#cardlist .featurebox:hover,
.featurebox img:hover::after {
    background: #667eea;
    color: white;
}

.featurebox img {
    margin-bottom: 10px;
}

#cardlist .featurebox h6 {
    padding: 9px 8px 6px 8px;
    line-height: 1;
    border-radius: 4px;
}

.big-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 20px;
}

.big-container .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 23%;
    min-width: 250px;
    padding: 10px 12px;
    border: 1px solid;
    border-radius: 10px;

    box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.02);
    margin: 15px 0;
    transition: 0.2s ease;
}



.big-container .container:hover {
    box-shadow: 10px 10px 40px rgba(0, 0, 0, 0.30);
}

.big-container .container .des {
    display: inline;
    text-align: start;
    padding: 10px 0;
}

.big-container .container .des h3 {
    margin-top: 5px;
    margin-bottom: 10px;
}

.big-container .container .des p {
    padding: 4px;

}

.Ratestar {
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.Ratestar {
    color: rgb(243, 181, 25);
}

.btn button {
    width: 195px;
    display: flex;
    border-radius: 50px;
    cursor: pointer;
    margin: 15px;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background-color: white;
    font-weight: 600;
    transition: 0.2s;
    outline: none;
}

.btn button:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: 5px solid;
}

.slider {
    height: 250px;
    margin: auto;
    position: relative;
    width: 90%;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.slide {
    height: 200px;
    width: 195px;
    display: flex;
    align-items: center;
    padding: 15px;
    perspective: 100px;
}

.slide img {
    width: 100%;
    transition: transform 1s;
}

.slide img:hover {
    transform: translateZ(20px);
}

.slider::before {
    left: 0;
    top: 0;
}

.slider::after {
    top: 0;
    right: 0;
}

.slider::before,
.slider::after {
    content: '';
    height: 100%;
    z-index: 2;
    position: absolute;
    width: 15%;

}

.slide-track {
    display: flex;
    width: calc(168px*18);
    animation: scroll 40s linear infinite;
}

.slide-track:hover {
    animation-play-state: paused;
}

/* scroll transition */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px*9));
    }
}

.offer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.offer {
    width: 380px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.offer:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.offer img {
    object-fit: cover;
    float: none !important;
    /* override kiya purana float */
}

.offer h3 {
    font-size: 18px;
    font-weight: 600;
    padding: 16px 20px 8px;
    margin: 0;
    color: #1a1a1a;
    line-height: 1.4;
}

.offer p {
    padding: 0 20px;
    font-size: 14.5px;
    color: #444;
    line-height: 1.6;
    flex-grow: 1;
}

.offer-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px 20px;
    margin-top: auto;
}

.offer-date {
    font-size: 14px;
    font-weight: 600;
    color: #666;
}

.read-more {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.banner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background-image: url(/img/card1.webp);
    width: auto;
    height: 80vh;
    background-size: cover;
    background-position: center;
    padding: 30px;
    background-color: rgb(242, 243, 245);
}

.banner h5 {
    
    font-weight: 300;
}

.banner h2 {
    background: linear-gradient(135deg, #667eea, #764ba2);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    display: inline-block;
    ;
}

.banner span {
    font-size: 31px;
    font-weight: 500;
    padding-bottom: 15px;
}

footer {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    background-color: black;
    
}

footer .col-1 {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 40px;
    color: white;

}


footer h4 {
    font-size: 20px;
    padding-bottom: 20px;
    color: white;

}

footer p {
    font-size: 15px;
    margin: 0 0 8px 0;

}

footer a {
    font-size: 15px;
    text-decoration: none;
    margin-bottom: 10px;
    color: white;

}

.footer .follow {
    margin-top: 20px;
}

.cardservices {
    margin: 1px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

/* Pehle purane rules hata do ya comment kar do, phir ye neeche wala pura paste kar do */
footer .col-1 a {
    transition: all 0.3s ease;
    display: inline-block;
}

/* Sirf TEXT wale links pe gradient text effect (About, Contact, etc.) */
footer .col-1 a:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

/* Social icons (<i> tags) pe bhi same gradient + thoda zoom effect – bilkul perfect dikhega */
footer .col-1 a:hover i {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: scale(1.18);
    transition: all 0.3s ease;
}

/* Agar kabhi <img> icons bhi daale to wo bhi safe rahe */
footer .col-1 a:hover img {
    filter: brightness(0) saturate(100%) invert(43%) sepia(96%) saturate(1352%) hue-rotate(220deg) hue-rotate(240deg) brightness(0.95) contrast(105%);
    transform: scale(1.15);
    transition: 0.3s;
}

footer .copyright {
    width: 100%;
    background-color: black;
    color: white;
    height: 12vh;
    display: flex;
    align-items: center;
    justify-content: center;
}


a {
    text-decoration: none;
    color: white;
}


@media (max-width:800px) {
    #headnav {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        position: fixed;
        top: 0;
        right: -310px;
        height: 100vh;
        width: 230px;
        background-color: black;
        box-shadow: 0 40px 60px rgba(0, 0, 0, 0.1);
        padding: 80px 0 0 10px;
        transition: 0.7s
    }

    .logo .headerlogo {
        height: 51px;
        width: auto;
        margin-left: 30px;
    }

    #headnav .search {
        display: none;
    }

    #headnav.active {
        right: 0px;
    }

    #backbtn {
        display: initial;
        position: absolute;
        top: 20px;
        left: 30px;
        color: white;
        font-size: 22px;
    }

    nav ul li {
        margin-bottom: 25px;
    }

    #mobile {
        display: flex;
        align-items: center;
        color: white;
    }

    #mobile i {
        color: white;
        font-size: 24px;
        padding-left: 20px;
    }

    .search {
        display: flex;
        align-items: center;
        width: 82%;
        justify-content: flex-end;
    }

    .search input {
        margin: 2px;
        height: 20px;
        width: 20rem;
        height: 30px;
    }

    nav .logo {
        display: none;
    }

    .sectionpad {
        padding: 40px 62px;
    }

    .hero {
        height: 47vh;
        width: 100%;
    }

    .hero div {
        padding: 27px;
    }

    .sectionpad .tagline2 {
        margin-bottom: 15px;
    }

    .big-container {
        justify-content: space-between;
     
    }

    #cardlist div {
        margin: 15px;
    }

    .slider {
        height: 195px;
        width: 80%;
    }

    .slide-track {
        width: calc(170px*18);
    }

    .offer-container {
        justify-content: center;
        gap: 20px;
    }


}

.banner {
    height: 80vh;
   
}
.banner h5 {
    font-size: 32px;
}

.banner h2 {
    font-size: 40px;
}

.banner span {
    font-size: 11px;
}

.btn-2 {
    width: 150px
}
footer .col-1 {
 
    padding: 14px;
       margin-bottom: 0px;
    font-weight: 500;
}
footer {
    padding: 20px 0 0 0;
}



    .offer {
        width: calc(50% - 12px);
        max-width: 400px;
        min-width: 320px;
    }



@media (max-width:477px) {
.sectionpad {
    padding: 40px 0px;
}
    .search {
        width: 77%;
    }

    .logo .headerlogo {
        height: 37px;
        width: auto;
        margin-left: 14px;
    }

    .search input {
        margin: 2px;
        height: 22px;
        width: 10rem;

    }

    #mobile i {
        font-size: 18px;
        padding-left: 10px;
    }

    .hero div {
        padding: 20px;
    }

    .hero h1 {
        margin-bottom: 10px;
    }

    

    .hero button {
        margin-top: 47px;
        padding: 11px 10px;
        font-size: 10px;
    }

    #cardlist {
        margin-top: 15px;
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
    }

    #cardlist div {
        width: 135px;
        text-align: center;
        padding: 30px 5px;
        box-shadow: 10px 10px 24px rgb(0, 0, 0.03);
        border-radius: 4px;
        margin: 15px 0;
    }

    #cardlist {
        padding: 0px;
    }

   .featurebox img {
    width: 35px;
    height: 35px;
}
   

    .big-container {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .slide-track {
        width: calc(125px*18);
    }

    .slider {
        height: 160px;
        width: 80%;
    }

    .slide {
        height: 140px;
        width: 90px;
        display: flex;
        align-items: center;
        padding: 11px;
        perspective: 100px;

    }

    .offer {
        width: 340px !important;
    }

    #section {
        padding: 20px;
    }

    .sectionpad p {
        
        font-size: 13px;
    }

    .section-m1 {
        margin: 25px 0;
    }

    .btn button {
        width: 150px;
        margin: 10px;
        padding: 12px;

    }

    .banner {
        height: 36vh;
        padding: 12px;
    }

    .banner h2 {
        font-size: 30px;
    }

    .banner h5 {
        font-size: 18px;
    }

    .banner span {
        font-size: 12px;
    }

    footer p {
        padding: 5px;
    }
}