/********** Template CSS **********/
@import url("navbar.css");

.back-to-top {
    display: none;
    z-index: 99;
}

/* Scroll Progress Bar */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 10000;
    pointer-events: none;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #FFC300, #ffdb4d);
    width: 0%;
    box-shadow: 0 0 10px rgba(255, 195, 0, 0.5);
    transition: width 0.1s ease-out;
}

/*** 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: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 26px;
    height: 26px;
}

.btn-lg-square {
    width: 40px;
    height: 40px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: inherit;
}

.btn-primary {
    color: var(--bs-white);
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    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,
    #header-carousel .carousel-item video {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Updated Carousel Item for Background Images */
#header-carousel .carousel-item {
    height: 100vh;
    min-height: 750px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Premium Carousel Style Enhancements */
.header-video {
    height: 100vh;
    min-height: 750px;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.1);
    animation: heroZoom 25s infinite alternate ease-in-out;
}

@keyframes heroZoom {
    from { transform: scale(1); }
    to { transform: scale(1.15); }
}

.carousel-content-box {
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 195, 0, 0.35);
    border-radius: 60px;
    padding: 5.5rem 4.5rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), inset 0 0 20px rgba(255, 195, 0, 0.05);
    max-width: 1000px;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.carousel-content-box:hover {
    border-color: #FFC300;
    background: rgba(0, 0, 0, 0.35);
    transform: translateY(-15px) scale(1.01);
}

.page-header {
    padding-top: 200px;
    background: linear-gradient(rgba(0, 0, 0, 0.61), rgba(0, 0, 0, 0.61)), url(../img/banner2.jpeg) top center no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: var(--bs-white);
}

/* Styled Logo Background */
.navbar-brand-styled {
    background: linear-gradient(145deg, #1a1a1a, #050505);
    padding: 5px 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 195, 0, 0.1);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    transition: all 0.4s ease;
    margin-top: 3.5px;
    margin-bottom: 3.5px;
}

.navbar-brand-styled:hover {
    background: rgb(17, 17, 17);
    border-color: var(--bs-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/*** 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-primary);
}

.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-primary);
    background: linear-gradient(45deg, #FFC300 30%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/*** Service ***/
.service-item {
    position: relative;
    margin-top: 2.5rem;
    overflow: hidden;
}

.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(255, 195, 0, .2);
    border-radius: 300px;
    z-index: 1;
}

.service-item.service-item-left {
    border-radius: 500px 0 0 500px;
    background: linear-gradient(to right, var(--bs-secondary), var(--bs-dark));
}

.service-item.service-item-right {
    border-radius: 0 500px 500px 0;
    background: linear-gradient(to left, var(--bs-secondary), var(--bs-dark));
}

@media (max-width: 767.98px) {
    .service-item.service-item-left,
    .service-item.service-item-right {
        border-radius: 500px 500px 0 0;
        background: linear-gradient(to bottom, var(--bs-secondary), var(--bs-dark));
        text-align: center;
    }
}


/*** Team ***/
.team-item-new {
    background: #111111;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 195, 0, 0.2);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.team-item-new:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(255, 195, 0, 0.15);
    border-color: var(--bs-primary);
}

.team-img-wrapper {
    position: relative;
    overflow: hidden;
}

.team-img-wrapper img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-item-new:hover .team-img-wrapper img {
    transform: scale(1.1);
}

.team-social {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: all 0.4s ease;
}

.team-item-new:hover .team-social {
    opacity: 1;
    bottom: 20px;
}

.team-social .btn {
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.team-content {
    padding: 30px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.team-content h4 {
    margin-bottom: 5px;
}

.team-content > p {
    margin-bottom: 20px;
}

.team-info {
    text-align: left;
    color: #ccc;
    font-size: 0.9rem;
    margin-top: auto;
}

.team-info h6 {
    color: var(--bs-primary);
    margin-top: 20px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255, 195, 0, 0.2);
}

.team-info ul {
    padding-left: 0;
    margin-top: 10px;
    list-style: none;
}

.team-info ul li {
    margin-bottom: 8px;
}


/*** Testimonial ***/
.testimonial-item {
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d) !important;
    padding: 35px !important;
    border-radius: 25px !important;
    margin: 20px 10px !important;
    border: 1px solid rgba(255, 195, 0, 0.1) !important;
    border-top: none !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
    position: relative;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    text-align: left !important;
}

.testimonial-item:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: #FFC300 !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 195, 0, 0.1) !important;
}

.testimonial-item p {
    font-size: 1rem !important;
    font-style: italic !important;
    color: #E0E0E0 !important;
    line-height: 1.8 !important;
    margin-bottom: 25px !important;
    position: relative;
    z-index: 1;
}

.testimonial-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-profile img {
    width: 55px !important;
    height: 55px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #FFC300;
    padding: 2px;
    background: #1a1a1a;
}

.testimonial-info h5 {
    margin: 0 !important;
    font-size: 1rem !important;
    color: #FFC300 !important;
    letter-spacing: 1px;
}

.testimonial-info span {
    font-size: 0.8rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 30px;
    text-align: center;
}

.testimonial-carousel .owl-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background: rgba(255, 195, 0, 0.2) !important;
    border-radius: 50%;
    transition: .3s;
}

.testimonial-carousel .owl-dot.active {
    width: 25px;
    border-radius: 10px;
    background: #FFC300 !important;
}

/* Testimonial Quote Icon */
.testimonial-item .fa-quote-right {
    font-size: 2rem !important;
    opacity: 0.15 !important;
    transition: 0.5s;
    pointer-events: none;
}

.testimonial-item:hover .fa-quote-right {
    opacity: 0.4 !important;
    transform: rotate(-15deg) scale(1.2);
}

/* Testimonial Stars */
.testimonial-stars {
    margin-bottom: 20px;
}

.testimonial-stars i {
    color: var(--bs-primary);
    font-size: 1.2rem;
    margin: 0 2px;
    text-shadow: 0 0 15px rgba(255, 195, 0, 0.4);
}

/* Success Stories */
.success-story-item {
    background: var(--secondary);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 195, 0, 0.2);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.success-story-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.success-story-item .story-content {
    padding: 40px;
}

.success-story-item .story-content p {
    font-style: italic;
    color: #ccc;
}

/* Transformation Section */
.transformation-item {
    background: #111111;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 195, 0, 0.2);
    transition: all 0.4s ease;
}

.transformation-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(255, 195, 0, 0.15);
    border-color: var(--bs-primary);
}

.transformation-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.transformation-img img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.transformation-img img.before {
    filter: grayscale(100%) contrast(90%);
}

.transformation-label {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: var(--bs-primary);
    padding: 5px 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.transformation-text {
    margin-top: 20px;
}

/*** Footer ***/
.footer {
    background: linear-gradient(180deg, #050505 0%, #000000 100%);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 195, 0, 0.1);
    margin-top: auto;
}


.footer::before {
    content: "";
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, #000000 100%);
    z-index: 0;
    pointer-events: none;
}

.footer .container {
    position: relative; 
    z-index: 2;
}

.footer .copyright {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 195, 0, 0.1);
    margin-top: 20px;
}

body {
    color: #E0E0E0;
    background-color: #0a0a0a;
    background-image: linear-gradient(rgba(255, 195, 0, 0.05) 1px, transparent 1px), 
                      linear-gradient(90deg, rgba(255, 195, 0, 0.05) 1px, transparent 1px), 
                      radial-gradient(circle at center, #1a1a1a 0%, #050505 100%);
    background-size: 50px 50px, 50px 50px, cover;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    color: #FFC300;
    text-decoration: none;
}

a:hover {
    color: #FFFFFF;
}

:root {
    --bs-primary: #FFC300;
    --bs-secondary: #000000;
    --bs-light: #FFFFFF;
    --bs-dark: #000000;
    --bs-white: #FFFFFF;
}
.text-primary { color: #FFC300 !important; }
.btn-primary { background-color: #FFC300!important; border-color: #FFC300 !important; color: #000000 !important; }
.btn-primary:hover { background-color: #000000 !important; border-color: #FFC300!important; color: #FFC300 !important; }
.btn-outline-primary { color: #FFC300 !important; border-color: #FFC300 !important; }
.btn-outline-primary:hover { background-color: #FFC300!important; color: #000000 !important; }

.bg-dark { 
    background-color: #000000 !important; 
    background-image: linear-gradient(180deg, #080808 0%, #000000 100%) !important;
}
.bg-secondary { 
    background-color: #111111 !important; 
    background-image: linear-gradient(135deg, #151515 0%, #0a0a0a 100%) !important;
}

.bg-dark, .bg-secondary { color: #FFFFFF !important; }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5, .bg-dark h6,
.bg-secondary h1, .bg-secondary h2, .bg-secondary h3, .bg-secondary h4, .bg-secondary h5, .bg-secondary h6 {
    color: #FFC300 !important;
}

.bg-light {
    background-color: #1A1A1A !important;
    color: #E0E0E0 !important;
}

.bg-dark .text-body, .bg-secondary .text-body { color: #FFFFFF !important; }

.footer a { color: #FFC300 !important; }

.breadcrumb-item a { color: #FFFFFF !important; }
.breadcrumb-item.active { color: #FFC300!important; }

.form-control.bg-secondary { color: #FFFFFF !important; }
.form-control.bg-secondary::placeholder { color: rgba(255, 255, 255, 0.5) !important; }

.table-dark {
    --bs-table-bg: #000000 !important;
    background-color: #000000 !important;
    color: #FFFFFF !important;
}

.border-secondary { border-color: #FFC300 !important; }

/* Feature Item Styles */
.features{
    width: 200px;
    margin: 0 auto;
    text-align: center;
    height: 300px;
}
.feature-item {
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 195, 0, 0.5);
    transition: .5s;
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    color: #E0E0E0;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.feature-item:hover {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    box-shadow: 0 10px 30px rgba(255, 195, 0, 0.3);
}

.feature-item i {
    transition: .5s;
}

.feature-item:hover i {
    color: #000000 !important;
    transform: scale(1.2) rotate(15deg);
}

.feature-item:hover h5,
.feature-item:hover p {
    color: #000000;
}

/* Homepage Course Item */
.course-item-home {
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 195, 0, 0.2);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.course-item-home:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(255, 195, 0, 0.15);
    border-color: var(--bs-primary);
}

.course-item-home .course-img-wrapper {
    overflow: hidden;
    height: 300px;
    position: relative;
}

/* Shine Effect for Course Image */
.course-item-home .course-img-wrapper::before {
    position: absolute;
    top: 0;
    left: -75%;
    z-index: 2;
    display: block;
    content: '';
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%);
    transform: skewX(-25deg);
}

.course-item-home .course-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-item-home:hover .course-img-wrapper img {
    transform: scale(1.1);
}

.course-item-home:hover .course-img-wrapper::before {
    -webkit-animation: shine .75s;
    animation: shine .75s;
}

.course-item-home .course-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.course-item-home .course-content h4 {
    margin-bottom: 15px;
}

.course-item-home .course-content p {
    color: #ccc;
    flex-grow: 1;
}

/* Course Item Detailed */
.course-item-detailed {
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.5s ease;
    border: 1px solid rgba(255, 195, 0, 0.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    margin-bottom: 30px;
}

.course-item-detailed:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 195, 0, 0.15);
    border-color: var(--primary);
}

.course-img {
    height: 100%;
    min-height: 350px;
    overflow: hidden;
    position: relative;
}

.course-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.course-item-detailed:hover .course-img img {
    transform: scale(1.1);
}

.course-text {
    padding: 40px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-meta {
    color: #ccc;
    font-size: 0.9rem;
}

.course-text h5 {
    color: var(--bs-primary);
}

.course-text p {
    color: #E0E0E0;
}

.course-text .btn {
    align-self: flex-start;
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    perspective: 1000px;
}

.floating-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: pulse-border 2s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
}

.floating-toggle:hover {
    transform: scale(1.1);
}

@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 195, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 195, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 195, 0, 0);
    }
}

@keyframes shine {
    100% {
        left: 125%;
    }
}

    /* Custom Animations */
        .service-item .service-img { overflow: hidden; }
        .service-item .service-img img { transition: transform .5s; }
        .service-item:hover .service-img img { transform: scale(1.1); }

        .btn { transition: .5s; }
        .btn:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,.15); }

     
        @keyframes action {
            0% { transform: translateY(0); }
            100% { transform: translateY(-10px); }
        }

/* Gallery Styles */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-item img {
    transition: transform .5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity .5s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item .gallery-overlay i {
    color: #FFFFFF;
    font-size: 2rem;
}

/* Enhanced Service Item Animations */
.service-item {
    transition: all 0.5s ease;
    border: 2px solid transparent;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px rgba(255, 195, 0, 0.3);
    border-color: rgba(255, 195, 0, 0.5);
}

.service-item .service-img::before {
    transition: all 0.5s;
}

.service-item:hover .service-img::before {
    border-color: var(--bs-primary);
    animation: rotateBorder 10s linear infinite;
}

@keyframes rotateBorder {
    0% { transform: translate(-50%, -50%) scale(1.1) rotate(0deg); }
    100% { transform: translate(-50%, -50%) scale(1.1) rotate(360deg); }
}

.service-bg {
    background: radial-gradient(circle at center, #2b2611 0%, #000000 100%);
    position: relative;
}

.service-bg::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: linear-gradient(rgba(255, 195, 0, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 195, 0, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.2;
    pointer-events: none;
}

/* Blog Styles */
.blog-item {
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 195, 0, 0.1);
    transition: .5s;
}
.blog-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-color: var(--bs-primary);
}
.blog-item .blog-img {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.blog-item .blog-img img {
    transition: .5s;
}

.blog-item:hover .blog-img img {
    transform: scale(1.1);
}

.blog-item .blog-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.37);
    opacity: 0;
    transition: .5s;
}

.blog-item:hover .blog-overlay {
    opacity: 1;
}

/* Facts Background */
.facts-bg {
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.95)), url(../img1/rebg.JPG.jpeg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/*** Facts Item ***/
.fact-item {
    background: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 196, 0, 0.377);
    transition: .5s;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.fact-item:hover {
    background: rgba(255, 196, 0, 0.507);
    border-color: var(--bs-primary);
    transform: translateY(-10px);
    box-shadow: 0 0 20px rgba(255, 195, 0, 0.2);
}

/* About Background */
.about-bg {
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.95)), url(../img/banner2.jpeg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Mission Background */
.mission-bg {
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.95)), url(../img/bg1.jpg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Banner Background */
.banner-bg {
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.95)), url(../img1/rebg.JPG.jpeg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Features Background */
.features-bg {
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.95)), url(../img/bg1.jpg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Banner Card Glassmorphism */
.banner-card {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 195, 0, 0.3);
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

/* Testimonial Background */
.testimonial-bg {
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.95)), url(../img1/revbg.jpg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Blog Background */
.blog-bg {
    background: none;
}

h1, h2, h3, h4, h5, h6 {
    color: #FFC300;
}

.feature-item h5,
.service-bg h3,
.carousel-caption h1,
.carousel-caption h5,
.page-header h1 {
    color: #FFC300;
}

.service-bg,
.carousel-caption,
.page-header {
    color: #FFFFFF;
}

.feature-item:hover h5 {
    color: #000000;
}

     /*** Custom Animations & Styles ***/

        /* About Image Floating Animation */
        @keyframes float {
            0% {
                transform: translateY(0px);
            }
            50% {
                transform: translateY(-20px);
            }
            100% {
                transform: translateY(0px);
            }
        }

        .about-image-float {
            animation: float 4s ease-in-out infinite;
        }

        /* Gallery Item Hover */
        .gallery-item {
            overflow: hidden;
        }
        .gallery-item img {
            transition: transform 0.5s ease;
        }
        .gallery-item:hover img {
            transform: scale(1.1);
        }

        /*branches*/
         .branch-item {
            background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
            border-radius: 15px;
            overflow: hidden;
            transition: all 0.5s ease;
            height: 100%;
            border: 1px solid rgba(255, 195, 0, 0.1);
            display: flex;
            flex-direction: column;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }
        
        .branch-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(255, 195, 0, 0.15);
            border-color: var(--primary);
        }

        .branch-img {
            height: 300px;
            overflow: hidden;
            position: relative;
        }

        .branch-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.8s ease;
        }

        .branch-item:hover .branch-img img {
            transform: scale(1.1) rotate(2deg);
        }

        .branch-text {
            padding: 30px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .branch-text h3 {
            margin-bottom: 15px;
            position: relative;
            display: inline-block;
            padding-bottom: 10px;
        }
        
        .branch-text h3::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 60px;
            height: 3px;
            background: var(--primary);
            transition: width 0.3s;
        }

        .branch-item:hover .branch-text h3::after {
            width: 100px;
        }
        
        .branch-details {
            margin-bottom: 20px;
            color: #ccc;
        }
        
        .branch-btn-wrapper {
            margin-top: auto;
        }

        /* contact-secrtion*/
            .contact-info-item {
            background: var(--secondary);
            padding: 25px;
            border-radius: 15px;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            transition: all .4s ease-in-out;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .contact-info-item:hover {
            background: var(--primary);
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        }

        .contact-info-item .icon {
            font-size: 2.5rem;
            color: var(--primary);
            margin-right: 20px;
            transition: all .4s;
            width: 60px;
            text-align: center;
        }

        .contact-info-item:hover .icon {
            color: var(--dark);
            transform: scale(1.1) rotate(-15deg);
        }

        .contact-info-item .details {
            flex: 1;
        }

        .contact-info-item .details h5 {
            color: var(--light);
            margin-bottom: 5px;
            transition: all .4s;
            text-transform: uppercase;
        }

        .contact-info-item .details p,
        .contact-info-item .details a {
            color: #ccc;
            margin-bottom: 0;
            transition: all .4s;
            word-break: break-all;
        }

        .contact-info-item:hover .details h5,
        .contact-info-item:hover .details p,
        .contact-info-item:hover .details a {
            color: var(--dark);
        }

        .map-container {
            border-radius: 15px;
            overflow: hidden;
            border: 3px solid var(--primary);
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
            line-height: 0;
             /* Removes bottom space from iframe */
        }
        /*contactimage*/
        .contact-image{
            margin-top: 30px;
            border-radius: 15px;
            border: 1px solid rgb(15, 15, 15);
        }
            .contact-image :hover{
            margin-top: 30px;
            border-radius: 15px;
            border: 1px solid goldenrod;
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(255, 195, 0, 0.15);
            border-color: var(--primary);
        }

/* New Animations */


/* Button Pulse Animation */
@keyframes btnPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 195, 0, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(255, 195, 0, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 195, 0, 0); }
}
.btn-pulse {
    animation: btnPulse 2s infinite;
}

/* Footer Link Slide Animation */
.footer .btn-link {
    transition: 0.3s;
    display: block;
    margin-bottom: 8px;
    padding: 5px 0;
    text-align: left;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
    text-transform: capitalize;
    border: none;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer .btn-link::before {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    color: var(--bs-primary);
    background: var(--bs-primary);
    transition: 0.3s;
}
.footer .btn-link:hover {
    color: var(--bs-light) !important;
    box-shadow: none;
    background: none;
    padding-left: 10px;
    border-bottom-color: transparent;
}

.footer .btn-link:hover::before {
    width: 100%;
}

/* Social Icon Swing Animation */
@keyframes swing {
    20% { transform: rotate(15deg); }
    40% { transform: rotate(-10deg); }
    60% { transform: rotate(5deg); }
    80% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
}
.btn-square:hover, 
.btn-lg-square:hover {
    animation: swing 1s ease;
}

/* Input Focus Glow */
.form-control {
    transition: all 0.3s ease;
}
.form-control:focus {
    box-shadow: 0 0 15px rgba(255, 195, 0, 0.3);
    border-color: var(--bs-primary);
}

/* About Image Container Styles */
.about-img-container {
    position: relative;
    z-index: 1;
}
.about-img-container img {
    position: relative;
    z-index: 2;
    transition: .5s;
}
.about-img-container::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border: 10px solid var(--bs-primary);
    transform: rotate(-5deg);
    z-index: 1;
    transition: .5s;
}
.about-img-container:hover img {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0,0,0,.3);
}
.about-img-container:hover::before {
    transform: rotate(0deg);
    border-color: #ffffff;
}

/* Premium About Page Styles */
.about-text-box {
    background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255, 195, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.about-text-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--bs-primary);
}

.mission-vision-item {
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.mission-vision-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 195, 0, 0.05), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
    z-index: -1;
}

.mission-vision-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border-color: var(--bs-primary);
}

.mission-vision-item:hover::before {
    transform: translateX(100%);
}

.mission-vision-item i {
    transition: 0.4s;
}

.mission-vision-item:hover i {
    transform: scale(1.2) rotate(10deg);
    color: #fff !important;
}

/* Premium Footer Input */
.footer .form-control {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* Premium Footer Styles */
.footer-contact-item {
    padding: 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
    margin-left: -10px; /* Offset padding */
    border: 1px solid transparent;
}

.footer-contact-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 195, 0, 0.2);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.footer-contact-item .btn-square {
    transition: all 0.3s ease;
}

.footer-contact-item:hover .btn-square {
    background: var(--bs-primary) !important;
    color: #000;
}
.footer-contact-item:hover .btn-square span {
    color: #000 !important;
}

.footer-premium-input-group {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: 0.3s;
}
.footer-premium-input-group:hover {
    box-shadow: 0 0 20px rgba(255, 195, 0, 0.15);
    border-color: rgba(255, 195, 0, 0.3);
}

.premium-social-btn {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.premium-social-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--bs-primary);
    z-index: -1;
    transition: all 0.3s ease;
    transform: skewX(45deg) translateX(-150%);
}

.premium-social-btn:hover {
    color: #000 !important;
    border-color: var(--bs-primary) !important;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 195, 0, 0.4);
}

.premium-social-btn:hover::before {
    width: 150%;
    transform: skewX(45deg) translateX(-20%);
}

/* Hero Carousel Content Box */
.carousel-content-box {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 195, 0, 0.3);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

/* Premium Team Card Style v2 */
.team-card-v2 {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 195, 0, 0.1);
}

.team-card-v2 .team-img {
    position: relative;
}

.team-card-v2 .team-img img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.team-card-v2:hover .team-img img {
    transform: scale(1.1);
    filter: brightness(0.7);
}

.team-card-v2 .team-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    text-align: center;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.4s ease;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.95), transparent);
}

.team-card-v2:hover .team-content {
    transform: translateY(0);
    opacity: 1;
}

.team-card-v2 .team-content h5 {
    margin-bottom: 5px;
    color: #fff !important;
}

.team-card-v2 .team-content p {
    margin-bottom: 0;
}

/* Star Rating System */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 10px;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: color 0.2s;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
    color: var(--bs-primary);
}

/* Premium Review Form */
.review-form-premium {
    background: linear-gradient(145deg, #111111, #050505);
    padding: 30px 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 195, 0, 0.1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    position: relative;
}

.review-form-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--bs-primary), transparent);
}

.review-form-premium .form-control {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    color: #fff !important;
    transition: all 0.3s;
}

.review-form-premium .form-control:focus {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: var(--bs-primary) !important;
    box-shadow: 0 0 15px rgba(255, 195, 0, 0.1);
}

/* Premium Apply Form (Modal) */
#registrationModal .modal-content {
    background: transparent !important;
    border: none !important;
    box-shadow: none;
    border-radius: 15px;
}

#registrationModal .modal-form-content {
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
    padding: 2.5rem;
    border-radius: 0 15px 15px 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#registrationModal .modal-title {
    color: var(--bs-primary);
    font-weight: 800;
}

#registrationModal .modal-form-content p {
    color: rgba(255, 255, 255, 0.7) !important;
}

#registrationModal .form-control, 
#registrationModal .form-select {
    background-color: rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    transition: all 0.4s ease;
    padding: 0.75rem 1rem;
    height: auto;
}

#registrationModal .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
}

#registrationModal .form-select option {
    background: #1a1a1a;
    color: #fff;
}

#registrationModal .input-group-text {
    background-color: rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: var(--bs-primary);
    transition: all 0.4s ease;
}

#registrationModal .form-control:focus, 
#registrationModal .form-select:focus {
    background-color: rgba(0, 0, 0, 0.2) !important;
    box-shadow: none;
}

#registrationModal .input-group:focus-within .form-control,
#registrationModal .input-group:focus-within .form-select {
    border-color: var(--bs-primary) !important;
    box-shadow: 0 0 15px rgba(255, 195, 0, 0.2);
}

#registrationModal .input-group:focus-within .input-group-text {
    border-color: var(--bs-primary) !important;
    background-color: rgba(255, 195, 0, 0.1) !important;
    color: #fff;
}

#registrationModal .btn-primary {
    background: linear-gradient(45deg, var(--bs-primary), #ffdb4d) !important;
    border: none !important;
    color: #000 !important;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.5s ease;
    padding: 0.75rem;
}

#registrationModal .btn-primary:hover {
    box-shadow: 0 0 30px rgba(255, 195, 0, 0.4);
    transform: scale(1.02);
}

/* Modal Entrance Animation */
#registrationModal .modal-dialog {
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
    transform: scale(0.7) translateY(50px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#registrationModal.show .modal-dialog {
    transform: scale(1) translateY(0);
    opacity: 1;
}

@media (max-width: 991.98px) {
    #registrationModal .modal-form-content {
        border-radius: 15px;
    }
}

/*** Responsive Media Queries ***/

@media (max-width: 991.98px) {
    .page-header {
        padding-top: 100px;
    }
    
    .carousel-caption {
        padding-top: 40px;
    }
    
    .carousel-caption h1 {
        font-size: 3.5rem;
    }
    
    .feature-item {
        margin-bottom: 30px;
    }
    
    .about-text-box {
        margin-top: 30px;
        padding: 30px;
    }

    .course-item-detailed .course-text {
        padding: 30px;
    }

    .service-item.service-item-right .service-text {
        text-align: center !important;
    }

    .course-item-detailed .row > .order-md-1,
    .course-item-detailed .row > .order-md-2 {
        order: 0;
    }
}

@media (max-width: 767.98px) {
    html {
        /* Reduce base font size for mobile, affecting all rem units */
        font-size: 15px;
    }

    .page-header {
        padding-top: 80px; 
    }
    .page-header h1 {
        font-size: 3rem;
    }

    .carousel-caption h1 {
        font-size: 2.5rem;
    }
    
    .carousel-caption .btn {
        margin-bottom: 10px;
    }
    
    .service-item .service-img::before {
        width: calc(100% - 4rem);
        height: calc(100% - 4rem);
        border-width: 1rem;
    }
    
    .title h1 {
        font-size: 2.2rem;
    }
    
    .title h5 {
        font-size: 16px;
    }

    .footer .copyright {
        text-align: center !important;
    }
    
    .footer .copyright .text-md-end {
        text-align: center !important;
        margin-top: 15px;
    }
    
    .carousel-content-box {
        padding: 20px;
        margin: 0 15px;
    }
    
    .footer .row > div {
        text-align: center;
    }
    
    .footer .d-flex {
        justify-content: center;
    }
    
    .footer-contact-item {
        margin-left: 0;
        justify-content: center;
    }

    /* Disable fixed background on mobile for performance and compatibility */
    .page-header,
    .facts-bg,
    .about-bg,
    .mission-bg,
    .banner-bg,
    .features-bg,
    .testimonial-bg {
        background-attachment: scroll;
    }

    .testimonial-item {
        padding: 30px 20px;
        margin: 20px 10px;
    }

    .testimonial-item .fs-5 {
        font-size: 1rem !important;
        line-height: 1.6;
    }

    .contact-info-item {
        padding: 20px;
    }

    .banner-card {
        padding: 30px 20px;
    }

    .footer .btn-link {
        text-align: center;
    }

    .footer .btn-link:hover {
        padding-left: 0;
    }

    /* Reduce Features section item sizes */
    .feature-item {
        padding: 20px !important;
        aspect-ratio: auto !important; /* Allow cards to be shorter instead of square */
        min-height: auto !important;
    }

    .feature-item i {
        font-size: 2rem !important; /* Scale down icons from 3x */
        margin-bottom: 10px !important;
    }
}

@media (max-width: 575.98px) {
    html {
        /* Further reduce base font size for small mobile screens */
        font-size: 14px;
    }

    .page-header {
        padding-top: 70px;
        min-height: 250px;
    }
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .display-1 {
        font-size: 2rem;
    }
    
    .carousel-caption h5 {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }
    
    .carousel-caption .btn {
        display: block;
        width: 100%;
        margin-left: 0 !important;
    }
    
    .about-img-container::before {
        display: none; 
    }
    
    .floating-buttons {
        bottom: 15px;
        right: 15px;
    }
    
    .floating-toggle {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .floating-menu .btn {
        width: 40px;
        height: 40px;
    }

/* Dashboard Specific Styles */
#wrapper {
    overflow-x: hidden;
}

#sidebar-wrapper {
    min-height: 100vh;
    transition: margin 0.25s ease-out;
}

#sidebar-wrapper .sidebar-heading {
    padding: 0.875rem 1.25rem;
    font-size: 1.2rem;
}

.list-group-item-action:hover {
    background-color: rgba(255, 195, 0, 0.1) !important;
    color: var(--bs-primary) !important;
}

/* Admin Page Component Styles */
.admin-action-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    border-radius: 8px;
}

.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.rounded-full { border-radius: 100%; }

    .course-text {
        padding: 20px;
    }

    .banner-card {
        padding: 20px 15px;
    }

    /* Further reduce padding for Small Mobile */
    .branch-text, 
    .course-item-detailed .course-text {
        padding: 15px !important;
    }
    
    .branch-img,
    .course-item-detailed .course-img {
        height: 180px !important;
        min-height: 180px !important;
    }
}

/* Chatbot Styles */
.chatbot-container {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    max-width: 90%;
    background: linear-gradient(145deg, #1a1a1a, #050505);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(255, 195, 0, 0.2);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.8) translateY(50px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chatbot-container.show {
    transform: scale(1) translateY(0);
    opacity: 1;
    visibility: visible;
}

@media (max-width: 767.98px) {
    .chatbot-container {
        bottom: 90px;
        right: 15px;
        width: calc(100% - 30px);
    }
}

.chatbot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #2a2a2a, #0a0a0a);
    border-bottom: 1px solid rgba(255, 195, 0, 0.2);
}

.chatbot-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chatbot-header-title i {
    color: var(--bs-primary);
}

.chatbot-header h5 {
    margin: 0;
    color: var(--bs-primary);
}

.chatbot-header-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chatbot-body {
    padding: 20px;
    height: 300px;
    overflow-y: auto;
}

.chatbot-message {
    margin-bottom: 15px;
    display: flex;
}

.chatbot-message p {
    padding: 10px 15px;
    border-radius: 10px;
    margin: 0;
    max-width: 80%;
    line-height: 1.4;
}

.chatbot-message.bot p {
    background: linear-gradient(145deg, #333, #222);
    color: #e0e0e0;
    border-top-left-radius: 0;
}

.chatbot-message.user {
    justify-content: flex-end;
}

.chatbot-message.user p {
    background: var(--bs-primary);
    color: #000;
    border-top-right-radius: 0;
}

.chatbot-footer {
    display: flex;
    padding: 15px;
    border-top: 1px solid rgba(255, 195, 0, 0.2);
    background: #050505;
}

.chatbot-footer input {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50px;
    padding: 8px 15px;
    margin-right: 10px;
}

.chatbot-footer input:focus {
    outline: none;
    border-color: var(--bs-primary);
    box-shadow: 0 0 10px rgba(255, 195, 0, 0.2);
}

.chatbot-footer .btn {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 0;
}