/********** Template CSS **********/
/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Optimize all scrollable containers */
* {
    -webkit-tap-highlight-color: transparent;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Prevent Horizontal Scrolling - Simplified like original template */
html, body {
    overflow-x: hidden;
    width: 100%;
}


img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
    /* Optimize image rendering */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    /* GPU acceleration */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}


:root {
    --primary: #940000;
    --light: #FFFFFF;
    --dark: #000000;
    --bs-primary: #940000;
    --bs-primary-rgb: 148, 0, 0;
}

/* Global Font Family - Century Gothic */
body, p, h1, h2, h3, h4, h5, h6, a, span, div, li, td, th, input, textarea, select, button, label, .btn, .navbar-nav .nav-link, .dropdown-item, .alert, .card-title, .card-text, .list-group-item, .breadcrumb-item, figcaption, blockquote, cite, code, strong, b, em, small, .form-control, .form-select, .form-check-label, .input-group-text, .badge, .page-link {
    font-family: "Century Gothic", sans-serif !important;
}

/* Exclude Font Awesome icons from Century Gothic */
.fas, .far, .fab, .fa, [class*="fa-"], i[class*="fa-"], [class^="fa-"], [class*=" icon-"] {
    font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands", "Font Awesome 5 Pro" !important;
}

/* Bootstrap Primary Color Override */
.btn-primary {
    background-color: #940000 !important;
    border-color: #940000 !important;
    color: #FFFFFF !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #7a0000 !important;
    border-color: #7a0000 !important;
    color: #FFFFFF !important;
}

.bg-primary {
    background-color: #940000 !important;
}

.text-primary {
    color: #940000 !important;
}

.border-primary {
    border-color: #940000 !important;
}

.spinner-border.text-primary {
    color: #940000 !important;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 600 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 500 !important;
}

h5,
h6,
.h5,
.h6,
.fw-normal {
    font-weight: 400 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    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: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

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

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

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

.btn-outline-body {
    color: var(--primary);
    border-color: #777777;
}

.btn-outline-body:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 30px 0;
    color: var(--dark);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand img {
    display: block;
    max-height: 60px;
    width: auto;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .5);
}

.header-carousel .owl-carousel-item {
    position: relative;
    min-height: 500px;
    max-height: 600px;
    overflow: hidden;
}

.header-carousel .owl-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        min-height: 400px;
        max-height: 450px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}

.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: var(--dark);
    transition: .5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    transition: .5s;
    opacity: .3;
}

.header-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}

/* Hero Carousel Mobile Responsive - Enhanced */
@media (max-width: 767px) {
    .header-carousel .owl-carousel-item {
        min-height: 400px !important;
        max-height: 500px !important;
        height: auto !important;
    }
    
    .header-carousel .owl-carousel-item img {
        width: 100% !important;
        height: 100% !important;
        min-height: 400px !important;
        object-fit: cover !important;
        object-position: center center !important;
        display: block !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
    }
    
    .header-carousel .owl-carousel-inner {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 2;
    }
    
    .header-carousel h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 15px !important;
    }
    
    .header-carousel p {
        font-size: 16px !important;
        margin-bottom: 20px !important;
    }
    
    .header-carousel .btn {
        padding: 12px 25px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .header-carousel .owl-carousel-item {
        min-height: 350px !important;
        max-height: 400px !important;
    }
    
    .header-carousel .owl-carousel-item img {
        min-height: 350px !important;
    }
    
    .header-carousel h1 {
        font-size: 1.75rem !important;
    }
    
    .header-carousel p {
        font-size: 14px !important;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
    min-height: 300px;
    max-height: 400px;
    height: auto;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.page-header h1 {
    padding: 0 20px;
    word-wrap: break-word;
    max-width: 100%;
}

@media (max-width: 767px) {
    .page-header {
        min-height: 250px;
        max-height: 300px;
    }
    
    .page-header h1 {
        font-size: 1.5rem !important;
        padding: 0 15px;
    }
    
    .page-header .breadcrumb {
        font-size: 12px;
    }
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
}


/*** Facts ***/
.fact-item .fact-icon {
    width: 120px;
    height: 120px;
    margin-top: -60px;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 120px;
    transition: .5s;
}

.fact-item:hover .fact-icon {
    background: var(--dark);
}

.fact-item .fact-icon i {
    color: var(--primary);
    transition: .5;
}

.fact-item:hover .fact-icon i {
    color: #FFFFFF;
}


/*** About & Feature ***/
.about-img,
.feature-img {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.about-img img,
.feature-img img {
    position: absolute;
    width: 60%;
    height: 80%;
    object-fit: cover;
}

.about-img img:last-child,
.feature-img img:last-child {
    margin: 20% 0 0 40%;
}

.about-img::before,
.feature-img::before {
    position: absolute;
    content: "";
    width: 60%;
    height: 80%;
    top: 10%;
    left: 20%;
    border: 5px solid var(--primary);
    z-index: -1;
}


/*** Service ***/
.service-item .bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.service-item {
    min-height: 250px;
    /* GPU acceleration for smooth animations */
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.service-item .service-text {
    background: rgba(0, 0, 0, .7);
    transition: .5s;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-item:hover .service-text {
    background: rgba(0, 0, 0, .7);
}

.service-item * {
    transition: .5;
    color: #FFFFFF;
}

.service-item .btn {
    width: 140px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

.service-item .btn .text-primary,
.service-item .btn i.text-primary {
    color: var(--primary) !important;
}

.service-item:hover * {
    color: #FFFFFF;
}

.service-item:hover .btn {
    color: var(--dark);
}

.service-item:hover .btn .text-primary,
.service-item:hover .btn i.text-primary {
    color: var(--primary) !important;
}

.service-item:hover .btn {
    width: 140px;
}

.service-item h3 {
    color: #ffffff !important;
}

.service-item:hover h3 {
    color: #ffffff !important;
}

.service-item h4 {
    color: #940000 !important;
}

.service-item:hover h4 {
    color: #940000 !important;
}

/* Service Item Mobile Responsive */
@media (max-width: 767px) {
    .service-item {
        width: 100%;
        margin-bottom: 20px;
        min-height: 300px;
    }
    
    .service-item .service-text {
        width: 100%;
        padding: 30px 20px !important;
    }
    
    .service-item .bg-img {
        width: 100%;
        height: 100%;
    }
}

/*** Solutions Section ***/
.solution-card {
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(148, 0, 0, 0.15) !important;
}

.solution-card:hover .solution-image img {
    transform: scale(1.1);
}

.solution-card .btn-primary {
    transition: all 0.3s ease;
}

.solution-card:hover .btn-primary {
    background-color: #7a0000 !important;
    border-color: #7a0000 !important;
}

/* Demo Play Overlay Styling */
.demo-play-overlay > div {
    box-shadow: 0 0 0 0 rgba(148, 0, 0, 0.7);
    animation: steam-ripple 2s infinite;
    position: relative;
}

.demo-play-overlay > div::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(148, 0, 0, 0.4);
    transform: translate(-50%, -50%);
    animation: steam-pulse 2s ease-out infinite;
    z-index: -1;
}

.demo-play-overlay > div::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(148, 0, 0, 0.2);
    transform: translate(-50%, -50%);
    animation: steam-pulse 2s ease-out infinite 0.5s;
    z-index: -1;
}

@keyframes steam-pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

@keyframes steam-ripple {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.solution-image:hover .demo-play-overlay > div {
    background: rgba(148, 0, 0, 0.95) !important;
    transform: scale(1.1);
    box-shadow: 0 0 0 10px rgba(148, 0, 0, 0.3), 0 0 0 20px rgba(148, 0, 0, 0.2);
}

.solution-image:hover .demo-play-overlay i {
    transform: scale(1.1);
}

.solution-image:hover .demo-play-overlay span {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(148, 0, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(148, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(148, 0, 0, 0);
    }
}

/*** FAQ Section ***/
.accordion-button:not(.collapsed) {
    background-color: #940000 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(148, 0, 0, 0.2) !important;
}

.accordion-button:not(.collapsed) i {
    color: #ffffff !important;
}

.accordion-button {
    transition: all 0.3s ease;
}

.accordion-button:hover {
    background-color: #f8f9fa !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(148, 0, 0, 0.15) !important;
}

.accordion-button:not(.collapsed):hover {
    background-color: #7a0000 !important;
}

.accordion-button:focus {
    border-color: #940000;
    box-shadow: 0 0 0 0.25rem rgba(148, 0, 0, 0.25);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23940000'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(180deg);
}

.accordion-item {
    transition: all 0.3s ease;
    margin-bottom: 15px !important;
}

.accordion-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(148, 0, 0, 0.15) !important;
}

.accordion-body {
    transition: all 0.3s ease;
}

.accordion-body a {
    transition: all 0.2s ease;
}

.accordion-body a:hover {
    text-decoration: underline !important;
    color: #7a0000 !important;
}

/*** Live Systems Section ***/
.live-system-card {
    transition: all 0.3s ease;
}

.live-system-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(148, 0, 0, 0.15) !important;
}

.live-system-card:hover .live-system-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.live-system-card:hover h4 {
    color: #940000 !important;
}

.live-system-hidden {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*** Why Choose Us Section ***/
.why-choose-section {
    position: relative;
    overflow: hidden;
}

.why-choose-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.why-choose-section .container {
    position: relative;
    z-index: 2;
}

.why-choose-item {
    transition: all 0.3s ease;
    border: 1px solid transparent;
    /* GPU acceleration */
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.why-choose-item:hover {
    transform: translateY(-5px) translateZ(0);
    box-shadow: 0 8px 20px rgba(148, 0, 0, 0.15);
    border-color: #940000;
}

.why-choose-icon div {
    transition: all 0.3s ease;
}

.why-choose-item:hover .why-choose-icon div {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(148, 0, 0, 0.3);
}

/*** Blog Section ***/
.blog-item {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    /* GPU acceleration for smooth animations */
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.blog-item:hover {
    transform: translateY(-5px) translateZ(0);
    box-shadow: 0 8px 20px rgba(148, 0, 0, 0.15) !important;
    border-color: #940000;
}

.blog-img {
    transition: transform 0.3s ease;
}

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

.blog-content h4 {
    transition: color 0.3s ease;
}

.blog-item:hover .blog-content h4 {
    color: #940000 !important;
}

@media (max-width: 991px) {
    .blog-item {
        flex-direction: column;
    }
    
    .blog-img {
        width: 100% !important;
        height: 200px !important;
    }
}

/*** Vision Mission Values Section ***/
.vision-mission-card {
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.vision-mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(148, 0, 0, 0.2) !important;
}

.vision-mission-card img {
    transition: transform 0.3s ease;
}

.vision-mission-card:hover img {
    transform: scale(1.05);
}

.vision-mission-card .fa-check-circle {
    color: #940000 !important;
}

.vision-mission-card h3 {
    transition: color 0.3s ease;
}

.vision-mission-card:hover h3 {
    color: #940000 !important;
}

/*** Map Section ***/
.map-section {
    background: #f8f9fa;
}

.map-container {
    overflow: hidden;
    border-radius: 1rem;
    min-height: 500px;
    width: 100%;
}

.map-container iframe {
    border-radius: 1rem;
    width: 100%;
    min-height: 500px;
    display: block;
}

/* Live Badge Animation */
.live-badge {
    position: relative;
    animation: pulse-live 2s ease-in-out infinite;
}

.live-badge::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 0.375rem;
    background-color: #198754;
    opacity: 0.5;
    animation: ripple-live 2s ease-out infinite;
}

@keyframes pulse-live {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

@keyframes ripple-live {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* Solutions Tabs Styling */
#solutionTabs .nav-link {
    transition: all 0.3s ease;
}

#solutionTabs .nav-link:hover {
    background-color: rgba(148, 0, 0, 0.1) !important;
    color: #940000 !important;
}

#solutionTabs .nav-link.active {
    background-color: #940000 !important;
    color: #ffffff !important;
    border-color: #940000 !important;
}

#solutionTabs .nav-link.active:hover {
    background-color: #7a0000 !important;
    border-color: #7a0000 !important;
    color: #ffffff !important;
}

/* Solutions Tabs Responsive */
@media (max-width: 991px) {
    #solutionTabs {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        padding-bottom: 10px;
        margin-bottom: 30px !important;
        max-width: 100%;
        width: 100%;
    }
    
    #solutionTabs::-webkit-scrollbar {
        height: 6px;
    }
    
    #solutionTabs::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }
    
    #solutionTabs::-webkit-scrollbar-thumb {
        background: #940000;
        border-radius: 10px;
    }
    
    #solutionTabs .nav-item {
        flex-shrink: 0;
    }
    
    #solutionTabs .nav-link {
        white-space: nowrap;
        font-size: 14px;
        padding: 8px 20px !important;
        margin: 5px !important;
    }
}

@media (max-width: 767px) {
    #solutionTabs {
        margin-bottom: 25px !important;
    }
    
    #solutionTabs .nav-link {
        font-size: 13px;
        padding: 8px 18px !important;
        margin: 3px !important;
    }
}

@media (max-width: 480px) {
    #solutionTabs .nav-link {
        font-size: 12px;
        padding: 7px 15px !important;
        margin: 3px !important;
    }
}

/* View Demo Button Styling */
.solution-card .btn-outline-primary {
    transition: all 0.3s ease;
}

.solution-card .btn-outline-primary:hover {
    background-color: #940000 !important;
    border-color: #940000 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(148, 0, 0, 0.3);
}


/*** Project ***/
.project .nav .nav-link {
    background: var(--light);
    transition: .5s;
}

.project .nav .nav-link.active {
    background: var(--primary);
}

.project .nav .nav-link.active h3 {
    color: #FFFFFF !important;
}


/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
    /* GPU acceleration for smooth animations */
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: var(--primary);
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    bottom: 20px;
    left: 0;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
}

.team-item .team-social .btn {
    display: inline-flex;
    margin: 0 2px;
    color: #940000;
    background: #FFFFFF;
    border: 1px solid #940000;
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: #940000;
    border-color: #940000;
}

.team-item h3 {
    font-size: 1rem !important;
    font-weight: 600;
}

/* About Section Responsive */
@media (max-width: 991px) {
    #about .col-lg-6 {
        margin-bottom: 40px;
    }
    
    #about h1 {
        font-size: 2rem !important;
    }
    
    #about .video_wrapper {
        margin-bottom: 30px !important;
    }
}

@media (max-width: 767px) {
    #about {
        padding: 40px 0 !important;
    }
    
    #about h1 {
        font-size: 1.75rem !important;
        margin-bottom: 15px !important;
    }
    
    #about .border-top {
        margin: 15px 0 !important;
    }
    
    #about p {
        font-size: 14px !important;
        line-height: 1.6 !important;
        margin-bottom: 15px !important;
    }
    
    #about .btn {
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 14px !important;
    }
    
    /* Experience Counter Responsive */
    #about .d-flex.justify-content-between {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px;
    }
    
    #about .d-flex.align-items-center {
        width: 100%;
    }
    
    #about .d-flex.flex-shrink-0 {
        width: 100px !important;
        height: 100px !important;
    }
    
    #about .display-1 {
        font-size: 2.5rem !important;
    }
    
    #about .ps-4 h3 {
        font-size: 1.25rem !important;
        margin-bottom: 5px !important;
    }
    
    #about .ms-4 {
        margin-left: 0 !important;
        width: 100%;
    }
    
    #about .ms-4 .btn {
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    #about h1 {
        font-size: 1.5rem !important;
    }
    
    #about .d-flex.flex-shrink-0 {
        width: 80px !important;
        height: 80px !important;
    }
    
    #about .display-1 {
        font-size: 2rem !important;
    }
    
    #about .ps-4 h3 {
        font-size: 1rem !important;
    }
    
    #about .ps-4 {
        padding-left: 15px !important;
    }
}


/*** Appointment ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel {
    display: flex !important;
    flex-direction: column-reverse;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.testimonial-carousel .owl-dots .owl-dot {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 5px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot::after {
    position: absolute;
    width: 40px;
    height: 40px;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
    transition: .5s;
    opacity: 0;
}

.testimonial-carousel .owl-dots .owl-dot.active::after {
    opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .4;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


/*** Testimonial Section - Modern Card Design ***/
.testimonial-section {
    position: relative;
    overflow: hidden;
    /* Use scroll instead of fixed on mobile for better performance */
    background-attachment: scroll;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    /* GPU acceleration */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

@media (min-width: 768px) {
    .testimonial-section {
        background-attachment: fixed !important;
    }
}

.testimonial-card-item {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.testimonial-card-item:hover .testimonial-card-avatar-center {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(148, 0, 0, 0.5);
}

.testimonial-card-avatar-center {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid var(--primary);
    box-shadow: 0 3px 10px rgba(148, 0, 0, 0.3);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.testimonial-card-avatar-center img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.testimonial-card-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.testimonial-quote-small {
    color: var(--primary);
    font-size: 24px;
    margin-bottom: 15px;
    opacity: 0.7;
}

.testimonial-card-rating {
    display: flex;
    gap: 5px;
    justify-content: center;
    margin-bottom: 15px;
}

.testimonial-card-rating i {
    color: #ffc107;
    font-size: 14px;
}

.testimonial-card-author {
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: auto;
}

.testimonial-card-author h5 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 5px 0;
}

.testimonial-card-author span {
    font-size: 13px;
    color: #777;
}

@media (max-width: 992px) {
    .testimonial-card-item {
        padding: 25px;
        margin-bottom: 30px;
    }
    
    .testimonial-card-avatar-center {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 768px) {
    .testimonial-section {
        padding: 30px 0 !important;
    }
    
    .testimonial-card-item {
        padding: 18px;
        margin-bottom: 20px;
    }
    
    .testimonial-card-avatar-center {
        width: 55px;
        height: 55px;
        margin-bottom: 10px;
    }
    
    .testimonial-card-text p {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .testimonial-quote-small {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .testimonial-card-rating {
        margin-bottom: 10px;
    }
    
    .testimonial-card-author {
        padding-top: 8px;
    }
    
    .testimonial-card-author h5 {
        font-size: 15px;
    }
    
    .testimonial-card-author span {
        font-size: 11px;
    }
}


/*** Partners Section ***/
.partners-section {
    background: #f8f9fa;
    padding: 50px 0;
}

.partner-item {
    padding: 15px;
    text-align: center;
}

.partner-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.partner-logo-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.partner-logo {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0%);
    opacity: 1;
    transition: all 0.3s ease;
}

.partner-logo-wrapper:hover .partner-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.partners-carousel.owl-carousel .owl-item {
    opacity: 1;
}

.partners-carousel.owl-carousel .owl-stage {
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .partners-section {
        padding: 40px 0;
    }
    
    .partner-logo-wrapper {
        height: 100px;
        padding: 15px;
    }
    
    .partner-logo {
        max-height: 60px;
    }
}

@media (max-width: 576px) {
    .partner-logo-wrapper {
        height: 90px;
        padding: 12px;
    }
    
    .partner-logo {
        max-height: 50px;
    }
}


/*** Footer ***/
.footer {
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 0;
}

.footer > * {
    position: relative;
    z-index: 1;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #777777;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    display: none;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: #777777;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}

/* Social Media Icons Styling */
.footer-social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.social-media-icon {
    display: inline-block;
    transition: all 0.3s ease;
    border-radius: 50%;
    padding: 8px;
    background: rgba(255, 255, 255, 0.1);
}

.social-media-icon:hover {
    transform: translateY(-5px) scale(1.1);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-media-icon img,
.social-media-icon svg {
    display: block;
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.social-media-icon:hover img,
.social-media-icon:hover svg {
    transform: scale(1.1);
}


/*** Statistics Section ***/
.statistics-section {
    position: relative;
    overflow: hidden;
}

.statistics-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

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

.statistics-section .statistics-item {
    padding: 20px;
    transition: all 0.3s ease;
}

.statistics-section .statistics-item:hover {
    transform: translateY(-5px);
}

.statistics-section .statistics-icon {
    width: 70px;
    height: 70px;
    background: rgba(148, 0, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    border: 2px solid rgba(148, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.statistics-section .statistics-item:hover .statistics-icon {
    background: rgba(148, 0, 0, 0.4);
    transform: scale(1.1);
    border-color: rgba(148, 0, 0, 0.7);
}

.statistics-section .statistics-icon i {
    font-size: 28px;
    color: var(--primary);
}

.statistics-section .statistics-number {
    font-size: 36px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 15px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

.statistics-section .statistics-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 992px) {
    .statistics-section .statistics-number {
        font-size: 32px;
    }
    
    .statistics-section .statistics-icon {
        width: 60px;
        height: 60px;
    }
    
    .statistics-section .statistics-icon i {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .statistics-section .statistics-item {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .statistics-section .statistics-number {
        font-size: 28px;
    }
    
    .statistics-section .statistics-icon {
        width: 55px;
        height: 55px;
    }
    
    .statistics-section .statistics-icon i {
        font-size: 22px;
    }
    
    .statistics-section .statistics-label {
        font-size: 12px;
    }
}

/* Floating WhatsApp & Location Buttons */
.floating-buttons {
    position: fixed;
    left: 0;
    right: auto;
    max-width: 100vw;
    left: 20px;
    bottom: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    color: #FFFFFF;
    text-decoration: none;
}

.whatsapp-btn {
    background-color: #25D366;
}

.whatsapp-btn:hover {
    background-color: #20BA5A;
}

.location-btn {
    background-color: #940000;
}

.location-btn:hover {
    background-color: #7a0000;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    }
    100% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
}

/* Responsive adjustments for floating buttons */
@media (max-width: 768px) {
    .floating-buttons {
        left: 15px;
        bottom: 20px;
        max-width: calc(100vw - 30px);
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}