/* Global */
:root {
    --primary: #970212;
    --accent: #970212;
    --text-dark: #1D1C21;
    --text-light: #4A494D;
    --bg: #FED9CD;
    --mix: linear-gradient(to bottom, #ffe1d6bb 0%, #ffe1d642 100%);
    --white: #fff;
    --border: #07070710;
    --radius: 16px;
    --font: "Poppins", sans-serif;
}
.bg-red{
    background: var(--primary);
}
.container {
    width: 100%;
    max-width: 1400px;   /* Desktop max width */
    margin: 0 auto;      /* Center horizontally */
    padding: 0 20px;     /* Spacing on left/right */
    box-sizing: border-box;
}
.p-100{
    padding-top: 100px !important;
    padding-bottom: 100px !important;
}
.pb-100{
    padding-bottom: 100px !important;
}
.pt-100{
    padding-top: 100px !important;
}
h1 {
    font-size: 72px;
    font-weight: 500;
    line-height: 1.2;
}
h2 {
    font-size: 56px;
    font-weight: 500;
    line-height: 1.2;
}
h3 {
    font-size: 27px;
    font-weight: 500;
    line-height: 1.2;
}
.largetext{
    font-size: 18px;
    color: var(--text-light);
}
.border-btn{
    border: 1px solid var(--border) !important;
    background-color: #ffffff00 !important;
    color: var(--text-dark) !important;
}
.border-btn:hover{
    border: 1px solid var(--border) !important;
    background-color: var(--primary) !important;
    color: var(--white) !important;
}
.btn-white{
    background-color: var(--white) !important;
    color: var(--text-dark) !important;
}
body {
    margin: 0;
    font-family: var(--font);
    background: var(--white);
    color: var(--text-dark);
}
/* Hero Section */
.hero {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px;
    border-radius: 30px;
    overflow: hidden;
    height: calc(100vh - 60px);
}
/* Video Background */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 4;
    opacity: 1; /* Adjust opacity */
    mix-blend-mode: color-burn; /* Blend with gradient */
}
/* Gradient Overlay */
.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--mix);
    z-index: 2;
}

/* Hero Content Above Video & Gradient */
.hero-content {
    position: relative;
    z-index: 99;
}

/* Floating Images */
.floating-images {
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    display: flex;
    gap: 20px;
    z-index: 98;
}
.floating-images.left {
    left: 3%;
}
.floating-images.right {
    right: 3%;
}

.floating-images .col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

.floating-images img {
    width: 200px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
.floating-images.left img {
    animation: float-left 6s ease-in-out infinite;
    transform: rotate(-6deg);
}
.floating-images.right img {
    animation: float-right 6s ease-in-out infinite;
    transform: rotate(6deg);
}

/* Floating Animation */
@keyframes float-left {
    0%, 100% {
        transform: translateY(0) rotate(var(--angle, -6deg));
    }
    50% {
        transform: translateY(-15px) rotate(var(--angle, 6deg));
    }
}

/* Floating Animation */
@keyframes float-right {
    0%, 100% {
        transform: translateY(0) rotate(var(--angle, 6deg));
    }
    50% {
        transform: translateY(-15px) rotate(var(--angle, -6deg));
    }
}

/* Hero Content */
.hero-content {
    max-width: 900px;
    z-index: 10;
}

.hero-content .badge {
    background: #F9F9FA;
    padding: 16px 22px;
    border-radius: 30px;
    font-size: 20px;
    font-weight: 400;
    color: var(--text-light);
    border: 1px solid var(--bg);
    display: inline-block;
    margin-bottom: 20px;
}
.hero-content .highlight {
    color: var(--primary);
}

.hero-content p {
    margin: 20px 0;
    font-size: 20px;
    color: var(--text-light);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 16px 30px;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s ease;
}
.btn-primary:hover {
    background: var(--text-dark);
    transform: translateY(-3px);
}

/* Members */
.members {
    display: flex;
    align-items: center;
    justify-content: center;
}

.members img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: -16px;
}

.members span {
    font-size: 20px;
    color: var(--text-dark);
    font-weight: 400;
    margin-left: 30px;
    font-style: italic;
}


/* tools Section Styling */
.tools-section {
    text-align: center;
}


/* Grid Layout */
.tools-grid, .steps-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Card Styling */
.tool-1,.tool-2,.tool-3,.tool-4,.tool-5,.tool-6 {
    padding: 16px;
    border-radius: 16px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 250px;
    display: flex;
    align-items: flex-end;
    background-color: var(--text-dark);
}
.tool-1 {
    background-image: url(../assets/images/tool-1.jpg);
}
.tool-2 {
    background-image: url(../assets/images/tool-2.jpg);
}
.tool-3 {
    background-image: url(../assets/images/tool-3.jpg);
}
.tool-4 {
    background-image: url(../assets/images/tool-4.jpg);
}
.tool-5 {
    background-image: url(../assets/images/tool-5.jpg);
}
.tool-6 {
    background-image: url(../assets/images/tool-6.jpg);
}
.tool-card {
    text-align: left;
    transition: transform 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-8px);
}
/* Hover Effect for First Card */

.glow-text {
    font-size: 16px !important;
    font-weight: 500;
    color: #fff;
    text-align: center;
    /* text-shadow: 0 0 10px #ff9f43, 0 0 20px #ff6f61, 0 0 30px #ff9f43; */
    animation: pulseGlow 2s infinite alternate;
    font-family: 'Poppins', sans-serif;
}

@keyframes pulseGlow {
    from {
        /* text-shadow: 0 0 10px #ff9f43, 0 0 20px #ff6f61, 0 0 30px #ff9f43; */
        transform: scale(1);
    }
    to {
        /* text-shadow: 0 0 20px #ffd043, 0 0 40px #ff6f61, 0 0 60px #ffd043; */
        transform: scale(1.2);
    }
}



.card-overlay {
    padding: 20px;
    background: rgba(0, 0, 0, 0.55); /* dark overlay */
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease-in-out;
    border-radius: 16px;

    /* ✨ Blur effect */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); /* Safari support */
}


.card-overlay p {
    font-size: 14px;
    margin-bottom: 0;
}

.card-overlay span {
    background: rgba(255,255,255,0.2);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.8rem;
    margin-right: 8px;
}

.hover-card:hover .card-overlay {
    opacity: 1;
    visibility: visible;
}

/* steps section */
.steps{
    border: 1px solid var(--border);
    border-radius: 20px;
}

.step-content{
    gap: 20px;
}
.step-content .icon{
    border: 1px solid var(--border);
    border-radius: 50%;
    height: fit-content;
}
.step-content .icon img{
    padding: 10px;
}
.step-card-content{
    text-align: left;
}
.step-img{
    width: 100%;
}

/* details-section */
.details-section{
    background-color: #fed9cd5d;
}

.details-section .container{
    display: flex;
    flex-direction: column;
    gap: 50px;
}
.inner-details-1 .img-fluid, .inner-details-2 .img-fluid{
    border-radius: 20px;
}

.inner-details-1 .custom-img{
    padding-right: 20px;

}
.inner-details-1 .inner-content{
    padding-left: 20px;
}

.inner-details-2 .custom-img{
    padding-left: 20px;

}

.inner-details-2 .inner-content{
    padding-right: 20px;
}


/* Trending Creations */
.masonry {
    column-count: 4;
    column-gap: 20px;
}
.masonry-item {
    position: relative;
    margin-bottom: 20px;
    cursor: pointer;
    border-radius: 15px;
    overflow: hidden;
}
.masonry-item img {
    width: 100%;
    display: block;
    border-radius: 15px;
    transition: transform 0.3s ease;
}
.masonry-item:hover img {
    transform: scale(1.05);
}
/* Play icon overlay */
.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.25)); /* PNG shadow */
}

/* 🖼️ Lightbox image fit to screen */
.modal-fit-image {
    max-width: 100%;
    max-height: 90vh; /* prevent scrolling */
    object-fit: contain; /* keep aspect ratio */
    display: block;
}

/* Audio Player inside image */
.audio-player-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.8);
    padding: 10px;
    display: none;
    z-index: 3;
}
.audio-player-wrapper audio {
    width: 100%;
}


/* Marquee wrapper with background */
.marquee {
    overflow: hidden;
    padding: 30px 0;
    color: var(--white);
    background: var(--accent);
}

/* Scrolling track */
.marquee__track {
    display: flex;
    width: fit-content;
    gap: 20px;
    white-space: nowrap;
    animation: marquee var(--speed, 20s) linear infinite;
}

/* Content (duplicate twice for seamless loop) */
.marquee__content {
    margin-bottom: 0;
    font-size: 24px;
}

/* Keyframes */
@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to   {
        transform: translateX(-50%);
    } /* because we duplicated the content */
}

/* testimonials Section Styling */
.testimonial-section {
    text-align: center;
}

.testimonial-section .container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
}

.section-subtext {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
}

/* Carousel Wrapper */
.testimonial-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px;
    scrollbar-width: none; /* Firefox */
}

.testimonial-carousel::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Testimonial Card */
.testimonial-card {
    text-align: left;
}

.testimonial-card.alt {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-img {
    aspect-ratio: 1 / 1.2;
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    margin: 0 auto 15px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 5px;
    font-size: 20px;
}

.testimonial-name {
    color: var(--accent);
    font-size: 18px;
    margin: 10px 0;
}

/* ✅ Swiper Pagination Bullets */
.testimonial-swiper .swiper-pagination-bullet {
    background: var(--text-dark); /* brand color */
    opacity: 0.4;
    transition: all 0.3s ease;
}

.testimonial-swiper .swiper-pagination-bullet-active {
    background: var(--text-dark); /* brand color */
    opacity: 1;
    transform: scale(1.2);
}


.app-banner {
    background: linear-gradient(90deg, var(--primary), #E0670D);
    box-shadow: inset 0 0 100px var(--primary-color);
    color: #fff;
    padding: 40px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    overflow: hidden;
    border-radius: 20px;
}

.app-banner img {
    width: 32%;
    margin-bottom: -45px;
    margin-right: 40px;
}

.app-banner .banner-text{
    width: 60%;
}

/* Between 1600px and 2000px */
@media (min-width: 1600px) and (max-width: 2000px) {

    .floating-images {
        top: 60% !important;
    }
    .floating-images img {
        width: 180px;
    }
}

/* Between 1367px and 1599px */
@media (min-width: 1367px) and (max-width: 1599px) {

    .floating-images {
        top: 70%;
    }
    .floating-images img {
        width: 160px ;
    }
}


/* ✅ Laptop (Large devices: 992px - 1366px) */
@media (min-width: 1024px) and (max-width: 1366px) {

    .floating-images img {
        width: 130px !important;
    }
    .floating-images {
        top: 75%;
    }
}
/* ✅ Laptop (Large devices: 992px - 1366px) */
@media (min-width: 992px) and (max-width: 1023px) {

    .floating-images img {
        width: 100px !important;
    }
    .floating-images {
        top: 80%;
    }
    .hero {
        height: calc(750px - 60px);
    }
}



/* ✅ Tablet (Medium devices: 768px - 991px) */
@media (max-width: 991px) {

    h1 {
        font-size: 36px;
    }
    h2{
        font-size: 30px;
    }
    h3 {
        font-size: 24px;
    }
    p{
        font-size: 14px;
    }
    .subtitle{
        font-size: 20px;
    }
    .container {
        max-width: 960px;
        padding: 0 20px;
    }
    .p-100{
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }
    .pb-100{
        padding-bottom: 60px !important;
    }

    .pt-100{
        padding-top: 60px !important;
    }
    .hero {
        height: fit-content;
    }
    .floating-images.left,
    .floating-images.right {
        display: none;
    }
    .hero-content .badge {
        font-size: 16px;
    }
    .largetext{
        font-size: 16px;
    }
    .hero-content p {
        font-size: 18px;
    }
    .members img {
        width: 40px;
        height: 40px;
    }
    .members span {
        font-size: 16px;
    }
    .tools-grid, .steps-grid{
        grid-template-columns: repeat(2, 1fr);
    }
    .card-overlay {
        opacity: 1;
        visibility: visible !important;
    }
    .inner-content{
        padding-top: 30px;
    }
    .inner-details-1 .custom-img {
        padding-right: 12px;
    }
    .inner-details-1 .inner-content {
        padding-left: 12px;
    }
    .inner-details-2 .custom-img {
        padding-left: 12px;
    }
    .inner-details-2 .inner-content {
        padding-right: 12px;
    }
    .masonry {
        column-count: 2;
    }
    .play-icon {
        width: 60px;
    }

    .marquee__content {
        font-size: 18px;
    }
    .testimonial-text {
        font-size: 18px;
    }
    .testimonial-name {
        font-size: 16px;
    }
    .app-banner {
        padding: 20px;
        justify-content: flex-end;
    }
    .app-banner .banner-text{
        width: 100%;
    }
    .app-banner img {
        width: 80%;
        margin-bottom: -45px;
        margin-right: 0;
    }



}

/* ✅ Mobile (Small devices: up to 767px) */
@media (max-width: 767px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
    .tools-grid, .steps-grid{
        grid-template-columns: repeat(1, 1fr);
    }
    .masonry {
        column-count: 2;
        gap: 5px;
    }
    .masonry-item {
        margin-bottom: 5px;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 100%;
        padding: 0 12px;
    }
}