@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Poppins;
}
body{
    background:white;
    color: black;
    overflow-x: hidden;
}
html{
    scroll-behavior: smooth;
    overflow-x: hidden;
}
header{
    display: flex;
    justify-content: space-between;
    padding: 30px 80px 24px 80px;
}
.logo h1{
     font-size: 26px;
     font-weight: 900;
     color: #223973;
}
.navbar ul li{
    display: inline-block;
    list-style-type: none;
    margin-right: 40px;
    text-align: justify;
}
.navbar ul li a{
    color: black;
    text-decoration: none;
}
.navbar ul li a::after{
    content: "";
    background: #223973;
    width: 0%;
    height: 3px;
    display: block;
    margin: left;
    transition: .5s;
    margin-top: 2px;
}
.navbar ul li a:hover::after{
    width: 35%;
}
.navbar ul button{
    padding: 6px 16px;
    background: none;
    border: 2px solid #223973;
    font-size: 14px;
    cursor: pointer;
}
.navbar ul button:hover{
    background: #223973;
    color: white;
    transition: .3s;
}

/* Landing page */

#landing-page{
  position: relative;
  padding: 0 80px;
  min-height: 80vh;
  isolation: isolate; 
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
/* keeps the content above the background layer */
#landing-page > * {
  position: relative;
  z-index: 1;
}
/* the background layer */
#landing-page::before{
  content: "";
  position: absolute;
  inset: 0 80px;         
  border-radius: 10px;
  background: url(Images/9244617491_04b181a4b0_b\ 1.png) center/cover no-repeat;
  z-index: 0;             
}

#landing-page h1{
    font-size: 52px;
    line-height: 1.2;
    color: white;
    margin-bottom: 20px;
    text-shadow: 4px 2px 6px black;
}
#landing-page button{
    padding: 8px 30px;
    background: none;
    border: 2px solid white;
    font-size: 18px;
    color: white;
    font-weight: 500;
    cursor: pointer;
}
#landing-page button:hover{
    background: white;
    color: #223973;
    scale: 1.1;
    transition: .3s;
}

/* service-page */
.service-page{
    min-height: auto;
    padding: 0 80px;
    margin-bottom: 80px;
}
.service-page h1{
    text-align: center;
    margin-top: 60px;
}
.service-span{
    background: #223973;
    color: white;
    padding: 2px 12px 6px 12px;
    border-radius: 4px;
}
.services{
    padding-top: 50PX;
}
.service-box{
    display: flex;
    justify-content: space-around ;
    text-align: center;
    align-items: center;
    align-content: center;
    margin-top: 30px;
}
.service-box div{
    width: 300px;
    gap: 20px;
}
.service-box h3{
    margin: 8px 0;
    font-weight: 700;
}
.service-box i{
    margin: 40px 0 14px 0;
    color: #223973;
    font-size: 30px;
}
.service-box span{
    margin: 40px 0 14px 0;
    color: #223973;
    font-size: 40px;
}
.material-symbols-outlined{
    font-size: 30px;
}

/* Gallery section */
.gallery{
    padding: 0 80px;
    text-align: center;
    margin-bottom: 50px;
}
.works-picker{
    background-color: #223973;
    max-width: 664px;
    text-align: center;
    padding: 10px 0;
    margin: 20px auto;
    border-radius: 20px;
    color: white;
}
.works-picker span{
    margin:8px;
    padding: 6px 16px;
    cursor: pointer;
    text-align: center;
}
/* Highlights the active location */
.works-picker span.active {
    font-weight: 600;
    background-color: white;
    border-radius: 20px;
    transition: color 0.3s ease, font-weight 0.3s ease;
    color: #223973;
}

/* Desktop: show spans, hide select */
#location-select {
  display: none;
}

/* Mobile: hide spans, show dropdown */
@media (max-width: 768px) {
    .works-picker{
        background: none;
    }
  .works-picker span {
    display: none;
  }
  #location-select {
    display: inline-block;
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border-radius: 6px;
    background: #223973;
    color: white;
    outline: none;
  }

}

.gallery-content {
    margin-top: 20px;
    text-align: center;
}

.gallery-content h3 {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 400;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.image-grid img {
    width: 100%;
    height: 400px;
    border-radius: 6px;
    object-fit: cover;
    cursor: pointer;
}
.image-grid img:hover{
    scale: 1.02;
    transition: .5s;
}
/* Fade animation for gallery */
.gallery-content.fade-out {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-content.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}


/*  footer */

footer{
    padding: 50px 80px 20px 80px;
    background-color: #223973;
    color: white;
}
.footer{
    display: flex;
    justify-content: space-between;
}
.footer-content{
    display: flex;
    gap: 60px;
}
.logo{
    flex-basis: 50%;
}
footer h1{
    font-size: 1rem;
    padding-bottom: 24px;  
}
footer .logo h1{
    padding-bottom: 14px;
    color: white;
}
.logo p{
    width: 42%;
}
.quick-link p, .contact p{
    padding-bottom: 8px;
    width: 100%;
}
footer a{
    color: white;
    text-decoration: none;
    cursor: pointer;
}
footer a::after{
    content: "";
    background: #ffffff;
    width: 0%;
    height: 2px;
    display: block;
    margin: left;
    transition: .5s;
    margin-top: 2px;
}
footer a:hover::after{
    width: 12%;
}
footer .social-links a{
    display: inline-block ;
    margin-right: 10px;
    font-size: 22px;
}
footer .social-links a::after{
    background: #223973;
}
footer .social-links a:hover{
    scale: 1.2;
    color: white;
}
hr{
    margin: 40px 0 15px 0;
    color: #ccc;
}
.credits{
    display: flex;
    justify-content: space-between;
}
.credits a::after{
    background: #223973;
}


/* Responsive */
@media (max-width: 900px) {
    .image-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .navbar ul li{
        display: none;
    }
        header{
        padding: 40px ;
    }
     #landing-page{
        padding: 40px;
        min-height: 85vh;
    }
    #landing-page::before{
        inset: 0 40px;            
    }
     #landing-page h1{
        font-size: 40px;
    }
    .service-page{
        padding: 40px;
    }
       .gallery{
        padding: 40px;
        margin-bottom: 20px;
    }
     footer{
    padding: 40px;
    }
}

@media (max-width: 600px) {
    .image-grid {
        grid-template-columns: 1fr;
    }
    header{
        padding: 20px ;
    }
    .navbar ul li{
        display: none;
    }
    #landing-page{
        padding: 20px;
        min-height: 80vh;
    }
    #landing-page::before{
        inset: 0 20px;            
    }
    #landing-page h1{
        font-size: 36px;
    }
    .service-page{
        padding: 20px;
        margin-bottom: 20px;
    }
    .service-page h1{
        margin-top: 30px;
    }
    .service-box{
        flex-direction: column;
        margin-top: 0px;
    }
    .service-box div{
        width: 100%;
    }
    .gallery{
        padding: 20px;
        margin-bottom: 20px;
    }
    .works-picker{
        width: 100%;
    }
    .works-picker span{
        margin: 0px;
        padding: 6px 8px;
        font-size: 13px;
    }
    .image-grid img {
    width: 100%;
    height:100%;
    border-radius: 6px;
    object-fit: cover;
    cursor: pointer;
}
    footer{
    padding: 20px;
    }
    .footer .logo h1{
        padding-bottom: 20px;
        font-size: 30px;
    }
    .logo p{
    width: 90%;
    padding-bottom: 30px;
    }
    .footer{
        flex-direction: column;
    }
    .footer-content{
        flex-direction: column;
        gap: 10px;
    }
    footer h1{
        padding-bottom: 14px;  
    }
    .credits{
        flex-direction: column;
        text-align: center;
    }
}
/* Legal Pages */
.legal-page {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
  line-height: 1.7;
}

.legal-page h1 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #223973;
  text-align: center;
}

.legal-page h2 {
  margin-top: 30px;
  font-size: 20px;
  color: #223973;
}

.legal-page p, 
.legal-page ul {
  margin-top: 10px;
  color: #333;
}

.legal-page ul {
  padding-left: 20px;
}

/* Mobile optimization */
@media (max-width: 600px) {
  .legal-page {
    margin: 40px 10px;
    padding: 0 10px;
  }
  .legal-page h1 {
    font-size: 22px;
  }
  .legal-page h2 {
    font-size: 18px;
  }
  .legal-page p, 
  .legal-page ul {
    font-size: 15px;
  }
}

