/********** Template CSS **********/
:root {
    --primary: #123458;
    --secondary: #FF6922;
    --light: #EFFDF5;
    --dark: #0E2E50;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** Button ***/
.btn {
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}

.topbar .dropdown-toggle::after {
    border: none;
    color: var(--bs-primary)
}

.topbar .dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white)
}

.topbar .dropdown .dropdown-menu {
    transform: rotateX(0);
    visibility: visible;
    background: var(--bs-light);
    padding-top: 10px;
    border: 0;
    transition: .5s;
    opacity: 1
}

/*** Navbar ***/
.nav-bar {
    position: relative;
    margin-top: 45px;
    padding: 0 3rem;
    transition: .5s;
    z-index: 9999;
}

.nav-bar.sticky-top {
    position: sticky;
    padding: 0;
    z-index: 9999;
}

.navbar {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
}

a.btn.btn-dark.px-3.d-none.d-lg-flex {
    transition: background-color 0.3s ease, transform 0.3s ease;
}

a.btn.btn-dark.px-3.d-none.d-lg-flex:hover {
    transform: translateY(-3px);
    cursor: pointer;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
    transition: .5s;
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .nav-bar {
        margin: 0;
        padding: 0;
    }

    .navbar-light .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: 100%;
        margin-top: 0;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/*** Header ***/
@media (min-width: 992px) {
    .header {
        margin-top: -120px;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: -25px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 40px;
    font-size: 20px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}

@media (max-width: 768px) {
    .header-carousel .owl-nav {
        left: 25px;
    }
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #DDDDDD;
}

.btn.text-dark {
    background-color: #8DD8FF;
    color: #212529;
    border-radius: 4px;
    border: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn.text-dark:hover {
    color: white !important;
    background-color: #123458;
}

.header-section {
    position: relative;
    height: 60vh;
    min-height: 300px;
    overflow: hidden;
}

/* Image wrapper */
.header-background {
    position: absolute;
    inset: 0;
}

.header-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dark gradient overlay */
.gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0.55));
    z-index: 1;
}

/* Text overlay */
.header-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    color: #fff;
    padding: 0 15px;
    text-align: center;
}


/* Header */
.header-section {
    position: relative;
    height: 60vh;
    min-height: 300px;
    overflow: hidden;
}

/* Image */
.header-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gradient overlay */
.gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0.55));
    z-index: 1;
}

/* Text overlay */
.header-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
    color: #fff;
    padding: 0 15px;
}



/* about */

.about-image {
    max-width: 80%;
    /* Adjust as needed (e.g., 70%, 60%) */
    height: auto;
    /* Maintain aspect ratio */
    transition: transform 0.3s ease-in-out;
    border-radius: 22px;
}

.about-image:hover {
    transform: scale(1.05);
    /* Optional: subtle zoom on hover */
}


.about-section ul {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #123458;
}

.about-section li {
    margin-bottom: 12px;
}

/* Pricing Box */
.pricing-box {
    padding: 40px 30px;
    border-radius: 20px;
    background-color: #ffffff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease;
}

.pricing-box:hover {
    transform: translateY(-5px);
}

.pricing-box h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.pricing-box h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.pricing-box h5 {
    font-size: 1rem;
    margin-top: 1.5rem;
    color: #6c757d;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .pricing-box {
        padding: 30px 20px;
    }
}

/* Slide up and fade in animation */
@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up {
    animation: slideUpFade 1.2s ease-out both;
}

/* our partner */
.our-partners-section {
    position: relative;
    background: url('../img/ourpatner.webp') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: white;
    overflow: hidden;
}

.our-partners-section .gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to left,
            rgba(255, 255, 255, 0.15),
            rgba(0, 51, 102, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.our-partners-section .content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 900px;
    opacity: 0.8;
    transform: translateY(10px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* On hover of the entire section, animate the content */
.our-partners-section:hover .content-wrapper {
    opacity: 1;
    transform: translateY(0);
}

/*** Icon ***/
.navbar-brand .icon {
    width: 200px;
    height: 65px;
}

.navbar-brand .icon img {
    max-width: 100%;
    max-height: 100%;
}

.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

/*** Services Section ***/
.service-box {
    background-color: #fff;
    width: 320px;
    height: 320px;
    padding: 20px;
    text-align: center;
    border-radius: 0;
    border: 2px dotted #123458;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    color: var(--dark);
    position: relative;
    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        color 0.3s ease;
}

/* Overlay */
.service-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            #123458 0%,
            #4a6a9e 60%,
            #123458 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

/* Keep content above overlay */
.service-box * {
    position: relative;
    z-index: 2;
}

.service-box img {
    width: 220px;
    height: 220px;
    object-fit: contain;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.service-box h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--dark);
    transition: color 0.3s ease;
}

.service-box p {
    font-size: 1rem;
    color: #555;
    flex-grow: 1;
    transition: color 0.3s ease;
}

/* Desktop hover */
.service-box:hover,
.service-box.active {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    color: #fff;
}

.service-box:hover::before,
.service-box.active::before {
    opacity: 1;
}

.service-box:hover img,
.service-box.active img {
    transform: scale(1.05);
}

/* Force text white (hover + mobile active) */
.service-box:hover h1,
.service-box:hover h2,
.service-box:hover h3,
.service-box:hover h4,
.service-box:hover h5,
.service-box:hover h6,
.service-box:hover p,
.service-box:hover span,
.service-box.active h1,
.service-box.active h2,
.service-box.active h3,
.service-box.active h4,
.service-box.active h5,
.service-box.active h6,
.service-box.active p,
.service-box.active span {
    color: #fff !important;
}

/* Responsive */
@media (max-width: 768px) {
    .services-container {
        flex-direction: column;
        align-items: center;
    }

    .service-box {
        width: 90%;
        height: auto;
    }

    .service-box img {
        width: 180px;
        height: 180px;
    }
}

/* Footer anchor link base style */
.container-fluid.bg-dark a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

/* On hover: text becomes white, moves slightly right, and grows a bit */
.container-fluid.bg-dark a:hover {
    color: #ffffff !important;
    transform: translateX(4px);
    font-size: 1.05em;
}


/* About us */
/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animated heading */
.fade-in-up {
    animation: fadeInUp 1s ease-out both;
}

.heading-h3-style {
    font-size: 1.75rem;
    /* Same size as your old h3 */
    font-weight: bold;
    /* Match previous styling */
    margin-top: 0;
    /* Remove extra top spacing */
    margin-bottom: 1rem;
    /* Keep same bottom gap */
}

/* Styled list with animated bullets */
.bullet-section {
    position: relative;
    background: #123456;
    /* or your brand color */
    padding: 60px 20px;
    color: #ffffff;
    overflow: hidden;
    z-index: 1;
    transition: background-size 0.5s ease, filter 0.5s ease;
}

.bullet-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(18, 52, 88, 0.85), rgba(0, 0, 0, 0.5));
    z-index: 0;
    transition: background 0.5s ease;
}

.bullet-section:hover {
    background-size: 105%;
    filter: brightness(1.05);
}

.styled-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.styled-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    background-image: linear-gradient(90deg, white 0%, white 100%);
    background-size: 0% 100%;
    background-repeat: no-repeat;
    opacity: 0;
    transform: translateY(40px);
    transition:
        transform 0.5s ease,
        opacity 0.5s ease,
        background-size 1s ease;
}

.styled-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary, #FF6922);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Animation trigger class */
.styled-list li.visible {
    opacity: 1;
    transform: translateY(0);
    background-size: 100% 100%;
    color: white;
}

/* Animate each list item with delay */
.styled-list li:nth-child(1) {
    transition-delay: 0.2s;
}

.styled-list li:nth-child(2) {
    transition-delay: 0.6s;
}

.styled-list li:nth-child(3) {
    transition-delay: 1s;
}

.styled-list li:nth-child(4) {
    transition-delay: 1.4s;
}

.styled-list li:nth-child(5) {
    transition-delay: 1.8s;
}

/* Header Container */
.header-section {
    position: relative;
    height: 280px;
    /* Reduced height */
    overflow: hidden;
    background: white;
}

/* Background Image */
.header-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1);
    display: block;
}

/* Gradient Overlay (hidden offscreen right initially) */
.gradient-overlay {
    position: absolute;
    top: 0;
    left: 100%;
    /* Start offscreen right */
    width: 100%;
    height: 100%;
    background: linear-gradient(to left,
            rgba(18, 52, 88, 0.3),
            /* Primary color translucent */
            rgba(255, 255, 255, 0.6)
            /* White translucent */
        );
    backdrop-filter: blur(5px);
    /* subtle blur */
    transition: left 0.7s ease forwards;
    /* slide in */
    z-index: 1;
}

/* Overlay container (text) */
.header-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
}

/* Main Heading - initially white */
.header-overlay h1 {
    color: white;
    transition: color 0.7s ease;
}

/* Breadcrumb Styles */
.header-overlay .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.header-overlay .breadcrumb-item a {
    color: #FFFFFF;
    /* Always white */
    font-weight: 600;
    transition: color 0.7s ease;
}

.header-overlay .breadcrumb-item.active {
    color: #fff;
    /* Active breadcrumb */
}

/* Hover: Slide in gradient overlay */
.header-section:hover .gradient-overlay {
    left: 0;
}

/* Hover: Change main heading to primary color */
.header-section:hover .header-overlay h1 {
    color: #123458;
}

/* Breadcrumb links remain white on hover */

/* footer */
/* social media */
.social-icons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.social-icon {
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
    color: #ddd;
    /* Slightly dim on hover */
    transform: scale(1.2);
}

/* refer  */
/* Container for slider */
.prize-slider {
    overflow: hidden;
    position: relative;
}

/* Track for scrolling items */
.prize-track {
    display: flex;
    width: max-content;
    animation: scrollLeft 30s linear infinite;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Individual prize card styles */
.prize-card {
    flex: 0 0 auto;
    width: 220px;
    margin: 0 10px;
    text-align: center;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: background 0.5s ease, color 0.5s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.prize-card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    background-color: transparent;
    transition: transform 0.3s ease;
}

.prize-card h5,
.prize-card p {
    color: #333;
    transition: color 0.3s ease;
    margin: 10px 0;
}

/* Hover Effect */
.prize-card:hover {
    background: linear-gradient(135deg, #123458, #4a6a9e);
}

.prize-card:hover h5,
.prize-card:hover p {
    color: #fff;
}

.prize-card:hover img {
    transform: scale(1.05);
}

/* copyright */
/* Force white color on footer copyright section */
.container.border-top {
    color: #ffffff !important;
}

.container.border-top a {
    color: #ffffff !important;
    text-decoration: underline;
}

.container.border-top a:hover {
    color: #FF6922 !important;
    /* Optional hover color using your --secondary */
}


.whatsapp-float {
    position: fixed;
    margin-bottom: 20px;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.whatsapp-float {
    animation: pulse 1s infinite;
}