﻿

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;500;600;700;800;900;1000&display=swap');

/* === Event Carousel CSS (Standalone) === */

:root {
    --event-items: 6;
    --event-carousel-duration: 40s;
    --event-carousel-width: min(80vw, 1200px);
    --event-item-width: 280px;
    --event-item-height: 450px;
    --event-item-gap: 2rem;
    --event-cta: rgb(0, 132, 209);
    color-scheme: light dark;
    --bg-dark: rgb(2, 6, 24);
    --bg-light: rgb(229, 229, 229);
    --txt-light: rgb(10, 10, 10);
    --txt-dark: rgb(245, 245, 245);
}

.carousel {
    position: relative;
    /*    max-width: 1000px; */
    max-height:1000px;
    margin: auto;
    overflow: hidden;
    border-radius: 12px;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    box-sizing: border-box;
    position: relative;
    max-height:768px;
}

    .carousel-item img {
        width: 100%;
        height: auto;
        display: block;
    }

.carousel-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

    .carousel-indicators button {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        border: none;
        background: #aaa;
        cursor: pointer;
    }

    .carousel-indicators .active {
        background: #333;
    }

.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    border: none;
    padding: 10px;
    cursor: pointer;
    color: white;
    font-size: 18px;
}

.carousel-control-prev {
    left: 10px;
}

.carousel-control-next {
    right: 10px;
}

.main-title {
    font-size: 2.5rem;
    margin: 30px 0 15px;
}

.text-muted {
    color: #6c757d;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.col {
    flex: 1 1 300px;
    max-width: 320px;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    text-align: center;
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.text-success {
    color: green;
}

.text-primary {
    color: dodgerblue;
}

.text-warning {
    color: goldenrod;
}

.text-dark {
    color: #212529;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 2rem;
}

.mt-5 {
    margin-top: 3rem;
}

.d-flex {
    display: flex;
    align-items: center;
}

.me-3 {
    margin-right: 1rem;
}
/* Cards CSS */

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 4px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 3px solid #ff7663;
    box-shadow: 0 10px 4px rgba(31, 38, 135, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

    .card::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: left 0.6s ease;
    }

    .card:hover::before {
        left: 100%;
    }

    .card:hover {
        transform: translateY(-12px) scale(1.02);
        box-shadow: 0 25px 60px rgba(31, 38, 135, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.15);
    }

.icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.card:hover .icon {
    transform: scale(1.1) rotate(8deg);
    background: linear-gradient(135deg, #764ba2, #667eea);
    box-shadow: 0 12px 35px rgba(118, 75, 162, 0.4);
}

.icon img {
    width: 45px;
    height: 45px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.card:hover .icon img {
    transform: scale(1.1);
}

.card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    letter-spacing: -0.02em;
}

.card p {
    color: #4a5568;
    line-height: 1.7;
    font-size: 1rem;
    position: relative;
    z-index: 2;
    font-weight: 400;
    opacity: 0.85;
}

.card:hover p {
    opacity: 1;
}

/* Individual card color accents */
.card:nth-child(1) .icon {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
}

.card:nth-child(1):hover .icon {
    background: linear-gradient(135deg, #FF8E53, #FF6B6B);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.4);
}

.card:nth-child(2) .icon {
    background: linear-gradient(135deg, #4ECDC4, #44A08D);
}

.card:nth-child(2):hover .icon {
    background: linear-gradient(135deg, #44A08D, #4ECDC4);
    box-shadow: 0 12px 35px rgba(78, 205, 196, 0.4);
}

.card:nth-child(3) .icon {
    background: linear-gradient(135deg, #45B7D1, #96C93D);
}

.card:nth-child(3):hover .icon {
    background: linear-gradient(135deg, #96C93D, #45B7D1);
    box-shadow: 0 12px 35px rgba(69, 183, 209, 0.4);
}

.card:nth-child(4) .icon {
    background: linear-gradient(135deg, #F093FB, #F5576C);
}

.card:nth-child(4):hover .icon {
    background: linear-gradient(135deg, #F5576C, #F093FB);
    box-shadow: 0 12px 35px rgba(240, 147, 251, 0.4);
}

.card:nth-child(5) .icon {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.card:nth-child(5):hover .icon {
    background: linear-gradient(135deg, #00f2fe, #4facfe);
    box-shadow: 0 12px 35px rgba(79, 172, 254, 0.4);
}

.card:nth-child(6) .icon {
    background: linear-gradient(135deg, #a8edea, #fed6e3);
}

.card:nth-child(6):hover .icon {
    background: linear-gradient(135deg, #fed6e3, #a8edea);
    box-shadow: 0 12px 35px rgba(168, 237, 234, 0.4);
}

/* Floating animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

.card:nth-child(odd) {
    animation: float 6s ease-in-out infinite;
}

.card:nth-child(even) {
    animation: float 6s ease-in-out infinite reverse;
}

/* Premium badges */
.card::after {
    content: attr(data-badge);
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.card:hover::after {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .card-container {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
    }

    .card {
        padding: 35px 25px;
    }

    .icon {
        width: 80px;
        height: 80px;
        margin-bottom: 25px;
    }

        .icon img {
            width: 40px;
            height: 40px;
        }

    .card h3 {
        font-size: 1.4rem;
        margin-bottom: 18px;
    }

    .card p {
        font-size: 0.95rem;
    }

   /* body {
        padding: 40px 15px;
    }*/
}

@media (max-width: 480px) {
    .card {
        padding: 30px 20px;
    }

        .card h3 {
            font-size: 1.3rem;
        }

        .card p {
            font-size: 0.9rem;
        }
}

.about-section {
    padding: 60px 40px;
    background-color: #e9eef5;
    height: 400px;
}

    .about-section h2 {
        font-size: 18px;
        color: #32a852;
        font-style: italic;
        margin-bottom: 10px;
    }

    .about-section h1 {
        font-size: 32px;
        font-weight: 600;
        margin-bottom: 20px;
        color: #1a1a1a;
    }

.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}

.about-left {
    flex: 1 1 400px;
}

.about-right {
    flex: 1 1 400px;
    color: #555;
    font-size: 15px;
    line-height: 1.7;
}


.feature-card {
    background-color: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

    .feature-card:hover {
        transform: translateY(-5px);
    }

    .feature-card img {
        width: 100%;
        height: 160px;
        object-fit: cover;
    }

    .feature-card .card-body {
        padding: 20px;
        text-align: center;
    }

    .feature-card h3 {
        font-size: 18px;
        color: #152354;
        margin-bottom: 10px;
    }

    .feature-card p {
        font-size: 14px;
        color: #444;
        line-height: 1.6;
    }


.aboutuscard-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.aboutcard-section {
    position: relative;
    padding: 20px 20px;
    /* z-index: -1; */
    background: #302c38;
}

.aboutuscard-content {
    margin-top: -181px;
}


@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }
    .about-right {
        /* flex: 1 1 400px; */
        color: #555;
        font-size: 15px;
        line-height: 1.7;
    }
    .about-left {
        flex: 1 1 40px;
    }
    .aboutuscard-content
     {
        margin-top: 0px;
    }
    .about-section {
        padding: 60px 40px;
        background-color: #e9eef5;
        height: 500px;
    }
    
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1300px;
    margin: auto;
}

.product-card {
    background: #fff;
    border: 1px solid #2be04b;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 260px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s;
}

    .product-card:hover {
        transform: scale(1.03);
    }

    .product-card img {
        width: 100%;
        height: 200px;
        object-fit: contain;
        padding: 10px;
        background: #fff;
    }

    .product-card .info {
        padding: 15px;
        text-align: center;
        background: #f1f1f1;
    }

        .product-card .info h3 {
            font-size: 16px;
            margin-bottom: 8px;
        }

.price {
    font-size: 15px;
    color: #007bff;
    font-weight: bold;
}

    .price del {
        color: red;
        font-size: 13px;
        margin-left: 6px;
    }

.rating {
    margin: 8px 0;
    font-size: 14px;
}

.stars {
    color: #ffc107;
}

.buy-button {
    background-color: #28a745;
    border: none;
    color: white;
    font-size: 14px;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.2s;
}

    .buy-button:hover {
        background-color: #218838;
    }

/* Responsive rules */
@media (max-width: 768px) {
    .product-card {
        max-width: 48%;
    }
}

@media (max-width: 480px) {
    .product-card {
        max-width: 100%;
    }
}
.ViewProduct {
    text-align: center;
    margin-top: 30px;
}

    .ViewProduct button {
        color: #28a745;
        border: none;
        padding: 12px 30px;
        font-size: 16px;
        /* border-radius: 50px; */
        cursor: pointer;
        transition: background-color 0.3s ease;
        border: 2px solid #28a745;
       
    }

        .ViewProduct button:hover {
            background-color: #218838;
        }


.swiper-container {
    border-radius: 5px;
    width: 70vw;
    overflow: hidden;
    height: fit-content;
    height: fit-content;
    font-size: 50px;
    position: relative;
    padding-bottom: 50px;
    font-family: sans-serif;
}

.swiper-slide {
    width: auto;
    height: fit-content;
    display: flex;
    height: auto;
    border-radius: 5px;
    overflow: hidden;
    align-items: flex-start;
    flex-direction: column;
    padding: 0px;
    font-family: Nunito;
    background-color: white;
}

    .swiper-slide .ImgHolder {
        background-color: #4361ee;
        display: flex;
        width: 100%;
        height: auto;
        padding: 30px;
        border-bottom-left-radius: 20px;
    }

.ContentHolder::before {
    background-color: #4361ee;
    content: '';
    width: 50px;
    height: 50px;
    position: absolute;
    top: -5px;
    z-index: -1;
    right: 0px;
}

.ContentHolder {
    position: relative;
    padding: 10px;
    background-color: white;
    border-top-right-radius: 20px;
}

.swiper-pagination-bullet {
    background-color: white;
    opacity: 1;
    border: 1px solid #4361ee;
}

.swiper-pagination-bullet-active {
    background-color: #4361ee;
}

.swiper-button {
    border: 1px solid white;
}

.swiper-slide img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: auto;
    object-fit: cover;
    border: 3px solid #4361ee;
    outline: 2px solid white;
}

.swiper-slide h3 {
    font-size: 1.1rem;
    text-align: center;
    font-weight: bold;
}

.swiper-slide p {
    font-size: 0.9rem;
    padding: 5px;
}

@media (max-width:638px) {
    .swiper-container {
        width: 100%;
    }
}

@media (max-width:500px) {
    .swiper-container {
        width: 70vw;
    }
}

@media (max-width:300px) {
    .swiper-container {
        width: 100%;
    }

    .swiper-slide {
        border-radius: 0px;
    }

    .swiper-container .ImgHolder {
        border-radius: 0px;
    }

    .ContentHolder {
        border-radius: 0px;
    }
}
.section {
    display: flex;
    height: 300px;
}
.box {
    flex: 1;
    min-width: 300px;
    padding: 50px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.4s ease-in-out;
}

.left {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #fff;
}

.right {
    background: linear-gradient(135deg, #1dd1a1, #10ac84);
    color: #fff;
}

.box i {
    font-size: 70px;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.box:hover i {
    transform: scale(1.2);
}

.title {
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.desc {
    font-size: 16px;
    margin-bottom: 20px;
}

.btn {
    background-color: #1dd1a1;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .btn:hover {
        background-color: #10ac84;
    }

.email {
    font-size: 17px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 20px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        height: auto;
    }
    .section {
        display: contents;
        /*height: 300px;*/
    }
}


@media (width > 600px) {
    :root {
        --event-carousel-duration: 30s;
    }
}

.eventcarousel {
    position: relative;
    width: var(--event-carousel-width);
    height: var(--event-item-height);
    overflow: clip;
    mask-image: linear-gradient(to right, transparent, black 10% 90%, transparent);
}

    .eventcarousel:hover > article {
        animation-play-state: paused;
    }

    .eventcarousel > article {
        position: absolute;
        top: 0;
        left: calc(100% + var(--event-item-gap));
        width: var(--event-item-width);
        height: var(--event-item-height);
        display: grid;
        grid-template-rows: 200px auto 1fr auto;
        gap: 0.25rem;
        border: 1px solid light-dark(rgba(0 0 0 / 0.25), rgba(255 255 255 / 0.15));
        padding-bottom: 1rem;
        border-radius: 10px;
        background: light-dark(white, rgba(255 255 255 / 0.05));
        color: light-dark(rgb(49, 65, 88), white);
        animation-name: event-marquee;
        animation-duration: var(--event-carousel-duration);
        animation-timing-function: linear;
        animation-iteration-count: infinite;
        will-change: transform;
    }

        .eventcarousel > article:nth-child(1) {
            --i: 0;
        }

        .eventcarousel > article:nth-child(2) {
            --i: 1;
        }

        .eventcarousel > article:nth-child(3) {
            --i: 2;
        }

        .eventcarousel > article:nth-child(4) {
            --i: 3;
        }

        .eventcarousel > article:nth-child(5) {
            --i: 4;
        }

        .eventcarousel > article:nth-child(6) {
            --i: 5;
        }

        .eventcarousel > article:nth-child(7) {
            --i: 6;
        }

        .eventcarousel > article:nth-child(8) {
            --i: 7;
        }

    .eventcarousel > article {
        animation-delay: calc(var(--event-carousel-duration) / var(--event-items) * var(--i) * -1);
    }

    .eventcarousel img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 10px 10px 0 0;
    }

    .eventcarousel > article > *:not(img) {
        padding: 0 1rem;
    }

    .eventcarousel > article > div {
        grid-row: span 2;
        display: grid;
        grid-template-rows: subgrid;
        font-size: 0.8rem;
    }

    .eventcarousel > article h2 {
        font-size: 1.2rem;
        font-weight: 300;
        padding-block: 0.75rem 0.25rem;
        margin: 0;
    }

    .eventcarousel > article p {
        margin: 0;
    }

    .eventcarousel > article a {
        text-decoration: none;
        text-transform: lowercase;
        border: 1px solid var(--event-cta);
        color: light-dark(var(--event-cta), white);
        border-radius: 3px;
        padding: 0.25rem 0.5rem;
        place-self: start;
        transition: 150ms ease-in-out;
    }

        .eventcarousel > article a:hover,
        .eventcarousel > article a:focus-visible {
            background-color: var(--event-cta);
            color: white;
            outline: none;
        }

@keyframes event-marquee {
    100% {
        transform: translateX(calc((var(--event-items) * (var(--event-item-width) + var(--event-item-gap))) * -1));
    }
}
