/*Main Background Settings*/
.about-section,
.services-section,
.projects-section,
.why-choose-section,
.featured-products-section,
.cta-section,
.supplier-section{
    position:relative;
}

.about-section::after,
.services-section::after,
.projects-section::after,
.why-choose-section::after,
.featured-products-section::after,
.cta-section::after{
    content:'';
    position:absolute;
    bottom:-1px;
    left:0;

    width:100%;
    height:80px;

    background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath fill='%2300AEEF' fill-opacity='0.08' d='M0,64L80,74.7C160,85,320,107,480,106.7C640,107,800,85,960,74.7C1120,64,1280,64,1360,64L1440,64L1440,120L1360,120C1280,120,1120,120,960,120C800,120,640,120,480,120C320,120,160,120,80,120L0,120Z'/%3E%3C/svg%3E");

    background-size:cover;
    pointer-events:none;
}

.hero-section{
    position:relative;
    overflow:hidden;
}

.hero-section::before{
    content:'';
    position:absolute;

    width:500px;
    height:500px;

    top:-150px;
    right:-150px;

    border-radius:50%;

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,.15),
            transparent 70%
        );

    animation:floatBubble 10s ease-in-out infinite;
}

.hero-section::after{
    content:'';
    position:absolute;

    width:350px;
    height:350px;

    bottom:-100px;
    left:-100px;

    border-radius:50%;

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,.10),
            transparent 70%
        );

    animation:floatBubble2 14s ease-in-out infinite;
}

@keyframes floatBubble{
    50%{
        transform:translateY(-30px);
    }
}

@keyframes floatBubble2{
    50%{
        transform:translateY(30px);
    }
}

.service-card,
.why-card,
.product-card,
.about-stat{
    position:relative;
    overflow:hidden;
}

.service-card::before,
.why-card::before,
.product-card::before,
.about-stat::before{
    content:'';
    position:absolute;

    top:0;
    left:-150%;

    width:80%;
    height:100%;

    background:
        linear-gradient(
            120deg,
            transparent,
            rgba(255,255,255,.6),
            transparent
        );

    transform:skewX(-25deg);

    transition:.8s;
}

.service-card:hover::before,
.why-card:hover::before,
.product-card:hover::before,
.about-stat:hover::before{
    left:200%;
}

.section-title{
    position:relative;
    display:inline-block;
}

.section-title::after{
    content:'';
    position:absolute;

    left:0;
    bottom:-10px;

    width:100%;
    height:4px;

    background:
        linear-gradient(
            90deg,
            #00AEEF,
            #0F4C81,
            #00AEEF
        );

    border-radius:10px;

    animation:waterLine 3s linear infinite;
}

@keyframes waterLine{
    0%{filter:hue-rotate(0deg);}
    100%{filter:hue-rotate(30deg);}
}
/*Top Header Main Settings*/
.top-header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 190px;

    background:
        linear-gradient(
            rgba(0,0,0,0.20),
            rgba(0,0,0,0.20)
        ),
        url('/assets/images/jVqeuQ.gif');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    backdrop-filter: blur(6px);

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 40px;
    z-index: 9999;

    border-bottom: 1px solid rgba(255,255,255,0.15);
}

/*Logos*/
.header-left img,
.header-right img{
    height:180px;
    width:auto;

    filter:
        drop-shadow(0 0 10px rgba(0,0,0,0.2))
        drop-shadow(0 0 20px rgba(0,0,0,0.1));

    transition:0.3s;
}

.header-menu{
    display:flex;
    gap:30px;
}

.header-menu a{
    color:#fff;
    text-decoration:none;
    font-weight:600;
}

.header-menu a:hover{
    color:#00d4ff;
}



.header-menu{
    display:flex;
    gap:35px;
}

.header-menu a{
    color:#fff;
    text-decoration:none;
    font-weight:700;
    font-size:17px;
    letter-spacing:0.5px;

    text-shadow:
        0 2px 4px rgba(0,0,0,1),
        0 0 10px rgba(0,0,0,0.8);

    transition:0.3s;
}

.header-menu a:hover{
    color:#00d4ff;

    text-shadow:
        0 0 10px #00d4ff,
        0 0 20px #00d4ff;
}

.header-menu{
    background:rgba(0,0,0,0.35);
    padding:15px 30px;
    border-radius:50px;

    backdrop-filter:blur(10px);

    border:1px solid rgba(255,255,255,0.1);
}

/* Hero Section */

.hero-section{
    min-height:100vh;

    display:flex;
    align-items:center;

    padding-top:130px;
    padding-bottom:80px;

    background-size:cover;
    background-position:center;
    min-height:100vh;
    background:url('https://jppools.co.za/assets/images/Home.jpeg') center center no-repeat;
    background-size:cover;
}

.hero-overlay{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

.hero-section .container{
    position:relative;
    z-index:2;
}

.hero-badge{
    background:#0099ff;
    color:white;
    padding:10px 20px;
    border-radius:50px;
    font-weight:600;
}

/*Hero Section Heading and Text*/
.hero-section h1{
    font-size:6rem;
    font-weight:900;
    line-height:1.05;
    color:#fff;

    text-shadow:
        0 4px 10px rgba(0,0,0,.6);
}

.hero-section p{
    font-size:1.5rem;
    max-width:750px;
    color:#fff;

    text-shadow:
        0 2px 6px rgba(0,0,0,.6);
}

/*Hero Section Buttons*/
.btn-quote{
    background:#ff6b00;
    color:#000 !important;

    border:3px solid #ffffff;

    padding:15px 35px;

    font-size:1.1rem;
    font-weight:700;

    border-radius:50px;

    box-shadow:
        0 5px 20px rgba(0,0,0,.35);

    transition:all .3s ease;
}

.btn-quote:hover{
    background:#ff8500;
    color:#fff !important;

    transform:translateY(-3px);

    box-shadow:
        0 10px 25px rgba(0,0,0,.45);
}

.btn-projects{
    background:rgba(0,0,0,.35);

    color:#000 !important;

    border:2px solid #fff;

    padding:15px 35px;

    border-radius:50px;

    backdrop-filter:blur(10px);

    font-weight:700;
}

.btn-projects:hover{
    background:#fff;
    color:#0d1b2a !important;
}

/*Whatsapp*/
.whatsapp-btn{
    position:fixed;
    bottom:25px;
    right:25px;

    width:65px;
    height:65px;

    background:#25D366;
    color:white;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:32px;

    text-decoration:none;

    z-index:99999;

    box-shadow:0 5px 20px rgba(0,0,0,.3);

    transition:.3s;
}


.whatsapp-btn:hover{
    transform:scale(1.1);
    color:white;
}

/*About*/
.about-section{
    padding:120px 0;
    background:#f8fbfd;
    position:relative;
    z-index:2;
}

.section-tag{
    display:inline-block;
    background:#0099ff;
    color:#fff;
    padding:8px 18px;
    border-radius:50px;
    font-size:14px;
    font-weight:700;
}

.section-title{
    font-size:2.8rem;
    font-weight:800;
    color:#0d1b2a;
}

.about-section p{
    color:#555;
    line-height:1.8;
}

.about-stat{
    background:#fff;
    padding:20px;
    border-radius:15px;
    text-align:center;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    transition:.3s;
}

.about-stat:hover{
    transform:translateY(-5px);
}

.about-stat h3{
    color:#0099ff;
    font-size:2rem;
    font-weight:800;
    margin-bottom:5px;
}

.about-stat p{
    margin:0;
    font-size:14px;
}

/*Buttons*/
.btn-brand {
    background: linear-gradient(135deg, #00AEEF, #0F4C81);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 174, 239, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-brand:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 174, 239, 0.5);
    color: #fff;
}

.btn-brand::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.25);
    transform: skewX(-25deg);
    transition: 0.6s;
}

.btn-brand:hover::before {
    left: 120%;
}

/*Buttons Hover*/
.btn-water {
    background: #00AEEF;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 14px 30px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.btn-water:hover {
    background: #0F4C81;
    color: white;
}

.btn-water::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    transform: scale(0);
    opacity: 0;
    transition: all .6s ease;
}

.btn-water:hover::after {
    transform: scale(15);
    opacity: 0;
}

/*Buttons Lux Blue*/
.btn-luxury {
    position: relative;
    overflow: hidden;

    background: linear-gradient(
        135deg,
        #F9A825 0%,
        #FFD54F 50%,
        #F9A825 100%
    );

    color: #0F4C81;
    border: none;
    border-radius: 50px;

    padding: 14px 32px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;

    transition: all 0.4s ease;

    box-shadow:
        0 5px 15px rgba(249,168,37,.30),
        inset 0 1px 1px rgba(255,255,255,.4);
}

/* Moving shine effect */
.btn-luxury::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;

    width: 70%;
    height: 100%;

    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,.7),
        transparent
    );

    transform: skewX(-25deg);
    transition: 0.8s;
}

/* Ripple glow */
.btn-luxury::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;

    width: 0;
    height: 0;

    border-radius: 50%;
    background: rgba(255,255,255,.25);

    transform: translate(-50%, -50%);
    transition: all .6s ease;
}

.btn-luxury:hover {
    color: #0F4C81;

    transform: translateY(-5px) scale(1.03);

    box-shadow:
        0 15px 35px rgba(249,168,37,.45),
        0 0 30px rgba(255,213,79,.40);
}

.btn-luxury:hover::before {
    left: 180%;
}

.btn-luxury:hover::after {
    width: 300px;
    height: 300px;
    opacity: 0;
}

.btn-luxury:active {
    transform: translateY(-2px) scale(0.98);
}

.btn-luxury {
    animation: luxuryFloat 3s ease-in-out infinite;
}

@keyframes luxuryFloat {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
    100% {
        transform: translateY(0);
    }
}

/*Buttons Hero*/
.btn-outline-light {
    border: 2px solid #7FD3FF;
    color: #fff;
}

.btn-outline-light:hover {
    background: #7FD3FF;
    color: #0F4C81;
    border-color: #7FD3FF;
}
/* ====================================
   SERVICES
==================================== */

.services-section{
    padding:100px 0;
    background:#ffffff;
}

.section-description{
    max-width:700px;
    margin:auto;
    color:#666;
}

.service-card{
    background:#fff;
    padding:40px 30px;
    border-radius:20px;
    text-align:center;

    height:100%;

    border:1px solid rgba(0,0,0,.08);

    transition:.4s ease;

    box-shadow:0 5px 20px rgba(0,0,0,.05);
}

.service-card:hover{
    transform:translateY(-10px);

    box-shadow:0 15px 40px rgba(0,0,0,.15);

    border-color:#0099ff;
}

.service-icon{
    width:80px;
    height:80px;

    margin:0 auto 20px;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:40px;

    background:#0099ff;
    color:#fff;

    border-radius:50%;
}

.service-card h4{
    font-weight:700;
    margin-bottom:15px;
    color:#0d1b2a;
}

.service-card p{
    color:#666;
    margin-bottom:0;
}

/* ====================================
   FEATURED PROJECTS
==================================== */

.projects-section{
    padding:100px 0;
    background:#f8fbfd;
}

.project-card{
    position:relative;
    overflow:hidden;
    border-radius:20px;
    height:320px;

    box-shadow:0 10px 30px rgba(0,0,0,.1);
}

.project-card img{
    width:100%;
    height:100%;
    object-fit:cover;

    transition:.5s;
}

.project-overlay{
    position:absolute;
    bottom:0;
    left:0;

    width:100%;

    padding:25px;

    background:
    linear-gradient(
        transparent,
        rgba(0,0,0,.85)
    );

    color:white;

    transition:.4s;
}

.project-overlay h4{
    margin-bottom:10px;
    font-weight:700;
}

.project-card:hover img{
    transform:scale(1.1);
}

.project-card:hover .project-overlay{
    background:
    linear-gradient(
        transparent,
        rgba(0,153,255,.9)
    );
}

/* ====================================
   WHY CHOOSE US
==================================== */

.why-choose-section{
    padding:100px 0;
    background:#ffffff;
}

.why-card{
    background:#fff;
    padding:35px 25px;
    border-radius:20px;
    text-align:center;

    height:100%;

    border:1px solid rgba(0,0,0,.08);

    transition:.4s ease;

    box-shadow:0 5px 20px rgba(0,0,0,.05);
}

.why-card:hover{
    transform:translateY(-10px);

    box-shadow:0 15px 40px rgba(0,0,0,.12);

    border-color:#0099ff;
}

.why-icon{
    width:80px;
    height:80px;

    margin:0 auto 20px;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:38px;

    background:#0099ff;
    color:white;

    border-radius:50%;
}

.why-card h4{
    font-weight:700;
    color:#0d1b2a;
    margin-bottom:15px;
}

.why-card p{
    color:#666;
    margin-bottom:0;
}

/* ====================================
   TESTIMONIALS
==================================== */

.testimonials-section{
    padding:100px 0;

    background:
    linear-gradient(
        rgba(13,27,42,.95),
        rgba(13,27,42,.95)
    ),
    url('/assets/images/jVqeuQ.gif');

    background-size:cover;
    background-position:center;
}

.testimonial-card{
    background:rgba(255,255,255,.08);

    backdrop-filter:blur(10px);

    padding:35px;

    border-radius:20px;

    color:white;

    height:100%;

    border:1px solid rgba(255,255,255,.1);

    transition:.3s;
}

.testimonial-card:hover{
    transform:translateY(-8px);

    background:rgba(255,255,255,.12);
}

.stars{
    color:#ffd700;

    font-size:24px;

    margin-bottom:20px;
}

.testimonial-card p{
    color:#f0f0f0;

    line-height:1.8;
}

.testimonial-card h5{
    margin-top:20px;

    margin-bottom:5px;

    color:white;

    font-weight:700;
}

.testimonial-card span{
    color:#b8dfff;

    font-size:14px;
}

/* ====================================
   FEATURED PRODUCTS
==================================== */

.featured-products-section{
    padding:100px 0;
    background:#fff;
}

.product-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;

    height:100%;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:.4s ease;
}

.product-card:hover{
    transform:translateY(-10px);

    box-shadow:0 20px 50px rgba(0,0,0,.15);
}

.product-card img{
    width:100%;
    height:250px;
    object-fit:cover;
}

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

.product-content h5{
    font-size:1rem;
    font-weight:700;
    min-height:50px;
    color:#0d1b2a;
}

.product-price{
    font-size:1.4rem;
    font-weight:800;
    color:#0099ff;
    margin:15px 0;
}

/* ====================================
   CALL TO ACTION
==================================== */

.cta-section{
    padding:100px 0;
    background:#f8fbfd;
}

.cta-box{

    background:
    linear-gradient(
        135deg,
        #0099ff,
        #0066cc
    );

    color:white;

    padding:60px;

    border-radius:25px;

    box-shadow:
    0 15px 40px rgba(0,153,255,.25);
}

.cta-box h2{
    font-size:2.8rem;
    font-weight:800;
    margin-bottom:20px;
}

.cta-box p{
    font-size:1.1rem;
    opacity:.95;
    margin-bottom:0;
}

.cta-box .btn{
    padding:14px 28px;
    font-weight:700;
    border-radius:50px;
}

.cta-box .btn-light{
    color:#0066cc;
}

.cta-box .btn-light:hover{
    transform:translateY(-3px);
}

.cta-box .btn-outline-light:hover{
    transform:translateY(-3px);
}

.footer-section{
    background:#0d1b2a;
    color:white;
    padding:80px 0 30px;
}

.footer-logo{
    max-height:80px;
    width:auto;
}

.footer-section h5{
    margin-bottom:20px;
    font-weight:700;
}

.footer-links{
    list-style:none;
    padding:0;
}

.footer-links li{
    margin-bottom:10px;
}

.footer-links a{
    color:#ddd;
    text-decoration:none;
}

.footer-links a:hover{
    color:#00d4ff;
}

.footer-section hr{
    border-color:rgba(255,255,255,.15);
    margin:40px 0 20px;
}

/* =========================
   SUPPLIER LOGO CAROUSEL
========================= */

.supplier-section{
    background:#f8fbfd;
    padding:80px 0;
    overflow:hidden;
}

.logo-slider{
    position:relative;
    overflow:hidden;
    width:100%;
}

.logo-track{
    display:flex;
    width:calc(250px * 12);
    animation:scrollLogos 35s linear infinite;
}

.logo-slider:hover .logo-track{
    animation-play-state:paused;
}

.logo-item{
    width:250px;
    height:120px;

    display:flex;
    align-items:center;
    justify-content:center;

    margin:0 15px;
    padding:20px;

    background:#fff;
    border-radius:20px;

    transition:all .4s ease;

    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.logo-item:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(0,174,239,.20);
}

.logo-item img{
    max-width:160px;
    max-height:80px;

    object-fit:contain;

    filter:grayscale(100%);
    opacity:.7;

    transition:all .4s ease;
}

.logo-item:hover img{
    filter:none;
    opacity:1;
    transform:scale(1.1);
}

@keyframes scrollLogos {

    from{
        transform:translateX(0);
    }

    to{
        transform:translateX(calc(-250px * 6));
    }

}

.logo-slider::before,
.logo-slider::after{
    content:'';
    position:absolute;
    top:0;
    width:120px;
    height:100%;
    z-index:2;
}

.logo-slider::before{
    left:0;
    background:linear-gradient(
        to right,
        #f8fbfd,
        transparent
    );
}

.logo-slider::after{
    right:0;
    background:linear-gradient(
        to left,
        #f8fbfd,
        transparent
    );
}

