@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900&display=swap');

:root {
    --main-color: #8c1bde;
    --second-color: #ebeff2;
    --text-color: #02171d;
    --bg-color: #fff;
    --box-shadow: 2px 2px 10px 4px rgb(14 55 54 / 15%);
}

* {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    scroll-behavior: smooth;
    scroll-padding-top: 2rem;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

html::-webkit-scrollbar {
    width: 0.4rem;
}

html::-webkit-scrollbar-thumb {
    background: transparent;
}

html::-webkit-scrollbar-track {
    background: var(--text-color);
    border-radius: 5rem;
}

.btn {
    padding: 0.6rem 2rem;
    background: var(--main-color);
    font-weight: 500;
    display: inline-block;
    text-transform: uppercase;
    color: #fff;
    clip-path: polygon(100% 0, 93% 50%, 86% 99%, 0% 100%, 7% 47%, 13% 0%);
    border: none;
    outline: none;
}

.btn:hover {
    background: var(--text-color);
    transition: 0.2s;
}

img {
    width: 100%;
    height: auto;
}

section {
    padding: 50px 80px;
    margin-top: -40px;
}

header {
    position: static;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 80px;
    transition: 0.5s linear;
    background-color: var(--bg-color);
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
    column-gap: 0.5rem;
    color: var(--text-color);
}

.logo img {
    width: 40px;
    height: auto;
}

.navbar-container {
    display: flex;
    justify-content: center;
    flex-grow: 1;
}

ul.navbar {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

ul.navbar li {
    display: inline-block;
}

ul.navbar a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    transition: color 0.3s ease;
}

ul.navbar a:hover {
    color: var(--main-color);
}

.header-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.header-icons i {
    font-size: 1.8rem;
    color: var(--text-color);
    cursor: pointer;
    transition: color 0.3s ease;
}

.header-icons i:hover {
    color: var(--main-color);
}

.user {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 0.5rem;
    background: var(--bg-color);
    padding: 20px;
    border-radius: 0.5rem;
    box-shadow: var(--box-shadow);
    opacity: 0;
    visibility: hidden;
}

.home {
    width: 100%;
    min-height: 100vh;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
    align-items: center;
    background: var(--second-color);
}

.home-text span {
    font-weight: 600;
}

.home-text h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.heading {
    margin-bottom: 1rem;
    text-align: center;
}

.heading h1 {
    padding: 0.5rem 2rem;
    font-size: 1.8rem;
    font-weight: 500;
    text-transform: capitalize;
    color: var(--text-color);
}

.heading span {
    font-size: 25px;
    padding: 0.1rem 3rem;
    background: var(--main-color);
    font-weight: 500;
    display: inline-block;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 10px;
    clip-path: polygon(100% 0, 93% 50%, 86% 99%, 0% 100%, 7% 47%, 13% 0%);
}

.template-container,
.product-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    border-radius: 1rem;
    justify-content: center;
}

.template-box,
.product-box,
.custom-design {
    position: relative;
    padding: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
    border-radius: 0.8rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    justify-content: center;
}

.template-box:hover,
.product-box:hover,
.custom-design:hover {
    transform: translateY(-6px);
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.2);
}

.template-box img,
.product-box img {
    width: 100%;
    height: auto;
    border-radius: 0.8rem;
}

.template-box h3,
.product-box h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1rem;
}

.template-box p,
.product-box p {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 0.8rem;
}

.contact {
    margin-bottom: 20px;
}

.contact-container {
    max-width: 600px;
    margin: auto;
}

.contact-container form {
    display: flex;
    flex-direction: column;
}

.contact-container input,
textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-container button {
    width: 100%;
    padding: 10px;
    background-color: var(--main-color);
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-container button:hover {
    background-color: var(--text-color);
}

.footer {
    background: #000;
    color: #8a8a8a;
    font-size: 14px;
    padding: 35px 0 20px;
    margin-top: auto;
    width: 100%;
    position: sticky;
}

.footer p {
    color: #8a8a8a;
}

.footer h3 {
    color: #fff;
    margin-bottom: 20px;
}

.footer-col-1 {
    flex-basis: 30%;
}

.footer-col-2 {
    flex: 1;
    text-align: center;
}

.footer-col-2 img {
    width: 180px;
    margin-bottom: 20px;
}

.footer-col-3,
.footer-col-4 {
    flex-basis: 12%;
    text-align: center;
}

ul {
    list-style-type: none;
}

.app-logo {
    margin-top: 20px;
}

.app-logo img {
    width: 140px;
    cursor: pointer;
}

.footer hr {
    border: none;
    background: #b5b5b5;
    height: 1px;
    margin: 20px 0;
}

.Copyright {
    text-align: center;
}

.menuicon {
    width: 35px;
    margin-left: 20px;
    display: none;
}

.container {
    flex-grow: 1;
    max-width: 1100px;
    margin: auto;
    padding-left: 25px;
    padding-right: 25px;
}

.row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-around;
}

.col-2 {
    flex-basis: 50%;
    min-width: 300px;
}

.col-2 img {
    max-width: 100%;
    margin-left: 50px;
}

.col-2 h1 {
    font-size: 50px;
    line-height: 60px;
    margin: 25px 0;
}

.about {
    padding: 50px 30px;
}

.about-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.about-img img {
    border-radius: 1rem;
    box-shadow: var(--box-shadow);
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.mission,
.vision {
    padding: 2rem;
    background: var(--bg-color);
    border-radius: 1rem;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.mission i,
.vision i {
    font-size: 2.5rem;
    color: var(--main-color);
    margin-bottom: 1rem;
}

.team-section {
    margin-top: 4rem;
}

.team-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    padding: 1.5rem;
    text-align: center;
    background: var(--bg-color);
    border-radius: 1rem;
    box-shadow: var(--box-shadow);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.values-section {
    margin-top: 4rem;
}

.values-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    padding: 2rem;
    text-align: center;
    background: var(--bg-color);
    border-radius: 1rem;
    box-shadow: var(--box-shadow);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--main-color);
    margin-bottom: 1rem;
}

.custom-design {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-color);
    border-radius: 1rem;
    box-shadow: var(--box-shadow);
    text-align: center;
    max-width: 1800px;
    margin: 0 auto;
}

.custom-design-content {
    margin: 0 auto;
    max-width: 1200px;
}

.custom-design h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 0.8rem;
}

.custom-design p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 1.3rem;
}

.payment-methods-section {
    padding: 50px 100px;
    background: var(--second-color);
}

.search-bar-container {
    position: relative;
    margin-bottom: 2rem;
}

.search-bar-container input {
    width: 100%;
    padding: 10px 40px 10px 20px;
    border: none;
    outline: none;
    border-radius: 0.5rem;
    box-shadow: var(--box-shadow);
}

.payment-methods-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-method {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-color);
    padding: 15px;
    border-radius: 0.8rem;
    box-shadow: var(--box-shadow);
}

.payment-icon img {
    width: 40px;
    height: auto;
}

.payment-name {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-color);
}

.dropdown-arrow {
    font-size: 0.5rem;
    transition: transform 0.5s ease-in-out;
}

.dropdown-arrow.rotate {
    transform: rotate(180deg);
}

.qr-code-section,
.card-details-section {
    max-height: 0;
    text-align: center;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.qr-code-section.open,
.card-details-section.open {
    text-align: center;
    max-height: 500px;
    padding: 1rem;
}

.qr-code-section img {
    text-align: center;
    width: 150px;
    height: auto;
    margin-bottom: 1rem;
}

.qr-code-section ol {
    text-align: justify;
    margin-bottom: 1rem;
}

.countdown {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--main-color);
}

.card-details-section input {
    width: 100%;
    padding: 8px;
    margin: 0.5rem 0;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
}

.card-details-section button,
.qr-code-section button {
    width: 100%;
    margin-top: 1rem;
}

.dropdown-arrow {
    font-size: 1rem;
    color: var(--main-color);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.dropdown-arrow:hover {
    color: var(--text-color);
}

.countdown {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--main-color);
    margin: 1rem 0;
    padding: 0.5rem;
    background: var(--second-color);
    border-radius: 0.5rem;
    text-align: center;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    section {
        padding: 30px 20px;
    }

    header {
        padding: 10px 20px;
    }

    .navbar {
        display: none;
    }

    .navbar.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: var(--bg-color);
        padding: 10px;
        box-shadow: var(--box-shadow);
    }

    .navbar.active li {
        margin: 10px 0;
    }

    .menuicon {
        display: block;
        cursor: pointer;
    }

    .home-text h1 {
        font-size: 2.5rem;
    }

    .heading h1 {
        font-size: 1.5rem;
    }

    .heading span {
        font-size: 20px;
    }

    .btn {
        padding: 0.5rem 1rem;
    }

    .footer-col-1,
    .footer-col-2,
    .footer-col-3,
    .footer-col-4 {
        flex-basis: 100%;
        text-align: center;
        margin-bottom: 20px;
    }

    .footer-col-2 img {
        width: 150px;
    }

    .app-logo img {
        width: 120px;
    }

    .payment-methods-section {
        padding: 30px 20px;
    }

    .payment-method {
        flex-direction: column;
        align-items: flex-start;
    }

    .payment-icon {
        margin-bottom: 10px;
    }

    .qr-code-section,
    .card-details-section {
        width: 100%;
    }

    .qr-code-section img {
        width: 100px;
    }

    .custom-design {
        padding: 1rem;
    }

    .custom-design h2 {
        font-size: 1.5rem;
    }

    .custom-design p {
        font-size: 1rem;
    }
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 80px;
    background-color: var(--bg-color);
    position: relative;
}

/* Hamburger Menu Icon */
.menu-icon {
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

/* Search Bar */
.search-bar-container {
    flex-grow: 1;
    margin: 0 20px;
    position: relative;
}

.search-bar-container input {
    width: 100%;
    padding: 10px 40px 10px 20px;
    border: none;
    outline: none;
    border-radius: 0.5rem;
    box-shadow: var(--box-shadow);
}

.search-bar-container i {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-color);
    cursor: pointer;
}

/* Logo on the Right */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 40px;
    /* Adjust logo size */
    height: auto;
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: var(--bg-color);
    box-shadow: var(--box-shadow);
    transition: left 0.3s ease;
    z-index: 1000;
}

.sidebar.active {
    left: 0;
}

.sidebar ul {
    list-style: none;
    padding: 20px;
}

.sidebar ul li {
    margin: 15px 0;
}

.sidebar ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.sidebar ul li a:hover {
    color: var(--main-color);
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    header {
        padding: 15px 20px;
    }

    .menu-icon {
        display: flex;
    }

    .search-bar-container {
        margin: 0 10px;
    }

    .logo img {
        width: 30px;
    }
}

/* Search Bar */
.search-bar-container {
    flex-grow: 1;
    margin: 0 20px;
    position: relative;
    max-width: 500px;
}

.search-bar-container input {
    width: 100%;
    padding: 10px 40px 10px 20px;
    border: 1px solid #ccc;
    outline: none;
    border-radius: 20px;
    box-shadow: var(--box-shadow);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-bar-container input:focus {
    border-color: var(--main-color);
    /* Highlight on focus */
}

.search-bar-container i {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-color);
    cursor: pointer;
    font-size: 1.2rem;
}

/* Overlay Styles */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    display: none;
}

.overlay.active {
    display: block;
    opacity: 1;
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 0;
    left: -250px;
    width: 200px;
    height: 100%;
    background-color: var(--bg-color);
    box-shadow: var(--box-shadow);
    transition: left 0.3s ease;
    z-index: 1000;
}

.sidebar.active {
    left: 0;
}

/* Header Styles */
header {
    display: flex;
    flex-direction: column;
    padding: 15px 20px;
    background-color: var(--bg-color);
    position: relative;
}

/* Top Row: Hamburger Menu, Search Bar, and Logo */
header>.menu-icon,
header>.search-bar-container,
header>.logo {
    display: flex;
    align-items: center;
}

/* Hamburger Menu */
.menu-icon {
    position: absolute;
    left: 50px;
    top: 22px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-color);
}

/* Search Bar Container */
.search-bar-container {
    position: relative;
    margin: 0 auto;
    max-width: 500px;
    width: 100%;
}

.search-bar-container input {
    width: 100%;
    padding: 10px 40px 10px 20px;
    border: 1px solid #ccc;
    outline: none;
    border-radius: 20px;
    box-shadow: var(--box-shadow);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-bar-container input:focus {
    border-color: var(--main-color);
}

.search-bar-container i {
    display: none;
    position: fixed;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-color);
    cursor: pointer;
    font-size: 1.2rem;
}

/* Logo */
.logo {
    position: absolute;
    right: 50px;
    top: 22px;
}

.logo img {
    width: 40px;
    height: auto;
}

/* Navigation Bar */
.navbar {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    margin-top: 10px;
}

.navbar ul {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.navbar ul li {
    list-style: none;
}

.navbar ul li a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    transition: color 0.3s ease;
    text-decoration: none;
}

.navbar ul li a:hover {
    color: var(--main-color);
}

@media (max-width: 768px) {
    .menu-icon {
        left: 25px;
    }

    .logo {
        right: 25px;
    }

    .search-bar-container {
        max-width: 85%;
        padding: 0 25px;
    }

    .navbar {
        margin-top: 15px;
    }

    .navbar ul {
        gap: 0.8rem;
    }

    .navbar ul li a {
        font-size: 0.7rem;
    }
}

.template-container a.template-box {
    display: block;
    text-decoration: none;
    color: inherit;
}

.template-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
