/*
Theme Name: Campus France - Custom Theme
Author: Alexandre Goncalves
Version: 1.0
*/






@font-face {
    font-family: 'campus_serif';
    src: url('assets/fonts/campusfranceserifbetaaa-regular-webfont.eot');
    src: url('assets/fonts/campusfranceserifbetaaa-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('assets/fonts/campusfranceserifbetaaa-regular-webfont.woff2') format('woff2'),
         url('assets/fonts/campusfranceserifbetaaa-regular-webfont.woff') format('woff'),
         url('assets/fonts/campusfranceserifbetaaa-regular-webfont.ttf') format('truetype'),
         url('assets/fonts/campusfranceserifbetaaa-regular-webfont.svg#campusfrance_serif_beta_aaRg') format('svg');
    font-weight: normal;
    font-style: normal;
}



@font-face {
    font-family: 'campus_regular';
    src: url('assets/fonts/campusfrancesansbetaaa-regular-webfont.eot');
    src: url('assets/fonts/campusfrancesansbetaaa-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('assets/fonts/campusfrancesansbetaaa-regular-webfont.woff2') format('woff2'),
         url('assets/fonts/campusfrancesansbetaaa-regular-webfont.woff') format('woff'),
         url('assets/fonts/campusfrancesansbetaaa-regular-webfont.ttf') format('truetype'),
         url('assets/fonts/campusfrancesansbetaaa-regular-webfont.svg#campus_france_sans_beta_aaRg') format('svg');
    font-weight: normal;
    font-style: normal;

}



/*
	General
*/

body {
	background: #fff;
    font-family: 'campus_regular';
    font-weight: 300;
}



h1{
    font-family: 'campus_serif';
}


.home .site-logo .logo-campus {
    width: 75px;
    position: absolute;
    top: 15%;
    left: 13%;
    margin-top: 3px;
}


.home .site-logo .logo-amba{
    position: absolute;
    left: 5%;
    width: 85px;
    margin-top: 10px;
}




/*
    RESPONSIVE MENU
*/

/* === Hamburger Button === */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 30;
  position: relative;
}

.hamburger {
  width: 24px;
  height: 18px; /* adjust height to fit 3 lines with spacing */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* evenly space the 3 lines */
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #2a3f7b;
  border-radius: 1px;
  transition: all 0.3s ease;
}

/* === Mobile Menu === */
@media (max-width: 1080px) {

    .home .hero-content {
        left: 8%!important;
    }


    .btn-wrap a span{
       font-size: 13px!important;
    }


    .home .hero-content{
        top: 40%!important;
    }

     .hero-content{
       top: 50% !important;
       z-index: 20!important;
    }

    .square-center{
        top: 30%!important;
    }


    .site-logo .logo-campus{
        margin-top: 3px!important;
    }


    .home .section-title h2{
        text-align: center!important;
         margin-bottom: 20px!important;
        font-size: 2rem !important;
    }


    .btn-wrap{
        text-align: center!important;
    }


    .home .section-title p{
        text-align: center!important;
    }

     .section-title{
        position: absolute;
        top: 50% !important;
        left: 5% !important;
        transform: translate(0%, -50%) !important;
        width: 90%;
     }


    .section-title img{
        display: none;
    }


    .test-content{
        padding-left:40px!important;
        padding-right: 40px!important;
    }

    .hero-content h1{
        font-size: 3rem!important;
    }

    .hero-bg-mob{
        position: absolute;
        display: block!important;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover!important;
        background-position: top left !important;
    }


    .hero-bg{
        display: none;
    }


    .hero-svg {
        background-position: left center!important;
    }

    .hero-content h2{
        font-size: 2.6rem !important;
    }

    .hero-content p{
        font-size: 1rem!important;
    }

     .site-logo .logo-amba,
     .campus-footer .container-fluid{
        display: none;
     }

     .campus-footer{
        height: 0px!important;
     }


     .site-logo .logo-campus,
    .home .site-logo .logo-campus{
        width: 60px;
        position: absolute;
        top: 14%;
        left: 3%!important;
     /*   margin-top: -16px!important;*/
     }

    .home .site-logo .logo-campus{
        margin-top: -16px!important;

    }

  .page-header {
    background-color: #fff!important;
    height: 90px!important;
    position: relative;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    right: 3%;
    top: 32%;
  }

  .site-logo .logo-campus {
    width: 56px;
    position: absolute;
    top: 17%;
    left: 4%;
    margin-top: -16px;
  }

  .hero-svg {
    display: none;
  }

  .main-nav .menu {
    position: absolute;
    top: 30px;
    z-index: 99999;
    right: -22px;
    background: white;
    width: 200px;
    flex-direction: column;
    text-align: right;
    padding: 1rem;
    border-radius: 0 0 0 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    padding: 0;
    }


    #menu-new-menu li{
        display: block;
    }


    #menu-item-63{
        width: fit-content!important;
        float: right!important;
        margin-right: 16px!important;
    }

    .home .main-nav ul li a{
        color: #2a3f7b!important;
    }


    .home .main-nav ul li a:hover{
        color: #2a3f7b!important;
    }

  .main-nav .menu li {
    margin: 1rem 0;
  }

  .main-nav.active .menu {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    z-index: 90;
  }

  /* Animate hamburger to X */
  .menu-toggle.active .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active .hamburger span:nth-child(3) {
       transform: rotate(-45deg) translate(7px, -6px);
  }
}



.section-content a{
    text-decoration: none;
}



.btn-wrap{
    text-align: left;
}

.btn-wrap a span{
   font-size: 14px;
}


.wavy-button-white{
    background: #fff!important; 
    color: #2a3f7b!important; 
    border: 2px solid #fff!important;
}

.wavy-button-white::before{
    background: linear-gradient(
        to right,
        #2a3f7b 0%,
        #2a3f7b 50%,
        #fff 50%,
        #fff 100%
      )!important; 
}


.wavy-button-white:hover{
    color: #fff!important;
    border: 2px solid #fff!important;
}



.wavy-button{
  display: inline-block;
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff; 
  background: #2a3f7b; 
  border: 2px solid #2a3f7b;
  text-decoration: none;
  overflow: hidden;
  position: relative;
  transition: color 0.5s ease, border-color 0.5s ease;
}


/* Pseudo-element for background animation */
.wavy-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    to right,
    #fff 0%,
    #fff 50%,
    #2a3f7b 50%,
    #2a3f7b 100%
  );
  transition: none;
  z-index: 1; 
}




/* Text stays on top */
.wavy-button span {
  position: relative;
  z-index: 2;
}

/* Hover animation */
.wavy-button:hover::before {
  animation: slide-bg 0.5s forwards;
}

.wavy-button:hover {
  color: #2a3f7b; /* text color flips */
  border-color: #2a3f7b;
}

/* Keyframes for background slide */
@keyframes slide-bg {
  0% {
    left: -100%;
  }
  100% {
    left: 0%;
  }
}



/*.section-first{
    width: 625px;
}*/

.section-blue,
 .section-white{
    position: relative;
 }


.section-blue{
    background-color: #2a3f7b;
    height: 100vh;
}


.section-blue h2{
    color: #fff;
    font-size: 2.6rem!important;
}

.section-white h2{
    color: #2a3f7b;
    font-size: 2.6rem!important;
}

.section-white{
    background-color: #fff;
    height: 100vh;
}



/*

GENERAL 

*/



/* HOME HERO */

.hero-svg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center center;
    z-index: 20;
}

.square-center{
    position: absolute;
    top: 50%;
    left: 15%;
    width: 220px;
    height: 220px;
    background: #DB3932;
    transform: rotate(45deg);
    z-index: 20;
}



.hero-content h2{
     font-family: 'campus_serif';
    font-size: 4rem;
}

.hero-content p{
    font-family: 'campus_regular';
    font-size: 1.2rem;
}


.section-title{
     display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}


.section-title img,
.section-title p{
    color: #fff;
}


.section-title img{
    float: left;
    width: 140px;
}





/* HOME - Main menu */


.home .main-nav{
    position: absolute;
    top: 60px;
    right: 5%;
    line-height: 15px;
    z-index: 30;
     background: transparent;
}

.home .main-nav .qtranxs-lang-menu{
    background: #fff;
    padding: 5px 10px; 
    margin-left: 20px;
}


.home .main-nav ul li.qtranxs-lang-menu a{
     color: #2a3f7b!important;

}


.home .main-nav ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.home .page-header{
    background-color: transparent;
    height: 0;
}


.home .site-logo{
    position: relative;
    top: 20px;
    z-index: 90;
}


.site-logo .logo-amba{
    position: absolute;
    left: 5%;
    width: 65px;
    margin-top: 10px;
}


.site-logo .logo-campus{
    width: 60px;
    position: absolute;
    top: 15%;
    left: 11%;
    margin-top: 3px;
}


.main-nav ul li a{
    cursor: pointer;
}



.home .main-nav ul li a:hover,
.home .main-nav ul li:hover{
    color: #fff;
}


#menu-new-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%; /* below parent */
  left: 0;
  list-style: none;
  margin: 0;
  padding: 1rem 0px 0rem;
  background: white;
  border: 1px solid #ddd;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  min-width: 125px;
  z-index: 100;
}


#menu-new-menu .sub-menu li{
    height: 35px;
}



/* Submenu items */
#menu-new-menu .sub-menu li a {
  padding: 8px 14px;
  color: #333;
  white-space: nowrap;
}

#menu-new-menu .sub-menu li a:hover {
  background-color: #f0f0f0;
}

/* Show dropdown on hover (desktop) */
#menu-new-menu li:hover > .sub-menu {
  display: block;
}


#menu-new-menu li {
  position: relative;
}

#menu-new-menu .sub-menu {
  top: calc(100% - 1px); /* remove potential gap */
}





/* Main menu */



.site-logo{
    position: relative;
    z-index: 90;
}


.page-header{
    background-color: #fff;
    height: 90px;
}




.main-nav{
    position: relative;
    line-height: 15px;
    z-index: 30;
    float: right;
    top: 30px;
    right: 5%;
}


.main-nav ul{
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav ul li{
    padding: 0px 15px;
    display: inline-block;
}


.main-nav ul li a{
    color: #2a3f7b;
    text-decoration: none;
    font-size: 14px;
}


.main-nav .qtranxs-lang-menu{
    background: #2a3f7b;
    padding: 5px 10px; 
    margin-left: 20px;
}

.main-nav .qtranxs-lang-menu a{
      color: #fff;
      font-size: 11px;
}




#menu-item-11 a{
    color: #031092;
    background: #fff;
    border: solid 1p;
    border-radius: 1px;
    padding: 8px 18px;
    font-size: 14px;
}



.hero-wrapper{
    position: relative;
     width: 100%;
    height: 420px;
}

.home-hero{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.home .hero-overlay,
.home .home-hero .hero-bg,
.home .hero-wrapper{
    height: 100vh;
}



.hero-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 420px;
    background-color: rgba(0,0,0,.3);
    z-index: 1;
}

.home-hero .hero-bg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 420px;
    background-size: cover!important;
    background-position: top left !important;
}


.hero-bg-mob{
    display: none;
}


.home .hero-content{
    left: 14%;
}



.hero-content{
    position: absolute;
    top: 67%;
    left: 10%;
    transform: translateY(-50%);
    color: #fff;
    z-index: 60;
}




.home .home-hero h1{
    font-family: 'campus_serif';
    font-size: 4.5rem;
    line-height: 3rem;
    margin: 0;
}



.home-hero h1{
    font-family: 'campus_serif';
    font-size: 3.5rem;
/*    width: 70%;*/
    line-height: 50px;
    line-height: 3.5rem;
    margin: 0;
}


.home-hero h1.title-first{
    font-size: 3.5rem;
}



/*
    HOME SECTION
*/



.home-content .container-fluid{
 /*   padding: 0;*/
}


.home-sections{
    position: relative;
    width: 100%;
    height: 560px;
    overflow: hidden;
    margin-bottom: 175px;
}


.home-sections img.home-section-bg{
    position: absolute;
    background-size: cover;
    width: 100%;
    height: auto;
    background-position: center center;
}



.home-sections.border-left,
.border-left .section-hover{
    border-top-left-radius: 120px;
}



.home-sections.border-right,
.border-right .section-hover{
    border-top-right-radius: 120px;
}




.h-section-btn img{
    position: absolute;
    left: 50%;
    top: 50%;
    text-align: center;
    transform: translate(-50%,-50%)rotate(90deg);
}


.home-sections .section-hover{
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    height: 100%;
/*    background-color: rgba(11, 3, 60, .65);*/
    background-color: rgba(0, 0, 0, .45);
    z-index: 20;
}



.h-section-btn{
    position: absolute;
    top: 50%;
    right: 5%;
    width: 60px;
    height: 60px;
    border: solid 1px #fff;
    border-radius: 18px;
    z-index: 30;
    transform: translateY(-50%);
}



.home-content .section-title-wrapper{
    position: absolute;
    left: 12%;
    top: 50%;
    color: #fff;
    transform: translateY(-50%);
    z-index: 40;
}



.home-content h2{
    font-size: 5rem;
}


.home-content h2.section-title-first{
    font-size: 3rem;
    line-height: 0;
}


.section-title h2{
    font-family: 'campus_serif';
    margin-left: 25px;
   /* float: left;*/
/*    width: 600px;*/
}

.section-content{
    float: left;
    width: 600px;
}



/*
    TEST PAGES
*/


.test-content .test-inner{
    padding: 60px 0px 140px;
    line-height: 25px;
}


.test-content .test-inner h2,
.test-content .test-inner h3{
    color: #2a3f7b;
/*    line-height: 25px;*/
}







/*
    THE FOOTER
*/


.campus-footer{
    position: relative;
    border-top: solid 1px #f2f2f2;
    background: #fff;
    width: 100%;
    height: 120px;
    color: #fff;
    box-shadow: 0 -4px 5px rgba(0, 0, 0, 0.035);
}



.footer-menu-rows .col-md-3{
    padding: 0;
}


.campus-footer .main-nav{
    color: #2a3f7b;
}



.campus-footer h5{
    font-family: 'aktivgrotesk-bold';
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-menu-rows .footer-nav ul{
    list-style: none;
    padding: 0;
}


.footer-nav .menu-item-58{
    display: none!important;
}


.footer-menu-rows .footer-nav ul li a{
    font-size: 14px;
    text-decoration: none;
    color: #fff;
}


.footer-top{
    z-index: 40;
    position: absolute;
    left: 50%;
    top: -25%;
}

.footer-top img{
    width: 50%;
}


.footer-menu-rows ul li a{
    line-height: 35px;
}


.footer-arrow{
    position: absolute;
    bottom: 5%;
    right: 5%;
    border: solid 1px #fff;
    border-radius: 18px;
    width: 60px;
    height: 60px;
    text-align: center;
    vertical-align: middle;
}


.footer-arrow a{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}



.campus-footer .footer-logo{
    position: relative;
}

.footer-nav{
    width: 100%;
    height: 90px;
}


.footer-nav #menu-new-menu-1{
    margin-top: 32px;
    line-height: 32px;
    text-align: right;
}


.footer-nav ul li{
    display: inline-block;
    padding: 0px 20px;
}


.footer-nav ul li a{
    text-decoration: none;
    color: #2a3f7b;
    font-size: 14px;
}

.campus-footer .logo-amba {
    width: 75px;
    position: relative;
    left: 5%;
    margin-top: 6px;
    width: 67px;
}


.campus-footer .logo-campus {
    width: 60px;
    position: relative;
    margin-top: 5px;
    left: 15%;
}



.campus-footer .qtranxs-lang-menu a{
    font-size: 11px;
}

.campus-footer .qtranxs-lang-menu a{
    padding: 5px 8px;
    background: #2a3f7b;
    color: #fff;
}


.copyright{
   line-height: 30px;
   font-size: 12px;
}


.footer-bottom{
     width: 100%;
     height: 30px;
     background: #2a3f7b;
     text-align: center;
}








/*

    TEST

*/



.home #etude,
#test{
  position: relative;
  width: 100%;
  height: 100vh; 
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f0f0f0; 
}

.home .etude-inner,
.home .test-inner{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.home .section-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px; 
  text-align: center;
}

.home .section-title img {
  max-width: 200px; 
  height: auto;
}

.home .section-content {
  display: inline-block;
}

.home .section-title h2 {
  font-size: 24px;
  font-weight: bold;
  margin: 0 0 10px 0;
  text-align: left;
  margin-top: 32px;
}




.home .section-title p {
  font-size: 16px;
  text-align: left;
}


