﻿:root {
    --vivid-azure: #05B8FD;
    --vivid-orange: #FFA500;
    --azure-light: #87CEEB;
    --orange-light: #FFD700;
    --text-dark: #333;
    --bg-gradient: linear-gradient(135deg, rgba(5, 184, 253, 0.08) 0%, rgba(255, 165, 0, 0.08) 100%);
    --bg-gradient-dark: linear-gradient(to right, #05B8FD, #F97306);
}


html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    /*overflow-x: hidden;*/
}

main { /* or your container */
    height: 100vh; /* Or 100% if parent has height */
}




.carousel-item img {
    transition: transform 8s ease-in-out;
}

.carousel-item.active img {
    transform: scale(1.2);
}

.carousel-caption {
    top: 50%;
    transform: translateY(-50%);
    bottom: initial !important;
    text-align: left !important;
}

.floating-div-container {
    position: relative;
}

.floating-div-right {
    position: absolute;
    top: 30%;
    left: 70%;
    transform: translate(-50%, -50%);
    background-color: white;
    color: black;
    /* border: solid; */
    /* border-color: #05B8FD; */
    /* border-radius: 40px; */

    border-radius: 20px;
    padding: 25px;
    border-color: lightgray;
    margin-right: 10px
}

.floating-div-left {
    position: absolute;
    top: 30%;
    left: 20%;
    transform: translate(-50%, -50%);
    background-color: white;
    color: black;
    /* border: solid; */
    /* border-color: #05B8FD; */
    /* border-radius: 40px; */
    border-radius: 20px;
    padding: 25px;
    border-color: lightgray;
    margin-right: 10px
}

.non-floating-div {
    border: solid;
    border-color: #05B8FD;
    border-radius: 10px;
    margin: 10px;
}

.list-group-item-hover:hover {
    color: #FFA500;
}

.header-text {
    background: linear-gradient(90deg,rgba(34, 143, 215, 1) 0%, rgba(91, 177, 235, 1) 50%, rgba(88, 170, 224, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.horizontal-line {
    overflow: hidden;
    text-align: center;
}

    .horizontal-line::before,
    .horizontal-line::after {
        background-color: #000;
        content: "";
        display: inline-block;
        height: 1px;
        position: relative;
        vertical-align: middle;
        width: 5%;
        border: solid;
        color: #05B8FD;
    }

    .horizontal-line::before {
        right: 0.5em;
        margin-left: -50%;
    }

    .horizontal-line::after {
        left: 0.5em;
        margin-right: -50%;
    }


/* Below are the changes for the  services highlight cards */
.highlight-box {
    border-radius: 20px;
    padding: 25px;
    border: 1px solid lightgray;
    background-color: #F9FCFF;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .highlight-box:hover {
        transform: translateY(-5px) scale(1.02);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    .highlight-box i {
        margin-bottom: 15px;
        transition: color 0.3s ease;
        color: #05B8FD;
    }

    .highlight-box:hover i {
        color: #FF6B00;
    }

    .highlight-box h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
        font-weight: bold;
        color: #05B8FD;
    }

    .highlight-box p {
        font-size: 1rem;
        color: #333;
    }

/*color hue*/
.cpm-blue {
    color: #05B8FD;
}

.cpm-orange {
    color: #FFA500;
}

.bg-cpm-blue {
    background-color: #05B8FD;
    color: white;
}

.bg-cpm-orange {
    background-color: #FFA500;
    color: white;
}

.border-cpm-blue {
    border-color: #05B8FD;
}

.border-cpm-orange {
    border-color: #FFA500;
}



/* Welcom message title */
.welcome-label {
    font-size: 22px;
    letter-spacing: 1px;
    color: #FFA500; /* vivid orange */
    font-weight: 500;
    text-transform: uppercase;
}

.welcome-title {
    font-weight: 700;
    color: #05B8FD; /* vivid azure */
    position: relative;
    padding-bottom: 8px;
    margin-top: 10px;
    text-shadow: 1px 1px #eee;
}


    .welcome-title::after { /* Decorative orange underline */
        content: '';
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 0;
        width: 60px;
        height: 4px;
        background-color: #FFA500;
        border-radius: 2px;
    }

/* Title Section */
.section-title h1 {
    font-size: 2rem;
    font-weight: 600;
    color: #05B8FD; /* vivid azure */
    text-transform: uppercase;
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 6px;
}

    .section-title h1::after {
        content: '';
        position: absolute; /* Orange underline accent */
        left: 50%;
        transform: translateX(-50%);
        bottom: 0;
        width: 50px;
        height: 4px;
        background-color: #FFA500; /* vivid orange */
        border-radius: 2px;
    }
/* new hero card*/

.floating-div-container {
    position: relative;
}

/* CTA Button */
.cta-home-button {
    background: linear-gradient(135deg, var(--vivid-azure) 0%, #0199d4 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(5, 184, 253, 0.3);
    padding: 15px 30px;
}

    .cta-home-button:hover {
        background: var(--vivid-orange);
        box-shadow: 0 6px 20px rgba(5, 184, 253, 0.5);
        transform: translateY(-2px);
    }

.floating-card-box {
    position: absolute;
    bottom: 50px;
    right: 30px;
    background: white;
    border-radius: 20px;
    padding: 50px;
    width: 500px;
    z-index: 10;
    border: 3px solid var(--vivid-orange);
}

.light-blue-card {
    background-color: #e7f4fd; /* Soft light blue */
    border-radius: 15px;
}

.floating-card-box .list-group-item {
    font-size: 15px;
    line-height: 1.6;
    padding-left: 0;
    padding-right: 0;
}

.floating-card-box .fa-check-circle {
    color: #05b8fd;
    margin-right: 8px;
}

.floating-card-box ul.list-group li {
    color: black;
    border: none;
    padding-left: 0;
}

.shrink-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}



/* Adjust  the size of g.png */
.cropped-banner {
    height: 1200px;
    overflow: hidden;
    position: relative;
}

    .cropped-banner .cropped-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center; /* or top/bottom if preferred */
    }

    .cropped-banner::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.25);
        z-index: 1;
    }



/* Responsive for mobile screens for the g.png */
@media (max-width: 768px) {
    .cropped-banner {
        height: auto; /* allow image to scale naturally */
    }

        .cropped-banner .cropped-image {
            height: auto;
            object-fit: contain; /* show whole image if possible */
        }
}


/* Fade In Up */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards;
}

/* Zoom In Animation */
.zoom-in {
    opacity: 0;
    transform: scale(0.8);
    animation: zoomIn 1s ease-out forwards;
}

@keyframes zoomIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Slide from Left */
.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 1s ease-out forwards;
}

/* Slide from Right */
.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 1s ease-out forwards;
}

/* Keyframes */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
/* Scroll Zoom Animation */
.scroll-zoom-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

    .scroll-zoom-in.visible {
        opacity: 1;
        transform: scale(1);
    }

/*. Parallax Slow Scroll Effect (subtle background shift)*/
.parallax {
    transform: translateY(0);
    transition: transform 0.5s ease-out;
    will-change: transform;
}

    .parallax.scroll {
        transform: translateY(-20px);
    }
/*2. Bounce on Scroll Reveal*/
.bounce-in {
    opacity: 0;
    transform: translateY(20px);
    animation: bounceIn 0.6s ease-out forwards;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    60% {
        opacity: 1;
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}
/*Fade-In from Bottom on Scroll*/

.fade-bottom {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

    .fade-bottom.visible {
        opacity: 1;
        transform: translateY(0);
    }

/*About us*/
.fade-out {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.fade-in {
    opacity: 1;
    transition: opacity 0.4s ease;
}

/*this sliced an image */
.sliced-image {
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%);
    /* adjust 90% to control the diagonal cut */
    transition: clip-path 0.5s ease;
}


.hero-slice-layout {
    position: relative;
    display: flex;
    width: 100%;
    height: 70%; /* Works only if parent has height */
    /*min-height: 500px;*/ /* Fallback for visibility */
    overflow: hidden;
}

.hero-image {
    width: 90%;
    height: 80%;
    /*width: 90%;*/ /* or 75% */
    /*height: 100%;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 70% 100%, 0% 100%);
    position: relative;*/
}

    .hero-image img {
        width: 100%;
        height: auto;
        display: block;
    }

/* Slice overlay */
.hero-slice {
    position: absolute;
    right: 0;
    top: 0;
    width: 30%;
    height: 100%;
    /*        background-color: white;*/
    background: var(--vivid-azure);
    clip-path: polygon(40% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 1;
}
