/********** Template CSS **********/
:root {
    --primary: #353535;
    --secondary: #494949;
    --light: #F4F7FE;
    --dark: #242424;
    --white: #ffffff;
    --black: #000000;
    --grey: #666666;
    --light-grey: #f8f9fa;
    --dark-grey: #333333;
}

/* ========== MODERN ADVANCED PRELOADER ========== */
.modern-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.modern-preloader .preloader-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

/* Cleaning Elements Animation */
.cleaning-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.cleaning-element {
    position: absolute;
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.7;
    animation: floatAround 8s linear infinite;
}

.cleaning-element:nth-child(1) {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
    animation-duration: 10s;
}

.cleaning-element:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 12s;
}

.cleaning-element:nth-child(3) {
    top: 80%;
    left: 20%;
    animation-delay: 4s;
    animation-duration: 14s;
}

.element-trail {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    animation: trailEffect 2s ease-in-out infinite;
}

@keyframes floatAround {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(50px, -30px) rotate(90deg);
    }
    50% {
        transform: translate(30px, 40px) rotate(180deg);
    }
    75% {
        transform: translate(-40px, 20px) rotate(270deg);
    }
}

@keyframes trailEffect {
    0%, 100% {
        opacity: 0;
        height: 0;
    }
    50% {
        opacity: 0.5;
        height: 30px;
    }
}

/* Logo Container */
.logo-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    z-index: 2;
}

.logo-text {
    display: flex;
    gap: 8px;
}

.logo-letter {
    font-size: 2.5rem;
    font-weight: 700;
    color: transparent;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    animation: letterWave 2s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.1s);
    font-family: 'Ubuntu', sans-serif;
    text-transform: uppercase;
}

@keyframes letterWave {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(-15px);
        opacity: 0.8;
    }
}

/* Water Ripple Effect */
.water-ripple {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 2px solid rgba(53, 53, 53, 0.3);
    animation: rippleEffect 3s ease-out infinite;
    z-index: 1;
}

.water-ripple:nth-child(1) {
    animation-delay: 0s;
}

.water-ripple:nth-child(2) {
    animation-delay: 0.5s;
    width: 300px;
    height: 300px;
}

.water-ripple:nth-child(3) {
    animation-delay: 1s;
    width: 400px;
    height: 400px;
}

@keyframes rippleEffect {
    0% {
        transform: scale(0.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* Preloader Exit Animation */
.modern-preloader.hide {
    animation: fadeOut 0.8s ease forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.1);
        visibility: hidden;
    }
}

/* Responsive Design for Preloader */
@media (max-width: 768px) {
    .modern-preloader .preloader-container {
        gap: 30px;
    }
    
    .logo-letter {
        font-size: 1.8rem;
    }
    
    .cleaning-element {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo-letter {
        font-size: 1.4rem;
    }
    
    .cleaning-element {
        font-size: 1.2rem;
    }
}

/* Remove old preloader styles */
#preloader {
    display: none !important;
}

/* ========== WIDER CONTENT WIDTH ========== */
.container {
    max-width: 1400px !important;
}

.container-fluid {
    padding-left: 50px !important;
    padding-right: 50px !important;
}

@media (max-width: 768px) {
    .container-fluid {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* ========== TRANSPARENT NAVBAR WITH BLUR EFFECT ========== */
#mainNavbar.container-fluid.sticky-top {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1030 !important;
    background: transparent !important;
    transition: all 0.4s ease !important;
    padding: 0 !important;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
}

/* Initial transparent state - black logo and text */
#mainNavbar.container-fluid.sticky-top:not(.scrolled) .navbar-brand img {
    filter: brightness(0) !important; /* Makes logo black */
}

#mainNavbar.container-fluid.sticky-top:not(.scrolled) .navbar-nav .nav-link {
    color: black !important; /* Black text */
}

/* Simple black navbar toggler */
#mainNavbar.container-fluid.sticky-top:not(.scrolled) .navbar-toggler {
    border: none !important;
    background: transparent !important;
    padding: 0.25rem 0.5rem;
}

#mainNavbar.container-fluid.sticky-top:not(.scrolled) .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Scrolled state - white transparent blur background - KEEP LOGO BLACK */
#mainNavbar.container-fluid.sticky-top.scrolled {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1) !important;
    padding: 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* KEEP LOGO BLACK WHEN SCROLLED */
#mainNavbar.container-fluid.sticky-top.scrolled .navbar-brand img {
    filter: brightness(0) !important; /* Keep logo black */
}

#mainNavbar.container-fluid.sticky-top.scrolled .navbar-nav .nav-link {
    color: black !important; /* Black text when scrolled */
}

#mainNavbar.container-fluid.sticky-top.scrolled .navbar-toggler {
    border: none !important;
    background: transparent !important;
    padding: 0.25rem 0.5rem;
}

#mainNavbar.container-fluid.sticky-top.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Ensure navbar structure */
#mainNavbar .navbar {
    background: transparent !important;
    padding: 15px 0 !important;
    transition: all 0.4s ease;
}

#mainNavbar .navbar-nav .nav-link {
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 10px 0 !important;
    margin: 0 15px !important;
    transition: all 0.3s ease;
}

#mainNavbar .navbar-nav .nav-link:hover,
#mainNavbar .navbar-nav .nav-link.active {
    transform: translateY(-2px);
    color: var(--primary) !important;
}

#mainNavbar .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

#mainNavbar .navbar-nav .nav-link:hover::after,
#mainNavbar .navbar-nav .nav-link.active::after {
    width: 100%;
}

/* Logo styling */
#mainNavbar .navbar-brand img {
    max-width: 120px !important;
    height: auto;
    transition: filter 0.4s ease;
}

/* Add padding to hero to account for fixed navbar */
#heroSlider {
    margin-top: 0;
}

.carousel-item {
    height: 100vh;
    min-height: 700px;
}

/* Navbar toggler styling - SIMPLE BLACK */
#mainNavbar .navbar-toggler {
    border: none !important;
    background: transparent !important;
    padding: 0.25rem 0.5rem;
    transition: all 0.3s ease;
    box-shadow: none !important;
}

#mainNavbar .navbar-toggler:hover {
    background: transparent !important;
}

#mainNavbar .navbar-toggler:focus {
    box-shadow: none !important;
    outline: none !important;
}

/* Modern Booking Button in Navbar */
.btn-booking-nav {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white !important;
    padding: 10px 25px !important;
    font-weight: 600;
    transition: all 0.4s ease !important;
    box-shadow: 0 4px 15px rgba(53, 53, 53, 0.2);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
    border-radius: 30px;
    border: 1px solid transparent;
    margin-left: 50px;
    margin-top: 5px;
}

.btn-booking-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-booking-nav:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(53, 53, 53, 0.3);
    color: white !important;
}

.btn-booking-nav:hover::before {
    left: 100%;
}

/* Navbar Spacing */
.nav-spacing .nav-link {
    margin-left: 1.8rem !important;
    margin-right: 1.8rem !important;
}

/* Remove the old spacing classes */
.navbar-nav .nav-link.mx-3 {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* ========== UPDATED MOBILE MENU STYLES ========== */
@media (max-width: 991.98px) {
    #mainNavbar.container-fluid.sticky-top {
        position: fixed !important;
        background: transparent !important;
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
    }
    
    #mainNavbar.container-fluid.sticky-top.scrolled {
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
    }
    
    /* Updated hamburger button for mobile */
    .navbar-toggler {
        width: 44px;
        height: 44px;
        padding: 0 !important;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.1) !important;
        border-radius: 10px !important;
        z-index: 10;
        position: relative;
        margin-right: 10px !important;
    }
    
    .navbar-toggler-icon {
        width: 24px;
        height: 24px;
        background: transparent !important;
        position: relative;
    }
    
    .navbar-toggler-icon::before {
        top: 6px;
    }
    
    .navbar-toggler-icon::after {
        bottom: 6px;
    }
    
    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
        transform: rotate(45deg);
        top: 11px;
        background: black;
    }
    
    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
        transform: rotate(-45deg);
        bottom: 11px;
        background: black;
    }
    
    /* Updated mobile menu overlay */
    .full-screen-menu {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 100% !important;
        height: 100vh !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(30px) !important;
        -webkit-backdrop-filter: blur(30px) !important;
        padding: 0 !important;
        z-index: 9999 !important;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex !important;
        flex-direction: column;
        box-shadow: none;
        border-left: none;
        overflow-y: auto;
    }
    
    .full-screen-menu.show {
        right: 0 !important;
        display: flex !important;
    }
    
    /* Updated mobile navigation links */
    .navbar-nav {
        flex: 1;
        padding: 120px 20px 40px !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 15px;
        margin: 0;
    }
    
    .nav-item {
        width: 100%;
        max-width: 300px;
        opacity: 0;
        transform: translateY(20px);
        animation: slideUpFade 0.5s ease forwards;
        animation-delay: calc(var(--item-index, 0) * 0.1s);
    }
    
    .nav-item:nth-child(1) { --item-index: 1; }
    .nav-item:nth-child(2) { --item-index: 2; }
    .nav-item:nth-child(3) { --item-index: 3; }
    .nav-item:nth-child(4) { --item-index: 4; }
    .nav-item:nth-child(5) { --item-index: 5; }
    
    @keyframes slideUpFade {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-link {
        color: black !important;
        padding: 18px 25px !important;
        font-size: 1.2rem !important;
        font-weight: 600;
        border-radius: 15px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        background: rgba(0, 0, 0, 0.05);
        border: 2px solid transparent;
        margin: 0 !important;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: rgba(0, 0, 0, 0.1) !important;
        color: black !important;
        border-color: rgba(0, 0, 0, 0.15);
        transform: translateY(-4px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }
    
    /* Updated close button */
    .close-icon {
        position: absolute;
        top: 25px;
        right: 25px;
        width: 50px;
        height: 50px;
        background: rgba(0, 0, 0, 0.1);
        border: none;
        color: black;
        cursor: pointer;
        z-index: 10000;
        display: flex !important;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: all 0.3s ease;
        padding: 0;
        margin: 0;
        font-size: 24px;
        font-weight: 300;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .close-icon:hover {
        background: rgba(0, 0, 0, 0.2);
        transform: rotate(90deg);
    }
    
    /* Updated booking button for mobile */
    .btn-booking-nav {
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        color: white !important;
        padding: 18px 40px !important;
        font-size: 1.1rem !important;
        font-weight: 600;
        border-radius: 30px;
        border: none;
        margin: 30px auto 0 !important;
        width: 85%;
        max-width: 300px;
        display: block !important;
        text-align: center;
        box-shadow: 0 10px 30px rgba(var(--primary-rgb, 53, 53, 53), 0.3);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        animation: slideUpFade 0.5s ease forwards;
        animation-delay: 0.6s;
        opacity: 0;
        transform: translateY(20px);
    }
    
    .btn-booking-nav:hover {
        transform: translateY(-5px) scale(1.05);
        box-shadow: 0 15px 40px rgba(var(--primary-rgb, 53, 53, 53), 0.4);
    }
    
    /* Adjust hero for mobile navbar */
    #heroSlider {
        margin-top: 0;
    }
    
    .carousel-item {
        height: 90vh;
        min-height: 600px;
        padding: 80px 0 40px;
    }
}

/* ========== SMALL MOBILE OPTIMIZATION ========== */
@media (max-width: 576px) {
    .navbar-toggler {
        width: 40px;
        height: 40px;
    }
    
    .full-screen-menu {
        backdrop-filter: blur(25px) !important;
        -webkit-backdrop-filter: blur(25px) !important;
    }
    
    .navbar-nav {
        padding: 100px 15px 30px !important;
        gap: 12px;
    }
    
    .nav-link {
        padding: 16px 20px !important;
        font-size: 1.1rem !important;
        border-radius: 12px;
    }
    
    .close-icon {
        top: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .btn-booking-nav {
        padding: 16px 30px !important;
        font-size: 1rem !important;
        margin-top: 25px !important;
    }
    
    .nav-spacing .nav-link {
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin: 0 !important;
    }
    
    #heroSlider {
        margin-top: 0;
    }
    
    .carousel-item {
        height: 90vh;
        min-height: 550px;
    }
}

/* ========== CLEAN IMPROVED BOOKING FORM STYLES ========== */
/* Clean Background Section */
.booking-page-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.booking-page-container {
    padding: 60px 0;
}

/* Clean Modern Contact Form - IMPROVED DESIGN */
.modern-contact-form {
    background: white;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(53, 53, 53, 0.08);
    transition: all 0.3s ease;
}

.modern-contact-form:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

/* Improved Section Header */
.section-header-modern {
    position: relative;
    z-index: 1;
    margin-bottom: 50px;
    text-align: center;
}

.section-label {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(53, 53, 53, 0.2);
    position: relative;
    overflow: hidden;
}

.section-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.section-label:hover::before {
    left: 100%;
}

.section-title-modern {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
    line-height: 1.2;
    font-family: 'Ubuntu', sans-serif;
}

.title-highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.title-highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--grey);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.section-subtitle strong {
    color: var(--dark);
    font-weight: 600;
}

/* IMPROVED FORM CONTROLS */
.modern-contact-form .form-floating {
    margin-bottom: 1.5rem;
    position: relative;
}

.modern-contact-form .form-control,
.modern-contact-form .form-select {
    border: 1.5px solid rgba(53, 53, 53, 0.15);
    border-radius: 12px; 
    transition: all 0.3s ease;
    font-size: 1rem;
    background: white;
    height: calc(3.5rem + 2px);
    line-height: 1.5;
}

.modern-contact-form .form-control:focus,
.modern-contact-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(53, 53, 53, 0.1);
    transform: translateY(-2px);
    background: white;
}

.modern-contact-form .form-label {
    color: var(--grey);
    font-weight: 500;
    padding: 0 1.5rem;
    transform-origin: 0 0;
    transition: all 0.2s ease;
}

.modern-contact-form .form-control:focus ~ .form-label,
.modern-contact-form .form-control:not(:placeholder-shown) ~ .form-label,
.modern-contact-form .form-select:focus ~ .form-label,
.modern-contact-form .form-select:not(:placeholder-shown) ~ .form-label {
    transform: scale(0.85) translateY(-0.9rem) translateX(0.15rem);
    color: var(--primary);
    font-weight: 600;
}

/* Improved Textarea */
.modern-contact-form textarea.form-control {
    height: 140px !important;
    resize: none;
    padding-top: 1.5rem;
    line-height: 1.6;
}

/* Improved Select Dropdown */
.modern-contact-form .form-select {
    appearance: none;
    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='%23333' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    background-size: 16px 12px;
    padding-right: 3rem;
}

/* Improved Submit Button */
.modern-contact-form .btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 12px;
    padding: 1.25rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
    box-shadow: 0 5px 20px rgba(53, 53, 53, 0.15);
    letter-spacing: 0.5px;
}

.modern-contact-form .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.modern-contact-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(53, 53, 53, 0.25);
}

.modern-contact-form .btn-primary:hover::before {
    left: 100%;
}

.modern-contact-form .btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: 0 5px 20px rgba(53, 53, 53, 0.15) !important;
}

/* Loading Spinner */
#btnLoader {
    width: 1.2rem;
    height: 1.2rem;
    border-width: 0.15em;
}

/* Form Row Spacing */
.modern-contact-form .row.g-3 {
    margin-bottom: -1.5rem;
}

/* Form Help Text */
.form-text {
    font-size: 0.85rem;
    color: var(--grey);
    margin-top: 0.25rem;
    padding-left: 0.5rem;
}

/* Form Validation Styles */
.modern-contact-form .form-control.is-valid,
.modern-contact-form .form-select.is-valid {
    border-color: #28a745;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    padding-right: calc(1.5em + 0.75rem);
}

.modern-contact-form .form-control.is-invalid,
.modern-contact-form .form-select.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    padding-right: calc(1.5em + 0.75rem);
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.was-validated .form-control:invalid ~ .invalid-feedback,
.was-validated .form-control:invalid ~ .invalid-tooltip,
.was-validated .form-select:invalid ~ .invalid-feedback {
    display: block;
}

/* Date and Time Input Styling */
.modern-contact-form input[type="date"],
.modern-contact-form input[type="time"] {
    position: relative;
}

.modern-contact-form input[type="date"]::-webkit-calendar-picker-indicator,
.modern-contact-form input[type="time"]::-webkit-calendar-picker-indicator {
    background: none;
    opacity: 0.5;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    width: 20px;
    height: 20px;
}

/* Success Message Styling */
.booking-success-message {
    text-align: center;
    padding: 40px 20px;
}

.booking-success-message i {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 20px;
    display: block;
}

.booking-success-message h3 {
    color: var(--dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.booking-success-message p {
    color: var(--grey);
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Responsive Design for Booking Form */
@media (max-width: 768px) {
    .booking-page-container {
        padding: 40px 0;
    }
    
    .modern-contact-form {
        padding: 35px 25px;
        border-radius: 20px;
    }
    
    .section-title-modern {
        font-size: 2.2rem;
    }
    
    .section-label {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    .modern-contact-form .btn-primary {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .modern-contact-form {
        padding: 30px 20px;
        border-radius: 16px;
    }
    
    .section-title-modern {
        font-size: 1.8rem;
    }
    
    .modern-contact-form .row.g-3 {
        margin-bottom: -1rem;
    }
    
    .modern-contact-form .form-floating {
        margin-bottom: 1rem;
    }
}

/* Animation for form elements */
@keyframes formFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modern-contact-form .row > div {
    animation: formFadeIn 0.5s ease forwards;
    animation-delay: calc(var(--animation-order) * 0.1s);
    opacity: 0;
}

/* Additional Form Improvements */
.form-floating > .form-control:focus ~ label::after,
.form-floating > .form-control:not(:placeholder-shown) ~ label::after,
.form-floating > .form-select ~ label::after {
    background-color: transparent !important;
}

/* Focus state improvements */
.modern-contact-form .form-control:focus,
.modern-contact-form .form-select:focus {
    outline: none;
}

/* Placeholder styling */
.modern-contact-form .form-control::placeholder {
    color: transparent;
}

/* Required field indicator */
.modern-contact-form .form-label::after {
    content: ' *';
    color: #dc3545;
    margin-left: 2px;
}

/* Optional field styling */
.modern-contact-form textarea.form-control ~ .form-label::after {
    content: '';
}

/* Additional Modern Feature Section */
.feature-section-with-bg {
    background: linear-gradient(135deg, 
        #0f0f0f 0%, 
        #1a1a1a 30%, 
        #252525 70%, 
        #0f0f0f 100%) !important;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

/* Animated Circles Background */
.animated-circles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, 
        rgba(53, 53, 53, 0.15), 
        rgba(53, 53, 53, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.03);
    animation: float-circle infinite ease-in-out;
}

.circle-1 {
    width: 150px;
    height: 150px;
    top: 10%;
    left: 5%;
    animation-duration: 25s;
    animation-delay: 0s;
}

.circle-2 {
    width: 100px;
    height: 100px;
    top: 70%;
    left: 10%;
    animation-duration: 20s;
    animation-delay: 5s;
}

.circle-3 {
    width: 200px;
    height: 200px;
    top: 20%;
    right: 10%;
    animation-duration: 30s;
    animation-delay: 10s;
}

.circle-4 {
    width: 80px;
    height: 80px;
    bottom: 15%;
    right: 15%;
    animation-duration: 18s;
    animation-delay: 15s;
}

.circle-5 {
    width: 120px;
    height: 120px;
    top: 50%;
    left: 15%;
    animation-duration: 22s;
    animation-delay: 8s;
}

@keyframes float-circle {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translate(30px, -20px) rotate(90deg);
        opacity: 0.5;
    }
    50% {
        transform: translate(-20px, 30px) rotate(180deg);
        opacity: 0.7;
    }
    75% {
        transform: translate(20px, -30px) rotate(270deg);
        opacity: 0.5;
    }
}

/* Updated Feature Cards */
.modern-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 25px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.02), 
        rgba(255, 255, 255, 0.01));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Updated Feature Icons - No background */
.feature-icon-wrapper {
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feature-icon-wrapper i {
    font-size: 1.8rem;
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper i {
    transform: scale(1.2);
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-content h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 0;
}

/* Updated Stats Cards */
.stats-card-modern {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stats-card-modern:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.stats-icon-modern {
    flex-shrink: 0;
}

.stats-icon-modern i {
    font-size: 2.2rem;
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.stats-card-modern:hover .stats-icon-modern i {
    transform: rotate(15deg) scale(1.1);
}

.stats-content-modern {
    flex: 1;
}

.counter-wrapper {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 5px;
}

.counter {
    font-size: 2.8rem;
    font-weight: 800;
    color: white;
    font-family: 'Ubuntu', sans-serif;
    line-height: 1;
}

.counter-suffix {
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.stats-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.stats-glow {
    position: absolute;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, 
        rgba(53, 53, 53, 0.4), 
        transparent 70%);
    filter: blur(30px);
    top: -30px;
    right: -30px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.stats-card-modern:hover .stats-glow {
    opacity: 0.6;
}

/* Updated Floating Cards */
.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    animation: float-card 6s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 10;
    min-width: 200px;
    transition: all 0.3s ease;
}

.floating-card i {
    font-size: 1.8rem;
    color: var(--primary);
    flex-shrink: 0;
}

.floating-content {
    display: flex;
    flex-direction: column;
}

.floating-title {
    font-weight: 800;
    color: var(--dark);
    font-size: 1.1rem;
    line-height: 1.2;
}

.floating-desc {
    font-size: 0.9rem;
    color: var(--grey);
    font-weight: 500;
}

.floating-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.floating-card-1 {
    top: 10%;
    left: -25px;
    animation-delay: 0s;
}

.floating-card-2 {
    top: 30%;
    right: -25px;
    animation-delay: 1.5s;
}

.floating-card-3 {
    bottom: 35%;
    left: -25px;
    animation-delay: 3s;
}

.floating-card-4 {
    bottom: 10%;
    right: -25px;
    animation-delay: 4.5s;
}

@keyframes float-card {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
    }
    25% { 
        transform: translateY(-12px) rotate(2deg); 
    }
    50% { 
        transform: translateY(0) rotate(0deg); 
    }
    75% { 
        transform: translateY(-12px) rotate(-2deg); 
    }
}

/* ========== Testimonial Section ========== */
.testimonial-section {
    background: var(--white);
}

.testimonial-container {
    display: none;
}

.testimonial-container.active {
    display: block;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 35px 30px;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-card .quote-icon {
    color: var(--primary);
    opacity: 0.2;
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.testimonial-card .testimonial-text {
    font-size: 0.95rem;
    color: var(--grey);
    line-height: 1.7;
    margin-bottom: 25px;
    font-style: italic;
}

.client-info {
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 20px;
}

.client-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.client-details h5 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--primary);
}

.client-details span {
    font-size: 0.9rem;
    color: var(--grey);
}

/* Testimonial Controls */
.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 15px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background: var(--primary);
    transform: scale(1.3);
}

.testimonial-nav {
    background: var(--primary);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.testimonial-nav:hover {
    background: var(--secondary);
    transform: scale(1.1);
}

/* ========== Modern Scroll Down Animation ========== */
.scroll-down-modern {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    text-align: center;
    color: white;
    cursor: pointer;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.scroll-down-modern:hover {
    opacity: 1;
}

.scroll-down-modern .mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    display: block;
    margin: 0 auto 10px;
    position: relative;
}

.scroll-down-modern .mouse .wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: mouseWheel 2s infinite;
}

.scroll-down-modern .arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}

.scroll-down-modern .arrow span {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    border-right: 2px solid rgba(255, 255, 255, 0.7);
    transform: rotate(45deg);
    animation: arrowDown 2s infinite;
    margin: -5px;
}

.scroll-down-modern .arrow span:nth-child(2) {
    animation-delay: 0.2s;
}

.scroll-down-modern .arrow span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes mouseWheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

@keyframes arrowDown {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-5px, -5px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(5px, 5px);
    }
}

/* ========== Modern Stats Section - Black & Grey Theme ========== */
.stats-modern-section {
    background: linear-gradient(135deg, #222222 0%, #444444 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.stats-modern-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(53, 53, 53, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(73, 73, 73, 0.3) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23222222" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom center;
    background-size: cover;
}

.stat-card {
    background: rgba(33, 33, 33, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(53, 53, 53, 0.3), rgba(73, 73, 73, 0.2));
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.stat-card:hover::before {
    transform: translateY(0);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2rem;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(10deg);
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    font-family: 'Ubuntu', sans-serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-title {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.stat-line {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 0 auto;
    transition: all 0.4s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-card:hover .stat-line {
    width: 80px;
    background: linear-gradient(90deg, #ffffff, #f0f0f0);
}

/* ========== Modern FAQ Design ========== */
.faq-item {
    margin-bottom: 15px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.faq-question {
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(53, 53, 53, 0.02);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary);
    font-size: 1.2rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-content {
    padding: 0 25px 25px;
    color: var(--grey);
    line-height: 1.7;
}

/* ========== Hero Slider Styles ========== */
.hero-slide {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(53, 53, 53, 0.9));
}

.hero-slide-1 {
    background-image: url('../img/hero-bg-1.jpg');
}

.hero-slide-2 {
    background-image: url('../img/hero-bg-2.jpg');
}

.hero-slide-3 {
    background-image: url('../img/hero-bg-3.jpg');
}

.hero-slide > .container {
    position: relative;
    z-index: 2;
    padding-top: 100px;
}

.hero-slide h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-slide p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons .btn {
    padding: 12px 35px;
    font-weight: 600;
    border-radius: 50px;
    margin: 5px;
    transition: all 0.3s ease;
}

.btn-light {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--white);
}

.btn-light:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.social-icons .btn-social {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-icons .btn-social:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-3px) rotate(5deg);
}

.features-list,
.contact-info {
    margin-top: 30px;
}

.feature-item,
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--white);
}

.feature-item i,
.contact-item i {
    color: var(--white);
    font-size: 1.3rem;
    margin-right: 15px;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 30px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--white);
    border-color: var(--white);
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    filter: invert(1);
}

.carousel-indicators {
    bottom: 40px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 10px;
    border: 2px solid white;
    background: transparent;
    opacity: 0.5;
}

.carousel-indicators button.active {
    background: var(--white);
    border-color: var(--white);
    opacity: 1;
}

/* Floating animation for hero images */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-slide img {
    animation: float 6s ease-in-out infinite;
    max-height: 500px;
}

/* ========== Redesigned Feature Boxes ========== */
.feature-box {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--white);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin-right: 15px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feature-box:hover .feature-icon {
    background: var(--dark);
    transform: rotate(5deg);
}

.feature-content h6 {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 5px;
}

.feature-content p {
    color: var(--grey);
    font-size: 0.9rem;
    margin: 0;
}

/* ========== Updated Service Item Hover Effect ========== */
.service-section {
    background: var(--light-grey);
    padding: 80px 0;
}

.service-item {
    position: relative;
    padding: 45px 30px;
    background: var(--white);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-item:hover {
    margin-top: -10px;
    padding-bottom: 55px;
    background: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-item .service-icon {
    margin: 0 auto 20px auto;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: var(--grey);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.service-item:hover .service-icon {
    color: var(--grey);
    background: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.service-item h5,
.service-item p {
    transition: all 0.3s ease;
}

.service-item:hover h5 {
    color: var(--white) !important;
}

.service-item:hover p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.faq-section {
    background: var(--light-grey);
    padding: 80px 0;
}

/* ========== Additional Modern Styles ========== */
.section-title {
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Modern Back to Top */
.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top:hover {
    background: var(--dark);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* ========== Animations ========== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.fadeInDown { animation: fadeInDown 1s ease; }
.fadeInUp { animation: fadeInUp 1s ease; }
.fadeInRight { animation: fadeInRight 1s ease; }

.stat-card {
    animation: countUp 0.6s ease forwards;
}

.stat-card:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-card:nth-child(3) {
    animation-delay: 0.4s;
}

.stat-card:nth-child(4) {
    animation-delay: 0.6s;
}

/* Responsive Design */
@media (max-width: 1199.98px) {
    .section-title-modern {
        font-size: 3rem;
    }
    
    .modern-features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .floating-card {
        min-width: 180px;
        padding: 12px 16px;
    }
}

@media (max-width: 991.98px) {
    .feature-section-with-bg {
        padding: 80px 0;
    }
    
    .section-title-modern {
        font-size: 2.5rem;
    }
    
    .modern-feature-image {
        min-height: 400px;
        margin-top: 60px;
    }
    
    .floating-card-1,
    .floating-card-2,
    .floating-card-3,
    .floating-card-4 {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        margin: 10px 0;
        width: 100%;
        animation: none;
        transform: none;
    }
    
    .image-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .main-image {
        order: 2;
    }
    
    .floating-card {
        order: 1;
        width: 100%;
        max-width: 300px;
        margin-bottom: 15px;
    }
    
    .feature-box {
        padding: 12px;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        margin-right: 10px;
    }
    
    .feature-content h6 {
        font-size: 0.9rem;
    }
    
    .feature-content p {
        font-size: 0.8rem;
    }
    
    .hero-slide h1 {
        font-size: 2.5rem;
    }
    
    .hero-slide p {
        font-size: 1rem;
    }
    
    .carousel-item {
        height: auto;
        min-height: 600px;
        padding: 100px 0;
    }
    
    .hero-slide img {
        max-height: 400px;
        margin-top: 50px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        margin: 0 15px;
        width: 50px;
        height: 50px;
    }
    
    .hero-buttons .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .service-item {
        padding: 30px 20px;
    }
    
    .service-item .service-icon {
        width: 80px;
        height: 80px;
    }
    
    .hero-slide > .container {
        padding-top: 120px;
    }
    
    /* Responsive FAQ */
    .faq-question {
        padding: 18px 20px;
        font-size: 1rem;
    }
    
    .faq-content {
        padding: 0 20px 20px;
    }
    
    /* Responsive Testimonials */
    .testimonial-card {
        padding: 25px 20px;
    }
    
    .client-info img {
        width: 40px;
        height: 40px;
    }
    
    .testimonial-card .testimonial-text {
        font-size: 0.9rem;
    }
    
    /* Modern Stats */
    .stat-number {
        font-size: 2.8rem;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .testimonial-nav {
        width: 40px;
        height: 40px;
    }
    
    .testimonial-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 767.98px) {
    .section-title-modern {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 20px;
        gap: 15px;
    }
    
    .feature-icon-wrapper i {
        font-size: 1.5rem;
    }
    
    .stats-card-modern {
        padding: 20px;
        gap: 15px;
    }
    
    .counter {
        font-size: 2.2rem;
    }
    
    .feature-box {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        margin: 0 auto 10px;
    }
    
    .hero-slide h1 {
        font-size: 2rem;
    }
    
    .social-icons .btn-social {
        width: 40px;
        height: 40px;
        margin: 0 5px;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
    
    .service-item h5 {
        font-size: 1rem;
    }
    
    .service-item p {
        font-size: 0.9rem;
    }
    
    .stat-card {
        padding: 30px 15px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* Dark Mode Optimization */
@media (prefers-color-scheme: dark) {
    .floating-card {
        background: rgba(25, 25, 25, 0.95);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .floating-title {
        color: white;
    }
    
    .floating-desc {
        color: rgba(255, 255, 255, 0.7);
    }
}

/* Performance Optimization */
.feature-card,
.stats-card-modern,
.floating-card {
    will-change: transform, box-shadow;
    backface-visibility: hidden;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .modern-preloader {
        animation: none !important;
    }
    
    .modern-preloader.hide {
        animation: fadeOut 0.8s ease forwards !important;
    }
}

/* ========== Image Optimization ========== */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========== Footer Link Styles ========== */
.footer-section a.btn-link {
    color: black !important;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    font-weight: normal;
    transition: .3s;
}

.footer-section a.btn-link:hover {
    color: var(--primary) !important;
    letter-spacing: 1px;
}

/* ========== REST OF YOUR ORIGINAL CSS ========== */

.progress {
    height: 5px;
}

.progress .progress-bar {
    width: 0px;
    transition: 3s;
}

/*** Heading ***/
h1,
h2,
h3,
.fw-bold {
    font-weight: 700 !important;
}

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

/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.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;
    border-radius: 50px;
}

/*** Navbar ***/
.sticky-top {
    top: -150px;
    transition: .5s;
}

.navbar {
    padding: 11px 0 !important;
    height: 75px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 0;
    color: rgba(255, 255, 255, .7);
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: rgba(255, 255, 255, 1);
}

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

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none; 
        top: 10%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/* Remove old preloader styles */
#preloader {
    background-color: #fff;
    height: 100%;
    position: fixed;
    width: 100%;
    z-index: 1100;
    display: none !important;
}

#preloader>img {
    left: 47%;
    position: absolute;
    top: 48%;
}

/*=========================================
    Slider
==========================================*/

#slider {
    padding: 0;
}

#slider .carousel-inner .item {
    background-size: cover;
}

.carousel-caption {
    top: 50%;
}

.carousel-caption h2 {
    font-size: 62px;
    font-weight: 300;
}

.carousel-caption h2 span {
    font-weight: 800;
}

.carousel-caption h3 {
    font-size: 48px;
    font-weight: 300;
    margin: 6px 0 20px;
}

.carousel-caption p {
    color: #fff;
    font-size: 18px;
    font-weight: 300;
}

.carousel-caption p:before,
.carousel-caption p:after {
    color: white;
    content: "___";
    position: relative;
    top: -8px;
}

.carousel-caption p:before {
    right: 20px;
}

.carousel-caption p:after {
    left: 20px;
}

.social-links {
    margin-top: 5%;
}

.social-links li {
    display: inline-block;
}

.social-links li a {
    color: grey;
    display: block;
    margin: 0 6px;
}

.social-links li a:hover {
    color: #fff;
}

.carousel-indicators {
    bottom: 10px;
    left: inherit;
    margin: 0;
    right: 30px;
    top: 49%;
    width: 0;
}

.carousel-indicators li {
    border: 1px solid rgba(255, 255, 255, 0.3);
    height: 8px;
    width: 8px;
}

.carousel-indicators .active {
    height: 8px;
    width: 8px;
}

/*** Project Portfolio ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--primary);
    border-color: var(--primary);
}

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

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

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

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

.bg-gh{
    background: url(../img/bg.png) center center no-repeat;
}

/*** Hero Header ***/
.hero-header {
    margin-top: -75px;
    background: url(../img/bgbg.png) center center no-repeat;
    background-size: cover;
}

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

/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 4px;
    bottom: 0;
    left: 0;
    background: var(--dark);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 4px;
    height: 4px;
    bottom: 0;
    left: 50px;
    background: var(--dark);
}

.section-title.text-center::before {
    text-align: center;
}

.section-title.text-center::after {
   text-align: center;
}

.section-title h6::before,
.section-title h6::after {
    position: absolute;
    content: "";
    width: 10px;
    height: 10px;
    top: 2px;
    left: 0;
    background: rgba(33, 66, 177, .5);
}

.section-title h6::after {
    top: 5px;
    left: 3px;
}

/*** About ***/
.about-img {
    position: relative;
    overflow: hidden;
}

.about-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(../img/bg-about-img.png) top left no-repeat;
    background-size: contain;
}

/*** Service ***/
.service-item a.btn {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px 40px 0 0;
    transition: .5s;
    z-index: 1;
}

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

.service-item:hover a.btn {
    bottom: 0;
}

/*** Feature ***/
.feature {
    background: url(img/bg-hero1.png) center center no-repeat;
    background-size: cover;
}

/*** Newsletter ***/
.newsletter {
    background: url(../img/bg-hero.png) center center no-repeat;
    background-size: cover;
}

@media (min-width: 992px) {
    .newsletter .container {
        max-width: 100% !important;
    }

    .newsletter .newsletter-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .newsletter .newsletter-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .newsletter .newsletter-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}

/*** Case Study ***/
.case-item img {
    transition: .5s;
}
  
.case-item:hover img {
    transform: scale(1.2);
}
  
.case-overlay {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(rgba(20, 24, 62, 0), var(--dark));
    z-index: 1;
}

.case-overlay small {
    display: inline-block;
    padding: 3px 15px;
    color: #FFFFFF;
    background: rgba(20, 24, 62, .7);
    border-radius: 25px;
    margin-bottom: 15px;
}

.case-overlay span.btn:hover {
    color: var(--primary);
    background: #FFFFFF;
    border-color: #FFFFFF;
}

/*** FAQs ***/
.accordion .accordion-item {
    border: none;
    margin-bottom: 15px;
}

.accordion .accordion-button {
    background: var(--light);
    border-radius: 2px;
}

.accordion .accordion-button:not(.collapsed) {
    color: #FFFFFF;
    background: var(--primary);
    box-shadow: none;
}

.accordion .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='%23fff'%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");
}

.accordion .accordion-body {
    padding: 15px 0 0 0;
}

/*** Testimonial ***/
.testimonial-carousel {
    position: relative;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 40px;
    height: 100%;
    top: calc(50% - 50px);
    left: -21px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 5px 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    border: 1px solid var(--primary);
    border-radius: 40px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: #FFFFFF;
}

.testimonial-carousel .owl-dots {
    margin-top: 35px;
    margin-left: 3rem;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin-right: 10px;
    width: 15px;
    height: 15px;
    background: #FFFFFF;
    border: 1px solid var(--primary);
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}

/* ========== MODERN TEAM STYLES ========== */
.team-item-modern {
    border: 1px solid rgba(53, 53, 53, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.team-item-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.team-img-container {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.team-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

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

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(53, 53, 53, 0.9), rgba(73, 73, 73, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.team-item-modern:hover .team-overlay {
    opacity: 1;
}

.team-social {
    display: flex;
    gap: 10px;
}

.team-social .btn-square {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 2px solid white;
    color: white;
    transition: all 0.3s ease;
}

.team-social .btn-square:hover {
    background: white;
    color: var(--primary);
    transform: rotate(15deg);
}

.team-content {
    padding: 25px;
    text-align: center;
}

.team-content h5 {
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.team-content small {
    color: var(--primary);
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.team-content p {
    color: var(--grey);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.team-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.team-item-modern:hover .team-badge {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(53, 53, 53, 0.2);
}

/* Career CTA Section */
.career-cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 60px 0;
    border-radius: 20px;
    margin: 50px 0;
}

.career-cta h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.career-cta .btn {
    background: white;
    color: var(--primary);
    border: 2px solid white;
    padding: 12px 40px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.career-cta .btn:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .team-img-container {
        height: 200px;
    }
    
    .team-content {
        padding: 20px;
    }
    
    .team-content h5 {
        font-size: 1.1rem;
    }
    
    .team-content p {
        font-size: 0.85rem;
    }
    
    .career-cta h1 {
        font-size: 2rem;
    }
}

/*** Footer ***/
.footer {
    background: url(../img/footer.png) center center no-repeat;
    background-size: contain;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    border: 1px solid black;
    border-radius: 40px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: white;
    background-color: black;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: black;
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link:hover {
    color: grey;
}

.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: 14px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: black;
}

.footer .copyright a:hover {
    color: grey;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid black;
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

.footer . a {
    color: black;
}

.footer . a:hover {
    color: grey;
}

/* ================================================= */
/* ----------------- Booking Style ----------------- */
/* ================================================= */

#booking {
    position: relative;
    padding: 60px 0;
}

#booking .container {
    max-width: 800px;
}

#booking label {
    font-size: 14px;
    font-weight: 600;
}

#booking .booking-form input,
#booking .booking-form select {
    font-size: 16px;
    padding: 10px 14px;
    border: 1px solid #2d2d2d;
    border-radius: 30px;
    box-shadow: none;
    margin-bottom: 15px;
}

#booking .booking-form input:focus,
#booking .booking-form textarea:focus {
    border: 1px solid #2d2d2d;
}

#booking .booking-form button[type="submit"] {
    background: #FFFFFF;
    border: none;
    padding: 8px 30px 10px 30px;
    color: #ffffff;
    background: #2d2d2d;
    transition: 0.4s;
    cursor: pointer;
    border-radius: 30px;
}

#booking .booking-form button[type="submit"]:hover {
    background: white;
    color: #2d2d2d;
    border: 2px solid #2d2d2d;
}

/* Centered footer copyright */
.copyright .row {
    display: flex;
    justify-content: center;
    align-items: center;
}

.copyright .col-12 {
    text-align: center;
    padding: 20px 0;
}

/* Remove old footer menu */
.footer-menu {
    display: none;
}

/* ========== ENHANCED ABOUT PAGE STYLES ========== */

/* Improved Mission & Vision Cards */
.mission-card, .vision-card {
    background: white;
    border: 1px solid rgba(53, 53, 53, 0.1);
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
    height: 100%;
}

.mission-card:hover, .vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.mission-icon, .vision-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mission-card:hover .mission-icon, .vision-card:hover .vision-icon {
    transform: rotate(10deg) scale(1.1);
}

.mission-icon i, .vision-icon i {
    font-size: 1.5rem;
    color: white;
}

.mission-card h5, .vision-card h5 {
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 10px;
}

.mission-card p, .vision-card p {
    color: var(--grey);
    line-height: 1.6;
    margin: 0;
    font-size: 0.9rem;
}
 
/* Core Values */
.core-values {
    background: rgba(53, 53, 53, 0.03);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(53, 53, 53, 0.1);
}

.core-values h6 {
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 15px;
}

.core-values .d-flex {
    margin-bottom: 10px;
    padding: 5px 0;
}

.core-values .d-flex i {
    color: var(--primary);
    font-size: 1rem;
    margin-right: 10px;
}

.core-values .d-flex span {
    color: var(--dark);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Parallax Section */
.modern-feature-parallax {
    position: relative;
    overflow: hidden;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

/* Make sure all content inside is above the background */
.modern-feature-parallax .container,
.modern-feature-parallax .row,
.modern-feature-parallax .col-lg-6,
.modern-feature-parallax .modern-features-grid,
.modern-feature-parallax .feature-card,
.modern-feature-parallax .feature-icon-wrapper,
.modern-feature-parallax .feature-content,
.modern-feature-parallax .floating-card {
    position: relative;
    z-index: 3;
}

/* Ensure the dark overlay covers everything */
.modern-feature-parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85));
    z-index: 2;
}

/* The actual background image layer */
.modern-feature-parallax::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: inherit;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    z-index: 1;
    pointer-events: none;
}

/* Ensure content containers don't have backgrounds that interfere */
.modern-feature-parallax .container {
    background: transparent;
}

/* Disable parallax on mobile for performance */
@media (max-width: 768px) {
    .modern-feature-parallax {
        background-attachment: scroll !important;
    }
    
    .modern-feature-parallax::after {
        position: absolute;
        background-attachment: scroll;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .experience-badge {
        bottom: -15px;
        right: -15px;
        padding: 12px;
    }
    
    .experience-number {
        font-size: 1.5rem;
    }
    
    .mission-card, .vision-card {
        margin-bottom: 20px;
    }
    
    .mission-icon, .vision-icon {
        width: 40px;
        height: 40px;
    }
    
    .mission-icon i, .vision-icon i {
        font-size: 1.2rem;
    }
    
    /* Adjust parallax section for mobile */
    .modern-feature-parallax {
        background-attachment: scroll !important;
    }
}

/* ========== MODERN CONTACT STYLES ========== */

/* Contact Cards */
.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    background: white;
    border: 1px solid rgba(53, 53, 53, 0.1);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: rotate(15deg) scale(1.1);
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-content {
    flex: 1;
}

.contact-content h5 {
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.contact-content p {
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-content p a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-content p a:hover {
    color: var(--primary);
}

.contact-content small {
    color: var(--grey);
    font-size: 0.9rem;
}

/* Social Section */
.social-section {
    background: rgba(53, 53, 53, 0.03);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(53, 53, 53, 0.1);
}

.social-section h5 {
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 20px;
}

.social-section .btn-square {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.social-section .btn-square:hover {
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

/* Business Hours */
.business-hours {
    background: white;
    border-radius: 15px;
    border: 1px solid rgba(53, 53, 53, 0.1);
    overflow: hidden;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(53, 53, 53, 0.1);
    transition: all 0.3s ease;
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item:hover {
    background: rgba(53, 53, 53, 0.03);
}

.hours-item .day {
    color: var(--dark);
    font-weight: 600;
    font-size: 1rem;
}

.hours-item .time {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.hours-item.highlight {
    background: linear-gradient(135deg, rgba(53, 53, 53, 0.05), rgba(73, 73, 73, 0.03));
    border-left: 4px solid var(--primary);
}

.hours-item.highlight .day {
    color: var(--primary);
    font-weight: 700;
}

/* Contact Note */
.contact-note {
    border-left: 4px solid var(--primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-note h5 {
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-note h5 i {
    font-size: 1.3rem;
}

.contact-note p {
    color: var(--grey);
    line-height: 1.6;
    margin: 0;
}

.contact-note strong {
    color: var(--primary);
}

/* Map Container */
.map-container {
    height: 100%;
}

.map-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px dashed rgba(53, 53, 53, 0.2);
    transition: all 0.3s ease;
}

.map-placeholder:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.map-icon {
    width: 80px;
    height: 80px;
    background: rgba(53, 53, 53, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.map-placeholder h5 {
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 10px;
}

.map-placeholder p {
    color: var(--grey);
    text-align: center;
    line-height: 1.6;
    margin-bottom: 25px;
}

.map-placeholder .btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.map-placeholder .btn-outline-primary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-contact-form {
        padding: 25px;
    }
    
    .contact-card {
        padding: 20px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        margin-right: 15px;
    }
    
    .contact-icon i {
        font-size: 1.2rem;
    }
    
    .business-hours {
        margin-bottom: 30px;
    }
    
    .hours-item {
        padding: 15px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .hours-item .time {
        font-size: 1rem;
    }
    
    .map-placeholder {
        padding: 25px;
    }
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
    .contact-card,
    .business-hours,
    .contact-note,
    .map-placeholder {
        background: #1a1a1a;
        border-color: #333;
    }
    
    .contact-content h5,
    .contact-content p,
    .contact-note h5,
    .map-placeholder h5 {
        color: #fff;
    }
    
    .contact-content p a {
        color: #fff;
    }
    
    .hours-item .day {
        color: #fff;
    }
    
    .social-section {
        background: #222;
        border-color: #333;
    }
}