/* Skeleton Loader */
#pageLoader {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 999999;
    overflow-y: auto;
    opacity: 1;
    transition: opacity 0.4s ease;
}

/* Skeleton animation */
.skeleton {
    background: linear-gradient(
        90deg,
        #eeeeee 25%,
        #f7f7f7 50%,
        #eeeeee 75%
    );

    background-size: 200% 100%;
    animation: skeletonLoading 1.5s infinite linear;
    border-radius: 8px;
}

@keyframes skeletonLoading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Header */
.skeleton-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 20px 5%;
    height: 80px;
}

.skeleton-header .logo {
    width: 150px;
    height: 40px;
}

.skeleton-header .nav {
    width: 85px;
    height: 18px;
}

/* Hero section */
.skeleton-hero {
    display: flex;
    gap: 25px;
    padding: 30px 5%;
    min-height: 400px;
}

.hero-left {
    width: 35%;
    min-height: 350px;
}

.hero-right {
    width: 65%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.hero-image {
    width: 100%;
    height: 320px;
}

.hero-button {
    width: 130px;
    height: 40px;
    border-radius: 25px;
}

/* Service cards */
.skeleton-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px 5%;
}

.skeleton-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
}

.card-text {
    width: 85%;
    height: 18px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {

    .skeleton-header {
        height: 65px;
    }

    .skeleton-header .nav {
        display: none;
    }

    .skeleton-header .logo {
        width: 120px;
    }

    .skeleton-hero {
        flex-direction: column;
        min-height: auto;
    }

    .hero-left {
        width: 100%;
        min-height: 130px;
    }

    .hero-right {
        width: 100%;
    }

    .hero-image {
        height: 220px;
    }

    .skeleton-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 400px) {
    .skeleton-hero {
        padding: 15px;
    }

    .hero-image {
        height: 180px;
    }
}
/*hero*/
.hero-section{
    display: flex;
    flex-direction: row;
    max-width: 1280px;
    width: 90vw;
    margin: 1vw auto;
    border-bottom: 2px solid purple;
    gap: 16px;
}

.service-box-left{
    width: 448px;
}
.service-box-left img{
    width: 100%;
    filter: drop-shadow(0px 15px 10px rgba(0, 0, 0, 0.5));
	
}


.main-screen{
    width: 832px;
    position: relative;   /* IMPORTANT */
}
.main-screen img{
    width: 100%;
    border-radius: 10px;
    height: auto;
    display: block;
    
}

#slide {
    transition: opacity 0.5s ease-in-out;
}

/* CTA Button */
.cta-btn {
    position: absolute;
    bottom: 7px;
    left: 20px;
    padding: 5px 18px;
    background: #c7940a;
    color: white;
    text-decoration: none;
    font-size: 16px;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s ease;
}

.cta-btn:hover {
    background: #a87c08;
}


/* Product */

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
    margin: 1vw auto;
    max-width: 1280px;
    width: 90vw;
}

.product-card {
    width: 266px;
    border-radius: 10px;
    /*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    background-color: #fff;*/
    padding: 10px;
}

.product-image {
    height: 144px;
    width: 256px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.9);
    overflow: hidden;
    position: relative;
    top:0;
    border: 1px solid black;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-description {
   font-size: 14px;
   line-height: 1.5;
   margin-bottom: 10px;
   color: #666;
   text-align: center;
}

.product-image:hover img {
  transform: scale(1.1);
}

footer {
    color: #a7a7a7;
    font-size: 16px;
    max-width: 1280px;
    width: 90vw;
    margin: 0 auto;
}
.row {
   padding: 5px 5px;
   background-color: #3c0880;
}
.row.primary {
   display: grid;
   grid-template-columns: 3fr 2fr 2fr;
   background-color: #1b003d;
   border-radius: 10px 10px 0 0;
}
.column {
   display: flex;
   flex-direction: column;
   padding: 0 10px;
   
}

footer h3 {
   width: 100%;
   text-align: center;
   color: white;
   font-size: 1.4em;
   white-space: normal;
}
footer ul {
   list-style: none;
   display: flex;
   flex-direction: column;
}

footer li:not(:first-child) {
   margin-top: 0.8em;
}
 footer ul li a {
   color: #a7a7a7;
   text-decoration: none;
}
footer ul li a:hover {
   color: #2a8ded;
}
.about p {
   text-align: center;
   line-height: 1.5;
   margin: 0;
}
footer input,
footer button {
   font-size: 1em;
   padding: 1em;
   width: 70%;
   border-radius: 5px;
   margin: 0 auto 15px auto;
   border: none;
   box-sizing: border-box;
   display: block;
}

footer button {
   background-color: #c7940a;
   color: #ffffff;
}

div.social {
   display: flex;
   justify-content: space-around;
   font-size: 2.4em;
   flex-direction: row;
   margin-top: 0.5em;
}
.social i {
   color: #bac6d9;
}

.copyright {
   padding: 0.3em 1em;
   background-color: #1b003d;
   opacity: 0.8;
}
.footer-menu{
   float: left;
   margin-top: 10px;
}

.footer-menu a{
   color: #cfd2d6;
   padding: 6px;
   text-decoration: none;
}
.footer-menu a:hover{
   color: #27bcda;
}
.copyright p {
   font-size: 0.9em;
   text-align: right;
}
.openbtn {
    display:none;
}
.sidebar {
    display: none;
}
.buttons{
   display: none;  
}
.close{
   display: none;
}



@media (max-width: 768px) {
    .hero-section{
        flex-direction: column;
    }
    .service-box-left, .main-screen{
        width: 100%;
    }
    .cta-btn {
        bottom: 2px;
        left: 15px;
        font-size: 10px;
        padding: 2px 6px;
    }
    
    .container {
        flex-direction: column;
   }

    .product-card{
        width: 100%;
    }
    
    .product-image {
        height: 50.5vw;
        width: 90vw;
        
    }
    
    .row.primary {
       grid-template-columns: 1fr; 
       grid-auto-rows: auto; 
     }
     .column{
         width: 95%;
     }
     
    .copyright p {
        font-size: 0.5em;
        text-align: right;
    }
    
    footer ul {
        flex-direction: row;
    }
    .links{
        display: none;
    }
    footer input,
    footer button {
       width: 95%;
    }
}
