.yt-video-wrapper {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.yt-video-wrapper::before {
    content: "";
    display: block;
    padding-top: 56.25%;
}

/* 16:9 fallback */
.yt-video-wrapper>iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@supports (aspect-ratio: 16 / 9) {
    .yt-video-wrapper {
        aspect-ratio: 16 / 9;
    }

    .yt-video-wrapper::before {
        display: none;
    }
}

:root {
    --wp-bg: #363435;
    --wp-bg-light: #4a4849;
    --wp-bg-dark: #2b292a;
    --wp-accent: #f5b942;
    --wp-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.why-popular {
    background: var(--wp-bg);
    padding: 60px 20px;
    color: #fff;
    text-align: center;
}

.why-popular .wp-wrap {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background: var(--wp-bg-dark);
    border-radius: 20px;
    backdrop-filter: blur(6px);
    box-shadow: var(--wp-shadow);
    overflow: hidden;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-popular .wp-wrap:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(245, 185, 66, 0.3);
}

/* Animated Border */
.why-popular .wp-wrap::before {
    content: "";
    position: absolute;
    inset: -2px;
    /* border area */
    border-radius: 20px;
    padding: 2px;
    background: conic-gradient(from 0deg,
            var(--wp-accent),
            transparent 90deg,
            var(--wp-accent) 180deg,
            transparent 270deg,
            var(--wp-accent) 360deg);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: spin-border 4s linear infinite;
    z-index: -1;
}

@keyframes spin-border {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.why-popular h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--wp-accent);
    letter-spacing: 1px;
}

.why-popular p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e2e2e2;
    margin-bottom: 0;
}

.applications-section {
    padding: 60px 20px;
    text-align: center;
}

.applications-section .section-title {
    font-size: 32px;
    margin-bottom: 40px;
    font-weight: bold;
    color: #333;
}

.application-box {
    background: #fff;
    border: 2px solid #f5b316;
    border-radius: 20px;
    padding: 30px 20px;
    margin-bottom: 30px;
    transition: all 0.4s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.application-box i {
    font-size: 40px;
    color: #f5b316;
    margin-bottom: 15px;
    transition: transform 0.4s ease;
}

.application-box h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: bold;
    color: #222;
}

.application-box p {
    font-size: 14px;
    color: #555;
}

.application-box:hover {
    background: #f5b316;
    color: #fff;
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.application-box:hover i {
    color: #fff;
    transform: rotate(20deg) scale(1.2);
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating {
    animation: floating 4s ease-in-out infinite;
}

.delay1 {
    animation-delay: 0.5s;
}

.delay2 {
    animation-delay: 1s;
}

.delay3 {
    animation-delay: 1.5s;
}

.delay4 {
    animation-delay: 2s;
}

.delay5 {
    animation-delay: 2.5s;
}

@media (max-width: 768px) {
    .application-box {
        margin: 15px 0;
    }
}

/* Overlay */
.popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

/* Popup Box */
.popup-box {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: slideUp 0.4s ease;
}

/* Title */
.popup-title {
    text-align: center;
    margin-bottom: 15px;
    color: #25D366;
    /* WhatsApp Green */
    font-size: 22px;
    font-weight: bold;
}

/* Form Fields */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    transition: 0.3s;
}

.form-group input:focus {
    border-color: #25D366;
    box-shadow: 0px 0px 6px rgba(37, 211, 102, 0.4);
    outline: none;
}

/* Button */
.popup-btn {
    width: 100%;
    padding: 12px;
    background: #25D366;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.popup-btn:hover {
    background: #1da851;
}

/* Close Button */
.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: 0.3s;
}

.popup-close:hover {
    color: #000;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/*popup css*/
:root {
        --yellow: #f3ba3f;
        --dark: #363435;
        --white: #ffffff;
    }

    .eco-wrapper {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .eco-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 40px;
    }

    .eco-card {
        position: relative;
        background: linear-gradient(180deg, #3a3938, #2b2a2a);
        border-radius: 18px;
        text-align: center;
        padding: 40px 25px;
        overflow: hidden;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        transition: all 0.5s ease;
    }

    .eco-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 25px rgba(0, 0, 0, 0.25);
    }

    .eco-card::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 18px;
        padding: 2px;
        background: linear-gradient(45deg, var(--yellow), transparent, var(--yellow));
        -webkit-mask:
            linear-gradient(#fff 0 0) content-box,
            linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        pointer-events: none;
        opacity: 0.4;
        transition: opacity 0.4s ease;
    }

    .eco-card:hover::before {
        opacity: 1;
    }

    .eco-card h3 {
        position: relative;
        color: var(--white);
        font-size: 1.1rem;
        font-weight: 500;
        line-height: 1.6;
        z-index: 2;
        margin-bottom: 25px;
        transition: color 0.3s ease;
    }

    .eco-card:hover h3 {
        color: var(--yellow);
    }

    .eco-card button {
        background: var(--yellow);
        color: var(--dark);
        border: none;
        font-weight: 600;
        padding: 12px 26px;
        border-radius: 6px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .eco-card button:hover {
        background: var(--white);
        color: var(--dark);
        transform: scale(1.05);
    }

    /* popup design */
    .popup {
        position: fixed;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.65);
        visibility: hidden;
        opacity: 0;
        transition: all 0.3s ease;
        z-index: 1000;
    }

    .popup.active {
        visibility: visible;
        opacity: 1;
    }

    .popup-content {
        background: rgba(54, 52, 53, 0.85);
        backdrop-filter: blur(15px);
        border-radius: 15px;
        border: 2px solid var(--yellow);
        padding: 40px;
        color: var(--white);
        text-align: left;
        max-width: 700px;
        width: 90%;
        max-height: 80vh;
        overflow-y: auto;
        animation: zoomIn 0.4s ease forwards;
        position: relative;
    }

    @keyframes zoomIn {
        from {
            transform: scale(0.8);
            opacity: 0;
        }

        to {
            transform: scale(1);
            opacity: 1;
        }
    }

    .popup-content h2 {
        color: var(--yellow);
        margin-bottom: 15px;
    }

    .popup-content p {
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .popup-content ul {
        margin: 15px 0 15px 20px;
        line-height: 1.6;
    }

    .popup-content li {
        margin-bottom: 10px;
    }

    .close-btn {
        position: absolute;
        top: 12px;
        right: 16px;
        background: none;
        border: none;
        color: var(--yellow);
        font-size: 20px;
        cursor: pointer;
        transition: transform 0.3s;
    }

    .close-btn:hover {
        transform: rotate(90deg);
    }

    @media(max-width:768px) {
        .eco-card {
            padding: 30px 20px;
        }

        .eco-card h3 {
            font-size: 1rem;
        }
    }
 /*Advantage Section Css   */
.advantage-card {
    background: #fff;
    border-radius: 18px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.5s ease;
    text-align: left;
    padding: 30px;
}

/* Animated gradient border */
.advantage-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 2px;
    background: linear-gradient(135deg, #f3ba3f, #ffde77, #f3ba3f);
    background-size: 300% 300%;
    animation: gradientMove 4s ease infinite;
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.advantage-card .icon {
    font-size: 2.3rem;
    color: #f3ba3f;
    transition: transform 0.4s ease, text-shadow 0.4s ease;
    display: inline-block;
    margin-bottom: 12px;
}

/* Hover Effects */
.advantage-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 10px 35px rgba(243, 186, 63, 0.25);
    background: linear-gradient(180deg, #fff, #fff9e9);
}

.advantage-card:hover .icon {
    transform: scale(1.3) rotate(10deg);
    text-shadow: 0 0 15px rgba(243, 186, 63, 0.6);
}

/* Title + Text Styling */
.advantage-card h4 {
    color: #222;
    font-weight: 600;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.advantage-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.advantage-card:hover h4 {
    color: #f3ba3f;
}

/* Small responsive adjustments */
@media (max-width: 768px) {
    .advantage-card {
        padding: 25px;
    }
    .advantage-card .icon {
        font-size: 2rem;
    }
}

.toshi-journey-section {
    /* background: linear-gradient(180deg, #fffdf5 0%, #fffaf0 100%); */
    position: relative;
    text-align: center;
    overflow: hidden;
}

.toshi-journey-title {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.toshi-journey-title::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, #f3ba3f, #ffd972);
}

.toshi-journey-sub {
    font-size: 1.1rem;
    color: #555;
    margin-top: 15px;
    font-style: italic;
}

.toshi-journey-text {
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 850px;
    margin: 0 auto;
}

.toshi-journey-text span {
    color: #f3ba3f;
    font-weight: 600;
}

.toshi-journey-end {
    font-size: 1.2rem;
    color: #222;
    line-height: 1.6;
}

.toshi-journey-end span {
    color: #f3ba3f;
    font-weight: 700;
}

.toshi-journey-btn {
    display: inline-block;
    background: linear-gradient(135deg, #f3ba3f, #ffd972);
    color: #222;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(243, 186, 63, 0.3);
}

.toshi-journey-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(243, 186, 63, 0.45);
    background: linear-gradient(135deg, #ffd972, #f3ba3f);
}

.toshi-journey-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.toshi-journey-btn:hover i {
    transform: translateX(4px);
}

/* Fade-in animation */
@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.toshi-journey-section h2,
.toshi-journey-section p,
.toshi-journey-section h4,
.toshi-journey-btn {
    opacity: 0;
    animation: fadeUp 1s ease forwards;
}

.toshi-journey-section h2 {
    animation-delay: 0.2s;
}

.toshi-journey-section p {
    animation-delay: 0.4s;
}

.toshi-journey-section h4 {
    animation-delay: 0.6s;
}

.toshi-journey-btn {
    animation-delay: 0.8s;
}

@media (max-width: 768px) {
    .toshi-journey-title {
        font-size: 1.6rem;
    }

    .toshi-journey-btn {
        font-size: 0.95rem;
        padding: 10px 22px;
    }
}

.toshi-animated-section {
    position: relative;
    background: linear-gradient(135deg, #eef3f7 0%, #f9f9f9 100%);
    overflow: hidden;
    padding: 80px 0;
}

/* Text Styles */
.toshi-animated-title {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    line-height: 1.4;
    animation: textFadeIn 1s ease forwards;
}

.toshi-animated-title span {
    color: #f3ba3f;
    background: linear-gradient(90deg, #f3ba3f, #ffc85c, #f3ba3f);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: gradientMove 3s ease infinite;
}

.toshi-animated-text {
    color: #555;
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.3s;
}

.toshi-animated-text.highlight {
    font-style: italic;
    color: #000;
    font-weight: 500;
}

.toshi-animated-sub {
    font-size: 1.3rem;
    font-weight: 600;
    color: #f3ba3f;
    letter-spacing: 1px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

/* Button Styles */
.btn-animated {
    background: #f3ba3f;
    color: #000;
    font-weight: 600;
    border-radius: 50px;
    padding: 12px 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-animated::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: rgba(255, 255, 255, 0.3);
    transform: skewX(-20deg);
    transition: all 0.5s ease;
    z-index: 0;
}

.btn-animated:hover::before {
    left: 100%;
}

.btn-animated:hover {
    background: #000;
    color: #fff;
    transform: translateY(-3px);
}

/* Bubbles Animation */
.bubbles span {
    position: absolute;
    bottom: -50px;
    width: 20px;
    height: 20px;
    background: rgba(243, 186, 63, 0.3);
    border-radius: 50%;
    animation: bubbleRise 6s infinite ease-in;
}

.bubbles span:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    width: 15px;
    height: 15px;
}

.bubbles span:nth-child(2) {
    left: 30%;
    animation-delay: 1s;
    width: 25px;
    height: 25px;
}

.bubbles span:nth-child(3) {
    left: 50%;
    animation-delay: 2s;
    width: 20px;
    height: 20px;
}

.bubbles span:nth-child(4) {
    left: 70%;
    animation-delay: 1.5s;
    width: 18px;
    height: 18px;
}

.bubbles span:nth-child(5) {
    left: 90%;
    animation-delay: 0.5s;
    width: 22px;
    height: 22px;
}

/* Animations */
@keyframes bubbleRise {
    0% {
        transform: translateY(0) scale(0.5);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateY(-600px) scale(1);
        opacity: 0;
    }
}

@keyframes gradientMove {
    0% {
        background-position: 0%
    }

    50% {
        background-position: 100%
    }

    100% {
        background-position: 0%
    }
}

@keyframes textFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media(max-width:768px) {
    .toshi-animated-title {
        font-size: 1.6rem;
    }

    .toshi-animated-text {
        font-size: 0.95rem;
    }
}

.advantage-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    text-align: left;
}

.advantage-card .icon {
    font-size: 2rem;
    color: #f3ba3f;
    transition: transform 0.4s ease;
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.advantage-card:hover .icon {
    transform: scale(1.2) rotate(10deg);
}
