/********** Template CSS **********/
:root {
    --primary: #06A3DA;
    --secondary: #34AD54;
    --light: #EEF9FF;
    --dark: #091E3E;
}


/*** Spinner ***/
.spinner {
    width: 40px;
    height: 40px;
    background: var(--primary);
    margin: 100px auto;
    -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
    animation: sk-rotateplane 1.2s infinite ease-in-out;
}

@-webkit-keyframes sk-rotateplane {
    0% {
        -webkit-transform: perspective(120px)
    }
    50% {
        -webkit-transform: perspective(120px) rotateY(180deg)
    }
    100% {
        -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg)
    }
}

@keyframes sk-rotateplane {
    0% {
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg)
    }
    50% {
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg)
    }
    100% {
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
}

#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;
}


/*** Heading ***/
h1,
h2,
.fw-bold {
    font-weight: 800 !important;
}

h3,
h4,
.fw-semi-bold {
    font-weight: 700 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 600 !important;
}


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
    box-shadow: inset 0 0 0 50px transparent;
}

.btn-primary:hover {
    box-shadow: inset 0 0 0 0 var(--primary);
}

.btn-secondary:hover {
    box-shadow: inset 0 0 0 0 var(--secondary);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 30px;
    height: 30px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}


/* Navbar Links */
.navbar-light .navbar-nav .nav-link {
    font-family: 'Nunito', sans-serif;
    position: relative;
    margin-left: 25px;
    padding: 20px 0;
    color: #333; /* Dark text for white transparent navbar */
    font-size: 18px;
    font-weight: 600;
    outline: none;
    transition: .5s;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #2361FF; /* Primary color on hover */
}

/* Navbar Brand */
.navbar-light .navbar-brand h1,
.navbar-light .navbar-brand img {
    color: #333;
}

/* Navbar Toggler */
.navbar-light .navbar-toggler {
    color: #2361FF !important;
    border-color: #2361FF !important;
}

/* Navbar Background */
.navbar-light {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    z-index: 999;
    background: rgba(255, 255, 255, 0.8); /* White transparent */
}

/* Sticky Navbar on scroll */
.sticky-top.navbar-light {
    position: fixed;
    background: #ffffff; /* Solid white when sticky */
}

/* Navbar hover underline */
.navbar-light .navbar-nav .nav-link::before {
    position: absolute;
    content: "";
    width: 0;
    height: 2px;
    bottom: -1px;
    left: 50%;
    background: #2361FF;
    transition: .5s;
}

.navbar-light .navbar-nav .nav-link:hover::before,
.navbar-light .navbar-nav .nav-link.active::before {
    width: 100%;
    left: 0;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link,
    .navbar-light .navbar-nav .nav-link.show {
        padding: 10px 0;
        color: #333;
    }
}



/*** Carousel ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 30, 62, .7);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}


/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 150px;
    height: 5px;
    left: 0;
    bottom: 0;
    background: var(--primary);
    border-radius: 2px;
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -75px;
}

.section-title.section-title-sm::before {
    width: 90px;
    height: 3px;
}

.section-title::after {
    position: absolute;
    content: "";
    width: 6px;
    height: 5px;
    bottom: 0px;
    background: #FFFFFF;
    -webkit-animation: section-title-run 5s infinite linear;
    animation: section-title-run 5s infinite linear;
}

.section-title.section-title-sm::after {
    width: 4px;
    height: 3px;
}

.section-title.text-center::after {
    -webkit-animation: section-title-run-center 5s infinite linear;
    animation: section-title-run-center 5s infinite linear;
}

.section-title.section-title-sm::after {
    -webkit-animation: section-title-run-sm 5s infinite linear;
    animation: section-title-run-sm 5s infinite linear;
}

@-webkit-keyframes section-title-run {
    0% {left: 0; } 50% { left : 145px; } 100% { left: 0; }
}

@-webkit-keyframes section-title-run-center {
    0% { left: 50%; margin-left: -75px; } 50% { left : 50%; margin-left: 45px; } 100% { left: 50%; margin-left: -75px; }
}

@-webkit-keyframes section-title-run-sm {
    0% {left: 0; } 50% { left : 85px; } 100% { left: 0; }
}


/*** Service ***/
/* ===== Service Card Modern 3D Design ===== */
/* ===============================
   CLEAN SERVICE BOX
   =============================== */
.service-item {
    position: relative;
    height: 320px;
    padding: 0 30px;
    transition: 0.4s ease;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #eee;
    box-shadow: none !important;
}

/* Simple clean hover */
.service-item:hover {
    transform: translateY(-8px);
    background: #ffffff !important;   /* NO hover overlay */
    border-color: #ddd;               /* soft border only */
}

/* Remove before overlay glow */
.service-item::before {
    display: none !important;
}

/* ===============================
   ICON BOX (Default Blue)
   =============================== */
.service-item .service-icon {
    margin-bottom: 30px;
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2957A4;   /* blue */
    border-radius: 12px;
    transform: none !important;
    box-shadow: none !important;
    transition: 0.3s ease;
}

/* Icon style */
.service-item .service-icon i {
    font-size: 26px;
    color: #fff;
}

/* Slight movement hover */
.service-item:hover .service-icon {
    transform: translateY(-4px);  /* soft lift */
}

/* ===============================
   LAST COLUMN ORANGE ICON
   =============================== */
.service-item:last-child .service-icon {
    background: #ff7b00 !important;  /* ORANGE */
}

/* ===============================
   REMOVE BUTTON ANIMATION
   =============================== */
.service-item a.btn {
    display: none !important;
}

/* ===============================
   TEXT — Light hover movement
   =============================== */
.service-item h4,
.service-item p {
    transition: 0.3s ease;
}

.service-item:hover h4 {
    transform: translateY(-3px);
}

.service-item:hover p {
    transform: translateY(2px);
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #DDDDDD;
    border-radius: 2px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: 0 0 30px #DDDDDD;
}


/*** Team ***/
.team-item {
    transition: .5s;
}

.team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-social a.btn {
    position: relative;
    margin: 0 3px;
    margin-top: 100px;
    opacity: 0;
}

.team-item:hover {
    box-shadow: 0 0 30px #DDDDDD;
}

.team-item:hover .team-social {
    background: rgba(9, 30, 62, .7);
}

.team-item:hover .team-social a.btn:first-child {
    opacity: 1;
    margin-top: 0;
    transition: .3s 0s;
}

.team-item:hover .team-social a.btn:nth-child(2) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .05s;
}

.team-item:hover .team-social a.btn:nth-child(3) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .1s;
}

.team-item:hover .team-social a.btn:nth-child(4) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .15s;
}

.team-item .team-img img {
    transition: .5s;
}

.team-item:hover .team-img img {
    transform: scale(1.15);
}


/*** Miscellaneous ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -75px;
        z-index: 1;
    }
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.bg-header {
    background: linear-gradient(rgba(9, 30, 62, .7), rgba(9, 30, 62, .7)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.link-animated a {
    transition: .5s;
}

.link-animated a:hover {
    padding-left: 10px;
}

@media (min-width: 767.98px) {
    .footer-about {
        margin-bottom: -75px;
    }
}
/* ===== Main Feature Box Styling ===== */
/* ===== Main Feature Box (Clean & Simple) ===== */
.col-12 {
    padding: 20px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #eee;
    transition: 0.3s ease;
}

/* Light hover lift only */
.col-12:hover {
    transform: translateY(-8px);
}

/* Remove glow / overlay / borders */
.col-12::before {
    display: none !important;
}

/* ===== Icon Box Orange (No shadow, No hover effect) ===== */
.col-12 .bg-primary {
    width: 70px !important;
    height: 70px !important;
    border-radius: 12px !important;
    background: #ff7b00 !important; /* Orange */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: none !important;
    box-shadow: none !important;
}

/* Icon white & simple */
.col-12 i {
    font-size: 28px;
    color: #fff !important;
    text-shadow: none !important;
    transition: none !important;
}

/* ===== Text (Simple hover) ===== */
.col-12 h4,
.col-12 p {
    transition: 0.3s ease;
}

.col-12:hover h4 {
    color: #ff7b00;
}

/* ===== Middle Image (Simple) ===== */
.position-relative img {
    border-radius: 20px;
    transition: 0.4s ease;
}

/* Slight zoom only */
.position-relative img:hover {
    transform: scale(1.03);
}
/* ===============================
   VIDEO HERO SECTION
   =============================== */
/* HERO VIDEO SECTION */
.video-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Background Video */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -2;
}

/* Dark Overlay */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: -1;
}

/* Content Box */
/* Dark Transparent Orange Box */
.hero-content {
    background: rgba(255, 102, 0, 0.45); /* Darker transparent orange */
    padding: 40px 50px;
    border-radius: 18px;
    color: #fff;
    text-align: center;
    max-width: 780px;
    backdrop-filter: blur(3px);
}


/* Text Styles */
.hero-content .subtitle {
    font-size: 20px;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: #fff;
}

.hero-content .title {
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #fff;
}

/* Buttons */
.hero-buttons a {
    margin: 10px;
}

/* Section background color */
.why-section {
    background: #2361FF;   /* Fresh light blue */
}

/* Icon box style */
.icon-box {
    background: #003eb3;   /* Slightly darker blue for contrast */
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.greybath-services {
    background: #ffffff;
    background-image: radial-gradient(#e0e0e0 1px, transparent 1px);
    background-size: 18px 18px;
    padding: 60px 0;
}


.gb-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    margin-bottom: 35px;
    transition: 0.3s ease;
}

.gb-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.gb-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    border-radius: 20px;
    background: linear-gradient(135deg, #cc99ff, #9b59ff);
    display: flex;
    justify-content: center;
    align-items: center;
}

.gb-icon i {
    font-size: 45px;   /* Same size as your old PNG */
    color: white;
    opacity: 0.95;
}

.gb-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.gb-card p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}
