/* #fff292; */

/* darker yellow */
/* rgb(203, 168, 72); */


/* animations */

@keyframes fade-in {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    animation: fade-in 0.5s;
}



* {
    margin: 0;
    padding: 0;
    font-family: "Plus Jakarta Sans", sans-serif;
}

html {
    scroll-behavior: smooth;
}

a:any-link {
    text-decoration: none;
    cursor: pointer;
}
/* 
.back-to-top {
    margin: 3rem;
    padding: 5px;
    color: rgb(75, 71, 134);
    transition: all 0.3s ease;
    font-size: 16px;
    display: block;
}

.back-to-top:hover {
    color: rgb(203, 168, 72);
} */

.header {
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.7)), url("images/bg.jpeg");
    background-position: center;
    background-size: cover;
    position: relative;
}

.header-main {
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.8), rgba(4,9,30,0.8)), url("renders/r13.png");
    background-position: center;
    background-size: cover;
    position: relative;
}


.header-item {
    width: 100%;
    /* background-image: linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.7)), url("images/bg.jpeg");
    background-position: center;
    background-size: cover; */
    background-color: black;
    position: relative;
    height: 400px;
}

.header-sleek {
    width: 100%;
    background-color: black;
    height: 400px;
}


nav {
    display:flex;
    padding: 1% 2%;
    justify-content: space-between;
    align-items: center;   
    flex-wrap: nowrap;
}

.nav img {
    padding-top: 10px;
}

nav img{
    width:110px;
}

.nav-links {
    flex: 1;
    text-align: right;
}

.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

.nav-links ul li::after {
    content: ' ';
    width: 0%;
    height: 2px;
    background: #fff292;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li:hover::after {
    width: 100%;
}

.text-box {
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}

.item-box {
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}

.item-box h1{
    font-size: 62px;
}

.item-box h2{
    font-size: 18px;
    padding: 10px 0;
}

.text-box p {
    font-size: 18px;
    margin: 10px 0 40px;  
    color: #fff;
    line-height: 1.5
    
}

.text-box h1 {
    font-size: 75px;
}

.item-box p {
    width: 100%;
    font-size: 16px; 
    color: #fff;
    font-weight: 200;
    text-align: center;
    line-height: 1.5
}

.item-description {
    margin-bottom: 3rem;
}

.hero-btn {
    display: inline-block;
    width: 100px;
    text-decoration: none;
    color: #fff;
    border: 2px solid #fff;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
    border-radius: 18px;
}

.item-btn {
    display: inline-block;
    text-decoration: none;
    font-size: 22px;
    position: relative;
    cursor: pointer;
    margin-bottom: 3rem;
    border-bottom: 3px solid transparent;
    transition: all 0.5s ease;
    color: rgb(75, 71, 134);
    font-weight: 600;
    padding-left: 8px;
}



.hero-btn:hover{
    border:2px solid rgb(203, 168, 72);
    background: #ffffff;
    transition: 1s;
    color: rgb(203, 168, 72);
}

.item-btn:hover{
    border-bottom: 3px solid #fff292;
    color: rgb(203, 168, 72);
}


nav .bi {
    display: none;
}


.gallery {
    width: 90%;
    margin: 0 auto;
    text-align: center;
    padding: 70px 0 100px 0;
}

/* 
h1 {
    font-size: 36px;
    font-weight: 600;
    margin-top: 2rem;
} */
/* 
p {
    font-size: 16px; 
    color: #282828;
    font-weight: 600;
    line-height: 22px;
    padding: 10px;
    line-height: 1.5;
} */

.text {
    text-align: center;
    padding: 20px;
    margin-top: 1rem;
}

.row {
    display: flex;
    flex-flow: row wrap;
    gap: 60px;

    justify-content: center;

    
}


.gallery-col {
    padding: 20px;
    box-sizing: border-box;
    transition: 0.5s ease;

    flex: 1 1 350px;   /* <— flexible width, starts at ~350px */
    max-width: 750px;  /* <— prevents 3 per row on large screens */
    height: 375px;
    margin: 1px;
    
}

.web {
    background: #d5d5d5;
    border-radius: 10px;
    margin-bottom: 15%;
    padding: 20px;
    box-sizing: border-box;
    transition: 0.5s;
    width: 100%;
    position: relative;
    text-align: center;
}

.web-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;

    position: absolute;
    top: -70px;           /* Move half the image above the box */
    left: 15%;            /* Move to the left side */
    transform: translateX(-50%);

    box-shadow: 0 0 30px 0px rgba(6, 44, 83, 0.5);

    
}



.web:hover {
    box-shadow: 0 0 30px 0px rgba(6, 44, 83, 0.5);

}

.img-about {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;

    position: absolute;
    top: 200px;           
    right: 10%;          

    box-shadow: 0 0 30px 0px rgba(6, 44, 83, 0.5);

    
}


.gallery-col img{
    width: 375px;
    height: 250px;
    /* border-radius: 10px; */
}


h3 {
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}

.gallery-col:hover {
    /* box-shadow: 0 0 30px 0px rgba(6, 44, 83, 0.2); */
    transform: scale(1.05);

}




.footer {
    width: 100%;
    padding: 30px 0;
    background-color: black;
    text-align: center;
}

.footer h4 {
    margin-top: 20x;
    margin-bottom: 25;
    font-weight: 600;
    margin-left: 10px;
    color: white;
}

 .footer p {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 500;
    font-size: 15px;
    color: white;
}

.footer-links {
    all: unset;
    cursor: pointer;
    display: inline-block; 
    color: white;
    flex: 1;
}

.footer-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.footer-links ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
}

.footer-links ul li::after {
    content: ' ';
    width: 0%;
    height: 2px;
    background: #fff292;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.footer-links ul li:hover::after {
    width: 100%;
}

hr.solid-line {
  border: none; 
  border-top: 10px solid #fff292;
  margin-bottom: 3rem;
}

.item-link {
    all: unset;
    cursor: pointer;
    transition: all 0.3s ease;
}

.item-link:hover {
    color: rgb(69, 111, 173);
}


.item {
    
    width: 90%;
    margin: 0 auto;
    text-align: center;
    padding-top: 100px;
    
}

.item-process {
    margin: 3rem 0;
}



.item p {
    font-size: 17px; 
    color: #3a3a3a;
    font-weight: 400;
    line-height: 22px;
    padding: 10px;
    line-height: 1.5;
    max-width: 900px;
    margin: 0 auto;
    text-align: justify;
  
}


/* .content-copy {
     width: 90%;
    margin: 0 auto;
    text-align: center;
    padding-top: 100px;
}


.content-copy p {
    font-size: 17px; 
    color: #3a3a3a;
    font-weight: 400;
    line-height: 22px;
    padding: 10px;
    line-height: 1.5;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
} */


/* 
.contact-copy p {
    text-align: center;
} */


.bolded {
    font-weight: 600;
    font-size: 18px;
}
.colored-text {
    color: #5b6491;
}


.work {
    width: 90%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}

.work table {
    margin: 0 auto;
    padding: 3rem 0;
}

.work table tr,th {
width: 50%;
padding: 35px 15px;
}

.work table tr th {
text-align: left;

}

.work table tr td {
text-align: right;
}


.work h1 {
    font-size: 36px;
    font-weight: 600;
}

.work h2 {
    margin: 2rem 0;
}



.work p {
    font-size: 16px; 
    color: #282828;
    font-weight: 600;
    line-height: 22px;
    padding: 10px;
    line-height: 1.5;
}

.work ul {
    list-style-type: none 
}

.work li {
  padding: 10px;  
}


.image-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(200px, 1fr));
    width: 100%;
    gap: 10px;
    margin-top: 3rem;
    
}

.image-grid img {
    width: 100%;
    height: 300px;
    border-radius: 5px;
    display: block;
    object-fit: cover;
 
}

.icon-size {
    width: 200px;
    height: auto;
    margin-top: 20px;
}


model-viewer {
    width: 300px;
    height: 300px;
    /* border: 3px solid #9aaee6;
     */
    border-radius: 25px;
    margin: 0 auto;
    transition: 0.5s;
}

model-viewer:hover {
    box-shadow: 0 0 30px 0px rgba(6, 44, 83, 0.5);
}

.copy-box {
    max-width: 700px;
    margin: 0 auto;

}

.copy-box p {
    text-align: center;
    color: #3a3a3a;
    padding-bottom: 3rem;
}


.video-div {
    display: flex;
    gap: 20px; 
    align-items: center;
    margin-bottom: 3rem;
}



.video-div video {
    width: 50%;
    border-radius: 10px;
    overflow: hidden;
}

.video-div p {
    width: 50%;
    font-size: 17px; 
    text-align: justify;
}

.video-div a {
    width: 50%;
}

.video-div iframe {
    width: 600px;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
}

.custom-iframe {
    width: 600px;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
}



/* NEW */

.intro-titles {
    display: flex;
    font-size: 18px;
    justify-content: center;
    max-width: 50%;
    margin: 0 auto;
}


/* https://css-tricks.com/seamless-responsive-photo-grid/ */

.images-about {
  /* Prevent vertical gaps */
  line-height: 0;
   
  -webkit-column-count: 5;
  -webkit-column-gap:   0px;
  -moz-column-count:    5;
  -moz-column-gap:      0px;
  column-count:         5;
  column-gap:           0px;  

  margin-top: 3rem;
}

.images-about img {
  /* Just in case there are inline attributes */
  width: 100% !important;
  height: auto !important;
}

.icons {
    color: white;
}


.systems {
    width: 55%;
    margin: auto;
    text-align: center;
    padding-top: 40px;
}


.systems-box {
    padding: 40px 30px;
    margin: 10% 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.systems-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}


.systems-box h2 {
    color: rgb(203, 168, 72);
    font-size: 2.4rem;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.systems-box h3 {
    margin-top: 10px;
    font-size: 1.1rem;
    opacity: 0.85;
}


.systems-box img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 25px;
}


.systems-box p {
    font-size: 1.15rem;
    padding: 10px 0;
    line-height: 1.6;
    text-align: left;
}


.coming-soon {
    height: 100dvh;
}


.link-btn {
    transition: all 0.3s ease;
    display: block;
    margin: 0 0 1rem;
    font-size: 1.5rem;
    color: rgb(66, 142, 209);
    padding-bottom: 20px;
}

.link-btn:hover {
    color: rgb(203, 168, 72);
}


@media (max-width: 1200px) {
.images-about {
  -moz-column-count:    4;
  -webkit-column-count: 4;
  column-count:         4;
  }
      .systems-box {
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
        
    }

    .systems-box img {
        width: 75vh;
        
    }

    .systems-text {
        width: 90%;
        padding: 0 15px;
        width: 75vh;
        text-align: center;
    }
    


    .systems {
        width: 100%;
    }

    .systems p {
    text-align: left;
    }

}
@media (max-width: 1000px) {
.images-about {
  -moz-column-count:    3;
  -webkit-column-count: 3;
  column-count:         3;
  }

  

}

@media (max-width: 800px) {

    .index-title {
        margin-top: 90%;
    }

    .view-btns {
        margin-bottom: 90%;
    }


    .images-about {
    -moz-column-count:    2;
    -webkit-column-count: 2;
    column-count:         2;
    }

    .img-about {
        width: 200px; 
        height: 200px;
        border-radius: 50%;
        object-fit: cover;
        position: absolute;
        top: 275px;           
        right: 10%;
        box-shadow: 0 0 30px 0px rgba(6, 44, 83, 0.5);
    }

    nav img {
        display: none;
    }


    .row {
    flex-flow: column nowrap;
    gap: 50px;
    margin: 0 auto;
    }

    .web-img {
        width: 100px;
        height: 100px;
    }

    .image-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(200px, 1fr));
    width: 100%;
    gap: 10px;
    }


    .video-div {
        flex-direction: column;   /* stack vertically instead */
        align-items: flex-start; 
    }

    .video-div video,
    .video-div a,
    .video-div iframe,
    .video-div p,
    .custom-iframe {
        width: 100%; /* full width on mobile */
    }


    .video-div p {
        font-size: 18px;    
    }

    .nav-links {
    flex: 1;
    text-align: center;
    }

    .item-box h1{
    font-size: 40px; 
    
    }

    hr.solid-line {
        margin: 0px;
    }

    

    model-viewer {
        width: 300px;
        height: 300px;
        margin-right: 3%;
        margin-bottom: 10%;
        border: 3px solid #9aaee6;
        border-radius: 25px;
        transition: 0.5s;
    }

    /* NEW  */

    .intro-titles {
        flex-flow: column nowrap;
        padding: 4rem;
    }
    .intro-titles p {
        margin: 0;
    }


}


@media (max-width: 400px) {
.images-about {
  -moz-column-count:    1;
  -webkit-column-count: 1;
  column-count:         1;
  }

  .header-main {
    padding-top: 40%;
  }

  .text-box {
    transform: translate(-50%,-50%);
    }

    .nav-links {
        margin-top: -70%;
    }

}


