
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Typography */
    --fw4: 400;
    --fw6: 600;
    --fw7: 700;
    --font-inter: 'Inter', sans-serif;
    --font-jakarta: 'Plus Jakarta Sans', sans-serif;
    --font-roboto: 'Roboto', sans-serif;
    --font-montserrat: 'Montserrat', sans-serif;

    /* Colors & Gradients */
    --clr-white: #ffffff;
    --clr-black: #000000;
    --grad-primary: linear-gradient(180deg, #DA4E20 0%, rgba(116, 42, 17, 0.62) 100%);
    --grad-secondary: linear-gradient(90deg, #DA4E20 0%, rgba(233, 115, 24, 0.62) 100%);
    --grad-dark: linear-gradient(145.94deg, #1E1E1E 1.52%, #1E1E1E 38.12%, #1E1E1E 97.83%);
}

body {
    background-color: var(--clr-black);
    color: var(--clr-white); /* Applied globally to save repeating it */
    font-family: var(--font-inter);
}

/* =========================================
   2. NAVBAR & BUTTONS
========================================= */
nav {
    z-index: 9999;
}

#navbarNav .navbar-nav {
    box-shadow:
        7px 3px 17px 0px #0000004A,
        27px 13px 30px 0px #00000042,
        61px 30px 41px 0px #00000026,
        108px 54px 48px 0px #0000000A,
        169px 84px 53px 0px #00000003;
    color: #393A3D;
    background-color: #3b3b3b;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
}

.navbar-nav a {
    font-family: var(--font-jakarta);
    font-weight: var(--fw4);
    font-size: 14px;
    line-height: 100%;
}

.contact-btn,
.know-morebtn,
.btn-submit {
    background: var(--grad-primary);
    border: none;
    color: var(--clr-white);
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    font-weight: var(--fw4);
    font-size: 16px;
    line-height: 22px;
    transition: filter 0.3s ease;
}

/* Added brightness filter for actual hover feedback */
.contact-btn:hover,
.know-morebtn:hover,
.newsletter-box .btn-submit:hover {
    filter: brightness(1.1);
    color: var(--clr-white);
}

/* =========================================
   3. FIRST FOLD
========================================= */
.title-upper-block {
    border: 1px solid transparent;
    border-radius: 40px;
    background-image:
        linear-gradient(var(--clr-black), var(--clr-black)),
        linear-gradient(90deg, var(--clr-white), rgba(255, 255, 255, 0));
    background-origin: padding-box, border-box;
    background-clip: padding-box, border-box;
    display: inline-block;
    font-weight: var(--fw4);
    font-size: 12px;
    line-height: 22px;
}

.title-block h1 {
    background: linear-gradient(90deg, var(--clr-white), rgba(153, 153, 153, .3));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: var(--fw7);
    font-size: 65px;
    line-height: 71.26px;
}

.title-para-block p,
.counter-title {
    font-weight: var(--fw4);
    font-size: 14px;
    line-height: 22px;
}

.counternumber {
    font-weight: var(--fw7);
    font-size: 24px;
    line-height: 22px;
}

/* =========================================
   4. SECOND FOLD
========================================= */
.second-fold-inner {
    background-image: url('../img/secondbg.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-block: 5rem;
}

.second-fold-inner-data {
    margin: auto;
}

.second-fold-wrapper h2,
.section-cards-wrapper-data h2,
.teams-wrapper-container h2 {
    font-weight: var(--fw7);
    font-size: 42px;
    line-height: 100%;
}

.second-right-wrapper {
    margin-top: 3.7rem;
    display: flex;
    align-items: flex-end; /* 'bottom' is invalid, changed to flex-end */
}

.cards-para-second,
.section-cards-wrapper-data p {
    font-family: var(--font-jakarta);
    font-weight: var(--fw4);
    font-size: 14px;
    line-height: 140%;
    max-width: 445px;
    margin-left: auto;
}

.gradient-card {
    position: relative;
    border-radius: 16px;
    padding: 24px;
    background-color: transparent;
}

/* Border-only effect */
.gradient-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 16px;
    padding: 1px;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    background: linear-gradient(to bottom, var(--clr-white), transparent);
    background-origin: border-box;
    background-clip: border-box;
    clip-path: inset(0px 0px 1px 0px round 16px);
}

.info-number {
    font-size: 2rem;
    font-weight: var(--fw7);
}

.info-title {
    font-weight: var(--fw7);
    margin-bottom: 10px;
}

.info-text {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.9;
}

.play-title {
    font-family: var(--font-roboto);
    font-weight: var(--fw7);
    font-size: 16px;
    line-height: 22px;
}

/* =========================================
   5. THIRD FOLD
========================================= */
.third-fold-wrapper {
    padding-block: 5rem;
}

.section-cards-wrapper-data h2,
.section-cards-wrapper-data p {
    color: var(--clr-black);
}

.section-cards-wrapper-data p {
    margin-left: 0;
}

.section-cards-wrapper-data a,
#addmoreBtn {
    width: 177px;
    border-radius: 10px;
    padding: 9px 16px;
    outline: none;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-weight: var(--fw4);
    font-size: 16px;
    line-height: 160%;
    text-transform: capitalize;
    text-align: center;
    color: var(--clr-black);
}

.third-cards-wrapper-inner {
    row-gap: 2rem;
}

.third-cards {
    position: relative;
    min-height: 277px;
    border: 7px solid var(--clr-black);
    border-radius: 10px;
    width: 289px;
}

.image-third-box {
    position: absolute;
    top: 0;
    left: 0;
}

.bottom-third-box {
    background-color: var(--clr-black);
    background-position: center;
    background-size: cover;
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    width: 101%;
    min-height: 190px;
    display: grid;
    clip-path: polygon(0% 10%, 30% 10%, 40% 20%, 100% 20%, 100% 100%, 0% 100%);
}

.third-box-title {
    margin-top: 3.4rem;
}

.third-box-title,
.cat-card-para {
    font-family: var(--font-montserrat);
    font-weight: var(--fw6);
    font-size: 12px;
    line-height: 18.32px;
}

.cat-card-para,
.card-description,
.clip-para {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
}

.folder-footer .number {
    font-size: 2rem;
    font-weight: var(--fw7);
}

.trusted-users {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.trusted-users .avatars {
    display: flex;
    align-items: center;
}

.trusted-users .avatars img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--clr-white);
    object-fit: cover;
    margin-left: -10px;
}

.trusted-users .avatars img:first-child {
    margin-left: 0;
}

.trusted-users span {
    font-size: 0.9rem;
    margin-left: 0.3rem;
}

/* =========================================
   6. FOURTH FOLD (Sliders & Cards)
========================================= */
.cardSwiper,
.product_detail_slider {
    padding: 20px 0;
}

.cardSwiper .swiper-slide,
.product_detail_slider .swiper-slide {
    background-color: var(--clr-white);
    color: var(--clr-black);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.credit-card-img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.bank-name {
    margin-bottom: 6px;
    font-weight: var(--fw7);
    font-size: 14px;
    line-height: 18px;
}

.card-description {
    color: #444;
    margin-bottom: 12px;
    font-weight: var(--fw4);
    font-size: 12px;
    line-height: 14.95px;
}

.rating {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.rating i {
    color: #ffb703;
}

.know-more-btn {
    background: var(--grad-secondary);
    color: var(--clr-white);
    padding: 6px 14px;
    border-radius: 20px;
    border: none;
    transition: 0.3s;
    font-weight: var(--fw7);
    font-size: 12px;
    line-height: 18px;
}

.know-more-btn:hover {
    background: #ff5400;
}

/* =========================================
   7. TEAMS SECTION
========================================= */
.teams-wrapper {
    background-image: url('../img/WM.png');
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom: 7rem;
    padding-top: 4rem;
    margin-top: 5rem;
}

.teams-wrapper-container h2 {
    margin-bottom: 4rem;
}

.teamSwiper {
    padding: 40px 0;
}

.teamSwiper .swiper-slide {
    perspective: 1000px;
}

.teamSwiper .flip-card {
    width: 100%;
    height: 450px;
    border-radius: 20px;
    background-image: url('../img/Frame\ 2043683517.png');
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s;
}

.teamSwiper .swiper-slide:hover .flip-card {
    transform: rotateY(180deg);
}

.teamSwiper .flip-card-front,
.teamSwiper .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    backface-visibility: hidden;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.teamSwiper .flip-card-front {
    background-size: cover;
    background-position: center;
}

.teamSwiper .flip-card-back {
    background: var(--grad-dark);
    transform: rotateY(180deg);
    padding: 20px;
    background-image: url('../img/Frame\ 2043683518.png');
    background-repeat: no-repeat;
    background-size: cover;
}

.teamSwiper .flip-card-back p {
    font-size: 14px;
    color: #ccc;
}

.teamSwiper .text-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(233, 115, 24, 0.6) 100%);
    border-radius: 10px;
}

.teamSwiper .swiper-button-prev,
.teamSwiper .swiper-button-next {
    background: linear-gradient(90deg, rgba(218, 78, 32, 0) 0%, #E97318 100%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.teamSwiper .swiper-button-prev::after,
.teamSwiper .swiper-button-next::after {
    font-size: 14px;
    color: var(--clr-white);
}

/* =========================================
   8. FAQ SECTION
========================================= */
.faq-wrapper {
    margin-top: 5rem;
}

.faq-wrapper h2 {
    font-weight: var(--fw7);
    font-size: 48px;
    line-height: 56.84px;
}

.faq-desc {
    font-weight: var(--fw4);
    font-size: 16px;
    line-height: 30.61px;
}

.nav-pills .nav-link {
    color: var(--clr-white);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    padding: 0.5rem 1.2rem;
    margin-bottom: 0.7rem;
    background-color: transparent;
    transition: background-color 0.3s;
}

.nav-pills button {
    width: fit-content;
    font-weight: var(--fw7);
    font-size: 14px;
    line-height: 100%;
    padding: 1rem !important;
}

.nav-pills .nav-link.active {
    background-color: var(--clr-white);
    color: var(--clr-black);
    font-weight: var(--fw6);
}

.tab-content {
    flex: 1;
}

.tab-content .tab-pane {
    font-weight: var(--fw6);
    font-size: 16px;
    line-height: 30.61px;
}

.accordion-button {
    background-color: transparent;
    color: var(--clr-white);
    border: none;
    font-weight: var(--fw6);
    padding-top: 0;
}

.accordion-button:focus {
    box-shadow: none;
    outline: none;
}

.accordion-button:not(.collapsed) {
    background-color: transparent;
    color: var(--clr-white);
}

.accordion-body {
    color: #d1d1d1;
    font-weight: var(--fw4);
    font-size: 14px;
    line-height: 24.05px;
}

.accordion-button::after {
    filter: brightness(0) invert(1);
}

.faq-contact-inner {
    background-color: #121212;
    border-radius: 10px;
    padding: 1.5rem;
}

.faq-contact-inner a {
    background: #555555;
    font-weight: var(--fw7);
    font-size: 14px;
    line-height: 100%;
    text-align: center;
    padding: .7rem;
    display: block; /* Ensure correct a-tag rendering */
}

.faq-contact-title {
    font-family: var(--font-roboto);
    font-size: 18px;
    line-height: 30.61px;
}

.faq-contact-para {
    font-family: var(--font-roboto);
    font-size: 14px;
    line-height: 24.05px;
}

/* =========================================
   9. FOOTER & NEWSLETTER
========================================= */
footer {
    margin-top: 3rem;
}

.newsletter-box {
    background: linear-gradient(to right, #cf4417, #c75518, #e26a26);
    border-radius: 10px;
    padding: 30px;
    margin: 40px 0;
}

.mail-icon {
    top: 50%;
    transform: translate(50%, -50%);
    left: 22px;
    z-index: 98;
}

.newsletter-box h5 {
    font-weight: var(--fw6);
}

.newsletter-box p {
    margin: 0;
    font-size: 0.95rem;
}

.form-control {
    border-radius: 30px 0 0 30px;
    padding-left: 20px;
}

.newsletter-box input:focus {
    outline: none;
    box-shadow: none;
}

.btn-submit {
    border-radius: 0 30px 30px 0;
    padding: 8px 25px;
}

.footer-links {
    padding-top: 20px;
}

.footer-links a {
    color: var(--clr-white);
    text-decoration: none;
    font-size: 0.95rem;
    margin: 0 15px;
}

.footer-social a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background-color: #e4672e;
    color: var(--clr-white);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    font-size: 1.1rem;
    text-decoration: none;
}

.footer-bottom {
    padding: 20px 0 40px;
    font-size: 0.85rem;
    color: #ccc;
}

.footer-logo {
    font-weight: var(--fw7);
    font-size: 1.3rem;
}

/* =========================================
   10. CLIP BOXES
========================================= */
.clip-boxes {
    width: 287.99px;
    position: relative;
}

.clip-boxes::after {
    clip-path: path('M 288 24 L 282 32 L 282 95 L 288 102 Z');
    background-color: var(--clr-black);
    content: '';
    position: absolute;
    inset: 0;
}

.clip-wrapper {
    padding: 5.73px;
    border-radius: 10px;
    background: var(--grad-dark);
}

.clip-content {
    border-radius: 5px;
    background-color: var(--clr-black);
    overflow: hidden;
}

.clip-title {
    margin-block: 1.2rem;
    font-family: var(--font-roboto);
    font-weight: var(--fw7);
    font-size: 16px;
    line-height: 24.05px;
}

.clip-upper-cover {
    height: fit-content;
}

.img-block {
    width: 100%;
    position: relative;
}

.img-block img {
    width: 100%;
}

.clip-para {
    font-family: var(--font-roboto);
    font-weight: var(--fw4);
    font-size: 14px;
    line-height: 20px;
}

.img-block .img-block-wrapper {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 40% 100%, 0% 60%);
    position: relative;
}

.img-block .img-block-wrapper::after {
    clip-path: path('M 277 26 L 268 37 L 268 80 L 287 102 Z');
    background-color: #c75518;
    content: '';
    position: absolute;
    inset: 0;
    z-index: 12;
}

.img-block::before {
    content: "";
    background-color: #c75518;
    clip-path: polygon(3% 0%, 100% 0%, 100% 100%, 35% 100%, 3% 68%);
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 100%;
}

/* =========================================
   11. CHATBOT
========================================= */
#chatbot-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    font-size: 24px;
    border-radius: 50%;
    z-index: 1000;
    display: none;   
    background: linear-gradient(90deg, #DA4E20 0%, #E97318 100%);
}

#chatbox {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 360px;
    max-width: 95%;
    z-index: 1000;
    display: none;
    flex-direction: column;
    height: 500px;
}

.chat-body {
    flex: 1;
    overflow-y: auto;
    background-color: #f5f5f5;
}

.bot-main-logo {
    background: linear-gradient(90deg, #DA4E20 0%, #E97318 100%);
}

.user-badge,
.bot-badge,
.btn-send {
    background: var(--grad-secondary);
}

.btn-send {
    border: none;
    outline: none;
}

.user-texts,
.bot-texts {
    border-radius: 20px;
    background: var(--clr-white);
    color: var(--clr-black);
    box-shadow: 6px 6px 12px #dbdbdb, -6px -6px 12px #ffffff;
}

.user-texts,
.bot-texts,
.bot-para,
.card-footer input {
    font-weight: var(--fw4);
    font-size: 12px;
    line-height: 160%;
}

.badge-text,
.bot-title {
    font-family: var(--font-montserrat);
    font-weight: var(--fw7);
    font-size: 14px;
    line-height: 21.56px;
}

.chat-body::-webkit-scrollbar {
    width: 6px;
}

.chat-body::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.chat-footer input {
    border-radius: 11px;
}

.bot-badge,
.user-badge {
    width: 28px;
    height: 28px;
    font-size: 14px;
    font-weight: var(--fw7);
}

.typing {
    background-color: #EEEEEE !important;
    color: #D9D9D9 !important;
    font-size: 24px;
}

.typing div {
    width: 6px;
    height: 6px;
    background-color: #D9D9D9 !important;
    border-radius: 50%;
}

/* =========================================
   12. MEDIA QUERIES
========================================= */

/* Mobile Devices (Max 767.98px) - Merged overlapping logic */
@media (max-width: 767.98px) {
    .navbar {
        background-color: var(--clr-black);
    }

    .title-block h1 {
        font-size: 41px;
        line-height: 52.26px;
    }

    .first-container-wrapper {
        padding-top: 5rem;
    }

    .know-morebtn {
        margin-top: 1rem;
    }

    .first-left-top {
        margin-bottom: 1rem;
    }

    .second-fold-inner {
        padding-block: 1rem;
    }

    .second-fold-wrapper h2,
    .section-cards-wrapper-data h2,
    .teams-wrapper-container h2 {
        font-size: 33px;
        line-height: 108%;
    }

    .second-right-wrapper {
        margin-top: 1.7rem;
    }

    .third-cards {
        overflow: hidden;
        width: 100%;
    }

    .third-fold-wrapper {
        padding-block: 2rem;
    }

    .section-cards-wrapper-data {
        padding-top: 1.5rem;
    }

    .teams-wrapper {
        margin-top: 2rem;
        margin-bottom: 0rem;
    }

    .clip-boxes-wrapper {
        gap: 2rem;
    }

    .faq-wrapper h2 {
        font-size: 33px;
        line-height: 27.84px;
    }

    .faq-container {
        flex-direction: column;
    }

    .faq-container .accordion-body {
        padding-top: 0;
    }

    .nav.flex-column {
        flex-direction: row !important;
        flex-wrap: wrap;
    }

    .nav-link {
        margin-right: 0.5rem;
    }

    .newsletter-box {
        text-align: center;
        padding-inline: 0;
    }

    .newsletter-box .input-group {
        flex-direction: column; /* Fixed conflict */
        overflow: hidden;
    }

    .form-control {
        border-radius: 30px;
        margin-bottom: 10px;
    }

    .btn-submit {
        border-radius: 30px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center !important;
    }

    .footer-links a {
        margin: 5px 10px;
    }

    .footer-social {
        justify-content: center;
    }

    .cardSwiper .swiper-slide,
    .product_detail_slider .swiper-slide {
        padding: 12px;
    }

    .cardSwiper .card-description,
    .product_detail_slider .card-description {
        font-size: 0.8rem;
    }

    .cardSwiper .know-more-btn,
    .product_detail_slider .know-more-btn {
        padding: 5px 12px;
        font-size: 0.8rem;
    }

    #chatbox {
        right: 10px;
        width: 95%;
        height: 618px;
    }
}

/* Tablets / Laptops (Max 991.98px) */
@media screen and (max-width: 991.98px) {
    .offcanvas .navbar-nav {
        gap: 1rem;
    }

    .offcanvas .navbar-nav a {
        font-size: 16px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .first-container-wrapper {
        padding-top: 5rem;
    }

    .title-block h1 {
        font-size: 45px;
        line-height: 60.26px;
    }

    .second-fold-inner-data {
        padding: 0;
    }

    .clip-boxes-wrapper {
        gap: 3rem;
        row-gap: 2rem;
    }
}

/* Large Screens (992px to 1199.98px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .first-container-wrapper {
        padding-top: 5rem;
    }
}
