
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.navbar {
    background: #ffffff;
    position: fixed;
    height: 90px;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index:1000;
}

.logo {
    padding: 10px;

}

.nav-links {
    margin-top: 30px;
    padding: 0;
    padding-top: 8px;
    padding-right: 10px;
    list-style: none;
    display: flex;
   
}

.nav-links li {
    margin-right: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
}

.nav-links a:hover {
    color: #007bff;
}


@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        background: white;
        top: 60px;
        right: 0;
        left: 0;
    }

    .nav-links.active {
        display: flex;
    }
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-right: 4px;
}

.menu-toggle div {
    width: 20px;
    height: 3px;
    background: #000000;
    margin: 3px 0;
    transition: all 0.4s;
    
}

.menu-toggle.active div:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active div:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active div:nth-child(3) {
    transform: rotate(45deg) translate(-10px, -10px);
}


@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
}

.nav-links li {
    margin: 6px; 
    font-size: 22px; 
}

.nav-links a {
    text-decoration: none; 
    color: #000000; 
    padding: 12px;
    transition: color 0.3s; 
}


.nav-links a:hover {
    color: #0077B6; 
}

.image-container {
    text-align: center;
    margin-top: 30px; 
}
.image-container img {
    max-width: 100%; 
}



.overlay-text {
    position: absolute;
    font-size: 25px;
    top: 50%; /* Position it in the vertical center of the image */
    left: 50%; /* Position it in the horizontal center of the image */
    transform: translate(-50%, -50%); /* Center the text */
    background-color: rgba(0, 0, 0, 0.3); /* Add a semi-transparent background */
    color: white; /* Set the text color */
    /* padding: 180px;  Add some padding around the text */
    width: 100%;
    height: 80%;
    margin-top: 0px;
}

/* Subheading styles */
.subheading {
    font-size: 20px;
    font-weight: lighter;
    font-style: italic;
    margin-top: 20px;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

/* Book consultation button styles */
.book-consultation-button {
    position: absolute;
    top: 70%; 
    left: 50%; 
    transform: translateX(-50%);
    background-color: #137cb5;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
}

/* Card container styles */
.card-container {
    margin-top: 70px;
    display: flex;
    flex-wrap: wrap; 
    justify-content: space-around;
    align-items: center;
    background-color: #f0f0f0; 
    padding: 20px;
}


.card {
    width: 100%; 
    max-width: 300px; 
    height: 250px;
    border: 1px solid #ccc;
    overflow: hidden;
    transition: transform 0.2s; 
    position: relative;
    margin: 10px;
}

/* Hover effect for the card */
.card:hover {
    transform: scale(1.05);
}

/* Style for the card images */
.card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    transition: transform 0.2s; /* Transition for hover effect on images */
}


.card:hover img {
    transform: scale(1.1);
}


.card-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    text-align: center;
}

/* Page paragraph styles */
.page-paragraph {
    background-color: #f0f0f0;
    padding: 20px;
    text-align: center;
    font-style: italic;
    font-weight: bold;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .overlay-text {
        font-size: 20px; 
    }
    .subheading {
        font-size: 16px;
    }
}

/* Media query for screens smaller than 480px */
@media (max-width: 480px) {
    .overlay-text {
        font-size: 18px; 
    }
    .subheading {
        font-size: 14px;
    }
    .book-consultation-button {
        font-size: 14px; 
        padding: 8px 16px; 
    }
}


.container1 {
    background-color: white;
    padding: 20px;
    text-align: center;
    padding-top: 10px;
}

.heading-acc {
    font-size: 40px;
    margin-top: 80px;
    font-weight: lighter;
}

.card-container {
    display: flex;
    flex-wrap: wrap; 
    justify-content: space-around;
    align-items: center;
    background-color: white;
    padding: 20px;
}

.card {
    width: 100%; 
    max-width: 300px; 
    height: 300px; 
    border: 1px solid #fffefe;
    overflow: hidden;
    transition: transform 0.2s; 
    position: relative;
    margin: 10px;
}


.card:hover {
    transform: scale(1.05);
}


.card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    transition: transform 0.2s; 
}

.card:hover img {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .heading-acc {
        font-size: 30px; 
    }
}

@media (max-width: 480px) {
    .heading-acc {
        font-size: 24px; 
    }
}

.page-container {
    display: flex;

    justify-content: space-between;
    align-items: center; /* Center align content */
    padding: 20px;
    background-color: rgb(245, 242, 242);
}


.text-container {
    flex: 1;
    padding: 20px;
}


.image-container {
    flex: 1;
    margin-top: 20px; 
}


.text {
    font-size: 16px;
}

/* Style for the heading */
.heading-why {
    font-size: 32px;
    font-weight: bold;
}

.trusted-partners {
    text-align: center;
    padding: 15px;
    
}

@media (max-width: 768px) {
    .page-container {
        padding: 10px; 
    }

    .text-container {
        padding: 10px;
    }

    .image-container {
        margin-top: 10px;
    }

    .heading-why {
        font-size: 28px; 
    }

.trusted-cards {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    gap: 20px; 
    
}


@media (max-width: 768px) {
    .trusted-cards {
        flex-direction: column; 
        align-items: center;
    }
}



.t-card {
    width: 100%; 
    border: 1px solid #ccc;
    overflow: hidden;
    margin-top: 20px; 
}


.t-card img {
    max-width: 100%; 
    height: auto; 
}

    

    .t-card {
        width: 100%; 
    }
}


@media (max-width: 480px) {
    .heading-why {
        font-size: 24px; 
    }
}

        .review-heading-rating{
            
            color: #007bff;
        }
        .both{
            text-align: left;
            margin-left: 4rem;
            font-size: 30px;
            margin-top: 80px;
            
        }


        

        .reviews-container {
            text-align: center;
            padding: 20px;
            background-color: #f0f0f0;
            display: flex;
            line-height: 28px;
        }

        .review {
            background-color: white;
            border: 1px solid #ccc;
            border-radius: 5px;
            padding: 20px;
            margin: 10px;
        }

      
        .star-rating {
            color: #007bff; 
            font-size: 24px;
        }

     
        .review-content {
            font-size: 16px;
        }

     
        .facebook-icon {
            font-size: 24px;
            color: #007bff;
        }

        
        .container {
            text-align: center;
            padding: 20px;
            background-color: #f0f0f0;
            margin-top: 30px;
        }
        
        .heading5 {

            font-size: 30px;
            margin-bottom: 50px;
        
        }
        
        button {
            background-color: #007bff;
            color: #fff;
            padding: 10px 20px;
            border: none;
            cursor: pointer;
            border-radius: 50px;
            size: 20px;
            margin-bottom: 50px;
        }
        
        .form-container {
            display: none;
            text-align: center;
            padding: 20px;
            background-color: #f0f0f0;
        }
        
        form {
            max-width: 400px;
            margin: 0 auto;
            text-align: left;
        }
        
        label {
            display: block;
            margin-top: 10px;
        }
        
        input[type="text"],
        input[type="email"],
        input[type="tel"],
        input[type="checkbox"],
        select {
            width: 100%;
            padding: 10px;
            margin-top: 5px;
            border: 1px solid #ccc;
            border-radius: 5px;
        }
        
        button[type="submit"] {
            background-color: #007bff;
            color: #fff;
            padding: 10px 20px;
            border: none;
            cursor: pointer;
            margin-top: 10px;
        }



/* Common styles for all screen sizes */
footer {
    background-color: #1d2a3d;
    color: #f1f9ef;
    display: flex;
    justify-content: space-around;
    padding: 20px;
    height: auto;
    flex-wrap: wrap; /* Allow items to wrap to the next line on smaller screens */
}

.footer-section {
    text-align: center;
    margin-bottom: 20px;
    flex: 1; /* Equal width for all footer sections */
}

.footer-section h2 {
    font-size: 18px;
}

.copyright {
    background-color: #262626;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}

i {
    font-size: 24px;
    margin-right: 8px;
}

.footer-section h2 i {
    color: #ffcc00;
}

.footer-section:nth-child(2) i {
    color: #00ccff;
}

.footer-section:nth-child(3) i {
    margin-left: 16px;
    padding-inline-start: 5px;
    color: #fcfcfc;
}

/* Responsive styles for smaller screens */
@media screen and (max-width: 768px) {
    footer {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        width: 100%; /* Make each section take up the full width on smaller screens */
    }
}





/* About Page */

.main-heading-1 {
    font-size: 40px;
    color: black;
    display: flex;
    margin-top: 80px;
    margin-left: 80px;
    margin-right: 80px;
}

.agency-paragraph {
    font-size: 20px;
    margin: 80px;
    margin-top: 20px;
    line-height: 25px;
    font-weight: lighter;
    font-family: 'Times New Roman', Times, serif;
}

.services-list{
    padding: 5px;
    margin: 20px;
    width: 100%;
    height: 80%;
    background-color: #effcff;
}

.services-list1{
    line-height: 30px;
    font-size: 18px;
    font-family: 'Times New Roman', Times, serif;
}

.container-about-help {
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #496d75; 
    color: #fff; 
    padding: 20px;
    text-align: center;
}

.heading6 {
    font-size: 35px;
    margin: 20px 0;
}

.container-about-help h2 {
    font-size: 20px;
    margin: 20px 0;
}

#openForm {
    background-color: 0077B6; 
    color: white; 
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 18px;
}


@media (max-width: 768px) {
    .heading6 {
        font-size: 24px;
    }

    .container-about-help h2 {
        font-size: 16px;
    }

    #openForm {
        font-size: 16px;
    }
}



/* Course  Foundation  course in UK */



.course-found-heading {
    margin-top: 100px;
    width: 100%;
    height: 30vh; 
    
}

/* Styles for the left section */
.left-section {
    background: violet; 
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.title {
    font-size: 40px;
    color: white;
    margin-left: 80px;
}

.right-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.breadcrumb {
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    margin-left: 50px;
}

.custom-margin1 {
    margin: 60px;
}


.container-foundation7 {
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #eeeeee; 
    color: #fff; 
    padding: 20px;
    text-align: center;
}


.container-foundation7 h1{
    color: rgb(34, 28, 29);
    font-family: sans-serif;
    font-size: 28px;
    margin: 20px 0;
    margin-bottom: 40px;
}


#openForm7 {
    background-color: 0077B6; 
    color: white; 
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 18px;
}

@media (max-width: 768px) {
    .heading7 {
        font-size: 24px;
    }

    .container-foundation7 h2 {
        font-size: 16px;

    }

    #openForm{
        font-size: 16px;
    }
}



#courses-submenu,
#study-advice-submenu,
#study-funding-submenu,
#services-submenu {
    position: absolute;
    top: 100%; 
    width: 30%;
    background: white;
    opacity: 0; 
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1; 
   
}

#courses-link:hover + #courses-submenu,
#study-advice-link:hover + #study-advice-submenu,
#study-funding-link:hover + #study-funding-submenu,
#services-link:hover + #services-submenu,
#courses-submenu:hover,
#study-advice-submenu:hover,
#study-funding-submenu:hover,
#services-submenu:hover {
    opacity: 1; 
    visibility: visible;
}




/* blog page  advice */

header {
    background-color: #ad4ea8;
    color: #fff;
    text-align: center;
    padding: 20px;
}

.blog-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px;
}

.blog-header {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}
.blog-header h1{
    font-size: 40px;
   
}

.blog-post {
    width: calc(50% - 20px);
    margin: 10px;
    border: 1px solid #ccc;
    padding: 10px;
    box-sizing: border-box;
    background-color: #fff;
}

.blog-post img {
    max-width: 100%;
    height: auto;
}

.blog-post h3 {
    font-size: 20px;
    margin: 10px 0;
}

.blog-post p {
    font-size: 16px;
    margin: 0;
}


.custom-margin9{
    margin-left: 70px;
    font-weight: bolder;
    line-height: 30px;
}

.consultation-section9{
    margin: 60px;
    margin-left: 70px;
    background-color: #eae8e8a1;
    padding: 2px;
    padding-left: 2px;
    border-radius: 10px;
}
.content9{
    margin: 10px;
}


.main-heading-9 {
    font-size: 30px;
    color: black;
    display: flex;
    margin-top: 80px;
    margin-left: 80px;
    margin-right: 80px;
    font-family: 'Times New Roman', Times, serif;
    
}
.custom-margin9 p{
    font-weight: 100;
}

.agency-paragraph{
    font-weight: 100;
}




/* share section 9 */

.share-section {
    margin-left: 120px;
    margin-top: 40px;
}

.social-icon {
    margin: 10px;
    color: #1d2a3d;
}
.comment-section{
    margin: 120px;
}


.image-container9 {
    display: flex;
    justify-content: center;
    height: 60vh;
}

.centered-image9 {
    width: 90vh; 
    height: 70vh; 
    border: 4px solid rgb(201, 195, 195);
    border-radius: 10px;
}



/* page advice 3  */

.container10 {
    display: flex;
    flex-wrap: wrap;
}

.large-card10 {
    max-width: 150%;
    width: 50%;
    height: 30%;
    padding: 2px;
    border: .7px solid #ccc;
    border-radius: 10px;
    margin-left: 130px;
}

.small-card10 {
    flex:1;
    max-width: 20%;
    margin: 0 0 20px 0;
    margin-left: 200px;
    padding: 5px;
    border-radius: 5px;
}

  /* about page  */
.container12 {
    display: flex;
    overflow: hidden; 
    margin: 20px;
}

.small-card12 {
    max-width: 30%;
    margin: 0 10px; 
    padding: 10px;
    border-radius: 5px;
    animation: runCard 4s linear infinite; 
}

@keyframes runCard {
    0% {
        transform: translateX(100%); /
    }
    100% {
        transform: translateX(-100%); 
    }
}




   .banner {
    position: relative;
    text-align: center;
    color: white;
    margin-top: 105px;
   }
   
   .banner img {
    margin-top: 20px;
    width: 100%;
    height: 100%;
   }
   
   .banner h1 {
    position: absolute;
   
    top: 15%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5em;
    color: rgb(105, 75, 116);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 10px;
   }
   .banner h5 {
    font-size: small;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -40%);
    font-size: 1.5em;
    color: rgb(105, 75, 116);
    margin-top: 50px;
   }

  

.form-container-about {
    display: flex;
    max-width: 1000px;
    margin:12%;
    max-height: 1000px;
  }
  
  .form-content-about {
    flex: 1;
  }
  
  .form-image-about {
    flex: 1;
    text-align: center;
    margin: 50px;
   
    height: 800px; 
    width: auto; 
    float: right;
    display: flex;
  }
  
  .form-image-about img {
    max-width: 100%;
    height: auto;
    width: 100%; 
    
  }
  
  @media (max-width: 768px) {
    .form-container-about {
      flex-direction: column;
    }
  }
  
  #whatsapp-popup {
    display: block;
    position: fixed;
    bottom: 15px;
    right: 20px;
    border-radius: 50%;
    padding: 10px;
    background-color: white;
}

.submenu a {
    font-size: 18px;
    padding: 0%;

}
  
  
   
   