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

/* ========== MODERN NAVBAR REDESIGN ========== */
#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 - completely transparent */
#mainNavbar.container-fluid.sticky-top:not(.scrolled) {
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
}

/* Make navbar content white when transparent */
#mainNavbar.container-fluid.sticky-top:not(.scrolled) .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

#mainNavbar.container-fluid.sticky-top:not(.scrolled) .navbar-brand img {
    filter: brightness(0) invert(1) !important;
}

#mainNavbar.container-fluid.sticky-top:not(.scrolled) .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.7) !important;
}

#mainNavbar.container-fluid.sticky-top:not(.scrolled) .hamburger span {
    background: white;
}

/* Scrolled state - blur background */
#mainNavbar.container-fluid.sticky-top.scrolled {
    background: rgba(53, 53, 53, 0.7) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#mainNavbar.container-fluid.sticky-top.scrolled .navbar-brand img {
    filter: none !important;
}

#mainNavbar.container-fluid.sticky-top.scrolled .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: none;
}

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

/* Logo styling - Good spacing from edges */
#mainNavbar .navbar-brand img {
    max-width: 140px !important; /* Sizable but not too big */
    height: auto;
    transition: filter 0.4s ease;
    margin-left: 0;
}

/* Desktop Navigation - Better spacing */
@media (min-width: 992px) {
    .navbar-nav .nav-link {
        font-weight: 500;
        font-size: 1rem;
        position: relative;
        padding: 8px 0 !important;
        margin: 0 18px !important; /* Good spacing between menu items */
        color: rgba(255, 255, 255, 0.9) !important;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .nav-icon {
        font-size: 0.9rem;
        opacity: 0.8;
        transition: all 0.3s ease;
    }
    
    .navbar-nav .nav-link:hover .nav-icon,
    .navbar-nav .nav-link.active .nav-icon {
        opacity: 1;
        transform: translateY(-2px);
    }
    
    /* WHITE active line - centered and subtle */
    .navbar-nav .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background: #ffffff !important; /* Pure white line */
        transition: width 0.3s ease;
    }
    
    .navbar-nav .nav-link:hover::after,
    .navbar-nav .nav-link.active::after {
        width: 100%;
    }
    
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: #ffffff !important;
        transform: translateY(-2px);
    }
    
    /* Booking button desktop - Well spaced from menu items */
    .nav-cta {
        margin-left: 30px; /* Good spacing from last menu item */
    }
    
    .btn-booking-nav {
        background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
        color: white !important;
        padding: 10px 28px !important; /* Good padding - not too big */
        font-weight: 600;
        border-radius: 50px !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        transition: all 0.4s ease !important;
        box-shadow: 0 4px 15px rgba(53, 53, 53, 0.2);
        position: relative;
        overflow: hidden;
        display: inline-flex;
        align-items: center;
    }
    
    .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%;
    }
}

/* Modern Mobile Menu - Clean and well-aligned */
@media (max-width: 991.98px) {
    #mainNavbar.container-fluid.sticky-top {
        background: transparent !important;
    }
    
    #mainNavbar.container-fluid.sticky-top.scrolled {
        background: rgba(53, 53, 53, 0.85) !important;
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
    }
    
    /* Modern hamburger menu */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 18px;
        cursor: pointer;
        margin-right: 10px; /* Good spacing from edge */
    }
    
    .hamburger span {
        display: block;
        width: 100%;
        height: 2px;
        background: white;
        border-radius: 2px;
        transition: all 0.3s ease;
        transform-origin: left center;
    }
    
    .navbar-toggler[aria-expanded="true"] .hamburger span:nth-child(1) {
        transform: rotate(45deg) translate(2px, -1px);
    }
    
    .navbar-toggler[aria-expanded="true"] .hamburger span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }
    
    .navbar-toggler[aria-expanded="true"] .hamburger span:nth-child(3) {
        transform: rotate(-45deg) translate(2px, 1px);
    }
    
    .navbar-toggler {
        border: none !important;
        padding: 8px !important;
        background: transparent !important;
    }
    
    /* Mobile menu overlay - Good spacing */
    .navbar-collapse {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 85% !important;
        max-width: 380px; /* Not too wide, good spacing */
        height: 100vh !important;
        background: rgba(15, 15, 15, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        padding: 0 !important;
        z-index: 9998 !important;
        transition: right 0.4s ease;
        display: flex !important;
        flex-direction: column;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-collapse.show {
        right: 0 !important;
    }
    
    /* Mobile Menu Close Button - SHOW ON MOBILE */
    .mobile-menu-close {
        position: absolute;
        top: 25px;
        right: 25px;
        width: 45px;
        height: 45px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        cursor: pointer;
        z-index: 10001;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        transition: all 0.3s ease;
        padding: 0;
        margin: 0;
        border: none;
    }
    
    .mobile-menu-close:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: rotate(90deg);
    }
    
    .mobile-menu-close svg {
        width: 20px;
        height: 20px;
    }
    
    /* Mobile navigation links - Well aligned */
    .navbar-nav {
        flex: 1;
        padding: 100px 20px 30px !important; /* Good top padding, side padding for edges */
        display: flex;
        flex-direction: column;
        align-items: center; /* Center align items */
        gap: 8px; /* Good spacing between items */
    }
    
    .nav-item {
        width: 100%;
        max-width: 320px; /* Good max width with edge spacing */
        opacity: 0;
        transform: translateX(20px);
        animation: slideInRight 0.4s ease forwards;
    }
    
    .nav-item:nth-child(1) { animation-delay: 0.1s; }
    .nav-item:nth-child(2) { animation-delay: 0.15s; }
    .nav-item:nth-child(3) { animation-delay: 0.2s; }
    .nav-item:nth-child(4) { animation-delay: 0.25s; }
    .nav-item:nth-child(5) { animation-delay: 0.3s; }
    
    @keyframes slideInRight {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    .nav-link {
        color: rgba(255, 255, 255, 0.9) !important;
        padding: 16px 20px !important; /* Good padding with edge spacing */
        font-size: 1.1rem !important;
        font-weight: 500;
        border-radius: 8px;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center; /* Center content */
        gap: 12px; /* Good spacing between icon and text */
        text-align: center;
        background: rgba(255, 255, 255, 0.05); /* Subtle background */
        border: 1px solid transparent;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: rgba(255, 255, 255, 0.1);
        color: white !important;
        border-color: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
    }
    
    .nav-icon {
        font-size: 1.1rem;
        width: 22px;
        text-align: center;
        opacity: 0.8;
    }
    
    .nav-link:hover .nav-icon,
    .nav-link.active .nav-icon {
        opacity: 1;
        transform: scale(1.1);
    }
    
    /* Mobile CTA button - Well spaced */
    .nav-cta {
        padding: 25px 20px 40px !important; /* Good padding with edge spacing */
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
    }
    
    .btn-booking-nav {
        background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
        color: white !important;
        padding: 14px 35px !important; /* Good padding */
        font-weight: 600;
        border-radius: 50px !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        transition: all 0.3s ease;
        display: inline-block !important;
        width: auto !important;
        text-align: center;
        font-size: 1.1rem;
        position: relative;
        overflow: hidden;
        margin: 0 auto;
        box-shadow: 0 4px 15px rgba(53, 53, 53, 0.2);
        animation: slideInRight 0.4s ease forwards;
        animation-delay: 0.35s;
        opacity: 0;
        transform: translateX(20px);
    }
    
    /* Keep original hover effects */
    .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%;
    }
    
    /* Fix body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
    
    /* Adjust hero for mobile navbar */
    #heroSlider {
        margin-top: 0;
    }
}

/* ========== HIDE CLOSE BUTTON ON DESKTOP ========== */
/* MOVE THIS OUTSIDE the mobile media query */
@media (min-width: 992px) {
    .mobile-menu-close {
        display: none !important; /* Hidden on desktop */
    }
}

/* Small mobile optimization */
@media (max-width: 576px) {
    #mainNavbar .navbar-brand img {
        max-width: 120px !important; /* Slightly smaller for small screens */
    }
    
    .navbar-collapse {
        width: 100% !important;
        max-width: none;
    }
    
    .nav-link {
        padding: 14px 15px !important; /* Slightly smaller padding */
        font-size: 1rem !important;
    }
    
    .btn-booking-nav {
        padding: 12px 30px !important;
        font-size: 1rem !important;
    }
}

/* ========== HERO SECTION MOBILE FIXES ========== */
#heroSlider {
    margin-top: 0;
    overflow: hidden;
}

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

.hero-slide {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

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

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

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

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

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

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

.hero-slide p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

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

.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 {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

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

.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: 1rem;
    color: var(--white);
}

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

/* Navigation arrows - Hidden by default, shown on hover */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 15px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    opacity: 0 !important; /* Hidden by default */
    visibility: hidden; /* Hidden by default */
}

/* Show arrows when hovering over hero section */
#heroSlider:hover .carousel-control-prev,
#heroSlider:hover .carousel-control-next {
    opacity: 0.7 !important; /* Show with reduced opacity */
    visibility: visible; /* Make visible */
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--white);
    border-color: var(--white);
    opacity: 1 !important; /* Full opacity on arrow hover */
}

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

.carousel-indicators {
    bottom: 30px;
    margin-bottom: 0;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 8px;
    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(-15px); }
}

.hero-slide img {
    animation: float 6s ease-in-out infinite;
    max-height: 450px;
    width: auto;
    max-width: 100%;
}

/* Mobile Responsive Hero Fixes */
@media (max-width: 1199.98px) {
    .hero-slide h1 {
        font-size: 3rem;
    }
    
    .hero-slide img {
        max-height: 400px;
    }
}

@media (max-width: 991.98px) {
    #heroSlider .carousel-item {
        height: auto !important;
        min-height: 100vh;
    }
    
    .hero-slide {
        min-height: 100vh;
        height: auto;
        padding: 80px 0;
        background-attachment: scroll !important;
    }
    
    .hero-slide > .container {
        padding-top: 60px !important;
        padding-bottom: 60px;
    }
    
    .hero-slide .row {
        min-height: auto !important;
    }
    
    .hero-slide .col-lg-6 {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .hero-slide img {
        max-height: 350px !important;
        margin: 0 auto;
    }
    
    .hero-slide h1 {
        font-size: 2.5rem !important;
        margin-bottom: 20px !important;
    }
    
    .hero-slide p {
        font-size: 1.1rem !important;
        margin-bottom: 25px !important;
    }
    
    .hero-buttons {
        justify-content: center;
        gap: 10px;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .features-list,
    .contact-info {
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .feature-item,
    .contact-item {
        margin-bottom: 0;
        margin-right: 15px;
    }
    
    .scroll-down-modern {
        display: none; /* Hide scroll indicator on mobile for better space */
    }
}

@media (max-width: 767.98px) {
    #heroSlider .carousel-item {
        min-height: 100vh;
        height: 100vh !important;
    }
    
    .hero-slide {
        min-height: 100vh;
        padding: 60px 0;
    }
    
    .hero-slide > .container {
        padding-top: 50px !important;
        padding-bottom: 50px;
    }
    
    .hero-slide h1 {
        font-size: 2rem !important;
        line-height: 1.3;
    }
    
    .hero-slide p {
        font-size: 1rem !important;
        line-height: 1.5;
    }
    
    .hero-slide img {
        max-height: 280px !important;
        margin-top: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .social-icons {
        gap: 8px;
        margin-top: 30px;
    }
    
    .social-icons .btn-social {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .features-list,
    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .feature-item,
    .contact-item {
        margin-right: 0;
        font-size: 0.95rem;
    }
    
    .feature-item i,
    .contact-item i {
        width: 32px;
        height: 32px;
        font-size: 1rem;
        margin-right: 10px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        display: none !important; /* Hide arrows on mobile */
    }
    
    .carousel-indicators {
        bottom: 20px;
    }
    
    .carousel-indicators button {
        width: 8px;
        height: 8px;
        margin: 0 5px;
    }
}

@media (max-width: 575.98px) {
    #heroSlider .carousel-item {
        min-height: 100vh;
    }
    
    .hero-slide {
        padding: 40px 0;
    }
    
    .hero-slide > .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        padding-top: 40px !important;
    }
    
    .hero-slide h1 {
        font-size: 1.8rem !important;
        margin-bottom: 15px !important;
    }
    
    .hero-slide p {
        font-size: 0.95rem !important;
        margin-bottom: 20px !important;
    }
    
    .hero-slide img {
        max-height: 220px !important;
        margin-top: 15px;
    }
    
    .hero-buttons .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
        max-width: 100%;
    }
    
    .social-icons {
        margin-top: 25px;
    }
    
    .social-icons .btn-social {
        width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }
    
    .feature-item,
    .contact-item {
        font-size: 0.9rem;
    }
    
    .feature-item i,
    .contact-item i {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    /* Ensure images don't overflow */
    .hero-slide img {
        max-width: 90%;
        height: auto;
    }
}

/* Extra small devices (portrait phones, less than 375px) */
@media (max-width: 374.98px) {
    .hero-slide h1 {
        font-size: 1.6rem !important;
    }
    
    .hero-slide p {
        font-size: 0.9rem !important;
    }
    
    .hero-slide img {
        max-height: 180px !important;
    }
    
    .hero-buttons .btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .social-icons .btn-social {
        width: 35px;
        height: 35px;
    }
}

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

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

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

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

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

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

/* Modern Contact Form */
.modern-contact-form {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(53, 53, 53, 0.1);
}

.modern-contact-form .form-floating {
    margin-bottom: 1.5rem;
}

.modern-contact-form .form-control,
.modern-contact-form .form-select {
    border: 1px solid rgba(53, 53, 53, 0.2);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.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.15);
    transform: translateY(-2px);
}

.modern-contact-form .form-label {
    color: var(--grey);
    font-weight: 500;
}

.modern-contact-form .btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 10px;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

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

.modern-contact-form .btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

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

/* Form Validation */
.form-control.is-invalid,
.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);
}

.form-control.is-valid,
.form-select.is-valid {
    border-color: #198754;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' 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);
}

/* 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,
    .modern-contact-form,
    .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;
    }
}

/* ========== MODERN FEATURE PARALLAX SECTION (ISOLATED STYLES) ========== */
/* These styles ONLY affect elements with .modern-feature-parallax class */

/* Container styling */
.modern-feature-parallax {
    position: relative;
    overflow: hidden;
    min-height: 50vh !important;
    display: flex !important;
    align-items: center !important;
    z-index: 1;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-attachment: fixed !important;
}

/* Background overlay for darkening */
.modern-feature-parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)) !important;
    z-index: 1;
}

/* Ensure content is above the background */
.modern-feature-parallax .container,
.modern-feature-parallax .row,
.modern-feature-parallax .col-lg-6,
.modern-feature-parallax .section-header-modern,
.modern-feature-parallax .modern-features-grid,
.modern-feature-parallax .feature-card,
.modern-feature-parallax .stats-card-modern,
.modern-feature-parallax .modern-feature-image,
.modern-feature-parallax .floating-card {
    position: relative;
    z-index: 2;
}

/* Disable parallax on mobile for better performance */
@media (max-width: 768px) {
    .modern-feature-parallax {
        background-attachment: scroll !important;
        min-height: auto !important;
        display: block !important;
        padding: 80px 0 !important;
    }
}

/* Section Header specific to this section */
.modern-feature-parallax .section-header-modern {
    position: relative;
    z-index: 3;
    margin-bottom: 40px;
}

.modern-feature-parallax .section-label {
    display: inline-block !important;
    background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
    color: white !important;
    padding: 8px 20px !important;
    border-radius: 50px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    margin-bottom: 20px !important;
    box-shadow: 0 5px 15px rgba(53, 53, 53, 0.3) !important;
}

.modern-feature-parallax .section-title-modern {
    font-size: 3.5rem !important;
    font-weight: 800 !important;
    color: white !important;
    margin-bottom: 15px !important;
    line-height: 1.2 !important;
    font-family: 'Ubuntu', sans-serif !important;
}

.modern-feature-parallax .title-highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    position: relative !important;
}

.modern-feature-parallax .title-underline {
    position: relative !important;
    display: inline-block !important;
}

.modern-feature-parallax .title-underline::after {
    content: '' !important;
    position: absolute !important;
    bottom: 10px !important;
    left: 0 !important;
    width: 100% !important;
    height: 3px !important;
    background: linear-gradient(90deg, transparent, var(--primary), transparent) !important;
    border-radius: 2px !important;
}

.modern-feature-parallax .section-subtitle {
    font-size: 1.1rem !important;
    color: rgba(255, 255, 255, 0.85) !important;
    line-height: 1.6 !important;
    max-width: 500px !important;
}

.modern-feature-parallax .section-subtitle strong {
    color: white !important;
    font-weight: 600 !important;
}

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

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

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

/* Feature Icons */
.modern-feature-parallax .feature-icon-wrapper {
    flex-shrink: 0 !important;
    transition: all 0.3s ease !important;
}

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

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

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

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

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

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

.modern-feature-parallax .stats-icon-modern {
    flex-shrink: 0 !important;
}

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

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

.modern-feature-parallax .stats-content-modern {
    flex: 1 !important;
}

.modern-feature-parallax .counter-wrapper {
    display: flex !important;
    align-items: baseline !important;
    gap: 5px !important;
    margin-bottom: 5px !important;
}

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

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

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

/* Feature Image Section */
.modern-feature-parallax .modern-feature-image {
    position: relative !important;
    height: 100% !important;
    min-height: 500px !important;
    z-index: 3 !important;
}

.modern-feature-parallax .image-container {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    perspective: 1000px !important;
}

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

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

.modern-feature-parallax .floating-content {
    display: flex !important;
    flex-direction: column !important;
}

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

.modern-feature-parallax .floating-desc {
    font-size: 0.9rem !important;
    color: var(--grey) !important;
    font-weight: 500 !important;
}

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

.modern-feature-parallax .floating-card-1 {
    top: 10% !important;
    left: -25px !important;
    animation-delay: 0s !important;
}

.modern-feature-parallax .floating-card-2 {
    top: 30% !important;
    right: -25px !important;
    animation-delay: 1.5s !important;
}

.modern-feature-parallax .floating-card-3 {
    bottom: 35% !important;
    left: -25px !important;
    animation-delay: 3s !important;
}

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

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

@media (max-width: 991.98px) {
    .modern-feature-parallax {
        padding: 80px 0 !important;
    }
    
    .modern-feature-parallax .section-title-modern {
        font-size: 2.5rem !important;
    }
    
    .modern-feature-parallax .modern-feature-image {
        min-height: 400px !important;
        margin-top: 60px !important;
    }
    
    .modern-feature-parallax .floating-card-1,
    .modern-feature-parallax .floating-card-2,
    .modern-feature-parallax .floating-card-3 {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        margin: 10px 0 !important;
        width: 100% !important;
        animation: none !important;
        transform: none !important;
    }
    
    .modern-feature-parallax .image-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
    }
    
    .modern-feature-parallax .floating-card {
        order: 1 !important;
        width: 100% !important;
        max-width: 300px !important;
        margin-bottom: 15px !important;
        position: relative !important;
    }
}

@media (max-width: 767.98px) {
    .modern-feature-parallax .section-title-modern {
        font-size: 2rem !important;
    }
    
    .modern-feature-parallax .section-subtitle {
        font-size: 1rem !important;
    }
    
    .modern-feature-parallax .feature-card {
        padding: 20px !important;
        gap: 15px !important;
    }
    
    .modern-feature-parallax .feature-icon-wrapper i {
        font-size: 1.5rem !important;
    }
    
    .modern-feature-parallax .stats-card-modern {
        padding: 20px !important;
        gap: 15px !important;
    }
    
    .modern-feature-parallax .counter {
        font-size: 2.2rem !important;
    }
}

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