/* 
   RADICAL REDESIGN OVERRIDE
   This file applies massive structural layout changes to the existing template
   to make it ultra-modern, featuring glassmorphism, floating elements, 
   and dynamic overlapping layouts.
*/

/* 1. Floating Glassmorphism Navigation Bar */
.main-header {
    position: fixed !important;
    top: 15px !important;
    left: 0 !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    z-index: 9999 !important;
}
.header-style-three .header-lower .outer-box {
    background: rgba(13, 148, 136, 0.95) !important; /* Theme Teal/Green */
    backdrop-filter: blur(20px) !important;
    border-radius: 50px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2) !important;
    padding: 0 20px !important;
    max-width: 98% !important;
    margin: 0 auto !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}
.main-header .navigation > li { margin: 0 10px !important; } /* Reduce space between links so they fit */
.main-header .navigation { display: flex !important; flex-wrap: nowrap !important; margin: 0 !important; }
.sticky-header { display: none !important; } /* Hide duplicate sticky header */
.main-header .navigation > li > a { color: #ffffff !important; } /* Ensure text is visible on dark pill */
.main-header .navigation > li:hover > a, .main-header .navigation > li.current > a { color: #ffffff !important; opacity: 0.7; }

/* Hide the old blocky top bar on desktop for a cleaner floating look */
@media (min-width: 992px) {
    .header-top { display: none !important; }
}

/* 2. Hero Banner Ultra-Modern Look */
.banner-section {
    padding-top: 150px !important;
    height: 100vh !important;
    min-height: 800px !important;
    border-radius: 0 0 80px 80px !important;
    overflow: hidden !important;
    position: relative !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}
.banner-section .slide-item {
    height: 100vh !important;
    min-height: 800px !important;
}
.banner-section .slide-item:before {
    display: none !important; /* Removed dark overlay so video is bright */
}
.video-bg-layer::after {
    display: none !important; /* Remove template's default deep blue dim overlay */
}
.banner-section .content-box {
    position: relative;
    z-index: 2;
    transform: translateY(-80px);
}
.banner-section .content-box h1 {
    font-size: 72px !important;
    font-weight: 900 !important;
    letter-spacing: -2.5px !important;
    text-transform: none !important;
    line-height: 1.1 !important;
    color: #ffffff !important;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8), 0 2px 5px rgba(0,0,0,0.5) !important; /* Stronger shadow for readability on bright video */
}
.banner-section .content-box p {
    font-size: 20px !important;
    color: rgba(255,255,255,0.95) !important;
    max-width: 600px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8), 0 2px 5px rgba(0,0,0,0.5) !important;
}

/* 3. Overlapping Contact Info Section */
.contact-info-section {
    position: relative !important;
    z-index: 10 !important;
    margin-top: -120px !important; /* Pull up over the banner */
    background: transparent !important;
}
.contact-info-section .info-block .inner-box {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
    border: 1px solid rgba(255,255,255,1) !important;
    padding: 30px 20px 30px 90px !important; /* Restore left padding for icon */
    transition: transform 0.3s ease !important;
}
.contact-info-section .info-block .inner-box:hover {
    transform: translateY(-10px) !important;
}

/* 4. Section Title Redesign */
.sec-title h2 {
    font-size: 48px !important;
    font-weight: 800 !important;
    letter-spacing: -1.5px !important;
    text-transform: capitalize !important;
    position: relative !important;
    padding-left: 25px !important;
}
/* Vertical accent bar on section titles */
.sec-title h2:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 80%;
    background: var(--theme-color);
    border-radius: 10px;
}
.sec-title.centred h2:before {
    display: none !important; /* Remove bar for centered titles */
}

/* 5. Fluid Grid Cards for Services & About */
.service-block-one .inner-box {
    border-radius: 24px !important;
    padding: 50px 40px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03) !important;
    border: 1px solid #f1f5f9 !important;
    position: relative;
    overflow: hidden;
}
/* Background accent blob */
.service-block-one .inner-box:after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.1) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 0;
}
.service-block-one .inner-box * {
    position: relative;
    z-index: 1;
}

/* 6. Footer Redesign */
.main-footer {
    border-radius: 80px 80px 0 0 !important;
    margin-top: 60px !important;
    padding-top: 80px !important;
    background: linear-gradient(180deg, #0f172a 0%, #020617 100%) !important;
}

/* 7. Image Rounding & Shadows */
img {
    border-radius: 20px !important;
}
.image-box img {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
}
