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

    :root{
    --background-color: rgb(0, 0, 65);
    --hover-color: rgba(255, 255, 255, 0.103);
    --nav-text-color: rgba(255, 0, 0, 0.25);
    --accent-color: rgba(255, 0, 0, 0.25);
    --content-01: rgba(255, 255, 255, 0.15);
    --content-02: rgba(255, 255, 255, 0.1);
    --content-03: rgba(255, 255, 255, 0.01);
    ---contact-background-color: rgb(40,36,52);
    --footer-background: rgba(255, 255, 255, 0.022);
    --hover-color: rgba(255, 255, 255, 0.103);
    --nav-text-color: rgba(255, 0, 0, 0.25);
    --accent-color: rgba(255, 0, 0, 0.25);
    --input-background: rgba(255, 255, 255, 0.1);
    --links-card-background: rgba(255, 255, 255, 0.095);
    --debug-color: 1px red solid;

}



html {
    scroll-behavior: smooth;
}
body {
    font-family: Arial, sans-serif;
}
.title {
    width: 100%;
    height: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: left;
    text-align: left;
    color: white;
    /*overflow: hidden; */
    z-index: 0;
    background-color: var(--background-color);
    
    
}

.title h1 {
font-size: 2.5em;
font-family: Poppins, sans-serif;
margin: 4em 1.5em 1em 1.5em;
}

.title .subtitle{
font-size: 1.5em;
margin: 0 3em 2.5em 3em;
}

.hide-on-desktop{
display: none;
}






.title h2 {
font-size: 1em;
}





.title p {
    font-size: clamp(1rem, 3vw, 2.5rem);
}


.submit-me{
    margin-top: 30px;
}

.button {
    color: white;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.384);
    padding: 10px;
    border-radius: 10px;
    
}



.scroll-button {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    background: rgba(247, 247, 247, 0.275); /* Semi-transparent */
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.436);
    border-radius: 15px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease, transform 0.2s ease;
}
.scroll-button:hover {
    background: rgba(255, 255, 255, 0.649);
    transform: translateX(-50%) scale(1.05);
}
.scroll-button:active {
    background: rgba(251, 0, 0, 0.426);
    transform: translateX(-50%) scale(0.95);
}

.standard-button, .submit-button {
    /* align-self: flex-start; */
    /* white-space: nowrap; */
    width: 160px;
    padding: 12px 24px; 
    background: rgba(247, 247, 247, 0.275); /* Semi-transparent */
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.436);
    border-radius: 15px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background 0.3s ease, transform 0.2s ease;
    margin-top: 1em;
    font-size: 1em;
    
}

.standard-button a{
    text-decoration: none;
    color: white;
}



.standard-button:hover, .submit-button:hover {
    background: rgba(255, 255, 255, 0.649);
    transform: scale(1.05);
}
.standard-button:active, .submit-button:active {
    background: rgba(255, 255, 255, 0.426);
    transform: scale(0.95);
}


.sitelinks{
background: var(--background-color);
padding: 0 1em;


/* justify-content: center; 
/* align-items: center; */
}

.sitelinks h2{

font-size: 1.4em;


}

.flex-container{
display: flex;
flex-wrap: wrap;
justify-content: center;




}



.links-card{
padding: 0em 2em 0em 3em;
/* border: 1px solid rgb(75, 82, 92); */
/* background-color: var(--links-card-background) */
border-left: 1px solid rgba(255, 255, 255, 0.337);
width: 450px;
margin-bottom: 2em;

}

@media(max-width:600px){
    .links-card{
        border-left: none;
    }
    .links-card p {
        font-size: 0.9em;
        
        text-align: center;
        margin: 2em;
        
    }

    .links-card a{
        text-wrap:wrap;
    }

    .links-card h2{
        text-align: center;
    }

    
}

.links-card p{
margin-bottom: 1em;
white-space: nowrap;



}

.links-card p a{
color: rgba(255, 255, 255, 0.817);
font-size: 1.2em;
text-decoration: none;




}
.links-card a:hover{
color: rgb(0, 213, 255);
font-size: 1.3em;
text-decoration: underline;

}

.links-card a:active{
color: rgb(0, 161, 193);
}











.section {
  display: flex;
  align-items: stretch;
  height: auto;
  width: 100%;
  flex-direction: row;
  min-height: 300px;
  
  flex-wrap: wrap;   
}

.image-container {
    display: flex;
    width: 25%;
    
    
    min-height: 100%;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    
    
    
}


    
.image-container img {
width: 100%;
height: 100%;
/*object-fit: cover; /* Ensures uniform scaling */
aspect-ratio: 16/9; /* Forces consistent proportions */
}







.section h2{
    color: rgb(255, 255, 255);
    font-size: clamp(0.8rem, 1.9em, 2rem);
    margin: 0 0 1.5em 0; 
    
}

.section p{
    color: rgba(255, 255, 255, 0.671);
    font-size: 1.4em;
    
    
}





.content-wrapper{
background-color: var(--background-color); 


}
.content-bkg01 {
    background-color: var(--content-01);
}
.content-bkg02 {
    background-color: var(--content-02);
}
.content-bkg03 {
    background-color: var(--content-03);
}



.content {
    width: 75%;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    min-height: 100%;
    flex-grow: 1;
    
    
} 











@media (max-width: 768px) {
    .section {
        flex-direction: column;
        height: auto;
    }
    .image-container, .content {
        width: 100%;
        height: auto;
    }
    .section p{
        font-size: 1em;
    }
}


/* css for the form */
.contact-wrapper {
--contact-background-color: rgb(40,36,52);
}

.contact-form{
background-color: var(--contact-background-color);
padding: 3em;
}

.contact-form h1, h2, h3{
color: white;
padding-bottom: 0.5em;
}

.contact-title p, .info{
color: rgba(255, 255, 255, 0.67);
padding-bottom: 1em;
font-size: 1.4em;
}




.form-heading{
color: rgba(255, 255, 255);
font-size: 1.2em;
font-weight: 800;
padding-bottom: 1em;
}

.contact-split{
display: flex;

}

.contact-left-side{
flex: 2;
}




.contact-right-side{
width: 50%;
}

/* name and email sections */ 
.contact-name-email{

display: flex;
width: 100%;    

gap: 1em;
}

.contact-name-email input, textarea{
background-color: var(--input-background);
margin-bottom: 2em;
border: 1px solid rgba(255, 255, 255, 0.512);
border-radius: 5px;
resize: none;
padding: 1em;
color: rgba(255, 255, 255, 0.515);
font-family: Poppins, sans-serif;
font-size: 1em;
}

textarea{
height: 10em;
}

.contact-name{
flex: 1;
width: 50%;

}

.contact-name input{
width: 100%;
}

.contact-email{
flex: 1;
width: 50%;

}

.contact-email input{
width: 100%;
}

.contact-message textarea{
width: 100%;
}

/*
.contact-left-side .submit-button{
color: white;
width: 20%;
padding: 1em;
background-color: rgba(255, 255, 255, 0.141);
font-family: Arial, Helvetica, sans-serif;
font-size: 1em;
border: 1px solid white;
border-radius: 10px;
cursor: pointer;
min-width: 200px;
} */

.contact-right-side{
margin-left: 2em;
border-left: 1px solid rgba(255, 255, 255, 0.132);
padding-left: 2em;
flex: 1;  
}

.contact-right-side svg {
width: 30px; /* Adjust size */
height: 30px;
fill: white; /* Change icon color */
margin-right: 1em;
transition: transform 0.3s ease, fill 0.3s ease;
}

.contact-right-side svg:hover {
transform: scale(1.5); /* Slight zoom effect on hover */
fill: rgb(79, 79, 255); /* Change color on hover */
}    


@media (max-width:960px){
.contact-name-email {
display: flex;
flex-direction: column;
width: 100%;    

gap: 1em;
}
.contact-name{
flex: 1;
width: 100%;

}

.contact-email{
flex: 1;
width: 100%;

}

}

@media (max-width:670px){
.contact-split{
display: flex;
flex-direction: column;
}

.contact-right-side{
border-left: none;
padding-left: 0;
margin: 3em 0;
}
}


/* Media Query for Small Screens */
@media (max-width: 560px) {
    .contact-split {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100% 
    }

    .contact-right-side{
        margin: 1em 0;
        padding: 1em 0;
        
    }
    .contact-right-side p{
        font-size: 0.9em;
        text-align: center;
        
    }

    .contact-right-side .social-media, .contact-right-side p {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .contact-right-side svg {
        margin: 1em 0;
    }

    .submit-button{
        width: 100%;
    }
   
}


/* check you need this */







.certification-image {
width: auto; /* Let the image scale naturally */
max-width: 100%; /* Prevents it from overflowing */
height: auto; /* Ensures aspect ratio is maintained */
object-fit: contain; /* Ensures no cropping */
display: block; /* Removes extra spacing issues */
}


.image-container img:not(.certification-image) {
width: 100%;
height: 100%;
object-fit: cover; /* Other images stay cropped */
}

.fadein {
opacity: 1;
-webkit-animation: fadein 2s;
-moz-animation: fadein 2s;
-ms-animation: fadein 2s;
-o-animation: fadein 2s;
animation: fadein 2s;
}

@keyframes fadein{
from {
opacity: 0;
transform: scale(0.9);
}
to {
opacity: 1;
transform: scale(1);
}
}


.sticky {

position: fixed;
right: 50px;
bottom: 20px;
opacity: 0.6;
height: 100px;
width: 100px;
font-size: 1em;
background: rgba(255, 255, 255, 0.137);
color: white;
border: white 1px solid;
border-radius: 15px;
display: flex;
justify-content: center;
align-items: center;
text-decoration: none; 
z-index: 100;
transition: opcaity 0.3s ease, transform 0.2 ease;
}

.sticky-top {
height: 2em;
}





@media (max-width: 768px) {
.sticky {
display: none;

}

}





nav {
/*border-bottom: 1px solid var(--hover-color); */
position: absolute;
top: 0;
width: 100%;
box-sizing: border-box;


}

nav ul {
list-style: none;
display: flex;
}

nav li{
display: flex;
font-size: 1.1em;
}

nav .home-li{
margin-right: auto;

}

nav a{
display: flex;
text-decoration: none;
color: white;
padding: 1em 2em;
transition: background-color 150ms ease;

}

nav a:hover{
background-color: var(--hover-color);
}

nav a.active-link{
border-bottom: 2px solid var(--nav-text-color);
}

nav a.accent-link{
background-color: var(--accent-color);
}

@media screen and (max-width:1350px){
#open-sidebar-button, #close-sidebar-button{
display: block !important;

}
nav{
position: fixed;
top: 0;
right: -100%;
height: 100vh;
width: min(16em, 100%);
z-index: 110;
border-left: 1px solid var(--hover-color);
background-color: rgba(0, 0, 0, 0.909);
transition: right 300ms ease-out;
}

nav.show ~ #overlay{
display: block;


}

nav.show{
right: 0;
}



nav ul{
width: 100%;
flex-direction: column;
}
nav a{
width: 100%;
padding-left: 2em;
}

.hide-on-desktop{
display: flex;
}





}

#open-sidebar-button{
display: none;
background: none;
border: none;
padding: 1em;
margin-left: auto;
cursor: pointer;
position: fixed;
top: 0;
right: 0;
}

#close-sidebar-button{
display: none;
background: none;
border: none;
padding: 1em;
cursor: pointer;
}







.maru-logo{
width: 250px;
height: auto;
position: fixed;
top: 0;
left: 10px;
padding: 10px;
z-index: 100;
}

#overlay{
background: rgba(0, 0, 0, 0.5);
position: fixed;
inset: 0;
z-index: 109;
display: none;
}

footer {
    grid-area: footer;
    
}


.footer-wrapper{
background-color: var(--background-color);
z-index: -1;
}

.footer {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
width: 100%;
padding: 0;
z-index: 0;
background-color: rgb(0, 0, 0);


}

.footer-item {

min-width: 25.33%;
text-align: left;
padding: 30px;

}

.footer-item p, .footer-bottom{
font-size: 1em;
padding: 2px 0;
color: rgba(190, 190, 190, 0.714);
}

.footer-bottom{
padding-bottom: 20px;
text-align: center;
min-width: 100%;
}

.footer-item i{
font-size: 1em;
margin-right: 5px;
margin-top: 5px;
position: relative;
top: 2px;

}

.footer h2{
color: rgba(255, 255, 255, 0.863);
}







/* Footer for mobile and small screens */
@media (max-width: 768px) {
    .footer {
      flex-direction: column;
    }
    .footer-item {
      min-width: 100%;
      text-align: center;
    }
    .footer-item{
      border: none;
    }
  
    .footer-bottom{
      text-align: center;
      margin: 2em;
    }
  
    .footer p {
      font-size: 1.3em;
      margin: 1em 0;
    }

    .footer-bottom {
        margin: 0;
        padding: 2em;
    }

    
    
  }
.footer a{
text-decoration: none;
color: rgba(190, 190, 190, 0.714);
}

.language {
line-height: 25px;
}

.footer img{
height: 21px;
width: auto;
vertical-align: middle;
margin-left: 3px;

}

