*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

.navbar{
    background:white;
    height:90px;

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

    padding:0 60px;
}

.logo img{
    height:90px;
}

.nav-links{
    display:flex;
    list-style:none;
    gap:45px;
}

.nav-links a{
    text-decoration:none;
    color:black;
    font-size:18px;
    font-weight:bold;
    font-family:Arial, sans-serif;
}

.nav-links a.active{
    color:black;
}

.nav-links a:hover{
    color:black;
}

.dropdown{
    position: relative;
}

.dropdown-content{
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 280px;
    list-style: none;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    overflow: hidden;
    z-index: 1000;
}

.dropdown-content li a{
    display: block;
    padding: 15px 22px;
    text-decoration: none;
    color: #002053;
    font-size: 17px;
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.dropdown-content li a:hover{
    background: #002053;
    color: white;
    padding-left: 30px;
}

.dropdown:hover .dropdown-content{
    display: block;
}

.gym-bg{
    background: rgb(219, 230, 243);
    padding:50px 0;
    margin-top:20px;
}

.gym-hero{
    width:90%;
    margin:60px auto;
    display:flex;
    align-items:center;
    background:white;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,0.15);
}

.gym-left{
    flex:1;
    padding:40px;
}

.gym-right{
    flex:1;
}

.hero-logo{
    width:200px;
    display:block;
    margin:0 auto 30px auto;
}

.gym-left h1{
    text-align:center;
    color: navy;
    padding-bottom: 10px;
}

.gym-left p{
    text-align:justify;
}

.gym-left p{
    font-size:18px;
    line-height:1.8;
    text-align:justify;
    color:#444;
}

.gym-right img{
    width:98%;
    height:450px;
    object-fit:cover;
    display:block;
    padding-bottom: 10px;
    padding-top: 10px;
    border-radius: 40px;
}

.collections-section{
    width:92%;
    margin:70px auto;
}

.collection-title{
    text-align:center;
    font-size:42px;
    color:#002053;
    margin-bottom:40px;
}

.tab-buttons{
    display:flex;
    justify-content:center;
    align-items:center;
    background:#fff;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
    margin-bottom:50px;
}

.tab-btn{
    flex:1;
    padding:18px;
    border:none;
    background:#fff;
    color:#002053;
    font-size:16px;
    font-weight:bold;
    cursor:pointer;
    transition:.3s;
    border-right:1px solid #eee;
}

.tab-btn:last-child{
    border-right:none;
}

.tab-btn:hover{
    background:#f4f7fb;
}

.tab-btn.active{
    background:#002053;
    color:#fff;
}

.tab-content{
    display:none;
}

.active-content{
    display:block;
}

.square-section,
.interlocking-section,
.plancks-section{
    width:100%;
    display:flex;
    gap:60px;
    align-items:flex-start;
}

.left-section{
    width:58%;
}

.main-image{
    width:100%;
    height:520px;
    object-fit:cover;
    border-radius:18px;
    cursor:pointer;
    box-shadow:0 5px 20px rgba(0,0,0,.12);
    transition:.3s;
}

.main-image:hover{
    transform:scale(1.01);
}

.thumbs{
    margin-top:25px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(110px,1fr));
    gap:18px;
}

.thumb{
    text-align:center;
}

.thumb img{
    width:100%;
    height:100px;
    object-fit:cover;
    border-radius:10px;
    cursor:pointer;
    transition:.3s;
    box-shadow:0 3px 10px rgba(0,0,0,.08);
}

.thumb img:hover{
    transform:translateY(-4px);
    box-shadow:0 8px 20px rgba(0,0,0,.15);
}

.thumb p{
    margin-top:8px;
    font-weight:600;
    font-size:15px;
    color:#444;
}

.thumbsS,
.thumbsSS{
    margin-top:40px;
}

.thumbsS p:first-child,
.thumbsSS p:first-child{
    font-size:22px;
    color:#002053;
    font-weight:bold;
    margin-bottom:20px;
}

.thumbsS{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(120px,1fr));
    gap:18px;
}

.thumbsSS{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(120px,1fr));
    gap:18px;
}

.thumbS,
.thumbSS{
    text-align:center;
}

.thumbS img,
.thumbSS img{
    width:100%;
    height:110px;
    object-fit:cover;
    border-radius:12px;
    cursor:pointer;
    transition:.3s;
    box-shadow:0 4px 12px rgba(0,0,0,.08);
}

.thumbS img:hover,
.thumbSS img:hover{
    transform:scale(1.05);
}

.thumbS p,
.thumbSS p{
    margin-top:8px;
    font-size:14px;
    font-weight:600;
}

.right-section{
    width:42%;
    position:static;
    top:110px;
}

#imagee{
    width:170px;
    margin:0 auto 25px;
}

.right-section h1{
    text-align:center;
    color:#002053;
    font-size:34px;
    margin-bottom:25px;
}

.section-title{
    color:#002053;
    font-size:28px;
    margin:35px 0 20px;
}

.description-box{
    background:#fff;
    padding:35px;
    border-radius:18px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    border-left:6px solid #002053;
}

.description-box p{
    font-size:17px;
    line-height:1.9;
    color:#444;
    text-align:justify;
}

.description-box h1{
    font-size:21px;
    color:#002053;
    text-align:left;
    margin:18px 0 10px;
}

.colour-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(130px,1fr));
    gap:22px;
}

.colour-grid{
    display:grid;
    grid-template-columns:repeat(5, 1fr);
    gap:25px;
    margin-top:20px;
}

.colour-item{
    text-align:center;
}

.colour-item img{
    width:100%;
    height:140px;
    object-fit:cover;
    border-radius:12px;
    cursor:pointer;
    transition:.3s;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.colour-item p{
    margin-top:12px;
    font-size:18px;
    font-weight:bold;
}

.colour-item img:hover{
    transform:translateY(-5px);
}

.spec-image{
    width:100%;
    border-radius:15px;
    margin-top:15px;
    box-shadow:0 4px 15px rgba(0,0,0,.08);
}

.catalogue-box{
    margin-top:30px;
}

.catalogue-btn{
    display:block;
    width:50%;
    text-align:center;
    background:#002053;
    color:white;
    text-decoration:none;
    padding-left:16px;
    border-radius:40px;
    font-size:18px;
    font-weight:bold;
}

.catalogue-btn:hover{
    background:#003f96;
}

.next-product-box{
    margin-top:25px;
    padding-left:220px ;
}

.next-btn{
    display:block;
    width:85%;
    text-align:center;
    background:#8b0000;
    color:white;
    text-decoration:none;
    padding-left:16px;
    border-radius:40px;
    font-size:18px;
    font-weight:bold;
    
}

.next-btn:hover{
    background:#b22222;
}

.button-group{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    margin-top:30px;
    flex-wrap:wrap;
}

.catalogue-btn,
.next-btn{
    display:inline-block;
    text-decoration:none;
    color:#fff;
    padding:15px 32px;
    border-radius:40px;
    font-size:17px;
    font-weight:600;
    transition:0.3s ease;
}

.catalogue-btn{
    background:#002053;
}

.catalogue-btn:hover{
    background:#0b3c91;
    transform:translateY(-2px);
}

.next-btn{
    background:#8B0000;
}

.next-btn:hover{
    background:#b22222;
    transform:translateY(-2px);
}

.modal{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.92);
    justify-content:center;
    align-items:center;
    flex-direction:column;
    z-index:9999;
}

.modal-image{
    max-width:85%;
    max-height:80vh;
    border-radius:15px;
    box-shadow:0 0 30px rgba(255,255,255,.2);
}

.close{
    position:absolute;
    top:20px;
    right:40px;
    color:#fff;
    font-size:50px;
    cursor:pointer;
    transition:.3s;
}

.close:hover{
    color:#ddd;
}

.prev,
.next{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    background:none;
    border:none;
    color:#fff;
    font-size:65px;
    cursor:pointer;
    padding:10px;
    transition:.3s;
}

.prev:hover,
.next:hover{
    color:#ccc;
}

.prev{
    left:30px;
}

.next{
    right:30px;
}

.download-popup{
    margin-top:25px;
    background:#002053;
    color:#fff;
    text-decoration:none;
    padding:14px 35px;
    border-radius:35px;
    font-weight:bold;
    transition:.3s;
}

.download-popup:hover{
    background:#003a8c;
}

@media(max-width:1200px){

    .colour-grid{
        grid-template-columns:repeat(3,1fr);
    }

    .epdm-grid{
        grid-template-columns:repeat(4,1fr);
    }

}

@media(max-width:992px){

    .gym-hero{
        flex-direction:column;
    }

    .gym-left-hero,
    .gym-right-hero{
        width:100%;
    }

    .gym-right-hero img{
        height:350px;
    }

    .square-section,
    .interlocking-section,
    .planks-section{
        flex-direction:column;
    }

    .left-section,
    .right-section{
        width:100%;
    }

    .description-box{
        min-height:auto;
    }

    .thumbs{
        grid-template-columns:repeat(4,1fr);
    }

    .colour-grid{
        grid-template-columns:repeat(3,1fr);
    }

    .epdm-grid{
        grid-template-columns:repeat(3,1fr);
    }

}

@media(max-width:768px){

    .navbar{
        padding:0 20px;
        flex-wrap:wrap;
        height:auto;
    }

    .nav-links{
        gap:20px;
        flex-wrap:wrap;
        justify-content:center;
        margin-bottom:15px;
    }

    .gym-right-hero img{
        height:250px;
    }

    .main-image{
        height:280px;
    }

    .thumbs{
        grid-template-columns:repeat(3,1fr);
    }

    .colour-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .epdm-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .button-group{
        flex-direction:column;
        align-items:stretch;
    }

    .catalogue-btn,
    .next-btn{
        text-align:center;
        width:100%;
    }

}

@media(max-width:480px){

    .thumbs{
        grid-template-columns:repeat(2,1fr);
    }

    .colour-grid{
        grid-template-columns:1fr;
    }

    .epdm-grid{
        grid-template-columns:1fr;
    }

    .modal-image{
        max-width:95%;
    }

    .prev,
    .next{
        font-size:45px;
    }
}