*{
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    box-sizing: border-box;
    outline: none; border: none;
    text-decoration: none;
    transition: all 0.2s linear;
}

:root{
    --white: #fff;
}

html{
    scroll-behavior: smooth;
    overflow-x: hidden;
    font-size: 62.5%;
}

section{
    padding: 3rem 9%;
} 
/*--------Header Section Starts-------*/

.header{
    position: absolute;
    top: 0; left: 0; right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.7rem 5%;
}

.header .navbar a{
    font-size: 2.2rem;
    color: var(--white);
    display: inline-block;
    margin: 0 1.4rem;
    font-weight: bolder;
}

/*-----Header Animation----*/
/*---Figure out how to do a dropdown menu on the About part---*/

.header .navbar a span{
    position: relative;
    padding-bottom: 0.5rem;
}

/*---- Underline----*/
.header .navbar a span::after{
    content: '';
    width: 0%;
    height: 4px;
    background: #e7e7e7;
    position: absolute;
    left: 0;
    bottom: -1px;
    transition: 0.5s;
}

.header .navbar a span:hover:after{
    width: 100%;
}

/*---dropdown list-----*/

.header .navbar .menu{
    position: relative;
    display: flex;
    justify-content: space-evenly;
    list-style: none;
    user-select: none;
}

.navitem .dropdown-list{
    position: absolute;
    background: #086ab5;
    z-index: 1;
    top: 27px;
    line-height: 40px;
    list-style: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 5px 25px rgb(0 0 0 / 20%);
    pointer-events: none;
    transform: translateY(20px);
    opacity: 0;
    transition: 0.5s;
    transition-property: transform, opacity;
}

.navitem:hover .dropdown-list{
    pointer-events: all;
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.5s;

}

.navitem .dropdown-list .sub-item{
    position: relative;
    padding: 0.5rem 0;
    cursor: pointer;
    box-shadow: inset 0px -30px 5px -30px rgb(255,255,255, 0.2);
    transition: 0.3s;
}

.navitem .dropdown-list .sub-item a{
    color: #fff;
    font-size: 1.8rem;
    padding: 0 0.8rem;
    transition: 0.5s;
}

.navitem .dropdown-list .sub-item a:hover{
    color: #086ab5;
}

.navitem .dropdown-list .sub-item:hover{
    background: #e7e7e7;   
   }

.navitem .dropdown-list .sub-item:last-child:hover{
    border-radius: 0 0 8px 8px;
}

 /* link to css,html code for dropdown -> https://codepen.io/halidaa/pen/qKLYBg */



  /*----Header Mobile Nav---*/

.mobile-nav{
    display: none;
}

.mobile-nav a:hover{
    background-color: #e7e7e7;
    color: #000;
    transition: ease 0.2s;
}

.logo {
    width: 15rem;
    height: 15rem;
}

.home{
    margin: 0 auto;
    min-height: 80vh;
    width: 100%;
    background-image: linear-gradient(rgba(12,3,51,0.3),rgba(12,3,51,0.3)), url(images/university-of-surrey.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home .content{
    text-align: center;
    color: var(--white);
}

.freemem-btn{
    margin-top: 3.5rem;
    display: inline-block;
    padding: 1.5rem 1.8rem;
    background: #239cff;
    color: var(--white);
    border-radius: 1rem;
    font-size: 2rem;
    font-weight: 600;
    transition: 0.5s;
}

.btn1:hover{
    opacity: 0.85;
}


.content h1{
    font-size: 2.2vw;
    font-weight: 600;
    font-family: 'europa';
    letter-spacing: 1px;
    padding-bottom: 2rem;
}

.content h2{
    font-size: 4.8vw;
    font-weight: 600;
    font-family: 'europa';
    transition: 1s;
}

.content h2:hover{
    transform: scale(1.1);
}

/*-------underline the h2 when hover----use span tags to customise underlines---*/
.content h2 span{
    position: relative;
}

.content h2 span::after{
    content: '';
    width: 0%;
    height: 4px;
    background: #3eb1d0;
    position: absolute;
    left: 0;
    bottom: -1px;
    transition: 0.5s;
}

.content h2 span:hover:after{
    width: 100%;

}

/*---Menu Icon----*/

  .btn {
    display: none;
    width: 48px;
    cursor: pointer;
    right: 0;
    z-index: 100;
  }
  
  .menubtn {
    display: block;
    width: 100%;
    box-shadow: 0 2px 10px 0 rgba(0,0,0,0.4);
    border-radius: 3px;
    height: 0.5rem;
    background: #fff;
    transition: all .3s;
    position: relative;
  }

  .not-active .menubtn + .menubtn{
    margin-top: 1rem;
  }
  
  .active .menubtn + .menubtn {
    margin-top: 17px;
  }
  
  .active .menubtn:nth-child(1) {
    animation: ease .7s top forwards;
  }
  
  .not-active .menubtn:nth-child(1) {
    animation: ease .7s top-2 forwards;
  }
  
  .active .menubtn:nth-child(2) {
    animation: ease .7s scaled forwards;
  }
  
  .not-active .menubtn:nth-child(2) {
    animation: ease .7s scaled-2 forwards;
  }
  
  .active .menubtn:nth-child(3) {
    animation: ease .7s bottom forwards;
  }
  
  .not-active .menubtn:nth-child(3) {
    animation: ease .7s bottom-2 forwards;
  }
  
  @keyframes top {
    0% {
      top: 0;
      transform: rotate(0);
    }
    50% {
      top: 22px;
      transform: rotate(0);
    }
    100% {
      top: 22px;
      transform: rotate(45deg);
    }
  }
  
  @keyframes top-2 {
    0% {
      top: 22px;
      transform: rotate(45deg);
    }
    50% {
      top: 22px;
      transform: rotate(0deg);
    }
    100% {
      top: 0;
      transform: rotate(0deg);
    }
  }
  
  @keyframes bottom {
    0% {
      bottom: 0;
      transform: rotate(0);
    }
    50% {
      bottom: 22px;
      transform: rotate(0);
    }
    100% {
      bottom: 22px;
      transform: rotate(135deg);
    }
  }
  
  @keyframes bottom-2 {
    0% {
      bottom: 22px;
      transform: rotate(135deg);
    }
    50% {
      bottom: 22px;
      transform: rotate(0);
    }
    100% {
      bottom: 0;
      transform: rotate(0);
    }
  }
  
  @keyframes scaled {
    50% {
      transform: scale(0);
    }
    100% {
      transform: scale(0);
    }
  }
  
  @keyframes scaled-2 {
    0% {
      transform: scale(0);
    }
    50% {
      transform: scale(0);
    }
    100% {
      transform: scale(1);
    }
  }

/*-------Menu Icon ends ----*/

/*--------Header Section Starts-------*/

/*-------Main Content Starts----*/

.Title1{
    text-align: center;
    font-size: 3.3rem;
    padding: 2rem 0;
    color: #262626;
    font-family: 'Europa';
}

.social-icons {
    margin: auto;
    padding: 1.6rem 0;
}

.social-icons a {
    text-decoration: none;
    font-size: 30px;
    padding: 0 1rem;
    color: #ababab;
    display: inline-block;
    transition: transform 0.5s;
}

.social-icons a:hover {
    color: #1a3144;
    transform: translateY(-5px);
}


.social-icons nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

/*------our-society-------*/

.box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12.5rem;
    padding: 2.25rem 0;
}

.box-content{
    text-align: center;
}

.box-content p{
    margin: 0.625rem 0; 
    color:rgba(26,26,26,.9);
    font-size: 1.7rem;
    letter-spacing: 1px;
    font-family: 'Montserrat';
    padding: 1.4rem 0;
}

.box-content a{
    margin: 10px 0px;
    text-decoration: none;
}

.box .image{
    width: 100%;
    height: 100%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.contentbtn{
    display: inline-block;
    width: fit-content;
    background: #239cff;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 400;
    transition: 0.5s;
    color: #fff;
    letter-spacing: 1px;
    font-family: 'Montserrat';
    transition: all 0.3s ease;
}

.contentbtn:hover{
    background-color: #3eb1d0;
}

.Title2{
    text-align: center;
    font-size: 32px;
    color: rgba(26,26,26,.9);
    letter-spacing: 1px;
    font-family: 'Montserrat';
    padding: 1.4rem 0;
}

/*-------Main Content Ends----*/

/*---animation on scroll---
.animate-on-scroll{
    opacity: 0;
    transition: all 1s;
    transform: translateX(100%);
}

.show{
    opacity: 1;
    transform: translate(0);
} */

/*----------Featured Starts---------*/

.featuredtitle{
    margin-left: 4.5rem;
    padding: 1rem;
    color:rgba(26,26,26,.9);
    font-family: 'europa';
    letter-spacing: 1px;
    font-size: 3rem;
}

.featuredtitle span{
    position: relative;
}

.featuredtitle span::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #000;
    position: absolute;
    left: 0;
    bottom: -1px;
    transition: 0.5s;
}

.featuredtitle span:hover:after{
    width: 100%;
}


.slide-container{
    max-width: 1120px;
    width: 100%;
    background-color: #fff;
    padding: 40px 0;
}

.slide-content{
    margin: 0 40px;
    overflow: hidden;
}

.card{
    background-color: #fff;
}

.image-content, .card-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 14px;
}

.image-content{
    position: relative;
    row-gap: 5px;
    padding: 25px 0;
}

.overlay{
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: #fff;
}

.card-image{
    position: relative;
    height: 200px;
    width: 300px;
    background: #fff;
    padding: 3px;
}

.card-image .card-img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}


.name{
    font-size: 20px;
    font-weight: 600;
    color: #333;
    font-family: 'Montserrat';
}

.description{
    font-size: 14px;
    color: #707070;
    text-align: left;
    padding: 10px;
    width: 100%;
}

.button{
    border: none;
    font-size: 16px;
    color: #fff;
    padding: 8px 16px;
    background: #4070f4;
    border-radius: 6px;
    margin: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button:hover{
    background: #265df2;
}

.swiper-navbtn{
    color: #6e93f7;
    transition: color 0.3s ease;
}

.swiper-navbtn:hover{
    color: #4070f4
}

.swiper-navbtn::before, .swiper-navbtn::after{
    font-size: 35px;
}

.swiper .swiper-button-next{
    right: 0;
    color: #333;
}

.swiper .swiper-button-prev{
    left: 0;
    color: #333;
}

.swiper .swiper-pagination-bullet{
    background-color: #ababab;
    opacity: 1;
}

.swiper .swiper-pagination-bullet-active{
    background: #333;
}

@media screen and (max-width: 768px) {
    .slide-content{
        margin: 0 10px;
    }
    .swiper-navbtn{
        display: none;
    }
}

/*----------Featured Ends---------*/

/*-------Badge-------*/

.badge img{
   display: block;
   margin: auto;
   padding: 20px 0;
}
/*-------Copyright--------*/

.copyright {
    width: 100%;
    text-align: center;
    padding-top: 25px;
    background: #262626;
    font-weight: 300;
    margin-top: 30px;
    z-index: 100;
}

.copyright a{
    margin: 5px;
    text-decoration: none;
    font-size: 30px;
    font-weight: 400;
    font-family: 'proxima-nova';
    color: rgba(255,255,255,.8);
    letter-spacing: 2px;
    display: inline-block;
}

.copyright p{
    font-family: 'proxima-nova';
    color: rgba(255,255,255,.8);
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 2px;
    margin: 5px 0;
}

.copyright-misc {
    padding-bottom: 10px;

}

.copyright-misc a {
    text-decoration: none;
    font-size: 14px;
    font-family: 'proxima-nova';
    margin-right: 10px;
    color: rgba(255,255,255,.8);
    display: inline-block;
    transition: transform 0.5s;
}


.copyright .avishlinkedin{
    color: #ababab;
    transition: 0.5s;
}

.copyright .avishlinkedin:hover{
    color: #1a3144;
}

.copyright .social-icons{
    margin: 10px auto;
}

/*-------Mobile Screens----*/

@media(max-width:1350px) {

    html{
        font-size: 60%;
    }

    .header{
        padding: 1.7rem 3.8%;
    }

    .logo{
        width: 10rem;
        height: 10rem;
    }
}

@media(max-width:1184px) {

    .header{
        padding: 1.7rem 3rem;
    }

    .header .navbar a{
        font-size: 1.75rem ;
    }

    .logo{
        width: 10rem;
        height: 10rem;
    }
}

@media(max-width:1069px) {

    .header{
        padding: 1.7rem 3rem;
    }

    .header .navbar a{
        font-size: 1.7rem;
        margin: 0 1rem;
    }

    .logo{
        width: 10rem;
        height: 10rem;
    }

    .contentbtn{
        padding: 1.4rem 1.6rem;
        font-size: 1.8rem;
    }
}

 @media(max-width:991px){
    html{
        font-size: 55%;
    }
    
    .header{
        padding: 1.5rem 5%;
    }

    .header .navbar a{
        font-size: 1.7rem;
        margin: 0.5rem;
    }

    .content h1{
        font-size: 3rem;
    }

    .content h2{
        font-size: 6.5rem;
    }

    .logo{
        width: 9.5rem;
        height: 9.5rem;
    }

    .Title1{
        font-size: 3rem;
    }

    .contentbtn{
        padding: 1.3rem 1.5rem;
        font-size: 1.8rem;
    }

    .box{
        gap: 7.5rem;
    }

    .navitem .dropdown-list .sub-item{
        padding: 0;
    }
    
    .navitem .dropdown-list .sub-item a{
        font-size: 1.4rem;
        padding: 0 0.4rem;

    }
 }


 @media(max-width:800px){
    
    section{
        padding: 2rem 9%;
    }
    
    .home{
        width: 100%;
    }

    .btn{
        display: inline-block;
    }

    .header .navbar{
        display: none;
    }

    .header .mobile-nav{
        position: fixed;
        top: 0; right: -100%;
        min-height: 100vh;
        display: block;
        z-index: 98;
        background-color: #086ab5;
        padding: 5rem;
        padding-top: 15rem;
        transition: linear 0.4s;
    }

    .mobile-nav.active{
        right: 0;
    }

    .mobile-nav nav{
        display: block;
    }

    .mobile-nav a{
        font-size: 2rem;
        display: block;
        margin: 0 auto 2.5rem;
        text-align: center;
        padding: 1rem 1.5rem;
        background-color: #1a3144;
        color: var(--white);
    }

    .mobile-nav a:hover

    .logo{
        margin-top: 1rem;
        margin-left: 1rem;
        width: 11rem;
        height: 11rem;
    }

    .content h2{
        font-size: 6.4rem;
    }

    .content h1{
        font-size: 3rem;
    }

    .freemem-btn{
        margin-top: 2.5rem;
        padding: 1rem 1.8rem;
    }

    .Title1{
        font-size: 2.6rem;
    }

    .box{
        flex-direction: column; /* Stack image on top of text */
        text-align: center;
        gap: 2rem;
      }
    
      .box .content-img,
      .box .content-text {
        flex: 1 1 100%;
      }
    
      .box .content-text {
        padding: 2rem 0;
      }
      
      .box .content-text h3 {
        font-size: 2.5rem;
      }
    
      .box .content-text p {
        font-size: 2rem;
        line-height: 1.5;
        margin-bottom: 1rem;
      }

      .box{
        flex-direction: column-reverse;
      }

      .featuredtitle{
        margin-left: 0;
      }
 }


 @media(max-width:455px){
    
    html{
        font-size: 50%;
    }

    .logo{
        margin-top: 2rem;
        margin-left: 1rem;
        width: 10rem;
        height: 10rem;
    }

    .content h1{
        font-size: 2.1rem;
    }
    .content h2{
        font-size: 4.8rem;
    }

    .Title1{
        font-size: 2.4rem;
    }

    .contentbtn{
        padding: 0.9rem 1.2rem;
    }

    .featuredtitle{
        text-align: center;
        margin-left: 0;
    }
}