/********** Template CSS **********/

.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 {
    font-weight: 600;
    transition: .5s;
    border-radius: 50px;
}

.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: inherit;
}

.btn-primary {
    color: #000000;
}

.btn-outline-primary:hover {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    color: #000000 !important;
}

.navbar .btn-outline-primary:hover {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    color: #000000 !important;
}


/*** Navbar ***/
.navbar {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 25px;
    padding: 40px 0;
    color: #000000;
    font-size: 17px;
    text-transform: uppercase;
    outline: none;
    transition: .5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link,
    .navbar.bg-dark .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 8px;
        border-top: 1px solid var(--bs-light);
    }
}

@media (min-width: 992px) {
    .navbar.bg-dark .navbar-nav .nav-link {
        padding: 20px 0;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: 100px;
    background: rgba(199, 198, 195, .7);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 550px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    padding-top: 200px;
    background: linear-gradient(rgba(199, 198, 195, .7), rgba(199, 198, 195, .7)), url(../img/carousel-1.jpg) top center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: #000000;
}


/*** Title ***/
.title {
    margin-bottom: 2rem;
}

.title .title-left,
.title .title-center,
.title .title-right {
    display: inline-block;
    text-transform: uppercase;
    overflow: hidden;
}

.title .title-center {
    text-align: center;
}

.title .title-right {
    text-align: right;
}

.title .title-left h5,
.title .title-center h5,
.title .title-right h5 {
    position: relative;
    display: inline-block;
    font-size: 18px;
    font-weight: 300;
}

.title .title-left h5::after,
.title .title-center h5::before,
.title .title-center h5::after,
.title .title-right h5::before {
    position: absolute;
    content: "";
    width: 500%;
    height: 0;
    top: 9px;
    border-bottom: 1px solid var(--bs-white);
}

.title .title-left h5::after,
.title .title-center h5::after {
    left: calc(100% + 15px);
}

.title .title-right h5::before,
.title .title-center h5::before {
    right: calc(100% + 15px);
}

.title .title-left h1,
.title .title-center h1,
.title .title-right h1 {
    border-bottom: 1px solid var(--bs-white);
}


/*** Service ***/
.service-item {
    position: relative;
    margin-top: 2.5rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.service-item .service-img {
    position: relative;
    display: inline-block;
}

.service-item .service-img::before {
    position: absolute;
    content: "";
    width: calc(100% - 12rem);
    height: calc(100% - 12rem);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3rem solid rgba(0, 0, 0, .5);
    border-radius: 300px;
    z-index: 1;
}

.service-item.service-item-left {
    border-radius: 500px 0 0 500px;
    background: #C7C6C3;
    box-shadow: -8px 8px 25px rgba(0, 0, 0, 0.25);
}

.service-item.service-item-right {
    border-radius: 0 500px 500px 0;
    background: #C7C6C3;
    box-shadow: 8px 8px 25px rgba(0, 0, 0, 0.25);
}

@media (max-width: 767.98px) {
    .service-item.service-item-left,
    .service-item.service-item-right {
        border-radius: 500px 500px 0 0;
        background: #C7C6C3;
        text-align: center;
    }
}


/*** Team ***/
.team-item {
    position: relative;
}

.team-item .team-name {
    position: absolute;
    width: 100%;
    height: 60px;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(199, 198, 195, .7);
}

.team-item .team-body {
    position: relative;
    overflow: hidden;
}

.team-item .team-body .team-before,
.team-item .team-body .team-after {
    position: absolute;
    content: "";
    width: 0;
    height: calc(100% - 60px);
    top: 0;
    left: 0;
    background: rgba(199, 198, 195, .7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: .5s;
}

.team-item .team-body .team-after {
    left: auto;
    right: 0;
}

.team-item .team-body .team-before {
    text-align: right;
}

.team-item:hover .team-body .team-before,
.team-item:hover .team-body .team-after {
    width: 50%;
}

.team-item .team-body .team-before span,
.team-item .team-body .team-after span {
    margin: 5px;
    color: var(--bs-white);
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-body .team-before span,
.team-item:hover .team-body .team-after span {
    opacity: 1;
    transition-delay: .2s;
}


/*** Testimonial ***/
.testimonial-carousel {
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    margin-top: 35px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 60px;
    height: 60px;
    margin: 0 5px;
    padding: 10px;
    background: #C7C6C3;
    border-radius: 100px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .1;
    transition: .5s;
    border-radius: 100px;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


/*** Footer ***/
.footer {
    background-color: #C7C6C3;
}


/********** CUSTOM OVERRIDES **********/

/* Custom color overrides for theme */
html, body {
    color: #000000 !important;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #ffffff;
}
    background-color: #ffcc00 !important;
}

.container-fluid {
    margin: 0 !important;
    padding: 0 !important;
}

.container-fluid > .container {
    padding-left: 15px;
    padding-right: 15px;
}

h1, h2, h3, h4, h5, h6, p, span, div, a {
    color: #000000 !important;
}

.text-white, .text-light {
    color: #000000 !important;
}

.bg-dark, .bg-secondary {
    background-color: #ffcc00 !important;
}

.navbar {
    background-color: #ffcc00 !important;
}

/* Logo styling with pill shape */
.navbar-brand-pill {
    background-color: #000000;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: inline-block;
}

.navbar-brand-pill:hover {
    background-color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.logo-rounded {
    height: 40px;
    border-radius: 8px;
}

/* Modern Pill Navigation Styles */
.nav-pill {
    padding: 10px 20px;
    background-color: #000000;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

.nav-pill:hover {
    background-color: #333333;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
}

.btn-outline-primary {
    color: #ffffff !important;
    border-color: #000000 !important;
    background-color: #000000 !important;
}

.btn-outline-primary:hover {
    background-color: #ffcc00 !important;
    border-color: #ffcc00 !important;
    color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.btn-outline-primary:active,
.btn-outline-primary.active,
.btn-outline-primary:focus {
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.btn-outline-primary:focus {
    outline: none !important;
}

/* Footer social icons */
.footer .btn-outline-primary {
    background-color: transparent !important;
    border-color: #000000 !important;
    color: #000000 !important;
}

.footer .btn-outline-primary:hover {
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
}

.navbar-brand {
    color: #000000 !important;
}

.text-primary {
    color: #000000 !important;
}

.footer a {
    color: #000000 !important;
}

.border-bottom {
    border-bottom-color: #000000 !important;
}

/* Hide Spline watermark */
#home {
    position: relative;
    background-color: #ffcc00 !important;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* White text for black background containers - More specific selectors */
#about [style*="background-color: #000000"] * {
    color: #ffffff !important;
}

#about [style*="background-color: #000000"] h2,
#about [style*="background-color: #000000"] h3,
#about [style*="background-color: #000000"] p,
#about [style*="background-color: #000000"] strong {
    color: #ffffff !important;
}

/* Remove dark overlay from service item images */
.service-img::before {
    display: none !important;
}

/* Navbar Container Layout */
.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    position: relative;
}

.logo-img {
    height: 50px;
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.enroll-btn {
    white-space: nowrap;
}

/* Hamburger Menu - Hidden by default */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger-menu span {
    width: 30px;
    height: 3px;
    background-color: #000000;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .navbar-container {
        padding: 15px 20px;
    }
    
    .logo-img {
        height: 40px;
    }
    
    /* Show hamburger menu on mobile */
    .hamburger-menu {
        display: flex;
    }
    
    /* Hide nav links by default on mobile */
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #ffffff;
        flex-direction: column;
        gap: 20px;
        padding: 40px 20px;
        justify-content: flex-start;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.4s ease;
        z-index: 999;
    }
    
    /* Show nav links when active */
    .nav-links.active {
        max-height: 100vh;
        opacity: 1;
    }
    
    .nav-pill {
        width: 100%;
        text-align: center;
        padding: 25px 30px;
        background-color: transparent !important;
        color: #000000 !important;
        font-size: 60px;
        font-weight: 700;
        border-radius: 0;
        box-shadow: none;
    }
    
    .nav-pill:hover {
        background-color: transparent !important;
        color: #000000 !important;
        transform: none;
        box-shadow: none;
        text-decoration: underline;
    }
    
    .enroll-btn {
        font-size: 12px;
        padding: 8px 15px !important;
    }
}


/********** PROGRAM LOCK STYLES **********/

/* Program lock overlay and unlock logic */
.program-locked {
    pointer-events: none;
    opacity: 0.6;
    position: relative;
}
.program-lock-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.85);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ffcc00;
    z-index: 10;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.program-lock-msg {
    color: #bdbdbd;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 18px;
    text-align: left;
}

/* Unlock logic (JS will toggle these classes) */
.program-unlocked {
    pointer-events: auto !important;
    opacity: 1 !important;
}
.program-unlocked .program-lock-overlay,
.program-unlocked .program-lock-msg {
    display: none !important;
}


/********** ROBO HOVER EFFECTS **********/

/* Hover effect for the four points in the robo section */
.robo-point {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    z-index: 2;
    position: relative;
}
.robo-point:hover {
    transform: translateY(-8px) scale(1.04) rotate(-2deg);
    background: linear-gradient(120deg, #fffbe6 0%, #ffec80 100%);
    border-color: #ffd700 !important;
}
.robo-point:hover .fas, .robo-point:hover .fa {
    color: #000000 !important;
    filter: drop-shadow(0 2px 8px #ffcc00);
}


/********** SECTION DIVIDERS **********/

/* Line shadow effects for separating sections */
.section-divider {
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.section-divider-top {
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

.section-separator {
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.15) 50%, transparent 100%);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    margin: 0;
    border: none;
}

.section-separator-yellow {
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #ffcc00 20%, #ffd700 50%, #ffcc00 80%, transparent 100%);
    box-shadow: 0 2px 6px rgba(255, 204, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.1);
    margin: 0;
    border: none;
}

.subtle-section-shadow {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.deep-section-shadow {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Floating Enquiry Button */
.floating-enquiry-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
}

.floating-enquiry-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.6);
    background: #ffffff;
}

.floating-enquiry-btn i {
    color: #ffffff;
    font-size: 24px;
    transition: all 0.3s ease;
}

.floating-enquiry-btn:hover i {
    color: #000000;
}

/* Tooltip for phone number */
.floating-enquiry-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    transform: translateX(-120px) translateY(10px);
    bottom: 75px;
    background: #000000;
    color: #ffffff;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.floating-enquiry-btn::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 67px;
    border: 8px solid transparent;
    border-top-color: #000000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.floating-enquiry-btn:hover::before,
.floating-enquiry-btn:hover::after {
    opacity: 1;
    visibility: visible;
}

.floating-enquiry-btn:hover::before {
    transform: translateX(-120px) translateY(0);
}

/* Floating WhatsApp Button */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 105px;
    width: 60px;
    height: 60px;
    background: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.6);
    background: #ffffff;
}

.floating-whatsapp-btn i {
    color: #ffffff;
    font-size: 24px;
    transition: all 0.3s ease;
}

.floating-whatsapp-btn:hover i {
    color: #000000;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .floating-enquiry-btn {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    
    .floating-enquiry-btn i {
        font-size: 22px;
    }
    
    /* Adjust tooltip size for mobile */
    .floating-enquiry-btn::before {
        font-size: 13px;
        padding: 8px 12px;
    }
    
    .floating-enquiry-btn::after {
        border-width: 6px;
    }
    
    .floating-whatsapp-btn {
        bottom: 20px;
        right: 90px;
        width: 55px;
        height: 55px;
    }
    
    .floating-whatsapp-btn i {
        font-size: 22px;
    }
}