﻿#blinking-button {
    padding: 8px 12px;
    border-radius: 5px;
}

@keyframes blink {
    0%, 100% {
        background-color: #3F06FF;
    }

    50% {
        background-color: red;
    }
}

#blinking-button {
    color: white;
    animation: blink 1s linear infinite;
}

/*.herobtn{
        position: absolute;
        z-index:999;
        height: auto;*/
/* background-color: #0e0e0e; */
/*width: 250px;
        right: 0;
        top: 165px;
    }*/


.footer {
    background-color: #212529;
    color: #ffffff;
    padding: 50px 0;
    font-size: 15px;
}

    .footer a {
        color: #ffffff;
        text-decoration: none;
    }

        .footer a:hover {
            color: #ffc107;
        }

    .footer h4 {
        font-size: 18px;
        margin-bottom: 20px;
        position: relative;
        display: inline-block;
    }

        .footer h4::after {
            content: "";
            width: 40px;
            height: 2px;
            background: #ffc107;
            display: block;
            margin-top: 5px;
        }

    .footer .fab {
        color: #ffffff;
        transition: color 0.3s;
    }

        .footer .fab:hover {
            color: #ffc107;
        }

    .footer iframe {
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(0,0,0,0.4);
    }

.news-scroll-wrapper {
    height: 165px;
    overflow: hidden;
    position: relative;
}

.news-scroll-inner {
    animation: scrollNews 43s linear infinite;
    display: flex;
    flex-direction: column;
}

@keyframes scrollNews {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-100%);
    }
}

.news-img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}

/* Responsive behavior */
@media (max-width: 767.98px) {
    .news-item {
        flex-direction: column !important;
    }

    .news-img {
        width: 100%;
        height: auto;
    }
}

.news-img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/*<%--*/ /*toppers css*/ /*--% >*/
.carousel-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.carousel-track-wrapper {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 16px;
    transition: transform 0.5s ease;
}

.carousel-card {
    flex: 0 0 calc(50% - 8px); /* 2 cards per row on large screens */
    max-width: calc(50% - 8px);
    height: 250px;
    background-color: #2524e0;
    opacity: 0.9;
    background: radial-gradient(circle, transparent 20%, #2524e0 20%, #2524e0 80%, transparent 80%, transparent), radial-gradient(circle, transparent 20%, #2524e0 20%, #2524e0 80%, transparent 80%, transparent) 15px 15px, linear-gradient(#f94a5b 1.2px, transparent 1.2px) 0 -0.6px, linear-gradient(90deg, #f94a5b 1.2px, #2524e0 1.2px) -0.6px 0;
    background-size: 30px 30px, 30px 30px, 15px 15px, 15px 15px;
    border-radius: 10px;
    text-align: center;
    padding: 1rem;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

    .carousel-card img {
        width: 170px;
        height: 170px;
        object-fit: cover;
        border-radius: 10%;
        margin-bottom: 10px;
    }

    .carousel-card h6,
    .carousel-card p {
        color: white;
    }


@media (max-width: 490px) {
    .carousel-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.carousel-btn {
    background-color: transparent;
    color: white;
    border: none;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    z-index: 9999;
}

.birthday-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    gap: 1rem;
}

.student-info {
    text-align: center;
    position: relative;
    margin-bottom: 1rem;
}

.balloon-left,
.balloon-right {
    position: absolute;
    top: 20%;
    width: 60px;
}

.balloon-left {
    left: -30px;
}

.balloon-right {
    right: -30px;
}

.student-photo {
    width: 180px;
    height: 180px;
    border-radius: 12px;
    object-fit: cover;
    max-width: 100%;
}

.student-wishes {
    background-image: url('img/bg-image.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 10px;
    padding: 25px;
    color: red;
    height: auto;
    overflow-y: auto;
    min-height: 230px;
}

.overlay {
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.4); /* optional if you want to dim */
}

.student-wishes-content {
    position: relative;
    z-index: 1;
    margin-top: 20px;
}

.fade-in {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#wish-title {
    font-family: 'Angeline Regular', cursive;
    font-size: 2rem;
    font-weight: normal;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .balloon-left {
        left: 65px;
    }

    .balloon-right {
        right: 65px;
    }

    .student-photo {
        width: 150px;
        height: 150px;
    }

    .student-wishes {
        margin-left: -2rem;
    }

    #wish-title {
        font-size: 1.8rem;
    }

    .student-wishes {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .student-photo {
        width: 120px;
        height: 120px;
    }

    .student-wishes {
        padding: 15px;
    }

    #wish-title {
        font-size: 1.6rem;
    }
}

.labbox {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.4s ease, filter 0.4s ease;
}

    .labbox:hover {
        transform: scale(1.03);
        filter: brightness(1.1);
    }

    .labbox::after {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
    }

.text-area {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
}

    .text-area h4 {
        font-weight: bold;
        font-size: 1rem;
        margin: 10px 0;
        letter-spacing: 1px;
    }

    .text-area img.icon {
        height: 60px;
        margin-bottom: 10px;
    }

    .text-area img.line {
        width: 60px;
        margin-top: 10px;
    }

.overlay-link {
    text-decoration: none;
}

/* lofty-app-start */
/*----------------------------------------*/
.app-store-btns {
    width: 100%;
    padding-bottom: 20px;
}

    .app-store-btns a {
        gap: 10px;
        margin-bottom: 10px;
        font-size: 14px;
        flex-grow: 1;
        flex-basis: 0;
        text-decoration: none;
        color: #000;
        background: #fff;
        background-repeat: no-repeat;
        padding: 6px 12px 6px 44px;
        min-height: 40px;
        font-weight: 400;
        background-position: 16px;
        display: inline-flex;
        align-items: center;
        border-radius: 5px;
        border-bottom: none;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        -ms-border-radius: 5px;
        -o-border-radius: 5px;
    }

        .app-store-btns a.apple {
            background-image: url("data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTkuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeD0iMHB4IiB5PSIwcHgiIHZpZXdCb3g9IjAgMCAzMDUgMzA1IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAzMDUgMzA1OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgd2lkdGg9IjI0cHgiIGhlaWdodD0iMjRweCI+CjxnIGlkPSJYTUxJRF8yMjhfIj4KCTxwYXRoIGlkPSJYTUxJRF8yMjlfIiBkPSJNNDAuNzM4LDExMi4xMTljLTI1Ljc4NSw0NC43NDUtOS4zOTMsMTEyLjY0OCwxOS4xMjEsMTUzLjgyQzc0LjA5MiwyODYuNTIzLDg4LjUwMiwzMDUsMTA4LjIzOSwzMDUgICBjMC4zNzIsMCwwLjc0NS0wLjAwNywxLjEyNy0wLjAyMmM5LjI3My0wLjM3LDE1Ljk3NC0zLjIyNSwyMi40NTMtNS45ODRjNy4yNzQtMy4xLDE0Ljc5Ny02LjMwNSwyNi41OTctNi4zMDUgICBjMTEuMj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TAuMzQ1LTQ1Ljk3NCwyMy41ODNjLTkuNjA1LDExLjEyNy0xOC45ODgsMjkuNjc5LTE2LjUxNiw0OC4zNzkgICBjMC4xNTUsMS4xNywxLjEwNywyLjA3MywyLjI4NCwyLjE2NGMxLjA2NCwwLjA4MywyLjE1LDAuMTI1LDMuMjMyLDAuMTI2YzE1LjQxMywwLDMyLjA0LTguNTI3LDQzLjM5NS0yMi4yNTcgICBjMTEuOTUxLTE0LjQ5OCwxNy45OTQtMzMuMTA0LDE2LjE2Ni00OS43N0MyMTQuNTQ0LDAuOTIxLDIxMy4zOTUtMC4wNDksMjEyLjEwMSwwLjAwMnoiIGZpbGw9IiMyZTJlMmUiLz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8L3N2Zz4K");
            background-size: 21px 25px;
        }

        .app-store-btns a.google {
            background-image: url("https://psycatgames.com/images/supporting/google-play.svg");
            background-size: 22px 25px;
        }


/* Base styles (up to 575.98px) */
.section-heading {
    color: #0069d9;
    font-weight: bold;
    font-size: 1.2rem;
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

    .section-heading span {
        display: inline-block;
        border-bottom: 2px solid #dc3545;
        padding-bottom: 4px;
        word-break: break-word;
    }

/* Enhanced styles for screens >= 576px */
@media (min-width: 576px) {
    .section-heading {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

        .section-heading span {
            border-bottom: 4px solid #dc3545;
            padding-bottom: 6px;
        }
}

.news-spacing {
    margin-top: -130px;
}

@media screen and (max-width: 600px) {
    .news-spacing {
        margin-top: -30px;
    }
}

.student-wishes {
    margin-left: 4rem;
}

@media screen and (max-width: 767px) {
    .student-wishes {
        margin-left: 0rem;
        margin-bottom: 1rem;
    }
}

@media screen and (max-width: 500px) {
    .parent-portal-btn {
        display: none !important;
    }
}

@media (max-width: 576px) {
    html, body {
        overflow-x: hidden;
    }
}
