@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

:root {
    --bgBlue-color: #172d63;
    --bgBlack-color: black;
    --text-color: #fff;
    --hover-color: #2356ce;
    --textHover-color: #b6b6b6;
}

html {
    height: -webkit-fill-available;
    scroll-behavior: smooth;
    scroll-padding: var(--scrollPadding, 3rem);
}

body {
    display: flex;
    flex-direction: column;
    height: 100%;
    height: -webkit-fill-available;
    overflow-y: scroll;
    overflow-x: hidden;
}

/* Media Queries */
@media (max-width: 479px) {
    .desktop {
        display: none;
    }

    .mobile {
        display: contents;
    }
}

@media (min-width: 480px) {
    .desktop {
        display: contents;
    }

    .mobile {
        display: none;
    }
}

/* Header */
.header_M {
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    z-index: 10;

    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    transition: all 0.2s ease-in-out;
}

.logo_M {
    width: 45px;
    transition: all 0.2s ease-in-out;
}

.dropdown-menu {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease-in-out;
    z-index: 20;
    
    background: var(--bgBlack-color);
}

.dropdown-content {
    padding: 50px;
}

.dropdown-content a {
    color: var(--text-color);
    text-decoration: none;
    display: block;
    margin-bottom: 30px;
    font-size: 25px;
}

.contact-container_M a {
    font-size: 14px;
    line-height: 25px;
}

.contact-container_M img {
    vertical-align: middle;
    margin-right: 5px;
    width: 18px;
}

.line_M {
    width: 100%;
    height: 1px;
    background-color: #8a8a8a;
    margin-top: 100px;
    margin-bottom: 20px;
}

.show_M {
    height: 100vh;
}

/* Hamburger Button */
.hamburger-menu {
    display: flex;
    flex-direction: column;
}

.hamburger-menu.active .line:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
}

.hamburger-menu.active .line:nth-child(2) {
    transform: translateY(-5.5px) rotate(-45deg);
}

.transparent_logo {
    opacity: 0; 
}

.transparent_header {
    background: rgba(0, 0, 0, 1);
}

.line {
    width: 30px;
    height: 1px;
    background-color: #fff;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* H1 Styling */
h2
{
    font-size: 40px;
    font-weight: 400;
    text-align: center;
    padding: 50px;
    position: relative;
}

/* Menu Buttons Animations */
.animated-button {
    opacity: 0;
    transition: all 0.3s ease;
}

.show_M .button1 {
    opacity: 1;
    transition-delay: 0.2s;
}

.show_M .button2 {
    opacity: 1;
    transition-delay: 0.25s;
}

.show_M .button3 {
    opacity: 1;
    transition-delay: 0.3s;
}

.show_M .button4 {
    opacity: 1;
    transition-delay: 0.35s;
}

.show_M .button5 {
    opacity: 1;
    transition-delay: 0.2s;
}


/* Home */
.homeSection_M .content {
    background: linear-gradient(to bottom right, #001a59 20%, #3b66ca 90%); 
    /* For older browsers */
    background: -webkit-linear-gradient(top left, #001a59 20%, #3b66ca 90%);
    color: var(--text-color);
}

.hero-wrapper_M {
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    width: 100%;
}

.hero-image_M {
    flex-shrink: 0;
    width: 100%;
}

.hero-image_M img {
    display: block;
    position: relative; 
    max-width: 100%;
    overflow: hidden;
    top: 70px; /* Adjust top position as needed */
}

.link-container_M {
    top: 40px;
    padding-bottom: 100px;
    position: relative;
    background-color: var(--bgBlack-color);
    display: flex;
    align-items: left;
    flex-direction: column;
}

.link-container_M .title {
    font-size: 45px;
    margin-top: 40px;
    font-weight: 600;
    text-align: center;
    position: relative;
    white-space: nowrap;
}

.link-container_M .text {
    font-size: 25px;
    padding-top: 5px;
    padding-bottom: 100px;
    font-weight: 200;
    text-align: center;
    position: relative;
    white-space: nowrap;
}

.link-container_M a {
    font-size: 17px;
    font-weight: 300;
    display: flex;
    color: var(--text-color);
    text-decoration: none;
    max-height: 50px;
    margin-bottom: 20px;
    padding-left: 30px;
    white-space: nowrap;
}

.link-container_M img {
    height: 20px;
    margin-left: 20px; 
}


/* About -----------------------------------------------------------------------------*/
.aboutSection_M .content
{
    color: var(--text-color);
}

.grid-container_M 
{
    width: 95%;
    margin: 0 auto; 
    display: grid;
}

.grid-item_M
{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
}

.grid-item_M img 
{
    width: 80px;
    margin-bottom: 10px;
}

.grid-item_M .title 
{
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.grid-item_M .text 
{
    font-size: 17px;
    font-weight: 200;
    text-align: center;
    max-width: 300px;
}


/* Diplomas -----------------------------------------------------------------------------*/
.diplomasSection_M
{
    padding-top: 100px;
    padding-bottom: 100px;
}

@keyframes slide {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-100%);
    }
  }
  
.diplomasSection_M .diplomas-container
{
    overflow: hidden;
    padding: 20px 0;
    background: #102c6d;
    white-space: nowrap;
    position: relative;
    width: 100%;
}
  
.diplomasSection_M .diplomas-container:before,
.diplomasSection_M .diplomas-container:after 
{
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    content: "";
    z-index: 2;
}
  
.diplomasSection_M .diplomas-container:before 
{
    left: -50px;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), black);
}
  
.diplomasSection_M .diplomas-container:after 
{
    right: -50px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), black);
}
  
.diplomasSection_M .diplomas-slide 
{
    display: inline-block;
    animation: 80s slide infinite linear;
}
  
.diplomasSection_M .diplomas-slide img
{
    width: 200px;
    margin: 0 25px;
}


/* FAQ -----------------------------------------------------------------------------*/
.faqSection_M .content
{
    color: var(--text-color);
}

.faqSection_M .topics-container
{
    max-width: 2000px;
    margin: 0 auto;
    padding-bottom: 100px;
}

.faqSection_M .topic button
{
    background-color: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 15px;
    border: none;
    outline: none;
    font-size: 18px;
    color: var(--text-color);
    font-weight: 700;
    cursor: pointer;
    text-align: left;  /* Ensure text aligns to the left */
}

.faqSection_M .topic button .d-arrow {
    margin-left: auto;  /* Push the arrow to the right */
}

.faqSection_M .topicButton span
{
    margin-left: 30px;
}

.faqSection_M .topic .questions-container
{
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.6s ease;
}

.faqSection_M .question
{
    border-bottom: 1px solid #8a8a8a;
}

.faqSection_M .question button
{
    background-color: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;  /* Align items to the center */
    padding: 20px 10px;
    border: none;
    outline: none;
    font-size: 18px;
    color: var(--text-color);
    font-weight: 500;
    text-align: left;  /* Ensure text aligns to the left */
}

.faqSection_M .question button .d-arrow {
    margin-left: auto;  /* Push the arrow to the right */
}

.faqSection_M .question p
{
    font-size: 17px;
    font-weight: 200;
    text-align: justify;
    max-height: 0;
    opacity: 0;
    line-height: 1.5;
    overflow: hidden;
    transition: all 0.6s ease;
}

.faqSection_M .question a
{
    color: var(--text-color);
    text-decoration: underline 1px solid var(--hover-color);
    text-underline-offset: 5px;
}

.faqSection_M .question img
{
    width: 15px;
}

.faqSection_M .d-arrow
{
    transition: transform 0.3s ease-in ;
}

.faqSection_M .topic button .d-arrow.rotate
{
    transform: rotate(135deg);
}

.faqSection_M .topic .questions-container.show
{
    max-height: 2000px; 
    opacity: 1;
    padding: 5px 20px 30px 15px;
}

.faqSection_M .question button .d-arrow.rotate
{
    transform: rotate(180deg);
}

.faqSection_M .question p.show
{
    max-height: 1000px; 
    opacity: 1;
    padding: 0px 5px 80px 15px;
}

/*icons*/
.faqSection_M .plus {
    display: inline-block;
    width: 15px; 
    height: 15px;
    background-image: url('img/plus_icon.png');
    background-size: cover; 
    flex-shrink: 0;
}

.faqSection_M .arrow {
    display: inline-block;
    width: 15px; 
    height: 15px;
    background-image: url('img/arrow_icon.png');
    background-size: cover; 
    flex-shrink: 0;
}


/* Contact -----------------------------------------------------------------------------*/
.contactSection_M .content 
{
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    padding-bottom: 50px; 
}

.contactSection_M .box 
{
    background: linear-gradient(to bottom right, #001a59 25%, #2f53a7 140%); 
    /* For older browsers */
    background: -webkit-linear-gradient(top left, #001a59 25%, #2f53a7 140%);
    width: 1600px;
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    margin: 30px;
    border-radius: 15px;
}

.contactSection_M .title 
{
    font-size: 40px;
    font-weight: 400;
    align-self: flex-start; 
}

.contactSection_M .contact-button 
{
    background: none;
    font-size: 20px;
    font-weight: 400;
    color: #fff;
    border: 2px solid #fff;
    padding: 15px 20px;
    cursor: pointer;
    position: relative;
    align-self: flex-end; 
    border-radius: 10px;
    text-decoration: none;
    box-shadow: inset 0 0 0 0 #fff;
    transition: ease-out 0.2s;
    
}

.contactSection_M .contact-button:hover
{
    box-shadow: inset 200px 0 0 0 #fff;
    color: #2f53a7;
}


/* Footer -----------------------------------------------------------------------------*/
.footer_M {
    padding: 30px;
    position: relative;
    width: 100%;
}

.footer_M .footer-content_M {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1600px;
    margin: 0 auto;
    border-top: 1px solid #383838; 
    padding-top: 30px; 
}

.footer_M .logo img {
    width: 50px; 
}

.footer_M .logo {
    opacity: 35%;
    padding-left: 10px;
    margin-right: 40px;
}

.footer_M p
{
    color: #8a8a8a;
    line-height: 15px;
    font-weight: 300;
}

.footer_M .copyright {
    padding-right: 10px;
    font-size: 10px;
    text-align: left;
}