﻿.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: -15px;
    z-index: 99999;
    background-color: #1A73E9;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50px;
    transition: all 0.4s;
}

    .scroll-top i {
        font-size: 24px;
        color: var(--contrast-color);
        line-height: 0;
    }

    .scroll-top:hover {
        background-color: #1359C8;
        color: #fff;
    }

    .scroll-top.active {
        visibility: visible;
        opacity: 1;
        bottom: 15px;
    }

.imagebg {
    background-image: url('../images/bg-overlay.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}



.about-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, #e9f2f9 0%, #d6e7f5 25%, #c7ddf0 50%, #dbeaf7 75%, #e9f2f9 100% );
    background-size: 250% 250%;
    animation: gradientMove 20s ease-in-out infinite;
}

    .about-hero h1 {
        position: relative;
        color: var(--color-blue5);
    }

    /* Wavy flowing overlay */
    .about-hero::before {
        content: "";
        position: absolute;
        top: -20%;
        left: -10%;
        width: 120%;
        height: 140%;
        background: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.5), transparent 60%), radial-gradient(circle at 80% 70%, rgba(255,255,255,0.4), transparent 65%);
        animation: waveFlow 14s ease-in-out infinite alternate;
        opacity: 0.7;
    }

    .about-hero::after {
        content: "";
        position: absolute;
        bottom: -30px;
        left: 0;
        width: 200%;
        height: 120px;
        background: radial-gradient(ellipse at center, rgba(255,255,255,0.6) 0%, transparent 70%);
        animation: waveMove 12s ease-in-out infinite;
        opacity: 0.5;
    }

.about-heading {
    font-size: 30px !important;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes waveFlow {
    0% {
        transform: translateX(0px) translateY(0px) scale(1);
    }

    50% {
        transform: translateX(40px) translateY(20px) scale(1.05);
    }

    100% {
        transform: translateX(-30px) translateY(10px) scale(1.02);
    }
}

@keyframes waveMove {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-25%);
    }

    100% {
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .about-container {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .about-container-inner {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }

    .about-heading {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .about-heading {
        font-size: 1.25rem !important;
    }
}