/* 
   Ruffino's School of Pool - Official Brand Stylesheet
   Enhanced with Smooth Water Caustic Ripple Background & Smooth Dropdown Transitions
*/

:root {
    --bg-page: #edf7fe;
    --pool-blue: #0284c7;
    --pool-blue-light: #e0f2fe;
    --primary-navy: #060d2e;
    --primary-navy-dark: #03081e;
    --brand-gold: #f5a623;
    --brand-gold-hover: #e09214;
    --brand-red: #e31b23;
    --text-heading: #060d2e;
    --text-body: #334155;
    --text-muted: #64748b;
    --card-bg: #ffffff;
    --border-light: #dbeafe;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #f0f7fe;
}

/* ---------------- HEADER / NAVBAR ---------------- */
.site-header {
    background-color: #0096FF;
    padding-top: 1rem;
    padding-bottom: 1rem;
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: all 0.3s ease;
    position: relative;
}
.site-header::before {
    opacity: 0.85;
    pointer-events: none;
    content: '';
    background: url(../images/waterlayer.png);
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}
.navbar-brand {
    max-width: 260px;
    display: inline-block;
}

.navbar-brand img {
    max-height: 70px;
    width: auto;
    object-fit: contain;
}

/* Fallback pure CSS logo if image not loaded */
.brand-logo-wrap {
    display: inline-flex;
    flex-direction: column;
    text-decoration: none;
}

.logo-r {
    font-size: 2.8rem;
    font-weight: 900;
    color: #e31b23;
    line-height: 0.9;
    font-family: serif;
    display: inline-block;
}

.logo-text {
    font-size: 2.1rem;
    font-weight: 800;
    color: #0284c7;
    letter-spacing: -0.02em;
    vertical-align: top;
    margin-left: 2px;
}

.brand-tagline {
    font-size: 0.52rem;
    font-weight: 800;
    color: #060d2e;
    letter-spacing: 0.04em;
    line-height: 1.25;
    margin-top: 2px;
}

/* Menu Items */
.nav-pill-btn {
    border-radius: 50rem !important;
    padding: 0.45rem 1.25rem !important;
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff !important;
    background-color: var(--primary-navy) !important;
    box-shadow: 0 3px 10px rgba(6, 13, 46, 0.2);
}

.nav-pill-link {
    border-radius: 50rem !important;
    padding: 0.45rem 0.9rem !important;
    font-size: 0.88rem;
    font-weight: 600;
    color: #fff !important;
    transition: all 0.2s ease;
    cursor: pointer;
}

.nav-pill-link:hover {
    color: var(--pool-blue) !important;
    background-color: rgba(2, 132, 199, 0.08);
}

/* ---------------- SMOOTH DROPDOWN FIX & DIRECT LINK CLICK ---------------- */
.nav-item.dropdown {
    position: relative;
}

/* Services Split Button or Clickable Anchor styling */
.nav-services-group {
    display: inline-flex;
    align-items: center;
    border-radius: 50rem;
    transition: background-color 0.2s ease;
}

.nav-services-group:hover {
    background-color: rgba(2, 132, 199, 0.08);
}

.nav-services-group .nav-link-direct {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    color: #fff;
    padding: 0.45rem 0.4rem 0.45rem 0.9rem;
    border-radius: 50rem 0 0 50rem;
}

.nav-services-group:hover .nav-link-direct {
    color: var(--pool-blue);
}

.nav-services-group .dropdown-toggle-icon {
    background: none;
    border: none;
    padding: 0.45rem 0.75rem 0.45rem 0.2rem;
    color: #fff;
    font-size: 0.8rem;
    cursor: pointer;
    border-radius: 0 50rem 50rem 0;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-services-group:hover .dropdown-toggle-icon {
    color: var(--pool-blue);
}

/* Smooth Dropdown Animation */
@media (min-width: 1200px) {
    /* Desktop: smooth hover & click animation */
    .nav-item.dropdown:hover .dropdown-menu,
    .nav-item.dropdown .dropdown-menu.show {
        display: block !important;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .dropdown-menu {
        display: block !important;
        opacity: 0;
        visibility: hidden;
        transform: translateY(12px);
        transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s;
        pointer-events: none;
        margin-top: 0.5rem;
        background: #ffffff;
        border: 1px solid rgba(2, 132, 199, 0.15) !important;
        box-shadow: 0 14px 35px rgba(6, 13, 46, 0.12) !important;
        border-radius: 1.15rem !important;
        padding: 0.6rem;
        min-width: 220px;
    }
}

@media (max-width: 1199.98px) {
    /* Mobile animated accordion style */
    .dropdown-menu {
        border: 1px solid rgba(2, 132, 199, 0.15);
        border-radius: 1rem;
        padding: 0.5rem;
        margin-top: 0.5rem;
    }
    .dropdown-menu.show {
        animation: fadeInSlide 0.25s ease forwards;
    }
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    font-weight: 600;
    font-size: 0.86rem;
    color: #334155;
    padding: 0.55rem 1rem;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: #e0f2fe;
    color: #0284c7;
    transform: translateX(4px);
}

/* Header Action Buttons */
.btn-primary-custom {
    background-color: var(--brand-gold);
    border: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 50rem;
    padding: 0.55rem 1.4rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.28);
}

.btn-primary-custom:hover {
    background-color: var(--brand-gold-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 166, 35, 0.38);
}

.btn-outline-custom {
    background-color: var(--primary-navy);
    border: 1px solid var(--primary-navy);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 50rem;
    padding: 0.55rem 1.4rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(6, 13, 46, 0.2);
}

.btn-outline-custom:hover {
    background-color: var(--primary-navy-dark);
    color: var(--brand-gold);
    transform: translateY(-2px);
}

/* ---------------- HERO / BANNER WITH REALISTIC BLUE POOL WATER EFFECT ---------------- */
.hero-section {
    position: relative;
    padding-top: 4.5rem;
    padding-bottom: 5.5rem;
    background: #0096ff;
    overflow: hidden;
}

/* Water Ripple / Caustic Overlay Effect */
.hero-section::before {
    opacity: 0.85;
    pointer-events: none;
    content: '';
    background: url(../images/waterlayer.png);
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

/* Subtle Animated Pool Light Effect */
.hero-badge {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #854d0e;
    background-color: #fef08a;
    border: 1px solid #fde047;
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 50rem;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(245, 166, 35, 0.15);
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.3rem, 4.4vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--primary-navy);
    margin-bottom: 1.35rem;
    letter-spacing: -0.025em;
    position: relative;
    z-index: 2;
}

.hero-title .text-gradient {
    color: #fff;
}
.hero-subtitle {
    font-size: 1rem;
    color: #fff;
    line-height: 1.72;
    margin-bottom: 2rem;
    max-width: 95%;
    position: relative;
    z-index: 2;
}

.btn-link-custom {
    color: var(--primary-navy);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
}

.btn-link-custom:hover {
    color: var(--brand-red);
    transform: translateX(4px);
}

/* 3 Stat Cards in Hero */
.stat-card {
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 1.1rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    box-shadow: 0 8px 24px rgba(2, 132, 199, 0.08);
    border: 1.5px solid #0284c7;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    z-index: 2;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(2, 132, 199, 0.16);
}

.stat-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 50rem;
    background-color: #e0f2fe;
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.stat-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.stat-value {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary-navy);
    line-height: 1.2;
}

/* ---------------- RIGHT PORTAL CARD ---------------- */
.portal-card {
    background: linear-gradient(155deg, #060d2e 0%, #0a1744 100%);
    border-radius: 2rem;
    padding: 2.2rem;
    color: #ffffff;
    box-shadow: 0 20px 45px rgba(6, 13, 46, 0.28);
    border: 2px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.portal-badge-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.portal-meta-tag {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    font-weight: 800;
    color: #f5a623;
}

.portal-pill-badge {
    background: var(--brand-red);
    font-size: 0.68rem;
    font-weight: 800;
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 50rem;
}

.portal-title {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.portal-feature-item {
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.85rem;
    padding: 0.65rem 0.85rem;
    margin-bottom: 0.65rem;
}

.feature-item-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-gold);
}

.portal-sub-capsule {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 0.55rem 0.75rem;
    font-size: 0.72rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    color: #e2e8f0;
}

.portal-booking-box {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(245, 166, 35, 0.4);
    border-radius: 1.25rem;
    padding: 1.35rem 1.1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.booking-notice {
    font-size: 0.7rem;
    color: var(--brand-gold);
    font-weight: 700;
    text-transform: uppercase;
}

.booking-date {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    color: #ffffff;
}

.booking-time {
    font-size: 0.72rem;
    color: #cbd5e1;
    margin-bottom: 1.25rem;
}

.btn-reserve {
    background-color: var(--brand-gold);
    color: var(--primary-navy);
    border-radius: 50rem;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 0.6rem;
    border: none;
    transition: all 0.2s;
}

.btn-reserve:hover {
    background-color: #ffffff;
    color: var(--primary-navy);
}

/* ---------------- SECTION GLOBAL HEADERS ---------------- */
.section-padding {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
}

.section-tag {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--pool-blue);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 800;
    color: var(--primary-navy);
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    max-width: 850px;
}

.section-desc {
    font-size: 0.95rem;
    color: var(--text-body);
    max-width: 900px;
    line-height: 1.65;
}

/* ---------------- 8 OUTCOME CARDS ---------------- */
.outcome-card {
    background: #ffffff;
    border-radius: 1.15rem;
    padding: 1.4rem 1.25rem;
    min-height: 145px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.04);
    border: 1px solid #e0f2fe;
    transition: all 0.25s ease;
}

.outcome-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(2, 132, 199, 0.12);
    border-color: #bae6fd;
}

.outcome-icon {
    font-size: 1.35rem;
    color: #0284c7;
    margin-bottom: 0.75rem;
}

.outcome-text {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-navy);
    line-height: 1.45;
    margin: 0;
}

/* ---------------- VIDEO PORTAL FEATURES ---------------- */
.portal-stream-frame {
    height: 100%;
    min-height: 380px;
    border-radius: 1.75rem;
    background: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1000&q=80') center/cover no-repeat;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    box-shadow: 0 12px 35px rgba(2, 132, 199, 0.12);
    border: 2px solid #ffffff;
}

.stream-glass-overlay {
    display: flex;
    gap: 1rem;
    width: 100%;
}

@media (max-width: 768px) {
    .stream-glass-overlay {
        flex-direction: column;
    }
}

.stream-glass-pill {
    background: rgba(6, 13, 46, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 0.85rem 1rem;
    color: #ffffff;
    display: flex;
    gap: 0.75rem;
    flex: 1;
}

.pill-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    margin-top: 5px;
    flex-shrink: 0;
}

.pill-dot.red { background-color: #ef4444; }
.pill-dot.blue { background-color: #38bdf8; }

.pill-title {
    font-size: 0.78rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.2rem;
}

.pill-detail {
    font-size: 0.7rem;
    color: #e2e8f0;
    line-height: 1.35;
}

.portal-list-item {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1rem 1.35rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 10px rgba(2, 132, 199, 0.04);
    border: 1px solid #e0f2fe;
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    transition: all 0.2s ease;
}

.portal-list-item:hover {
    border-color: #38bdf8;
    transform: translateX(4px);
}

.portal-list-item i {
    font-size: 1.25rem;
    color: #0284c7;
}

/* ---------------- COMPARISON & CARDS ---------------- */
.comparison-card {
    background: #ffffff;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid #dbeafe;
    box-shadow: 0 6px 25px rgba(2, 132, 199, 0.04);
    height: 100%;
}

.comparison-img-wrapper {
    height: 230px;
    overflow: hidden;
}

.comparison-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.comparison-card:hover .comparison-img {
    transform: scale(1.04);
}

.comparison-body {
    padding: 1.6rem;
}

.comparison-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.comparison-text {
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.55;
    margin: 0;
}

/* 4 Category Cards */
.quick-service-card {
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 1.6rem;
    border: 1px solid #dbeafe;
    box-shadow: 0 4px 18px rgba(2, 132, 199, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    transition: all 0.25s ease;
}

.quick-service-card:hover {
    transform: translateY(-4px);
    border-color: #38bdf8;
    box-shadow: 0 12px 28px rgba(2, 132, 199, 0.1);
}

.service-icon {
    font-size: 1.45rem;
    color: #0284c7;
    margin-bottom: 0.85rem;
}

.service-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.service-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1.35rem;
}

.service-link {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--primary-navy);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.service-link:hover {
    color: #0284c7;
}

/* ---------------- TESTIMONIALS ---------------- */
.bg-testimonials {
    background-color: transparent;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 1.35rem;
    padding: 1.85rem;
    border: 1px solid #e0f2fe;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-quote-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.testimonial-feedback {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.author-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--primary-navy);
}

.author-location {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ---------------- FOOTER ---------------- */
.site-footer {
    background: #02033B;
    padding-top: 4rem;
    padding-bottom: 3.5rem;
    border-top: 1px solid #e2e8f0;
    margin-top: 2rem;
}

.footer-heading {
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.15rem;
}

.footer-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.65rem;
}

.footer-contact-item i {
    color: #0284c7;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #0284c7;
}

.newsletter-form input {
    font-size: 0.88rem;
    border: 1px solid #cbd5e1;
}

.newsletter-form input:focus {
    box-shadow: none;
    border-color: #0284c7;
}

/* ---------------- ABOUT BANNER WITH ::before IMAGE ---------------- */
.about-banner {
    position: relative;
    padding-top: 5rem;
    padding-bottom: 5rem;
    background: #0597fb;
    color: #ffffff;
    overflow: hidden;
    z-index: 1;
}

.about-banner::before {
    opacity: 0.85;
    pointer-events: none;
    content: '';
    background: url(../images/waterlayer.png);
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}
.about-banner-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.18;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(6, 13, 46, 0.35);
}

/* ==========================================================================
   INNER PAGES COMPLETE STYLING (About, Services, Specialization, News, Classes, Shop)
   ========================================================================== */

/* ---------------- ABOUT BANNER ADDITIONAL ELEMENTS ---------------- */
.about-banner-badge {
    background-color: var(--brand-gold);
    color: var(--primary-navy);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.4rem 1rem;
    border-radius: 50rem;
    display: inline-block;
    margin-bottom: 1.15rem;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
}

.about-banner-desc {
    font-size: 1.05rem;
    color: #e0f2fe;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.about-banner-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #bae6fd;
    position: relative;
    z-index: 2;
}

.about-banner-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.about-banner-breadcrumb a:hover {
    color: var(--brand-gold);
}

.about-banner-breadcrumb .separator {
    color: rgba(255, 255, 255, 0.5);
}

/* ---------------- GENERIC INNER PAGE BANNER (::before waterlayer support) ---------------- */
.inner-page-banner {
    position: relative;
    padding-top: 5rem;
    padding-bottom: 5rem;
    background: #0597fb;
    color: #ffffff;
    overflow: hidden;
    z-index: 1;
}

.inner-page-banner::before {
    opacity: 0.85;
    pointer-events: none;
    content: '';
    background: url(../images/waterlayer.png);
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.inner-banner-badge {
    background-color: var(--brand-gold);
    color: var(--primary-navy);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.95rem;
    border-radius: 50rem;
    display: inline-block;
    margin-bottom: 1rem;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 2;
}

.inner-banner-title {
    font-size: clamp(2rem, 3.8vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 8px rgba(6, 13, 46, 0.3);
    position: relative;
    z-index: 2;
}

.inner-banner-desc {
    font-size: 1rem;
    color: #e0f2fe;
    max-width: 720px;
    line-height: 1.65;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 2;
}

.inner-banner-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #bae6fd;
    margin: 0;
    position: relative;
    z-index: 2;
}

.inner-banner-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.inner-banner-breadcrumb a:hover {
    color: var(--brand-gold);
}

.inner-banner-breadcrumb .separator {
    color: rgba(255, 255, 255, 0.5);
}

.bg-page-inner {
    background-color: #f0f7ff;
    min-height: calc(100vh - 400px);
}

/* ---------------- SERVICES & SPECIALIZATION CARDS ---------------- */
.service-card-hover {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(7, 17, 53, 0.08) !important;
    border-color: var(--pool-blue) !important;
}

.spec-box {
    transition: transform 0.2s ease, border-color 0.2s ease;
    border-left: 4px solid var(--brand-gold) !important;
}

.spec-box:hover {
    transform: translateY(-3px);
    border-color: var(--pool-blue) !important;
}

/* ---------------- CLASSES BOOKING TABS & DATES ---------------- */
.active-tab-btn {
    background-color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(7, 17, 53, 0.1) !important;
    color: var(--primary-navy) !important;
}

.booking-date-card {
    background-color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.booking-date-card:hover {
    border-color: var(--pool-blue) !important;
    box-shadow: 0 6px 20px rgba(0, 144, 245, 0.12);
    transform: translateY(-2px);
}

/* ---------------- SHOP CATALOG (FILTERS & PRODUCTS) ---------------- */
.shop-filter-card {
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 4px 18px rgba(2, 132, 199, 0.05);
    border: 1px solid #e0f2fe;
}

.shop-filter-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary-navy);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.shop-filter-btn {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.65rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 50rem;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.2s ease;
    text-decoration: none;
}

.shop-filter-btn:hover,
.shop-filter-btn.active {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
    transform: translateX(3px);
}

.product-card {
    background: #ffffff;
    border-radius: 1.35rem;
    overflow: hidden;
    border: 1px solid #e0f2fe;
    box-shadow: 0 4px 18px rgba(2, 132, 199, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(2, 132, 199, 0.12);
    border-color: #bae6fd;
}

.product-img-box {
    height: 210px;
    background: linear-gradient(135deg, #bae6fd 0%, #7dd3fc 50%, #38bdf8 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-img-box img {
    transform: scale(1.05);
}

.product-badge-labor {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #dcfce7;
    color: #15803d;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.25rem 0.65rem;
    border-radius: 50rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.product-body {
    padding: 1.4rem;
}

.product-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 0.25rem;
}

.product-category {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.85rem;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 1.15rem;
}

.btn-view-product {
    background-color: #0284c7;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50rem;
    padding: 0.55rem;
    width: 100%;
    border: none;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-view-product:hover {
    background-color: #0369a1;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

/* ---------------- SHOP DETAIL & PRODUCT SLIDER ---------------- */
.product-slider-frame {
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 1.25rem;
    border: 1px solid #e0f2fe;
    box-shadow: 0 4px 20px rgba(2, 132, 199, 0.06);
}

.main-slide-container {
    height: 380px;
    border-radius: 1.25rem;
    overflow: hidden;
    background: linear-gradient(135deg, #bae6fd 0%, #38bdf8 100%);
    position: relative;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.05);
}

.main-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.35s ease;
}

.thumb-strip {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.thumb-item {
    width: 75px;
    height: 75px;
    border-radius: 0.85rem;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    background: #e0f2fe;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-item.active {
    border-color: #0284c7;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
    transform: scale(1.04);
}

.product-detail-box {
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 2.2rem;
    border: 1px solid #e0f2fe;
    box-shadow: 0 4px 20px rgba(2, 132, 199, 0.06);
}

.detail-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.spec-table-box {
    background: #f8fafc;
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    font-size: 0.85rem;
    border-bottom: 1px solid #edf2f7;
}

.spec-row:last-child {
    border-bottom: none;
}

.labor-checkbox-card {
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    border-radius: 1rem;
    padding: 1.15rem;
    margin-bottom: 1.5rem;
}

/* ---------------- CART & CHECKOUT ---------------- */
.cart-main-box {
    background: #ffffff;
    border-radius: 1.75rem;
    padding: 2.5rem;
    border: 1px solid #e0f2fe;
    box-shadow: 0 8px 30px rgba(2, 132, 199, 0.06);
}

.cart-item-row {
    background: #f8fafc;
    border-radius: 1.15rem;
    padding: 1.25rem;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.cart-labor-card {
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    border-radius: 1.15rem;
    padding: 1.25rem;
    color: #166534;
}

.cart-summary-box {
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid #e0f2fe;
    box-shadow: 0 4px 20px rgba(2, 132, 199, 0.06);
}

.order-success-icon-wrap {
    width: 75px;
    height: 75px;
    background: #dcfce7;
    color: #16a34a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 1.5rem;
}

/* ---------------- SECTION BACKGROUND & INPUT STYLING ---------------- */
.bg-page-inner {
    background-color: #f0f7fe;
    min-height: calc(100vh - 400px);
}

.section-padding {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
}

/* Form inputs & dropdowns */
.form-select, 
.form-control {
    border: 1px solid #cbd5e1;
    color: #1e293b;
    font-size: 0.9rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-select:focus, 
.form-control:focus {
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* ---------------- RIGHT SERVICE ENGINE BLUE CARD ---------------- */
.service-engine-blue-card {
    background: linear-gradient(145deg, #0284c7 0%, #0369a1 60%, #075985 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 16px 40px rgba(2, 132, 199, 0.25);
    position: relative;
    overflow: hidden;
}

.service-engine-tag {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #7dd3fc;
    display: block;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.service-engine-heading {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.service-engine-desc {
    font-size: 0.95rem;
    color: #e0f2fe;
    line-height: 1.6;
}

/* 5 Process Step Capsules */
.service-step-capsule {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 0.95rem;
    padding: 0.85rem 1.15rem;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.25s ease;
}

.service-step-capsule:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateX(4px);
}

.step-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Submit Button */
.btn-primary-custom {
    background-color: var(--brand-gold, #f5a623);
    border: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 50rem;
    padding: 0.6rem 1.4rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.28);
}

.btn-primary-custom:hover {
    background-color: var(--brand-gold-hover, #e09214);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 166, 35, 0.38);
}
.footer-brand img {
    width: 100%;
}
.footer-brand a {
    display: inline-block;
    width: 70%;
}
.footer-brand {
    margin: 0 0 20px;
}

/* ---------------- SERVICE REQUEST CREATED SUCCESS CARD ---------------- */
.service-success-box {
    box-shadow: 0 10px 35px rgba(2, 132, 199, 0.08) !important;
}

.service-success-icon-wrap {
    width: 75px;
    height: 75px;
    background: #e0f2fe;
    color: #0284c7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 1.5rem;
}

/* Services dropdown hover fix */
.site-header .nav-item.dropdown {
    position: relative;
}

.site-header .nav-item.dropdown .dropdown-menu {
    display: block;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease,
                visibility 0.2s ease;
    margin-top: 0;
}

.site-header .nav-item.dropdown:hover .dropdown-menu,
.site-header .nav-item.dropdown:focus-within .dropdown-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}