
#Mobile {
    display: none;
}
/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background: url('./Poolramp.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative; /* Allows positioning the overlay */
}


/* Container */
.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

/* Header */
header {
    position: sticky;
    top: 0; /* Makes the navigation stick to the top */
    z-index: 1000; /* Ensures the nav stays above other content */
    background: linear-gradient(to bottom, rgb(0, 180, 219), #0083b0);
    border-bottom-right-radius: 150px ;
    color: #fff;
    padding: 1rem 0;
    height: 40px;
}
.nav-logo {
    max-width: 10%;
    height: auto; /* Maintains aspect ratio */
    float: left;
    
}


header nav ul {
    list-style: none;
    float: right;
}
header nav ul li {
    display: inline;
    margin-left: 15px;
}
header nav ul li a {
    color: #fff;
    text-decoration: none;
    text-shadow: #007BFF;
    font-weight: bold;
}

/* Hero Section */
.hero {
    padding:235px 0 100px 0;
    color: #0f0f0f;
    height:  125%;
    text-align: left;
    display: flex;
    justify-content: center, space-between;
    align-items: flex-start; 
}
.logo-img {
    max-width: 100%;
    height: auto; /* Maintains aspect ratio */
    margin-bottom: 20%;
    
}

.hero-text{
    margin:0 4% 0 4%;
}
.hero-text h2,
.hero-text h3 {
    color: whitesmoke;
    font-size: 6rem;
    margin: 0;
    line-height: 1; /* Prevents additional space caused by line height */
    /* Text-specific styles */
    font-family: "Archivo", sans-serif;
    font-optical-sizing: auto;
    font-weight: 5rem;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    text-shadow: 0 0 50px rgb(10, 31, 98), 0 0 50px rgb(10, 31, 98), 0 0 80px rgb(4, 45, 58), 0 0 80px white;
   padding-right: 20px;
    
}

.hero h1{
    font-family: "Archivo", sans-serif;
    -webkit-text-stroke: 0.5px white;
    font-style: normal;
    font-size: 4rem;
    color: rgb(10, 31, 98);
    margin: 0;
    padding-bottom: 50px;
}


.hero-text p {
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: bolder;
    font-optical-sizing:auto;
    font-weight: 500;
    font-size: 1.5rem;
    
}

.hero-text .btn {
    font-size: 1.5rem;
    padding: 20px 20px;
    background: #007BFF;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin: 35%;
    
}

/* Services Section */
.offerings {
    display: flex; /* Enables flexbox */
    justify-content: space-between; /* Spaces out services and products */
    padding: 125px 0;
    /*background: url('dolphin.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    
    position: relative;  */
    background: linear-gradient(to bottom, #EDFFFD, #bfe8fdcc , #EDFFFD);
    border-radius: 125px 0px 0px 0px ;
    
}


.services {
    
    float: left;
}

.products {
    
    float: right;
}

.products img{
    width: 100;
}
.offerings h2 {
    color:black;
    font-family: "Archivo", sans-serif;
    font-size: 5rem;
    margin-bottom: 15px;
    margin-left: 10px;
}

.service-item {
    font-size: 1.5rem;
    font-family: "Archivo", sans-serif;
    
    list-style-type:disc;
    padding: 1;
    margin: 0%;


}


.service-item li {
    margin-bottom: 0px;
    
}

.service-item h3 {
    font-weight: 500;
}



/* About Section */
.about {
    background: linear-gradient(to bottom, rgba(0, 180, 219, 0.5), rgba(0, 131, 176, 0.5));
    border-radius: 0px 0px 0px 0px ;
    
}
.about h2 {
    color:black;
    font-family: "Archivo", sans-serif;
    font-size: 5rem;
    margin-bottom: 20px;
    margin-left: 25px;
    text-align: center;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.719), 0 0 40px rgba(247, 247, 247, 0.719);
    
}

.about p{
     font-size: 1.5rem;
    color:black;
    font-family: "Archivo", sans-serif;
   
    
}
.about img{
    max-width: 45%;
    align-items: center;
}

/* Gallery Section */
.gallery {
    background: linear-gradient(to bottom, #EDFFFD, #bfe8fdcc , #EDFFFD);
    padding-top: 30px; /* Reduced padding */
    padding-bottom: 30px; /* Optional: Reduce bottom padding if needed */
    border-radius: 0px 0px 0px 0px ;
   
}
.gallery h2 {
    text-align: center;
    margin-bottom: 0.5rem; /* Reduced margin below the heading */
    color:black;
    font-family: "Archivo", sans-serif;
    font-size: 5rem;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px; /* Reduced the gap between images */
}
.gallery-item img {
   
    width: 90%;
    height: 80%; /* Adjusted height for better scaling */
    border-radius: 10px;
    box-shadow: 8px 8px 30px rgb(9, 23, 69); /* Adds a shadow around the image */
}
.container2{
    margin-bottom: 100px;
}
/* Contact Section */
.contact {

    padding-left: 50px;
    background: linear-gradient(to bottom, rgba(0, 180, 219, 0.5), rgba(0, 131, 176, 0.5));
    border-radius: 0px 0px 0px 0px ;
    display: flex;
    justify-content: space-between; /* Creates space between the form and the contact info */
    align-items: flex-start; /* Aligns the form and info at the top */
 
}
 .contact h2 {
    color:black;
    font-family: "Archivo", sans-serif;
    font-size: 5rem;
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.719), 0 0 40px rgba(247, 247, 247, 0.719);

 }
 .contactinfo h2 {
    font-size: 4rem;
    

 }
.contact p{
    font-size: 1.5rem;
    color:black;
    font-family: "Archivo", sans-serif;
}

.contact form {
    
    display: flex;
    flex-direction: column;
    width: 80%; /* Adjust the form's width */
}

.contact form label {
    font-size: 1.25rem;
    color:black;
    font-family: "Archivo", sans-serif;
    margin-top: 10px;
}

.contact form input,
.contact form textarea {
    
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
}

.contact form button {
    margin-top: 15px;
    padding: 10px;
    background: #007BFF;
    color: #fff;
    border: none;
    cursor: pointer;
}

.container2{
    max-width: 50%;
}

.contactinfo {
    margin-left: 0%;
    width: 50%; /* Adjust the width of the contact info */
   
}
.contactinfo h4, .contactinfo p ,.contactinfo ul {
    font-size: 1.5rem;
    color:black;
    font-family: "Archivo", sans-serif;
    margin: 0; /* Remove margin to eliminate space */
    padding: 0; /* Remove any padding if present */
}

/* Footer */
footer {
    background: #575555e5;
    color: #fff;
    text-align: center;
    font-size: small;
    padding: 0.125rem 0;
    margin-top: 0.125rem;
}

footer a, footer p {
    font-weight: bold;
    color: #fff;
    
}


.floatleft {
    float: left;
}

.floatright {
    float: right;
}


/* ____________________________

	Media Query for Mobile Viewport 
	____________________________ 	*/
@media screen and (max-width: 480px) , print {

    #Desktop {
        display: none;
    }

    #Mobile{
        display: block;
    }

    .container {
        width: 100%;
        margin: 0 0 0 0;
        overflow:hidden;
    }

 

    body {
        background: url('./Poolramp_mobile.jpg');
        background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
        
    }

    header {
       
       position: sticky;
        height: 60px;
        width: 100%;
    }

    .hero{
        display: block;
        padding-top: 100px;
    padding-bottom: 100px;
    height: auto;
    }
    

  
    .nav-logo { 
        float: right;
        max-width: 30%;
        padding-top: 5%;
    
    }

    header nav ul {
        list-style: none;
        float: left;
        max-width: 60%;
    }
  
    header nav ul li {
        
        margin-left: 5px;
    }
    header nav ul li a {
       
        font-size: 1rem;
    }

    .offerings {
        height: auto;
        border-radius: 75px 0px 0px 0px ;
        display: block;
        padding: 20px;
    }

   
    .about{
        height: auto;
    }

  
    .hero h1{
        font-size: 2rem;
    }
    
    .hero-text h2,
    .hero-text h3{
        font-size: 4rem;
        line-height: 1;
     
    }

    .btn {
        display: none;
    }
       
   
    .products{
        float: unset;
    }


    .logo-img {
        max-width: 80%;
        height: auto; /* Maintains aspect ratio */
        margin-bottom: 20%;
        align-items: center;
        
    }

    .offerings h2,
    .about h2, 
    .gallery h2, 
    .contact h2{
        text-align: center;
       font-size: 3rem;
       margin-bottom: auto;
    }

    .offerings li,
    .about p, 
    .gallery p, 
    .contact p{
       font-size: 1rem;
       list-style: none;
       
     
    }

    .gallery h2{
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.719), 0 0 40px rgba(247, 247, 247, 0.719);
    }

    .offerings li {
        padding: 0 0 0 20px;
    }

    .about {
        display: none;
    }

    .gallery{
        background: linear-gradient(to bottom, rgba(0, 180, 219, 0.5), rgba(0, 131, 176, 0.5));
        padding: 0 0 0 20PX;
        border-radius: 0px 0px 50px 50px ;
        height: auto;
    }
    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1px; /* Reduced the gap between images */
    }

    .contact {
        background: none;
        display:inline-block;
       padding-left: 0%;
       border-radius: 75px 0px 75px 0px ;
    }

    .container2 {
        padding: 2.5% 20% 5% 20%;
        margin: 10% 10% 10% 10%;
        display: block;
        border-radius: 10px 10px 10px 10px ;
        background: linear-gradient(to bottom, #EDFFFD, #bfe8fdcc , #EDFFFD); 
       }
    .contact form {
    
    display: flex;
    flex-direction: column;
    width: 100%; /* Adjust the form's width */
}
.contactinfo {
    background: linear-gradient(to top, rgba(35, 37, 37, 0.25),rgba(0, 180, 219, 0.5), rgba(0, 131, 176, 0.5));
    margin: 0 0 0 0;
    width: auto; /* Adjust the width of the contact info */
    border-radius: 0px 0px 0px 0px ;
    padding: 0 0 0 50PX;
   
}

footer {
   margin: 0 0 0 0;
    padding: 0rem 0 0 0;
   
}

footer a, footer p {
    padding-left: 30px;
    font-size: 0.5rem;
    
}


}


/* ____________________________

	Media Query for Tablet Viewport 
	____________________________ 	*/
    @media screen and (min-width: 630px) and (max-width: 1024px) {

        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            line-height: 1.6;
            color: #333;
            background: url('./Poolramp.jpg');
            background-size: cover; /* Ensures the image covers the entire background */
            background-position: center; /* Centers the background image */
            background-repeat: no-repeat; /* Prevents the image from repeating */
            background-attachment: fixed; /* Makes the background fixed during scrolling */
            position: relative; /* Allows positioning the overlay */
        }

        .nav-logo { 
           
            max-width: 20%;
          
        
        }

        .hero {
            padding-top: 125px;
            padding-bottom: 125px;
            color: #0f0f0f;
            height: auto;
            text-align: left;
            display: flex;
            justify-content: center, space-between;
            align-items: flex-start; 
            
        }

        .hero-text h2,
        .hero-text h3{
            font-size: 4rem;
            line-height: 1;
         
        }
        .hero h1{
            font-size: 2rem;
        }
        .btn {
            display: none;
        }
          
    
        .about{
            height: auto;
        }

        .gallery{
            height: auto;
        }
      
    
           
        .offerings {
            height: auto;
            border-radius: 75px 0px 0px 0px ;
            display: block;
            padding: 20px;
        }

        .logo-img {
            max-width: 100%;
            height: auto; /* Maintains aspect ratio */
            
        }
    
        .offerings h2,
    .about h2, 
    .gallery h2, 
    .contact h2{
           font-size: 2rem;
        }
        .products{
            float: unset;
        }
        .offerings li,
        .about p, 
        .gallery p, 
        .contact p {
           font-size: 1.25rem;
        }

    }

    /* ---------------------------------------------------------
				Image Container In Full Screen View 
   ---------------------------------------------------------*/


div#sbOverlay {
    position: fixed;                        
    z-index: 1;                            
    width: 100%;                           
    height: 100%;                           
    top: 0;
    left: 0;
    background: linear-gradient(to bottom, #EDFFFD, #bfe8fdcc , #EDFFFD); 
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px 15px;
 }
 
 
 div#sbOverlay figure {
    display: block;
    width: 80%;
    max-width: 800px;
  
 }
 
 
 div#sbOverlay figure img {
    display: block;
    margin: auto ;
    width: 100%;
    height: auto;
    box-shadow: 10px 10px 30px black;
    animation-name: zoom;      
    animation-duration: 7s;    
    border-radius: 20px 15px;
 }
 
 
 div#sbOverlay figure figcaption {
    text-align: center;
    font-family: "Archivo", sans-serif;
    font-size: 1.25em;
    color: rgb(0, 0, 0);
    margin-top: 10px;
    animation-name: zoom;      
    animation-duration: 1s;     
 }
 
 
 div#sbOverlay div#sbOverlayClose {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    user-select: none;
    
 }
 
