/* ============================= */
/*        Text Animations        */
/* ============================= */

/* Smooth Fade-in Transition for Headings & Paragraphs */
h1, h2, p {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

/* Visible Class (Applied When Element is in View) */
.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================= */
/*       Floating Bubbles        */
/* ============================= */

.bubble-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Individual Bubble Styling */
.bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: float linear infinite;
    opacity: 0;
}

/* Floating Animation */
@keyframes float {
    0% {
        transform: translateY(100vh) scale(0.5);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    100% {
        transform: translateY(-10vh) scale(1);
        opacity: 0;
    }
}

/* ============================= */
/*        Hero Section           */
/* ============================= */

#hero-section {
    position: relative;
    overflow: hidden;
}

/* ============================= */
/*         Card Styles           */
/* ============================= */

.card-hover {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover .card-body {
    flex-grow: 1;
}

/* Card Hover Effect */
.card-hover:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

/* Card Title Color Change on Hover */
.card-hover:hover .card-title {
    color: #007bff;
}

/* ============================= */
/*       Accordion Styles        */
/* ============================= */

/* Reset Accordion Button Styles */
.accordion-button {
    outline: none;
    box-shadow: none;
    background: none;
    border: none;
    color: inherit;
}

/* Ensure Focus & Active States Remain Clean */
.accordion-button:focus,
.accordion-button:active,
.accordion-button:not(.collapsed) {
    outline: none;
    box-shadow: none;
    background: none;
    border: none;
    color: inherit;
}

/* ============================= */
/*       text videos             */
/* ============================= */

.text_video {
    max-width: 200px;
    vertical-align: middle;
    margin: 0 0px;
    border-radius: 45%; /* or 50% for a circle if it's a square */
    overflow: hidden; /* optional: ensures the corners are actually clipped */
}


@media (max-width: 576px) {
    .text_video {
        max-width: 80px;
    }
}