/********** Template CSS **********/
:root {
    /* Updated to Premium Royal Blue & Vibrant Orange */
    --primary: #1363DF;
    --secondary: #F97316;
    --light: #EDF1FC;
    --dark: #17224D;
}

.fw-medium {
    font-weight: 600 !important;
}

.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;
}

.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;
}


/*** Navbar ***/
.top-bar {
    height: 75px;
    padding: 0 4rem;
}

.nav-bar {
    position: relative;
    padding: 0 4.75rem;
    transition: .5s;
    z-index: 9999;
}

.nav-bar.sticky-top {
    position: sticky;
    padding: 0;
    z-index: 9999;
}

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

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

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

@media (max-width: 991.98px) {
    .nav-bar {
        padding: 0;
    }

    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .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;
    }
}


/*** Header ***/
.header-carousel .container,
.page-header .container {
    position: relative;
    padding: 45px 0 45px 35px;
    border-left: 15px solid #FFFFFF;
}

.header-carousel .container::before,
.header-carousel .container::after,
.page-header .container::before,
.page-header .container::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100px;
    height: 15px;
    background: #FFFFFF;
}

.header-carousel .container::after,
.page-header .container::after {
    top: 100%;
    margin-top: -15px;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/bgok.jpg) center center no-repeat;
    background-size: cover;
}

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


/*** Facts ***/
.fact {
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}


/*** Service ***/
.service-item-top img {
    transition: .5s;
}

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

.service-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.service-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--primary);
    border: 5px solid var(--light);
    transition: .5s;
}

.service-carousel .owl-dot.active {
    background: var(--light);
    border-color: var(--primary);
}


/*** Booking ***/
.video {
    position: relative;
    padding: 8rem 0 12rem 0;
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.video .btn-play {
    position: relative;
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
    margin-bottom: 4rem;
}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: #FFFFFF;
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: #FFFFFF;
    border-radius: 50%;
    transition: all 200ms;
}

.video .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--primary);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}

.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);
}


/*** Team ***/
.team-item img {
    transition: .5s;
}

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

.team-item .team-text {
    height: 90px;
    overflow: hidden;
}

.team-item .team-text .bg-light,
.team-item .team-text .bg-primary {
    position: relative;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: .5s;
}

.team-item .team-text .bg-primary {
    flex-direction: row;
}

.team-item:hover .team-text .bg-light {
    margin-top: -90px;
}

.team-item .team-text .bg-primary .btn {
    color: var(--primary);
    background: #FFFFFF;
}

.team-item .team-text .bg-primary .btn:hover {
    color: #FFFFFF;
    background: var(--secondary)
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
    position: relative;
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-item .testimonial-text::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    left: 50%;
    bottom: -30px;
    transform: translateX(-50%);
    border: 15px solid;
    border-color: var(--light) transparent transparent transparent;
    transition: .5s;

}

.testimonial-carousel .owl-item.center .testimonial-text::after {
    border-color: var(--primary) transparent transparent transparent;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    font-size: 30px;
    color: var(--primary);
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

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

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

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

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


/* ================================================== */
/* ===== PREMIUM HOME PAGE STYLES 2.0 (ENHANCED) ==== */
/* ================================================== */

:root {
    --primary: #1363DF;
    --primary-dark: #0D47A1;
    --secondary: #F97316;
    --secondary-dark: #EA580C;
    --success: #10B981;
    --dark: #111827;
    --light: #F3F4F6;
    --gray: #4B5563;
    --border: #E5E7EB;
    
    /* Premium Shadow Palette for Depth */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 15px rgba(19, 99, 223, 0.3);
}

/* ===== GLOBAL TYPOGRAPHY & RESET ===== */
html {
    scroll-behavior: smooth;
}

body {
    /* Implementation of Point 3: Body uses Inter */
    font-family: 'Inter', 'Segoe UI', 'Roboto', sans-serif;
    background-color: #f9fafb;
    color: var(--dark);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    /* Implementation of Point 3: Headings use Roboto */
    font-family: 'Roboto', 'Inter', sans-serif;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.02em; 
}

/* ===== CAROUSEL & HERO SECTION ===== */
.owl-carousel.header-carousel {
    margin-bottom: 0 !important;
}

.owl-carousel-item {
    position: relative;
    height: 700px; /* Increased height for grandeur */
}

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

/* Darker, richer gradient overlay for text readability */
.owl-carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.header-carousel .container {
    z-index: 2; /* Ensure text is above overlay */
}

/* ===== PREMIUM BUTTONS (CTA) ===== */
.btn {
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 30px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    /* Point 6: Gradient & Glow */
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    border: none;
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.4); /* Orange Glow */
}

/* ===== SERVICE CARDS (GLASSMORPHISM & DEPTH) ===== */
.service-item-top {
    border-radius: 16px;
    overflow: hidden;
    background: white;
    border: 1px solid rgba(255, 255, 255, 0.6);
    /* Point 1: Soft Shadows instead of borders */
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy transition */
}

.service-item-top:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.service-item-top .overflow-hidden {
    height: 250px;
}

.service-item-top .bg-light {
    background: white !important;
    border-top: 1px solid var(--light);
    padding: 1.5rem !important;
}

.service-item-top h5 {
    font-size: 1.1rem;
    color: var(--dark);
}

/* ===== TRUST & STATS ===== */
.trust-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 50px;
    color: white;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

/* Subtle background pattern for trust section */
.trust-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.15) 1px, transparent 0);
    background-size: 20px 20px;
    pointer-events: none;
}

.trust-item {
    position: relative;
    z-index: 1;
}

.trust-item-number {
    font-size: 3rem;
    font-weight: 800;
    background: -webkit-linear-gradient(#fff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== BOOKING FORM (FLOATING CARD) ===== */
.booking-section {
    padding: 80px 0;
    background-color: #f9fafb; /* Light gray background to make form pop */
}

.booking-container {
    /* Point 1: Floating Card Effect */
    background: white;
    border-radius: 24px;
    padding: 50px;
    box-shadow: var(--shadow-xl);
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
}

/* Add a colored top border to the form */
.booking-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 24px 24px 0 0;
}

.booking-container h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.booking-container p {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--gray);
}

.form-control, .form-select {
    border: 1px solid #e5e7eb !important;
    background-color: #f9fafb;
    padding: 15px !important;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-control:focus, .form-select:focus {
    background-color: white;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(19, 99, 223, 0.1) !important;
}

.booking-btn {
    width: 100%;
    background: var(--dark);
    color: white;
    padding: 18px;
    border-radius: 10px;
    font-weight: 700;
    border: none;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s;
    margin-top: 10px;
}

.booking-btn:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ===== ABOUT & CLIENTS ===== */
.about-section h6, 
.text-secondary.text-uppercase {
    color: var(--secondary) !important;
    letter-spacing: 2px;
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: inline-block;
}

/* Point 5: Brand Logos Grayscale to Color Effect */
.team-item img {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.4s ease;
    border-radius: 12px;
    padding: 10px;
    background: white;
    box-shadow: var(--shadow-sm);
}

.team-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

/* ===== TESTIMONIALS (SPEECH BUBBLES) ===== */
.testimonial-item {
    margin: 20px 10px;
}

.testimonial-text {
    background: white !important;
    box-shadow: var(--shadow-md);
    border-radius: 16px;
    padding: 30px !important;
    position: relative;
    border: 1px solid #f0f0f0;
}

.testimonial-text p {
    font-size: 1.05rem;
    color: var(--gray);
    font-style: italic;
}

.testimonial-item img {
    width: 70px !important;
    height: 70px !important;
    border: 3px solid white;
    box-shadow: var(--shadow-md);
    margin-top: -35px;
    position: relative;
    z-index: 2;
}

/* ===== FOOTER (DARK THEME) ===== */
.footer {
    background: #111827 !important; /* Very dark blue-grey */
}

.footer h4 {
    color: white;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer .btn-social {
    background: rgba(255,255,255,0.1);
    border: none;
}

.footer .btn-social:hover {
    background: var(--secondary);
    color: white;
}

/* ===== MOBILE STICKY ICONS (Fixed Alignment) ===== */
@media (max-width: 768px) {
    .owl-carousel-item {
        height: 400px; /* Better height for mobile */
    }
    
    .call-icon, .whatsapp-icon {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
        background: white; /* Clean white background for icon container */
        color: var(--primary);
    }

    .whatsapp-icon {
        bottom: 25px;
        right: 20px;
        background: #25D366;
        color: white;
    }

    .call-icon {
        bottom: 25px;
        right: 90px;
        background: var(--primary);
        color: white;
    }
    
    .trust-item-number {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .whatsapp-icon {
        bottom: 20px;
        right: 15px;
    }

    .call-icon {
        bottom: 20px;
        right: 80px;
    }
    
    .booking-container {
        padding: 30px 20px;
    }
}