/* ================================================================================
   MODULAR SYSTEM FOR POOL COMPANIES
   Version 1.0 - Based on Blue Solutions / Solara Pools
   ================================================================================
   
   INSTRUCTIONS FOR NEW PROJECT:
   1. Change ONLY the "PROJECT VARIABLES" section
   2. Adjust texts and images in the HTML
   3. DO NOT TOUCH sections marked as "DO NOT MODIFY"
   
================================================================================ */


/* ================================================================================
   SECTION 1: PROJECT VARIABLES
   ⚠️ CHANGE HERE FOR EACH NEW CLIENT
================================================================================ */

:root {
    /* Main colors - CHANGE PER CLIENT */
    --primary-blue: #0E0F3B;
    --secondary-blue: #07407B;
    --accent-blue: #7FCDEE;
    --blue-accent: #47AFEF;
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --gray-medium: #666;
    --primary-dark: #0F172A;
    
    /* Typography fonts */
    --font-heading: 'Poppins', sans-serif !important;
    --font-primary: 'Inter', sans-serif!important;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Base spacing - OPTIONAL TO CHANGE */
    --spacing-xs: calc(8px + 0.3vw);
    --spacing-sm: calc(15px + 0.5vw);
    --spacing-md: calc(25px + 1vw);
    --spacing-lg: calc(50px + 2vw);
    --spacing-xl: calc(80px + 2vw);
    
    /* Base typography - OPTIONAL TO CHANGE */
    --font-size-xs: calc(11px + 0.3vw);
    --font-size-sm: calc(13px + 0.3vw);
    --font-size-base: calc(16px + 0.3vw);
    --font-size-lg: calc(1.2rem + 0.5vw);
    --font-size-xl: calc(2rem + 1vw);
    --font-size-2xl: calc(2.5rem + 1.5vw);
    --font-size-3xl: calc(3rem + 1.5vw);
    
    /* Borders and shadows - RARELY CHANGE */
    --radius-sm: calc(6px + 0.2vw);
    --radius-md: calc(12px + 0.5vw);
    --radius-lg: calc(20px + 0.8vw);
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* ESTO VA AFUERA, DESPUÉS DEL :root */
body {
    font-family: var(--font-primary);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

/* ================================================================================
   SECTION 2: RESET AND BASE
   ⛔ DO NOT MODIFY - Fundamental system styles
================================================================================ */

/* Hide system page header if exists */
.page-header.page-header-sm {
    padding: 30px 0;
    display: none;
}

/* Base fluid container */
.col-half-section {
    max-width: 90%;
}

.fluid-container {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 calc(15px + 1vw);
}

/* ================================================================================
   MODERN NAVBAR ALTERNATIVE - CodingNepal Style
   Replace SECTION 3 in your modular CSS with this code
================================================================================ */

/* ================================================================================
   SECTION 3: HEADER AND NAVIGATION - MODERN FLAT STYLE
   ⚠️ CHANGE COLORS IN :root VARIABLES
================================================================================ */

/* Modern Navbar - Clean and Flat */
#header {
    background: var(--primary-blue) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

#header .header-container {
    padding: 0 calc(20px + 2vw);
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
#header .header-logo {
    margin: 0;
}

#header .header-logo img {
    max-height: 45px;
    width: auto;
}

/* Remove all default header styles */
#header .header-top,
#header .header-nav-features,
#header .header-social-icons,
#header .header-search,
#header .header-extra-info {
    display: none !important;
}

/* Navigation Container */
#header .header-nav-main {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

/* Desktop Navigation */
@media (min-width: 992px) {
    #header .header-nav-main nav > ul {
        display: flex;
        align-items: center;
        margin: 0;
        padding: 0;
        list-style: none;
        gap: calc(5px + 0.5vw);
    }

    #header .header-nav-main nav > ul > li {
        margin: 0;
    }

    #header .header-nav-main nav > ul > li > a {
        color: var(--white) !important;
        font-size: calc(14px + 0.2vw);
        font-weight: 500;
        padding: calc(8px + 0.3vw) calc(18px + 0.8vw);
        border-radius: 5px;
        transition: all 0.3s ease;
        background: transparent !important;
        text-decoration: none;
        display: block;
    }

    #header .header-nav-main nav > ul > li > a:hover {
        background: rgba(255, 255, 255, 0.15) !important;
        color: var(--white) !important;
        text-decoration: none;
        transform: translateY(-2px);
    }

    #header .header-nav-main nav > ul > li > a.active,
    #header .header-nav-main nav > ul > li > a.current-page-active {
        background: rgba(255, 255, 255, 0.2) !important;
        color: var(--white) !important;
        font-weight: 600;
    }

    /* Dropdown Menu - if needed */
    #header .header-nav-main nav > ul > li.dropdown .dropdown-menu {
        background: var(--white);
        border: none;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        padding: calc(10px + 0.3vw);
        min-width: 200px;
        margin-top: 5px;
    }

    #header .header-nav-main nav > ul > li.dropdown .dropdown-menu li a {
        color: var(--primary-blue) !important;
        padding: calc(8px + 0.3vw) calc(15px + 0.5vw);
        border-radius: 5px;
        transition: all 0.3s ease;
        font-size: calc(13px + 0.2vw);
    }

    #header .header-nav-main nav > ul > li.dropdown .dropdown-menu li a:hover {
        background: var(--gray-light) !important;
        color: var(--primary-blue) !important;
    }
}

/* Mobile Navigation */
@media (max-width: 991px) {
    #header .header-container {
        height: 60px;
    }

    /* Hamburger Button */
    #header .header-btn-collapse-nav {
        background: transparent;
        border: 2px solid var(--white);
        color: var(--white);
        padding: 8px 12px;
        border-radius: 5px;
        font-size: 20px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    #header .header-btn-collapse-nav:hover {
        background: rgba(255, 255, 255, 0.15);
    }

    /* Mobile Menu */
    #header .header-nav-main nav {
        background: var(--primary-blue);
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        width: 100%;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    }

    #header .header-nav-main nav > ul {
        flex-direction: column;
        padding: 20px;
    }

    #header .header-nav-main nav > ul > li {
        width: 100%;
        margin-bottom: 5px;
    }

    #header .header-nav-main nav > ul > li > a {
        color: var(--white) !important;
        padding: 15px 20px;
        display: block;
        border-radius: 5px;
        font-size: 16px;
        font-weight: 500;
        transition: all 0.3s ease;
        background: transparent !important;
    }

    #header .header-nav-main nav > ul > li > a:hover,
    #header .header-nav-main nav > ul > li > a.active {
        background: rgba(255, 255, 255, 0.15) !important;
        color: var(--white) !important;
    }

    /* Dropdown in mobile */
    #header .header-nav-main nav > ul > li.dropdown .dropdown-menu {
        position: static;
        background: rgba(255, 255, 255, 0.1);
        border: none;
        border-radius: 5px;
        margin-top: 5px;
        padding: 10px;
    }

    #header .header-nav-main nav > ul > li.dropdown .dropdown-menu li a {
        color: var(--white) !important;
        padding: 10px 15px;
        font-size: 14px;
    }
}

/* Sticky behavior */
html.sticky-header-active #header {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

html.sticky-header-active #header .header-logo img {
    max-height: 40px;
    transition: all 0.3s ease;
}

/* Remove old header styles that conflict */
#header .header-nav-main nav > ul > li > a {
    text-shadow: none !important;
}

/* ================================================================================
   END OF MODERN NAVBAR
   
   CUSTOMIZATION:
   - Change background color: Modify var(--primary-blue) in :root
   - Change hover color: Modify rgba values in hover states
   - Adjust spacing: Modify calc() values in padding
   - Add dropdown: Use standard Bootstrap dropdown markup
   
================================================================================ */


/* ================================================================================
   SECTION 4: REUSABLE COMPONENTS
   ✏️ MODIFY WITH CARE - Base system components
================================================================================ */

/* ===== UNIFIED BUTTON SYSTEM ===== */

.th-btn,
.contact-btn {
    padding: calc(12px + 0.5vw) calc(20px + 1vw);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    margin-right: calc(10px + 0.5vw);
    margin-bottom: calc(8px + 0.5vw);
    text-decoration: none;
    display: inline-block;
    border: 2px solid;
    font-size: var(--font-size-xs);
    cursor: pointer;
}

/* Primary button */
.th-btn.style-primary,
.th-btn.cta-btn-primary,
.contact-btn {
    background: #2563eb;
    border-color: #2563eb;
    color: var(--white);
}

.th-btn.style-primary:hover,
.th-btn.cta-btn-primary:hover,
.contact-btn:hover {
    background: transparent;
    color: #2563eb;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

/* Outline button */
.th-btn.style-outline,
.th-btn.cta-btn-outline {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}

.th-btn.style-outline:hover,
.th-btn.cta-btn-outline:hover {
    background: var(--white);
    color: #1e3a8a;
    text-decoration: none;
}

/* Card button */
.th-btn.style-card,
.service-btn-clean {
    background: var(--secondary-blue);
    color: var(--white);
    padding: calc(10px + 0.5vw) calc(20px + 1vw);
    border: 2px solid var(--secondary-blue);
}

.th-btn.style-card:hover,
.service-btn-clean:hover {
    background: transparent;
    color: var(--secondary-blue);
    text-decoration: none;
}

/* Small button */
.contact-btn.small {
    padding: calc(6px + 0.3vw) calc(12px + 0.5vw);
    font-size: calc(10px + 0.3vw);
    margin-top: calc(8px + 0.5vw);
}

/* ===== UNIFIED TITLES AND SUBTITLES ===== */

.sub-title,
.hero-subtitle,
.cta-subtitle {
    color: var(--accent-blue);
    font-size: calc(14px + 0.3vw);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

/* Decoration with side lines */
.sub-title::before,
.sub-title::after,
.hero-subtitle::before,
.hero-subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(40px + 1vw);
    height: 2px;
    background: var(--accent-blue);
}

.sub-title::before,
.hero-subtitle::before {
    left: calc(-60px - 1vw);
}

.sub-title::after,
.hero-subtitle::after {
    right: calc(-60px - 1vw);
}

/* Decoration with bottom line */
.cta-subtitle::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: calc(50px + 1vw);
    height: 2px;
    background: var(--accent-blue);
}

/* Main titles */
.sec-title,
.company-title,
.services-main-title,
.hero-title,
.cta-title {
    font-weight: 700;
    line-height: 1.2;
}

.sec-title,
.company-title,
.services-main-title {
    font-size: var(--font-size-3xl);
    color: var(--primary-blue);
    margin-bottom: var(--spacing-md);
}

.hero-title {
    color: var(--white);
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-sm);
}

.cta-title {
    font-size: var(--font-size-2xl);
    color: var(--white);
    margin: 0;
}

/* Descriptions */
.section-desc,
.company-description,
.hero-text {
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--gray-medium);
}

.section-desc {
    max-width: calc(500px + 10vw);
    margin: 0 auto;
}

.hero-text {
    color: var(--white);
    margin-bottom: var(--spacing-md);
    max-width: calc(400px + 10vw);
}

/* ===== UNIFIED CARD SYSTEM ===== */

.service-card-clean,
.pool-service-card,
.service-icon-box {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
    margin-bottom: var(--spacing-md);
}

.service-card-clean:hover,
.pool-service-card:hover,
.service-icon-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

/* Card images */
.service-card-image,
.card-main-image,
.service-image {
    width: 100%;
    height: calc(200px + 3vw);
    object-fit: cover;
    transition: all 0.3s ease;
}

.service-card-clean:hover .service-card-image,
.pool-service-card:hover .card-main-image,
.service-icon-box:hover .service-image {
    transform: scale(1.05);
}

/* Circular icons in cards */
.service-icon-clean,
.floating-icon-circle,
.service-icon {
    width: calc(60px + 1.5vw);
    height: calc(60px + 1.5vw);
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-card-clean:hover .service-icon-clean,
.pool-service-card:hover .floating-icon-circle,
.service-icon-box:hover .service-icon {
    background: linear-gradient(135deg, var(--blue-accent), #47AFEF);
    transform: scale(1.1);
}

/* Icons inside circles */
.service-icon-img-clean,
.circle-icon-img,
.service-icon-img {
    width: calc(24px + 0.8vw);
    height: calc(24px + 0.8vw);
    filter: brightness(0) invert(1);
}

/* Card content */
.service-content-clean,
.card-text-content {
    padding: calc(25px + 1vw);
    text-align: center;
}

.service-title-clean,
.card-service-title,
.service-icon-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
}

.service-desc-clean,
.card-service-description,
.service-icon-desc {
    color: var(--gray-medium);
    font-size: var(--font-size-sm);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

/* ===== FLOATING FORM ===== */

.formBuilderContainer {
    position: relative;
    z-index: 5;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
}

.formBuilderContainer .form-control,
.formBuilderContainer input,
.formBuilderContainer select,
.formBuilderContainer textarea {
    background: #ffffff;
    border: none;
    border-radius: var(--radius-sm);
    padding: calc(8px + 0.3vw) calc(10px + 0.3vw);
    font-size: var(--font-size-xs);
    transition: all 0.3s ease;
    margin-bottom: calc(10px + 0.3vw);
    color: #333;
    width: 100%;
}

.formBuilderContainer .form-control:focus,
.formBuilderContainer input:focus,
.formBuilderContainer select:focus,
.formBuilderContainer textarea:focus {
    border: 2px solid var(--accent-blue);
    outline: none;
}

.formBuilderContainer label {
    color: white;
    font-weight: 600;
    margin-bottom: 4px;
    display: block;
    font-size: calc(10px + 0.3vw);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.formBuilderContainer .btn,
.formBuilderContainer button[type="submit"] {
    background: var(--accent-blue);
    color: var(--primary-blue);
    border: none;
    padding: calc(10px + 0.3vw) calc(20px + 0.5vw);
    border-radius: var(--radius-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    width: calc(50% + 5vw);
    margin: calc(5px + 0.3vw) auto 0;
    display: block;
    font-size: var(--font-size-xs);
}

.formBuilderContainer .btn:hover,
.formBuilderContainer button[type="submit"]:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.formBuilderContainer h2,
.formBuilderContainer h3,
.formBuilderContainer .form-title {
    color: white !important;
    font-size: calc(16px + 0.5vw) !important;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    text-align: center !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}


/* ================================================================================
   SECTION 5: MAIN SECTIONS
   ✏️ CUSTOMIZE AS NEEDED - Main content blocks
================================================================================ */

/* ===== HERO SECTION ===== */

.hero-slider .hero-section {
    min-height: calc(70vh + 10vw);
    height: calc(70vh + 10vw);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    padding: var(--spacing-md) 0;
    display: flex;
    align-items: center;
}

/* Background YouTube iframe */
.hero-youtube {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-width: 120%;
    min-height: 120%;
    z-index: 0;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

/* Overlay with gradient */
.hero-slider .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.6) 0%, rgba(30, 64, 175, 0.4) 50%, rgba(30, 58, 138, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: calc(80px + 5vw) 0;
}

/* Animated bubbles */
.bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.bubbles .bubble {
    position: absolute;
    background-image: url('/Upload/UploadedImages/Core/solara-pools/bubble1.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    animation: floatUp 6s ease-in-out infinite;
    opacity: 0.9;
}

/* Individual bubble positioning */
.bubbles .bubble:nth-child(1) { left: 10%; animation-delay: 0s; width: calc(30px + 1vw); height: calc(30px + 1vw); }
.bubbles .bubble:nth-child(2) { left: 20%; animation-delay: 2s; width: calc(50px + 1vw); height: calc(50px + 1vw); }
.bubbles .bubble:nth-child(3) { left: 35%; animation-delay: 4s; width: calc(15px + 0.5vw); height: calc(15px + 0.5vw); }
.bubbles .bubble:nth-child(4) { left: 50%; animation-delay: 0s; width: calc(60px + 2vw); height: calc(60px + 2vw); }
.bubbles .bubble:nth-child(5) { left: 70%; animation-delay: 1s; width: calc(25px + 0.5vw); height: calc(25px + 0.5vw); }
.bubbles .bubble:nth-child(6) { left: 80%; animation-delay: 3s; width: calc(40px + 1vw); height: calc(40px + 1vw); }
.bubbles .bubble:nth-child(7) { left: 15%; animation-delay: 5s; width: calc(20px + 0.5vw); height: calc(20px + 0.5vw); }
.bubbles .bubble:nth-child(8) { left: 65%; animation-delay: 2s; width: calc(30px + 0.5vw); height: calc(30px + 0.5vw); }

@keyframes floatUp {
    0%, 100% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10%, 90% {
        opacity: 0.7;
    }
    50% {
        transform: translateY(-100px) scale(1);
    }
}

/* ===== VIDEO TEXT SECTION ===== */

.video-text-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: white;
    padding: var(--spacing-sm) 0;
}

.video-text-main {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: calc(1000px + 20vw);
    padding: var(--spacing-sm);
}

.clip-text {
    font-size: calc(5rem + 5vw);
    font-weight: 900;
    text-align: center;
    color: #68d0e0;
    white-space: nowrap;
    margin-bottom: var(--spacing-sm);
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
    .clip-text {
        color: transparent;
        background-clip: text;
        -webkit-background-clip: text;
        background-image: url('https://secure.walibu.com/Upload/UploadedImages/Core/solara-pools/blue-pool.gif');
        background-size: cover;
        background-position: center;
    }
}

.subtitle-text {
    font-size: calc(1.2rem + 1vw);
    font-weight: 700;
    color: #116bb2;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: calc(1px + 0.2vw);
    margin: 0;
    position: relative;
    background: linear-gradient(45deg, #116bb2, #68d0e0, #116bb2);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease-in-out infinite;
    display: inline-block;
    padding: 2px 0;
}

.subtitle-text::before,
.subtitle-text::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(60px + 2vw);
    height: 2px;
    background: linear-gradient(45deg, #116bb2, #68d0e0);
}

.subtitle-text::before {
    left: calc(-80px - 2vw);
}

.subtitle-text::after {
    right: calc(-80px - 2vw);
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* ===== SERVICES SECTION ===== */

.services-section,
.services-showcase,
.services-cards-section {
    padding: var(--spacing-xl) 0;
    background: var(--gray-light);
    position: relative;
}

.services-section::before,
.services-section::after {
    content: '';
    position: absolute;
    width: calc(150px + 5vw);
    height: calc(150px + 5vw);
    opacity: 0.1;
    border-radius: 50%;
}

.services-section::before {
    top: 0;
    right: 0;
    background: linear-gradient(45deg, var(--accent-blue), #2563eb);
    transform: translate(50%, -50%);
}

.services-section::after {
    bottom: 0;
    left: 0;
    width: calc(120px + 3vw);
    height: calc(120px + 3vw);
    background: linear-gradient(45deg, #2563eb, var(--accent-blue));
    transform: translate(-50%, 50%);
}

/* Centered section header */
.section-header {
    text-align: center;
    margin-bottom: calc(60px + 2vw);
    padding: 0 calc(10px + 1vw);
}

/* Services cards grid */
.services-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: calc(25px + 1vw);
    margin-top: var(--spacing-lg);
    position: relative;
    z-index: 5;
}

/* Image wrapper with icon */
.service-image-wrapper {
    position: relative;
    height: calc(280px + 3vw);
    overflow: hidden;
}

/* Positioned floating icon */
.service-icon-clean {
    position: absolute;
    bottom: calc(25px - 0.5vw);
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 8px 20px rgba(7, 64, 123, 0.3);
    border: calc(4px + 0.2vw) solid white;
    z-index: 3;
}

.floating-icon-circle {
    position: absolute;
    bottom: 65%;
    left: 50%;
    margin-left: calc(-30px - 0.5vw);
    z-index: 2;
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Float animation for icons */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.service-icon {
    animation: float 3s ease-in-out infinite;
}

.service-icon-box:nth-child(1) .service-icon { animation-delay: 0s; }
.service-icon-box:nth-child(2) .service-icon { animation-delay: 0.5s; }
.service-icon-box:nth-child(3) .service-icon { animation-delay: 1s; }

/* ===== CTA SECTION ===== */

.cta-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, rgba(14, 15, 59, 0.9) 0%, rgba(7, 64, 123, 0.8) 100%), 
                url('/Upload/UploadedImages/Core/thomas-pool-services/pool-cta-clean.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

.cta-content {
    color: var(--white);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
}

/* ===== SERVICE CARDS WITH BACKGROUND IMAGE ===== */

.service-card {
    height: calc(350px + 10vw);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: var(--spacing-md);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.85;
}

.service-card:hover {
    transform: translateY(-10px);
}

/* Standalone content (no image, color only) */
.service-content-standalone {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
                url('/Upload/UploadedImages/Core/thomas-pool-services/blue-left.webp');
    background-size: cover;
    background-position: center;
    padding: calc(40px + 1vw) calc(30px + 1vw);
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 35px rgba(247, 147, 30, 0.2);
    width: 100%;
    height: calc(350px + 10vw);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s ease;
}

.service-content-standalone:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(247, 147, 30, 0.3);
}

.service-title-standalone {
    color: var(--white);
    font-size: calc(1.8rem + 0.8vw);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    position: relative;
}

.service-title-standalone::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: calc(60px + 2vw);
    height: 4px;
    background: var(--white);
}

.service-description-standalone {
    color: var(--white);
    font-size: var(--font-size-sm);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}


/* ================================================================================
   SECTION 6: BLOG AND TESTIMONIALS OVERRIDE
   ⚠️ MODIFY ONLY IF USING THESE MODULES
================================================================================ */

/* Blog Override */
.bg-light {
    background: var(--gray-light) !important;
    padding: calc(60px + 2vw) 0 !important;
}

.bg-light .container {
    max-width: 90% !important;
    width: 100% !important;
}

.text-12 {
    font-size: var(--font-size-2xl) !important;
    font-weight: 700 !important;
    color: var(--primary-blue) !important;
    margin-bottom: var(--spacing-md) !important;
}

.bg-color-light.card {
    background: var(--white) !important;
    border: none !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-md) !important;
    transition: all 0.3s ease !important;
    overflow: hidden !important;
}

.bg-color-light.card:hover {
    transform: translateY(-8px) !important;
    box-shadow: var(--shadow-lg) !important;
}

.card-img-top {
    width: 100% !important;
    height: calc(200px + 3vw) !important;
    object-fit: cover !important;
    transition: all 0.3s ease !important;
}

.bg-color-light.card:hover .card-img-top {
    transform: scale(1.05) !important;
}

/* Testimonials Override */
.owl-stage-outer {
    overflow: hidden !important;
}

.testimonial, .testimonial * {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif !important;
}

.testimonial blockquote p {
    line-height: 1.2 !important;
}

/* Slick Slider */
.slick-dots {
    bottom: calc(20px + 1vw);
    z-index: 10;
}

.slick-dots li button:before {
    color: var(--white);
    font-size: calc(10px + 0.3vw);
}

.slick-dots li.slick-active button:before {
    color: var(--accent-blue);
}


/* ================================================================================
   SECTION 7: RESPONSIVE
   ⚠️ ADJUST BREAKPOINTS AS NEEDED
================================================================================ */

/* Tablet */
@media (min-width: 992px) and (max-width: 1200px) {
    .services-cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Tablet and mobile */
@media (max-width: 1024px) {
    .services-cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: var(--spacing-sm) !important;
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Mobile hero adjustments */
    .hero-slider .hero-section {
        min-height: 100vh;
        height: 100vh;
        padding: calc(10px + 1vw) 0;
    }
    
    .hero-content {
        padding: calc(20px + 2vw) 0 calc(30px + 2vw) 0;
        text-align: center;
    }
    
    .hero-section .row {
        flex-direction: column !important;
    }
    
    .hero-youtube {
        width: 800vw;
        height: 800vh;
        min-width: 800%;
        min-height: 800%;
    }
    
    /* Mobile form */
    .formBuilderContainer {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: none;
        border: 1px solid #e5e7eb;
        margin-top: 0;
        max-width: 100%;
    }
    
    .formBuilderContainer h2,
    .formBuilderContainer h3,
    .formBuilderContainer .form-title {
        color: #1f2937 !important;
        text-shadow: none !important;
    }
    
    .formBuilderContainer label {
        color: #374151 !important;
        text-shadow: none !important;
    }
    
    /* Hide side decorations */
    .hero-subtitle::before,
    .hero-subtitle::after,
    .sub-title::before,
    .sub-title::after,
    .subtitle-text::before,
    .subtitle-text::after {
        display: none;
    }
    
    /* Full width buttons */
    .th-btn {
        width: 100%;
        margin-right: 0;
    }
    
    /* Services cards in column */
    .services-cards-grid {
        grid-template-columns: 1fr !important;
        gap: var(--spacing-sm) !important;
    }
    
    .service-card-clean {
        min-height: auto !important;
    }
    
    .service-image-wrapper {
        height: calc(200px + 2vw) !important;
    }


    
    /* CTA adjustments */
    .cta-title {
        text-align: center;
        margin-bottom: var(--spacing-md);
    }
    
    .cta-subtitle {
        text-align: center;
    }
    
    .cta-subtitle::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .cta-buttons {
        justify-content: center;
        flex-direction: column;
    }
    
    .th-btn.cta-btn-primary,
    .th-btn.cta-btn-outline {
        width: 100%;
        text-align: center;
    }
    
    /* Mobile testimonials */
    .testimonial blockquote p {
        line-height: 1.1 !important;
        font-size: calc(14px + 0.5vw) !important;
    }
    
    /* Responsive clip text */
    .clip-text {
        white-space: normal;
        word-break: break-word;
    }
    
    .col-half-section {
        padding-left: calc(15px + 2vw) !important;
        padding-right: calc(15px + 2vw) !important;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .hero-slider .hero-section {
        min-height: 110vh;
        height: auto;
    }
    
    .hero-youtube {
        width: 1000vw;
        height: 1000vh;
        min-width: 1000%;
        min-height: 1000%;
    }
    
    .formBuilderContainer {
        padding: var(--spacing-sm);
    }
    
    .services-cards-grid {
        gap: calc(15px + 0.8vw) !important;
    }
}

/* Large desktop */
@media (min-width: 1920px) {
    .hero-title {
        font-size: calc(3rem + 1vw);
        max-font-size: 4.5rem;
    }
    
    .clip-text {
        font-size: calc(8rem + 2vw);
        max-font-size: 12rem;
    }
    
    .formBuilderContainer {
        max-width: 500px;
    }
    
    .fluid-container {
        max-width: 1920px;
    }
}


/* ================================================================================
   SECTION 8: FIXES AND UTILITIES
   ⛔ DO NOT MODIFY - Specific bug fixes
================================================================================ */

/* Fix for mobile hamburger */
@media (prefers-reduced-motion: reduce) {
    .header-nav-main nav.collapse,
    .header-nav-main nav.collapsing,
    .header-nav-main nav.show {
        transition-duration: 0.35s !important;
        animation-duration: 0.35s !important;
    }
}

.header-nav-main nav.collapse {
    transition: height 0.35s ease !important;
}

.header-nav-main nav.collapsing {
    transition: height 0.35s ease !important;
    overflow: hidden !important;
}

/* Bootstrap padding fix */
@media (min-width: 992px) {
    .pe-lg-5 {
        padding-right: 0rem !important;
    }
}

/* Floating labels fix */
.formBuilderContainer .form-floating {
    max-width: calc(70% + 10vw) !important;
    margin: 0 auto calc(6px + 0.3vw) auto !important;
}

.formBuilderContainer .form-floating input,
.formBuilderContainer .form-floating select {
    width: 100% !important;
    padding: 2rem 0.5rem 0.25rem !important;
}

.formBuilderContainer .form-floating label {
    color: #666 !important;
    text-align: left !important;
}

/* Fix for long dropdowns */
.formBuilderContainer select.form-control.formBuilderDropDown.font-weight-semibold.small {
    height: calc(60px + 1vw) !important;
    padding: calc(12px + 0.5vw) calc(8px + 0.3vw) !important;
    font-size: calc(10px + 0.3vw) !important;
}


/* ================================================================================
   END OF MODULAR SYSTEM
   
   CHECKLIST FOR NEW PROJECT:
   ✅ 1. Change colors in variables (:root)
   ✅ 2. Change image paths in HTML
   ✅ 3. Change texts and content
   ✅ 4. Adjust YouTube video URL in hero
   ✅ 5. Review navigation links
   
   DO NOT TOUCH:
   ❌ Header system
   ❌ Responsive breakpoints
   ❌ Fixes section
   ❌ Animation keyframes
   
================================================================================ */

/* ================================================================================
   MODERN FOOTER - THOMAS SERVICE POOLS - FINAL VERSION
   Mosaic background throughout + dark copyright section
================================================================================ */

/* ===== CTA BANNER (Above Footer) ===== */
.footer-cta-banner {
    background: linear-gradient(135deg, #0E0F3B 0%, #07407B 100%);
    padding: calc(40px + 2vw) 0;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.footer-cta-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #7FCDEE, #0891B2, #7FCDEE, transparent);
    animation: liquidFlow 3s linear infinite;
}

.cta-banner-title {
    color: #ffffff;
    font-size: calc(1.8rem + 1vw);
    font-weight: 700;
    margin-bottom: calc(8px + 0.3vw);
    line-height: 1.2;
}

.cta-banner-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: calc(14px + 0.3vw);
    margin: 0;
}

.cta-banner-btn {
    background: #7FCDEE;
    color: #0E0F3B;
    padding: calc(12px + 0.5vw) calc(30px + 1vw);
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-size: calc(13px + 0.3vw);
    box-shadow: 0 5px 15px rgba(127, 205, 238, 0.3);
}

.cta-banner-btn:hover {
    background: #ffffff;
    color: #0E0F3B;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(127, 205, 238, 0.5);
    text-decoration: none;
}

/* ===== MAIN FOOTER ===== */
#footer {
    background: #1a1d2e !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    overflow: hidden;
}

/* Animated mosaic background - covers entire footer */
#footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 120%;
    height: 100%;
    background-image: url('https://secure.walibu.com/Upload/UploadedImages/Core/thomas-pool-services/mosaic-pattern.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.08;
    z-index: 0;
    animation: slowPan 40s ease-in-out infinite alternate;
}

@keyframes slowPan {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-20%);
    }
}

/* Subtle glow effect */
#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(127, 205, 238, 0.3), transparent);
    z-index: 1;
}

/* Main content area */
#footer .container {
    position: relative;
    z-index: 2;
}

#footer .py-5 {
    padding-top: calc(50px + 2vw) !important;
    padding-bottom: calc(40px + 2vw) !important;
}

/* Column headings */
#footer h3,
#footer .text-color-dark {
    color: #ffffff !important;
    font-size: calc(16px + 0.3vw) !important;
    font-weight: 700 !important;
    margin-bottom: calc(20px + 0.5vw) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Links styling */
#footer ul.list {
    padding: 0 !important;
    margin: 0 !important;
}

#footer ul.list li {
    margin-bottom: calc(10px + 0.3vw);
    padding-left: 0 !important;
}

#footer ul.list li a,
#footer .text-dark {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    font-size: calc(13px + 0.2vw);
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

#footer ul.list li a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: #7FCDEE;
}

#footer ul.list li a:hover {
    color: #7FCDEE !important;
    padding-left: 20px;
    text-decoration: none;
}

#footer ul.list li a:hover::before {
    opacity: 1;
    left: 0;
}

/* Logo in footer */
#footer img {
    filter: brightness(0) invert(1);
    max-width: 150px;
    margin-bottom: calc(15px + 0.5vw);
}

/* Newsletter section */
#footer .input-group {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 4px;
    border: 1px solid rgba(127, 205, 238, 0.2);
}

#footer .input-group input {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    padding: calc(12px + 0.3vw) calc(15px + 0.5vw) !important;
    font-size: calc(13px + 0.2vw) !important;
}

#footer .input-group input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

#footer .input-group input:focus {
    outline: none;
    box-shadow: none;
}

#footer .input-group .btn {
    background: #7FCDEE !important;
    border: none !important;
    padding: calc(10px + 0.3vw) calc(15px + 0.5vw) !important;
    border-radius: 4px !important;
    transition: all 0.3s ease;
}

#footer .input-group .btn:hover {
    background: #ffffff !important;
    transform: translateX(3px);
}

#footer .input-group .btn svg {
    fill: #0E0F3B !important;
}

/* HR separator */
#footer hr {
    border-color: rgba(127, 205, 238, 0.2) !important;
    margin: calc(30px + 1vw) 0 !important;
}

/* Copyright section - DARK to match footer */
.footer-copyright {
    background: #1a1d2e !important;
    border-top: 1px solid rgba(127, 205, 238, 0.2) !important;
    padding: calc(25px + 1vw) 0 !important;
    margin: 0 !important;
    position: relative;
}

/* Liquid wave decoration above copyright */
.footer-copyright::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent,
        #7FCDEE,
        #0891B2,
        #7FCDEE,
        transparent);
    animation: liquidFlow 3s linear infinite;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: calc(12px + 0.2vw) !important;
    margin: 0 !important;
    font-weight: 500 !important;
}

.footer-copyright a {
    color: #7FCDEE !important;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600 !important;
}

.footer-copyright a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

/* Social icons on dark background */
.footer-copyright .social-icons {
    display: flex !important;
    gap: calc(10px + 0.3vw) !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

.footer-copyright .social-icons li {
    list-style: none !important;
}

.footer-copyright .social-icons a {
    width: calc(35px + 0.5vw) !important;
    height: calc(35px + 0.5vw) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(127, 205, 238, 0.1) !important;
    border: 2px solid rgba(127, 205, 238, 0.3) !important;
    color: #7FCDEE !important;
    transition: all 0.3s ease !important;
    text-decoration: none;
}

.footer-copyright .social-icons a:hover {
    background: #7FCDEE !important;
    border-color: #7FCDEE !important;
    color: #0E0F3B !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(127, 205, 238, 0.4);
}

.footer-copyright .social-icons a i {
    font-size: calc(14px + 0.2vw);
}

/* Validation messages */
#footer .field-validation-valid,
#footer .text-danger {
    color: #ff6b6b !important;
    font-size: calc(11px + 0.2vw);
    margin-top: 5px;
    display: block;
}

/* Alert messages */
#footer .alert-danger {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    color: #ff6b6b;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 15px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .footer-cta-banner {
        text-align: center;
        padding: calc(30px + 2vw) 0;
    }
    
    .cta-banner-title {
        font-size: calc(1.5rem + 0.8vw);
        margin-bottom: calc(12px + 0.5vw);
    }
    
    .cta-banner-btn {
        margin-top: calc(15px + 0.5vw);
    }
}

@media (max-width: 768px) {
    #footer .col-lg-3,
    #footer .col-lg-2,
    #footer .col-lg-4 {
        margin-bottom: calc(30px + 1vw) !important;
    }
    
    .footer-copyright .row {
        flex-direction: column;
        text-align: center !important;
    }
    
    .footer-copyright .order-1,
    .footer-copyright .order-2 {
        order: 0 !important;
    }
    
    .footer-copyright .social-icons {
        justify-content: center !important;
        margin-top: calc(15px + 0.5vw) !important;
    }
}

/* FORCE dark copyright */
#footer .footer-copyright,
footer .footer-copyright,
.footer-copyright.bg-light {
    background: #1a1d2e !important;
}

#footer .footer-copyright p,
footer .footer-copyright p {
    color: rgba(255, 255, 255, 0.7) !important;
}

#footer .footer-copyright a,
footer .footer-copyright a {
    color: #7FCDEE !important;
}
/* ================================================================================ 
   END OF FOOTER STYLES - FINAL VERSION
   
   ✅ Mosaic pattern throughout entire footer
   ✅ Dark copyright section (#1a1d2e) matching footer
   ✅ White text with cyan links
   ✅ Liquid wave animation
   ✅ Fully responsive
   
================================================================================ */



/* ================================================================================
   LIQUID NAVBAR - ULTRA SPECIFIC OVERRIDE
   Place this AFTER all other CSS to override system defaults
================================================================================ */

/* ULTRA SPECIFIC SELECTORS to win over system CSS */

/* Override main-header background and effects */
.header .header-body .main-header {
    background: #0E0F3B !important;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    overflow: hidden !important;
}

/* Liquid wave at bottom */
.header .header-body .main-header::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 200% !important;
    height: 3px !important;
    background: linear-gradient(90deg, transparent, #7FCDEE, #0891B2, #7FCDEE, transparent) !important;
    animation: liquidFlow 3s linear infinite !important;
}

@keyframes liquidFlow {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0%); }
}

/* Logo glow */
.main-header .main-left .logo::after {
    content: '' !important;
    position: absolute !important;
    inset: -10px !important;
    background: radial-gradient(circle, rgba(127, 205, 238, 0.2) 0%, transparent 70%) !important;
    filter: blur(15px) !important;
    z-index: 1 !important;
    opacity: 0.8 !important;
}

.main-header .main-left .logo img {
    filter: drop-shadow(0 0 10px rgba(127, 205, 238, 0.3)) !important;
}

/* FORCE WHITE AND UPPERCASE ON ALL LINKS */
.header .main-header .nav-main nav > ul > li > a,
.main-header .nav-main nav > ul > li > a,
.nav-main nav > ul > li > a {
    color: #ffffff !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 12px 18px !important;
    border-radius: 6px !important;
    background: transparent !important;
    border: none !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

/* HOVER - Ultra specific */
.header .main-header .nav-main nav > ul > li > a:hover,
.main-header .nav-main nav > ul > li > a:hover,
.nav-main nav > ul > li > a:hover {
    color: #ffffff !important;
    background: rgba(127, 205, 238, 0.25) !important;
    transform: translateY(-2px) !important;
    text-decoration: none !important;
    box-shadow: 0 5px 15px rgba(127, 205, 238, 0.4) !important;
    border: 2px solid rgba(127, 205, 238, 0.5) !important;
}

/* ACTIVE - Ultra specific */
.header .main-header .nav-main nav > ul > li > a.active,
.main-header .nav-main nav > ul > li > a.active,
.nav-main nav > ul > li > a.active {
    color: #ffffff !important;
    background: rgba(127, 205, 238, 0.3) !important;
    box-shadow: 
        0 0 25px rgba(127, 205, 238, 0.5),
        inset 0 0 20px rgba(127, 205, 238, 0.2) !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

/* FIRST LINK FIX */
.header .main-header .nav-main nav > ul > li:first-child > a,
.main-header .nav-main nav > ul > li:first-child > a,
.nav-main nav > ul > li:first-child > a,
.header .main-header .nav-main nav > ul > li:nth-child(1) > a,
.main-header .nav-main nav > ul > li:nth-child(1) > a,
.nav-main nav > ul > li:nth-child(1) > a {
    color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-flex !important;
}

/* Remove any pseudo-elements that might hide content */
.nav-main nav > ul > li > a::before,
.nav-main nav > ul > li > a::after {
    display: none !important;
}

/* Mobile adjustments */
@media (max-width: 991px) {
    .mobile-menu-toggle {
        background: transparent !important;
        border: 2px solid rgba(127, 205, 238, 0.5) !important;
        color: #7FCDEE !important;
        padding: 10px 15px !important;
        border-radius: 6px !important;
    }
}



<!-- ===============================================================================
     CSS - Add this to your stylesheet
=============================================================================== -->

/* Marquee Banner - Injected */
.marquee-banner-injected {
    background: linear-gradient(135deg, #7FCDEE 0%, #5bb5d9 100%);
    overflow: hidden;
    white-space: nowrap;
    padding: calc(10px + 0.4vw) 0;
    position: relative;
    box-shadow: 
        inset 0 2px 8px rgba(255, 255, 255, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.15);
    width: 100%;
    margin-top: calc(8px + 0.3vw);
}

/* Animated shine effect */
.marquee-banner-injected::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shineEffect 3s infinite;
}

@keyframes shineEffect {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.marquee-content-injected {
    display: inline-block;
    animation: marqueeScrollInjected 30s linear infinite;
}

.marquee-text-injected {
    display: inline-block;
    padding: 0 2rem;
    font-size: calc(13px + 0.2vw);
    font-weight: 700;
    color: #0E0F3B;
    letter-spacing: 0.8px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

@keyframes marqueeScrollInjected {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.33%);
    }
}

/* Pause on hover */
.marquee-banner-injected:hover .marquee-content-injected {
    animation-play-state: paused;
}

/* Responsive */
@media (max-width: 768px) {
    .marquee-banner-injected {
        padding: calc(8px + 0.3vw) 0;
        margin-top: calc(6px + 0.2vw);
    }
    
    .marquee-text-injected {
        font-size: calc(11px + 0.2vw);
        padding: 0 1.5rem;
    }
}





/* Service card with specific background images */
.service-card-1 {
    background-image: url('/Upload/UploadedImages/Core/thomas-pool-services/water-pool-pump.webp');
}

.service-card-2 {
    background-image: url('/Upload/UploadedImages/Core/thomas-pool-services/pool-rapairs.webp');
}

.service-card-3 {
    background-image: url('/Upload/UploadedImages/Core/thomas-pool-services/tile-cleaning.webp');
}

/* Service Card Titles - PRO STYLING */
.service-title-clean {
    font-size: calc(1.4rem + 0.6vw);
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: calc(15px + 0.5vw);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: calc(10px + 0.3vw);
}

/* Accent line bajo el título */
.service-title-clean::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: calc(40px + 1.5vw);
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--blue-accent));
    border-radius: 2px;
}

/* Service Description - PRO SPACING */
.service-desc-clean {
    color: var(--gray-medium);
    font-size: calc(14px + 0.25vw);
    line-height: 1.7;
    margin-bottom: calc(25px + 1vw);
    flex-grow: 1;
    font-weight: 400;
}

/* Service Button - ROUNDED + PRO EFFECTS */
.service-btn-clean {
    background: var(--secondary-blue);
    color: var(--white);
    padding: calc(13px + 0.5vw) calc(30px + 1.2vw);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    font-size: calc(12px + 0.3vw);
    box-shadow: 0 4px 15px rgba(7, 64, 123, 0.25);
    position: relative;
    overflow: hidden;
}

/* Shine effect */
.service-btn-clean::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.service-btn-clean:hover::before {
    left: 100%;
}

.service-btn-clean:hover {
    background: var(--accent-blue);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(127, 205, 238, 0.4);
    text-decoration: none;
}

.service-btn-clean:active {
    transform: translateY(0);
}

.section.border-0.bg-color-primary.h-100.m-0 {
    position: relative;
    background-image: linear-gradient(rgba(14, 15, 59, 0.85), rgba(7, 64, 123, 0.85)), 
                      url('/Upload/UploadedImages/Core/thomas-pool-services/background-water.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: calc(20px + 1vw);
}
.section.section-height-3.bg-primary.section-text-light.section-center.overlay.overlay-color-primary.m-0.appear-animation.aos-animate.blog.bg-plum.animated.appear-animation-visible {
    background: var(--primary-blue) !important;
    background-color: #0E0F3B !important;
}
.overlay-color-primary:not(.no-skin):before {
    background-image: linear-gradient(rgba(14, 15, 59, 0.85), rgba(7, 64, 123, 0.85)), 
                      url('/Upload/UploadedImages/Core/thomas-pool-services/background-water.webp') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}




.hero {
    position: relative;
    color: white;
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 40px;
    overflow: hidden;
    height: 300px; /* o el que uses */
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14, 15, 59, 0.7), rgba(7, 64, 123, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero h1,
.hero .display-4 {
    color: white !important;
}

.hero p,
.hero .lead {
    color: white !important;
}




/* Fix logo clickeable */
#header .header-logo,
#header .header-logo a,
.main-header .main-left .logo,
.main-header .main-left .logo a {
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative;
    z-index: 100 !important;
}

/* Pseudo-elementos NO clickeables */
.main-header .main-left .logo::after,
.main-header .main-left .logo::before {
    pointer-events: none !important;
    z-index: -1 !important;
}



/* ================================================================================
   ANIMATION SYSTEM - Add to end of CSS
   Smooth entrance animations for all elements
================================================================================ */

/* ===== BASE ANIMATION CLASSES ===== */

/* Fade In */
.animate-fade-in {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

.animate-fade-in.animated {
    opacity: 1;
}

/* Fade In Up */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-fade-up.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Fade In Down */
.animate-fade-down {
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-fade-down.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Fade In Left */
.animate-fade-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-fade-left.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Fade In Right */
.animate-fade-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-fade-right.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Scale Up */
.animate-scale-up {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-scale-up.animated {
    opacity: 1;
    transform: scale(1);
}

/* Zoom In */
.animate-zoom {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-zoom.animated {
    opacity: 1;
    transform: scale(1);
}

/* Rotate In */
.animate-rotate {
    opacity: 0;
    transform: rotate(-5deg) scale(0.95);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-rotate.animated {
    opacity: 1;
    transform: rotate(0) scale(1);
}

/* Blur In */
.animate-blur {
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.8s ease-out, filter 0.8s ease-out;
}

.animate-blur.animated {
    opacity: 1;
    filter: blur(0);
}

/* Slide In Bounce */
.animate-bounce-in {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.animate-bounce-in.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ===== STAGGER DELAYS (for multiple elements) ===== */
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }
.animate-delay-6 { transition-delay: 0.6s; }

/* ===== SPEED VARIANTS ===== */
.animate-fast { transition-duration: 0.4s !important; }
.animate-slow { transition-duration: 1.2s !important; }

/* ===== SPECIAL EFFECTS ===== */

/* Glowing entrance */
.animate-glow {
    opacity: 0;
    filter: drop-shadow(0 0 20px rgba(127, 205, 238, 0));
    transition: opacity 0.8s ease-out, filter 0.8s ease-out;
}

.animate-glow.animated {
    opacity: 1;
    filter: drop-shadow(0 0 20px rgba(127, 205, 238, 0.5));
}

/* Card flip */
.animate-flip {
    opacity: 0;
    transform: perspective(1000px) rotateY(-15deg);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-flip.animated {
    opacity: 1;
    transform: perspective(1000px) rotateY(0);
}

/* ===== CONTINUOUS ANIMATIONS (always active) ===== */

/* Float */
@keyframes float-continuous {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-float-continuous {
    animation: float-continuous 3s ease-in-out infinite;
}

/* Pulse */
@keyframes pulse-continuous {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.animate-pulse-continuous {
    animation: pulse-continuous 2s ease-in-out infinite;
}

/* Glow pulse */
@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(127, 205, 238, 0.3); }
    50% { box-shadow: 0 0 40px rgba(127, 205, 238, 0.6); }
}

.animate-glow-pulse {
    animation: glow-pulse 2s ease-in-out infinite;
}

/* Shake subtle */
@keyframes shake-subtle {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}

.animate-shake-hover:hover {
    animation: shake-subtle 0.3s ease-in-out;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
    /* Reduce motion for mobile */
    .animate-fade-up,
    .animate-fade-down,
    .animate-fade-left,
    .animate-fade-right {
        transform: translateY(15px) !important;
    }
    
    .animate-fade-up.animated,
    .animate-fade-down.animated,
    .animate-fade-left.animated,
    .animate-fade-right.animated {
        transform: translateY(0) !important;
    }
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    .animate-fade-in,
    .animate-fade-up,
    .animate-fade-down,
    .animate-fade-left,
    .animate-fade-right,
    .animate-scale-up,
    .animate-zoom,
    .animate-rotate,
    .animate-blur,
    .animate-bounce-in,
    .animate-glow,
    .animate-flip {
        transition: opacity 0.3s ease-out !important;
        transform: none !important;
        filter: none !important;
    }
    
    .animate-float-continuous,
    .animate-pulse-continuous,
    .animate-glow-pulse {
        animation: none !important;
    }
}


.nav-main nav > ul > li.dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-radius: 6px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: none;
    z-index: 100;
    border: 0 !important;
    margin-top: 5px;
    display: block;
}

/* ===== SERVICES CARDS GRID - 3 COLUMNAS ===== */
.services-cards-grid-2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: calc(25px + 1vw);
    margin-top: var(--spacing-lg);
    position: relative;
    z-index: 5;
}

/* Tablet grande */
@media (min-width: 992px) and (max-width: 1200px) {
    .services-cards-grid-2 {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: calc(20px + 0.8vw) !important;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .services-cards-grid-2 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: var(--spacing-sm) !important;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .services-cards-grid-2 {
        grid-template-columns: 1fr !important;
        gap: var(--spacing-sm) !important;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .services-cards-grid-2 {
        gap: calc(15px + 0.8vw) !important;
    }
}