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

    :root{
    --background-color: rgb(0, 0, 0);
    --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.071);
    --content-02: rgba(255, 255, 255, 0.1);
    --content-03: rgba(255, 255, 255, 0.01);
    --contact-background-color: rgba(48, 48, 48, 0.819);
    --footer-background: rgb(0, 0, 0);
    --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);
    --debug-color: 1px red dotted;
    /* --specialist-badge: rgb(87, 157, 110); */ 
    --specialist-badge: rgb(195, 196, 103);
    /* --professional-badge: rgb(43, 142, 155); */ 
    --professional-badge: rgb(193, 140, 54);
    /*--expert-badge: rgb(142, 125, 180); */
    --expert-badge: rgb(201, 98, 98);
    /* --acsr-badge: rgb(201, 98, 98); */
    --acsr-badge: rgb(43, 142, 155);

}



html {
    scroll-behavior: smooth;
}
body {
    font-family: Arial, sans-serif;
}

main {
    position: relative;
    z-index:1;
}


.main-header {
    display: flex;
    justify-content: space-between; /* Logo on left, nav on right */
    align-items: center; /* Vertically center items */
    width: 100%;
    padding: 1em 2em; /* Add some padding */
    position: relative; /* Important for positioning the logo */
    z-index: 100;
    box-sizing: border-box;
    
}
/*
.maru-logo-link{
    display: block;
    width: 250px;
    height: auto;
    z-index: 250;
    cursor: pointer;
    position: absolute;
    
}*/


.title {
    background-color: var(--background-color);
    width: 100%;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
    text-align: center;
    color: white;
    overflow: hidden;
    padding: 20x;
    z-index:1;
    /*background-image: url("assets/browse-courses.jpg"); 
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center; */
    min-height: 50vh; 
}

/*
.title video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 101%;
    height: 101%;
    object-fit: cover;
    z-index: -1;
} */
.title h1 {
font-size: clamp(3rem, 6vw, 7em); /* Default behavior */
font-family: Poppins, sans-serif;
margin: 1.5em 0em 0em 0em;
}

.title .subtitle{
font-size: clamp(1rem, 2.5vw, 4em);
margin: 0.1em 1em;
}

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

p {
    margin-bottom: 0.5em;
}

@media (min-width: 1200px) { /* Large screens */
.title h1 {
font-size: 6em;
}
}

@media (min-width: 1600px) { /* Extra-large screens */
.title h1 {
font-size: 7em;
}
}
.title h2 {
font-size: clamp(2rem, 5vw, 5em); /* Increased minimum size */
}

@media (min-width: 1200px) { /* Large screens */
.title h2 {
font-size: 6em; /* 50% of the 12em h1 */
}
}

@media (min-width: 1600px) { /* Extra-large screens */
.title h2 {
font-size: 7.5em; /* 50% of the 15em h1 */
}
}

.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: 2em;
    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);
}










.accordion {
background-color: #151515;
color: rgba(255, 255, 255, 0.67);
cursor: pointer;
padding: 1em 3em;
width: 100%;
border: none;
text-align: left;
outline: none;
transition: 0.4s;
position: relative;
display: flex;
align-items: center;
position: relative;
z-index: 1;
}
#pro-tools-specialist{
background: var(--specialist-badge)
}

#pro-tools-music-professional{
background: var(--professional-badge);
}

#pro-tools-post-professional{
background: var(--professional-badge);
}

#pro-tools-dolby-professional{
background: var(--professional-badge);
}

#pro-tools-music-expert{
background: var(--expert-badge)
}

#pro-tools-post-expert{
background: var(--expert-badge)
}

#pro-tools-s6-expert{
background: var(--expert-badge)
}

#pro-tools-acsr{
background: var(--acsr-badge)
}


.accordion span{
color: rgba(255, 255, 255, 0.67);
font-size: 1.4em;
padding-left: 2em;
}

.active-accordion, 
.accordion:hover {
background-color: #6a6a6a; 
}






/* PLUS SIGN WHEN CLOSED */
.accordion:after {
margin-left: 0.5em;
content: '✚'; /* Unicode character for "plus" sign (+) */
font-size: 1.4em;
float: left;
color: rgba(255, 255, 255, 0.67);
position: absolute;
transition: content 0.3s ease-in-out; /* Add transition for content change */
}

/* MINUS SIGN WHEN OPEN*/
.active-accordion:after {
content: "—"; /* Unicode character for "minus" sign (-) */
color: rgba(255, 255, 255, 0.67);
font-size: 1.4em;
position: absolute;
margin-left: 0.3em;

}


.panel {
padding: 0;
background-color: rgba(0, 0, 0, 0.872);
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease-out; /* Increased transition time */
position: relative;
z-index: 1;
}


.panel-button-image{
height: 100px;
padding-left: 50px;
}


.panel-wrapper {
padding: 2em 3em;
overflow: hidden; /* Ensures content is contained */
display: flex;
padding-bottom: 7em;
}



.panel-wrapper h4{
color: white;
padding-bottom: 0.7em;

}

.panel-text{
padding-bottom: 7em;
}


.panel img{
max-height: 175px;
height: auto;
float: left;
margin-right: 2em;
}



.panel-wrapper p{
color: rgba(255, 255, 255, 0.67);
}

@media (max-width:850px) {
    .panel-wrapper {
        flex-direction: column;
        height: auto;
    }
}


.toc-button{
    width: auto;
    padding: 9px 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.5rem;
    transition: background 0.3s ease, transform 0.2s ease;
    margin: 0 1em 2em 0;
    font-size: 1em;
}
.toc-button a{
text-decoration: none;
    color: white;
}

.toc-button:hover{
background: rgba(255, 255, 255, 0.649);
    transform: scale(1.05);
}

.toc-button:active{
background: rgba(255, 255, 255, 0.426);
    transform: scale(0.95);


}




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

.image-container {
    display: flex;
    width: 15%;
    min-height: 100%;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-left: 4em;
    
    
    
}


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







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

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





.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;
    padding-right: 14em;
    
    
} 











@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 {
background-color: var(--background-color);
}

.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 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%;
    }
   
}






.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: 33.33%;
text-align: left;
padding: 30px;
/*
border-left: 1px solid rgba(255, 255, 255, 0.184); */
}

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

.footer-bottom{
padding-bottom: 20px;
}

.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-border{
border-right: 1px solid rgba(255, 255, 255, 0.391);
border-left: 1px solid rgba(255, 255, 255, 0.391);
}



/* 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);
}


.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;
position: fixed;
bottom: 50px;;
}





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

}

}



/* TOP NAV BAR */

nav {

    position: absolute;
    top: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 500;





}

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

}

nav li {
    display: flex;


}

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


}

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






}

nav li a {
    font-size: 1.1em;
    font-family: Poppins, sans-serif;
    

}

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

}

nav a span {
    margin-top: 3px;
}


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

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

}

.desk-top-hide {
    display: none;
}

@media screen and (max-width:1350px) {

    #open-sidebar-button,
    #close-sidebar-button {
        display: block !important;
        z-index: 111;

    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: min(20em, 100%);
        z-index: 120;
        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 li {
        padding-bottom: 0;
    }



    nav ul {
        width: 100%;
        flex-direction: column;
    }

    nav a {
        width: 100%;

        padding-left: 2.5em;
    }



    .mobile-break {
        display: block;
    }

    .desk-top-hide {
        display: flex;
    }

.maru-logo {
    display: none;
}

.maru-logo-link img {
    
        display: none;
        
    }
}








#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;
}

.badges{
background: black;
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;





}

.badges img{
max-width: 200px;


}

.badge-card{
background: rgb(255, 255, 255);
border-radius: 15px;
margin: 2em;
padding: 10px;
max-width: 220px;
height: auto;

/* just for fun */ 


/* Just for fun end */


}

.badge-card p{
flex-wrap: wrap;
color: black;
font-size: 1em;
text-align: left;
padding: 10px;
font-family: Poppins, sans-serif;
line-height: 1.5;

}




.card-button{
background: black; /* Button background color */
flex-grow: 1; /* Allow the button to take up available space */
padding: 10px; /* Add padding around the text */
border-radius: 10px; /* Rounded corners */
border: none; /* Remove default button border */
width: 100%; /* Make the button take up full width of the parent */
color: white; /* Button text color */
text-align: center; /* Center the button text */
font-size: 1em; /* Button font size */
cursor: pointer; /* Change to pointer on hover */
font-family: Poppins, sans-serif; /* Match other text styling */

}

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


.card-button-link {
text-decoration: none; /* Remove underline */
display: block; /* Make the link take up the full space of the button parent */
width: 100%; /* Make sure the link takes up the full width */
color: white; /* Set the text color to white for the link */
}


.specialist-badge {
background: var(--specialist-badge)
}

.professional-badge {
background: var(--professional-badge)

}

.expert-badge{
background-color: var(--expert-badge)
}

.acsr-badge{
background: var(--acsr-badge);
}




#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: 100%;
    height: auto;
    z-index: 200;
    cursor: pointer;
    position: relative;
    
    
}
.maru-logo-link {
    position: absolute;
    top: -7px;
    left: -12px;
   
    z-index: 99999;
    display: block;
    width: 295px;
    background: transparent;
    pointer-events: auto;
}



.maru-logo-link img {
    
    width: 100%;
    height: auto;
    pointer-events: auto;
    z-index: inherit;
}

.maru-logo-link .maru-logo {
   
    width: 100% !important;       /* FORCE width */
    height: auto !important;      /* FORCE height */
    position: static !important;  /* FORCE static position within link */
    z-index: auto !important;     /* FORCE no independent z-index */
    cursor: inherit !important;   /* FORCE inherit cursor (default) */
   
    opacity: 1 !important;        /* FORCE full opacity */
    
    
}



.maru-logo-link:hover {
    cursor: pointer !important;
    background-color: transparent !important;
    /* Add any other styles you want to prevent on hover */
    opacity: 1 !important;
}


/*

.maru-logo{
width: 230px;
height: auto;
z-index: 1;
cursor: pointer;
position: relative;
display: block;


}

*/

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

}

.language {
line-height: 25px;
}

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

}


.contact-dropdown{
margin-bottom: 20px;
}

.dropdown-menu{
color: rgba(255, 255, 255, 0.641);
background: var(--input-background);
padding: 1em;
border-radius: 10px;
font-size: 1em;


}



.course-list {
    
    color: rgba(255, 255, 255, 0.67);                  /* white text */
    padding: 1rem;                /* some inner spacing */
    list-style: none;            /* remove bullet points */
    font-family: sans-serif;
  }
  
  .course-list li {
    margin-bottom: 0.8rem;        /* space between list items */
    line-height: 1.5;
  }
  
  .course-list .bold {
    font-weight: bold;
    margin-right: 0.5rem;
    display: inline-block;
    min-width: 70px;              /* optional: align text more neatly */
    color: #ffffffe4;
  }