 /* Animations */
    @keyframes slideInFromLeft {
        0% {
            transform: translateX(-100%);
            opacity: 0;
        }

        100% {
            transform: translateX(0);
            opacity: 1;
        }
    }

    @keyframes fadeInScale {
        0% {
            opacity: 0;
            transform: scale(0.8);
        }

        100% {
            opacity: 1;
            transform: scale(1);
        }
    }

    @keyframes pulse {

        0%,
        100% {
            transform: scale(1);
        }

        50% {
            transform: scale(1.05);
        }
    }

     @keyframes shadowFade {

        0%,
        100% {
            box-shadow: 0 0 20px rgba(0, 22, 82, 0.9);
        }

        50% {
            box-shadow: 0 0 30px rgba(0, 140, 255, 0.95);
        }
    }

    @keyframes rotateRing {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }

    /* Utility classes */
    .animate-slide-in {
        animation: slideInFromLeft 1s ease-out;
    }

    .animate-fade-in-scale {
        animation: fadeInScale 0.8s ease-in-out;
    }

    .animate-pulse {
        animation: pulse 2s ease-in-out infinite;
    }

    .animate-shadow-fade {
        animation: shadowFade 2s ease-in-out infinite;
    }

    /* Image container with rotating ring */
    .image-container {
        position: relative;
        width: 300px;
        height: 300px;
        border-radius: 50%;
        overflow: hidden;
        animation: shadowFade 2s ease-in-out infinite;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
        z-index: 1;
        background-color: #ffffff;
        /* Optional: sets background to make ring more visible */
    }

    .image-container::before {
        content: "";
        position: absolute;
        top: -10px;
        left: -10px;
        width: 320px;
        height: 320px;
        border-radius: 50%;
        border: 5px solid transparent;
        border-top-color: #ff6b6b;
        /* Pink */
        border-right-color: #6bc5ff;
        /* Light blue */
        border-bottom-color: #6bffb6;
        /* Mint green */
        border-left-color: #ffc36b;
        /* Orange */
        animation: rotateRing 4s linear infinite;
        z-index: 0;
    }

    .feature-title {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        background-color: #007bff;
        color: white;
        padding: 0.5rem 1.2rem;
        border-radius: 25px;
        font-weight: 600;
        font-size: 1rem;
        transition: all 0.3s ease;
        cursor: pointer;
        box-shadow: 0 4px 6px rgba(0, 123, 255, 0.3);
    }

    .feature-title i {
        font-size: 1.1rem;
        line-height: 1;
    }

    .feature-title:hover {
        background-color: #0056b3;
        box-shadow: 0 6px 12px rgba(0, 123, 255, 0.5);
        transform: translateY(-2px);
    }

    .feature-title:hover i {
        transform: scale(1.1);
        transition: transform 0.3s ease;
    }

    .image-hover-zoom {
        transition: transform 0.5s ease, box-shadow 0.5s ease;
    }

    .image-hover-zoom:hover {
        transform: scale(1.05);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    .image-scroll-animate {
        opacity: 0;
        transform: scale(0.9);
        transition: all 0.6s ease-out;
        will-change: transform, opacity;
    }

    .image-scroll-animate.visible {
        opacity: 1;
        transform: scale(1);
    }

    .feedback-card img {
        transition: transform 0.5s ease;
    }

    .feedback-card:hover img {
        transform: scale(1.1);
    }

    .flip-card {
        perspective: 1000px;
    }

    .flip-card-inner {
        position: relative;
        width: 100%;
        height: 100%;
        transition: transform 0.6s;
        transform-style: preserve-3d;
    }

    .flip-card:hover .flip-card-inner {
        transform: rotateY(180deg);
    }

    .flip-card-front,
    .flip-card-back {
        backface-visibility: hidden;
        border-radius: 0.5rem;
        overflow: hidden;
    }

    .flip-card-front {
        position: relative;
        z-index: 2;
    }

    .flip-card-back {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #0d6efd;
        color: white;
        text-align: center;
        transform: rotateY(180deg);
        z-index: 1;
    }

    .view-btn {
        opacity: 0;
        transition: opacity 0.3s;
    }

    .flip-card-front:hover .view-btn {
        opacity: 1;
    }

    .wave-btn {
        position: relative;
        width: 80px;
        height: 80px;
        font-size: 1.5rem;
        border: none;
        border-radius: 50%;
        overflow: hidden;
        z-index: 1;
        background-color: #2878EB;
        color: white;
        transition: transform 0.5s ease-in-out;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .wave-btn:hover {
        transform: scale(1.1);
    }

    .wave-btn::before,
    .wave-btn::after {
        content: "";
        position: absolute;
        border: 2px solid #2878EB;
        border-radius: 50%;
        width: 160%;
        height: 160%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        animation: ripple 2.5s infinite ease-out;
        z-index: -1;
        opacity: 0.4;
    }

    .wave-btn::after {
        animation-delay: 1.25s;
    }

    @keyframes ripple {
        0% {
            transform: translate(-50%, -50%) scale(0.7);
            opacity: 0.6;
        }

        100% {
            transform: translate(-50%, -50%) scale(2);
            opacity: 0;
        }
    }

    /* Maintain 9:16 aspect ratio */
   .embed-9by16 {
        position: relative;
        width: 100%;
        padding-bottom: 177.77%;
        /* 9:16 aspect ratio */
        height: 0;
    }

    .embed-9by16 iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;

        border-radius: 12px;
        /* optional for rounded corners */
        box-shadow:
            0 0 0 2px rgb(0, 106, 255),
            /* inner faint border */
            0 0 8px 4px rgb(3, 0, 43),
            /* middle soft glow */
            0 0 20px 10px rgba(0, 2, 7, 1);
        /* outer subtle halo */
        transition: box-shadow 0.3s ease;
    }

    /* Force modal full height on mobile */
    @media (max-width: 576px) {
        .modal-dialog {
            margin: 0;
            height: 100vh;
            max-width: 100% !important;
        }

        .modal-content {
            height: 100%;
            border-radius: 0;
        }

        .modal-body {
            height: 100%;
        }
    }