* {
    font-family: Arial, Helvetica, sans-serif;
}

.text-primary {
    color: #2267A5 !important;
}

.bg-image {
    position: relative;
    height: 73vh;
    overflow: hidden;
}

/* Background image with flowing animation */
.bg-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/main/images/riv1.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
    /* Keeps it behind the content */
    animation: riverFlow 8s infinite alternate ease-in-out;
    transform-origin: center;
    background-repeat: no-repeat;
}

/* Black overlay for the background */
/* .bg-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: 0; 
} */
.bg-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 140px;
    /* Overlay fades out over the top 300px */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(0, 0, 0, 0));
    z-index: 0;
    /* Ensures overlay stays on top of the background image */
}


/* Flow animation */
@keyframes riverFlow {
    0% {
        transform: scale(1) translateX(0) translateY(0);
    }

    25% {
        transform: scale(1.02) translateX(-6px) translateY(-5px);
    }

    50% {
        transform: scale(1.05) translateX(10px) translateY(5px);
    }

    75% {
        transform: scale(1.02) translateX(-10px) translateY(5px);
    }

    100% {
        transform: scale(1) translateX(0) translateY(0);
    }
}

.section-text {
    position: absolute;
    top: 40%;
    left: 10%;
    transform: translateY(-50%);
    color: white;
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
}

/* Custom Style for Navbar */


.navbar-nav {
    width: 100%;
    display: flex;
    justify-content: space-around;
}

.navbar-nav .nav-item .nav-link {
    font-size: 1.1rem;
    font-weight: 500;
    padding: 12px 18px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-item .nav-link:hover {
    /* background-color: #007bff; */
    color: rgb(28, 133, 231);
    /* border-radius: 5px; */
}

/* Styling for "Sarswati by Ganga" */
.center-text {
    font-size: 3.5rem;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    margin-top: 40px;
    letter-spacing: 5px;
}

/* Section Text Styling */
.section-text {
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

/* Main logo */
.main-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Image */
.container-fluid .row .col-sm-8 .main-logo .logo-image-section img {
    width: 80% !important;
}

.logo-text {
    font-weight: 700;
    font-size: 45;

}

.logo-text-section p i {
    font-weight: 500;
}

.main-slug-line {
    font-weight: 600;
    font-size: 20px;
}

/* Image */
.bg-image img {
    width: 40%;
    height: 100%;
    transform: translatex(0px) translatey(0px) !important;
    position: absolute;
    right: -19px;
}

/* Section text */
.bg-image .section-text {
    text-transform: capitalize;
    font-size: 32px;
    color: #020202;
    text-shadow: rgb(255, 255, 255) 1px 1px 0px, rgb(198, 234, 159) 2px 2px 0px;
}

/* Container fluid */
/* .navbar .container-fluid{
    border-bottom-style:solid;
    border-bottom-width:1px !important;
    border-bottom-color:#e9eaec;
    padding-left:12px;
   } */

/* Link */
.navbar-nav .nav-item a {
    padding-left: 3px !important;
    padding-right: 3px !important;
    padding-top: 3px !important;
    padding-bottom: 3px !important;
}

/* Link */
.navbar-nav .nav-item a {
    color: #000000;
}

/* List */
#navbarNav ul {
    background-color: rgba(217, 215, 215, 0.2);
}

/* Link */
/* .navbar-nav .nav-item a:hover{
    background-color:#dcf3fd;
   } */

@media (max-width:768px) {

    /* Image */
    .bg-image img {
        bottom: -1px;
        height: 284px;
        width: 288px;
    }

    /* Division */
    .row .ps-1 {
        visibility: visible;
        display: none;
    }

    /* Text end */
    .row .text-end {
        display: none;
    }

    /* Heading */
    .main-logo .logo-text-section h1 {
        font-size: 35px;
    }

    /* Main logo */
    .row .main-logo {
        transform: translatex(0px) translatey(0px);
    }

    /* Logo text section */
    .col-sm-8 .main-logo .logo-text-section {
        padding-top: 0px;
    }

    /* Italic Tag */
    .logo-text-section p i {
        font-size: 14px;
    }

    /* Main slug line */
    .row .main-slug-line {
        font-size: 18px;
    }

    /* Navigation */
    nav {
        transform: translatex(0px) translatey(0px);
    }

    .bg-image {
        position: relative;
        height: 63vh;
        overflow: hidden;
    }

}

/* Nav main title */
.row .test-start .nav-main-title {
    font-weight: 700;
    font-size: 35px;
}

/* Navigation */
nav {
    background-color: #ffffff !important;
    padding-bottom: 2px !important;
    padding-top: 2px !important;
}

/* List */
#navbarNav ul {
    background-color: #ffffff;
}

.image-container img {
    mix-blend-mode: multiply;
   
    display: block;
}